}
trigger={
diff --git a/lab/webapp/src/components/ChatGPT/SideMenu.js b/lab/webapp/src/components/ChatGPT/SideMenu.js
index 407cf6525..2c071fedb 100644
--- a/lab/webapp/src/components/ChatGPT/SideMenu.js
+++ b/lab/webapp/src/components/ChatGPT/SideMenu.js
@@ -4,6 +4,8 @@ import { ThemeContext } from "./context/ThemeContext";
import { AllContext } from "./context/AllContext";
+import { Icon } from "semantic-ui-react";
+
export default function SideMenu() {
const {
currentModel,
@@ -237,6 +239,7 @@ export default function SideMenu() {
.slice(3)
.forEach((node) => {
node.childNodes[1].style.display = "none";
+ //
node.childNodes[1].innerHTML = "🗑️";
});
}
diff --git a/lab/webapp/src/components/Datasets/components/DatasetCard/index.jsx b/lab/webapp/src/components/Datasets/components/DatasetCard/index.jsx
index dcc322fcd..3b5c84271 100644
--- a/lab/webapp/src/components/Datasets/components/DatasetCard/index.jsx
+++ b/lab/webapp/src/components/Datasets/components/DatasetCard/index.jsx
@@ -34,6 +34,7 @@ import * as actions from "data/datasets/dataset/actions";
import DatasetActions from "./components/DatasetActions";
import BestResult from "./components/BestResult";
import ExperimentStatus from "./components/ExperimentStatus";
+
import {
Grid,
Segment,
@@ -41,6 +42,7 @@ import {
Button,
Popup,
Message,
+ Icon,
} from "semantic-ui-react";
import { formatDataset, formatDatasetOuter } from "../../../../utils/formatter";
@@ -55,13 +57,6 @@ const DatasetCard = ({ dataset, recommender, toggleAI }) => {
icon_type = "line graph";
}
- // const [showGrid, setShowGrid] = useState(false);
-
- // const handleGridClick = () => {
- // console.log("handleGridClick");
- // setShowGrid(false);
- // };
-
function clickDatasetCardDelButton(e) {
let parent = e.target.closest(".dataset-card");
// console.log(parent);
@@ -278,11 +273,12 @@ const DatasetCard = ({ dataset, recommender, toggleAI }) => {
- 🗑
+ {/* use trash icon from sementic ui */}
+
@@ -435,11 +431,11 @@ const DatasetCard = ({ dataset, recommender, toggleAI }) => {
- 🗑
+ {
);
}
-
- // return (
- //
-
- //
- //
- // }
- // />
- //
- //
- //
- //
-
- //
- //
- //
-
- //
- // );
};
export { DatasetCard };
export default connect(null, actions)(DatasetCard);
-// get aiTooglePopup id
-// if aiTooglePopup is not null, then hide it
-// wait until document.getElementById("aiTooglePopup") loaded
-
setTimeout(function () {
if (document.getElementById("aiTooglePopup") != null) {
console.log("aiTooglePopup is not null");
@@ -538,11 +481,5 @@ setTimeout(function () {
// length of aiTooglePopups
var len = aiTooglePopups.length;
console.log(len);
-
- // if (aiTooglePopups != null) {
- // for (var i = 1; i < aiTooglePopups.length; i++) {
- // aiTooglePopups[i].style.cssText += ';display:none !important;';
- // }
- // }
}
}, 100);
From 59dd2fe428b77d4492bb4a75e09cea1ef869ee2e Mon Sep 17 00:00:00 2001
From: choi
Date: Tue, 28 Nov 2023 11:03:42 -0800
Subject: [PATCH 2/9] replace Aliro with AliroEd. Update footer text "Developed
by the Center for AI Research and Education (CAIRE) in the Department of
Computational Biomedicine at Cedars-Sinai Medical Center in Los Angeles,
California, USA."
---
raspberrypi/intropage/index.html | 22 ++-----------------
raspberrypi/intropage/infAndDownloadpage.html | 8 +++++--
raspberrypi/intropage/int_ml_01.html | 4 +++-
raspberrypi/intropage/int_ml_02.html | 5 +++--
.../intropage/int_ml_03_decision_tree.html | 4 +++-
5 files changed, 17 insertions(+), 26 deletions(-)
diff --git a/raspberrypi/intropage/index.html b/raspberrypi/intropage/index.html
index 7bccc0da7..2955bd33b 100644
--- a/raspberrypi/intropage/index.html
+++ b/raspberrypi/intropage/index.html
@@ -251,14 +251,14 @@
-
Are you ready to run Aliro?
+
Are you ready to run AliroEd?
When Raspberry Pi is ready to run AliroEd, the below button shows
- "Alio is ready to run". Please click the button to run Aliro On
+ "Alio is ready to run". Please click the button to run AliroEd On
Raspberry Pi 4
Developed by AI Research Center at the Computational Biomedicine Department, Cedars-Sinai Medical Center, Los Angeles, CA, USA.
+
Developed by the Center for AI Research and Education (CAIRE) in the
+ Department of Computational Biomedicine at Cedars-Sinai Medical Center
+ in Los Angeles, California, USA.
- Developed by AI Research Center at the Computational Biomedicine
- Department, Cedars-Sinai Medical Center, Los Angeles, CA, USA.
+ Developed by the Center for AI Research and Education (CAIRE) in the
+ Department of Computational Biomedicine at Cedars-Sinai Medical Center
+ in Los Angeles, California, USA.
Developed by AI Research Center at the Computational Biomedicine Department, Cedars-Sinai Medical Center, Los Angeles, CA, USA.
+
Developed by the Center for AI Research and Education (CAIRE) in the
+ Department of Computational Biomedicine at Cedars-Sinai Medical Center
+ in Los Angeles, California, USA.
Welcome to the AliroEd. AliroEd is for users who are not familiar with machine learning. Users can experience machine learning tasks on Raspberry Pi 4 with AliroEd. If internet is available, Users can download the raspberry pi image from the AliroEd website.
Users can easily install and run AliroEd on Raspberry Pi 4 using this image. AliroEd and the Raspberry Pi image provided in this website, are developed by the Center for AI Research and Education (CAIRE) in the
Department of Computational Biomedicine at Cedars-Sinai Medical Center
in Los Angeles, California, USA.
diff --git a/raspberrypi/intropage/int_ml_02.html b/raspberrypi/intropage/int_ml_02.html
index f9e630326..435549dde 100644
--- a/raspberrypi/intropage/int_ml_02.html
+++ b/raspberrypi/intropage/int_ml_02.html
@@ -209,10 +209,7 @@
>
has the highest average of sepal-length.
-
- Please click the Y axis. It will show an example to put
- boundaries
-
+
Please click the Y axis. It will show an example to put
boundaries to distinguish classes of iris flowers. Then please
From fbf6aac4d695ebfe3da9490e9b61cb3b1728bae6 Mon Sep 17 00:00:00 2001
From: choi
Date: Fri, 5 Apr 2024 18:30:04 -0700
Subject: [PATCH 4/9] update gitignore
---
.gitignore | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index a6a17b7bd..142adb3ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -62,8 +62,10 @@ MANIFEST
.xz
*.exe
-# *.mp4
package-lock.json
package.json
package-copy.json
-machine/code_runs/
\ No newline at end of file
+machine/code_runs/
+machine/test_trained_models/
+projects.sample.json
+users.sample.json
\ No newline at end of file
From ae340d4ef36c3cfaf260905f2f14a457285ade49 Mon Sep 17 00:00:00 2001
From: nickotto
Date: Thu, 6 Jun 2024 17:10:19 -0700
Subject: [PATCH 5/9] updating aliro_tests for debug true on coveralls
---
.github/workflows/aliro_tests.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/workflows/aliro_tests.yml b/.github/workflows/aliro_tests.yml
index f205c9cf4..c0f1dad64 100644
--- a/.github/workflows/aliro_tests.yml
+++ b/.github/workflows/aliro_tests.yml
@@ -62,6 +62,7 @@ jobs:
with:
parallel: true
flag-name: Unit Test for webapp
+ debug: true
build_pypkg:
name: Unit Tests for scikit-learn API
@@ -90,6 +91,7 @@ jobs:
with:
parallel: true
flag-name: Unit Test for scikit-learn api
+ debug: true
coveralls_finish:
name: Publish Coveralls
From 0b78198bb523557ed982778b4bc5ee3ad0599d48 Mon Sep 17 00:00:00 2001
From: Jay Moran
Date: Tue, 1 Oct 2024 20:34:51 -0700
Subject: [PATCH 6/9] Update mongo to v5
---
docker/dbmongo/Dockerfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docker/dbmongo/Dockerfile b/docker/dbmongo/Dockerfile
index b3dae6d7a..d705c9c68 100644
--- a/docker/dbmongo/Dockerfile
+++ b/docker/dbmongo/Dockerfile
@@ -1,5 +1,5 @@
# Stage 1: Build stage with all necessary files
-FROM mongo:4.4.18 AS builder
+FROM mongo:5.0.29 AS builder
WORKDIR /opt/
@@ -21,7 +21,7 @@ RUN apt-get update && apt-get install -y dos2unix && \
apt-get clean
# Stage 2: Final runtime image
-FROM mongo:4.4.18
+FROM mongo:5.0.29
# Copy required configurations and scripts from the builder stage
COPY --from=builder /etc/mongod.conf /etc/
From 97acd83b193ac7597fde70479653d44daef6597d Mon Sep 17 00:00:00 2001
From: Jay Moran
Date: Mon, 7 Oct 2024 09:07:20 -0700
Subject: [PATCH 7/9] Refactor docker-compose commands for integration and unit
tests
---
.github/workflows/aliro_tests.yml | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/aliro_tests.yml b/.github/workflows/aliro_tests.yml
index c0f1dad64..40b2ef2ed 100644
--- a/.github/workflows/aliro_tests.yml
+++ b/.github/workflows/aliro_tests.yml
@@ -26,13 +26,13 @@ jobs:
# Runs a single command using the runners shell
- name: Build Docker Images
- run: docker-compose -f ./docker-compose-int-test.yml build -m 8g
+ run: docker compose -f ./docker-compose-int-test.yml build -m 8g
# Runs a set of commands using the runners shell
- name: Run Integration Tests
run: |
- docker-compose -f ./docker-compose-int-test.yml run tester bash -c "sh /root/wait_pennai.sh && npm test"
- docker-compose -f ./docker-compose-int-test.yml down
+ docker compose -f ./docker-compose-int-test.yml run tester bash -c "sh /root/wait_pennai.sh && npm test"
+ docker compose -f ./docker-compose-int-test.yml down
build_web_app:
name: Unit Tests for Webapp
@@ -50,13 +50,13 @@ jobs:
# Runs a single command using the runners shell
- name: Build Docker Images
run: |
- docker-compose -f ./docker-compose-unit-test.yml build -m 8g
+ docker compose -f ./docker-compose-unit-test.yml build -m 8g
# Runs a set of commands using the runners shell
- name: Run Unit Tests
run: |
git lfs fetch --all
- docker-compose -f ./docker-compose-unit-test.yml up --abort-on-container-exit -V
+ docker compose -f ./docker-compose-unit-test.yml up --abort-on-container-exit -V
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
@@ -78,7 +78,7 @@ jobs:
- name: Build Docker Images
run: |
pip install coveralls
- docker-compose -f ./docker-compose-unit-test.yml build -m 8g
+ docker compose -f ./docker-compose-unit-test.yml build -m 8g
# Runs a set of commands using the runners shell
- name: Run Unit Tests
run: |
@@ -147,11 +147,11 @@ jobs:
- name: Build Docker Images
run: |
- docker-compose -f ./docker-compose-doc-builder.yml build -m 8g
+ docker compose -f ./docker-compose-doc-builder.yml build -m 8g
# Building docs # Tell GitHub not to use jekyll to compile the docs
- name: Building Docs
run: |
- docker-compose -f ./docker-compose-doc-builder.yml up --abort-on-container-exit --force-recreate
+ docker compose -f ./docker-compose-doc-builder.yml up --abort-on-container-exit --force-recreate
sudo touch target/ai_docs/html/.nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@3.7.1
From f43c213168fb07064b23d956e201ad216179d1f4 Mon Sep 17 00:00:00 2001
From: Jay Moran
Date: Mon, 7 Oct 2024 09:16:51 -0700
Subject: [PATCH 8/9] Fix aliro-unit_tester name on actions
---
.github/workflows/aliro_tests.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/aliro_tests.yml b/.github/workflows/aliro_tests.yml
index 40b2ef2ed..b0ca629ed 100644
--- a/.github/workflows/aliro_tests.yml
+++ b/.github/workflows/aliro_tests.yml
@@ -84,7 +84,7 @@ jobs:
run: |
git lfs fetch --all
git lfs pull
- docker run -v $(pwd):/appsrc -w /appsrc aliro_unit_tester coverage run -m nose -s -v ai/tests/test_sklearn_api.py
+ docker run -v $(pwd):/appsrc -w /appsrc aliro-unit_tester coverage run -m nose -s -v ai/tests/test_sklearn_api.py
coverage combine
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
From c15f88b8633ec35c6dae8a9d9ed92f976065e4d6 Mon Sep 17 00:00:00 2001
From: Jay Moran
Date: Mon, 7 Oct 2024 10:52:29 -0700
Subject: [PATCH 9/9] Omit surprise from coveralls
---
.coveragerc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.coveragerc b/.coveragerc
index 630da522e..f72050cc5 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -9,6 +9,10 @@ relative_files = True
; regardless of whether it runs locally or within a Docker container.
parallel = True
+; omit scikit-surprise (custom package) GH runner tests Coveralls on python3.12?
+omit =
+ /src/scikit-surprise/surprise/*
+
[paths]
; the first path is the path on the local (travis) filesystem
; the second path is the path as it appears within the Docker container