From f4aa6764c48ae069fd351ca508f72952ade0d2ee Mon Sep 17 00:00:00 2001
From: Pieter Gijsbers
Date: Mon, 17 Jun 2024 15:02:12 +0200
Subject: [PATCH] Update the GAMA repository location (#627)
* Update the GAMA repository location
* Fix scikit-learn upperlimit for 23.0.0 release
---
frameworks/GAMA/setup.sh | 8 +++++++-
resources/frameworks.yaml | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/frameworks/GAMA/setup.sh b/frameworks/GAMA/setup.sh
index 703e66ed1..38ef07746 100755
--- a/frameworks/GAMA/setup.sh
+++ b/frameworks/GAMA/setup.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
HERE=$(dirname "$0")
VERSION=${1:-"stable"}
-REPO=${2:-"https://github.com/PGijsbers/gama"}
+REPO=${2:-"https://github.com/openml-labs/gama"}
PKG=${3:-"gama"}
if [[ "$VERSION" == "latest" ]]; then
VERSION="master"
@@ -23,4 +23,10 @@ else
PIP install -U -e ${TARGET_DIR}
fi
+if [[ "$VERSION" == "23.0.0" ]]; then
+ # We include this only because this is the fixed version for the 2023Q2 definition.
+ echo "GAMA/setup.sh: Downgrading scikit-learn to compatible version."
+ PIP install --no-cache-dir -U "scikit-learn<1.3"
+fi
+
PY -c "from gama import __version__; print(__version__)" >> "${HERE}/.setup/installed"
diff --git a/resources/frameworks.yaml b/resources/frameworks.yaml
index 889dc1978..7a71e54ce 100644
--- a/resources/frameworks.yaml
+++ b/resources/frameworks.yaml
@@ -98,7 +98,7 @@ GAMA:
description: |
GAMA tries to find a good machine learning pipeline.
For the machine learning pipeline GAMA considers data preprocessing steps, various machine learning algorithms, and their possible hyperparameters configurations.
- project: https://github.com/PGijsbers/gama
+ project: https://github.com/openml-labs/gama
refs: [https://joss.theoj.org/papers/10.21105/joss.01132]
H2OAutoML: