Closed mgstauffer closed 1 year ago
Hi @mgstauffer, I haven't been able to reproduce this using the above instructions on the master branch. Could you verify and post the error message that you are seeing?
It's still failing for me. I'm on Windows - you? It's with a fresh build of Pennai, so no other datasets or experiments.
I get an error in Results.GetGaugeArray
as shown here
expScores
is expected to be an array but is ""
lab_1 | 0|lab | GET / 200 701 - 10.205 ms
lab_1 | 0|lab | socket.io disconnect
lab_1 | 0|lab | socket.io splice
lab_1 | 0|lab | socket.io connection
lab_1 | 0|lab | GET /api/preferences 200 - - 93.534 ms
lab_1 | 0|lab | GET /api/userdatasets 200 2 - 34.841 ms
lab_1 | 0|lab | results:
lab_1 | 0|lab | [ { _id: 613bb83c673361cbf9533d07,
lab_1 | 0|lab | type: 'recommender',
lab_1 | 0|lab | status: 'disabled' } ]
lab_1 | 0|lab | GET /api/recommender 201 75 - 17.204 ms
lab_1 | 0|lab | stageDatasetFile: appendicitis_2.csv
lab_1 | 0|lab | fileSize: 7149
lab_1 | 0|lab | registerDataset: 613bb87349ace4003f523679
lab_1 | 0|lab | validateDatafileByFileIdAsync ('613bb87349ace4003f523679', 'classification', target_class', '', '')
lab_1 | 0|lab | args: lab/pyutils/validateDataset.py,613bb87349ace4003f523679,-target,target_class,-identifier_type,fileid,-prediction_type,classification,-categorical_features,[],-ordinal_features,""
lab_1 | 0|lab | GET /api/v1/files/613bb87349ace4003f523679 200 7149 - 6.976 ms
lab_1 | 0|lab | generateFeaturesFromFileId ('613bb87349ace4003f523679', 'classification', 'target_class')
lab_1 | 0|lab | args: ai/metalearning/get_metafeatures.py,613bb87349ace4003f523679,-target,target_class,-identifier_type,fileid,-prediction_type,classification
lab_1 | 0|lab | child process exited with code 0
lab_1 | 0|lab | GET /api/v1/files/613bb87349ace4003f523679 200 7149 - 8.698 ms
lab_1 | 0|lab | serverSocket.emitEvent('datasetAdded', '[object Object]')
lab_1 | 0|lab | { dataset_id: '613bb87749ace4003f52367b' }
lab_1 | 0|lab | PUT /api/v1/datasets 200 68 - 3627.015 ms
lab_1 | 0|lab | GET /api/userdatasets/613bb87749ace4003f52367b 200 2101 - 16.488 ms
lab_1 | 0|lab | child process exited with code 0
lab_1 | 0|lab | GET /api/userdatasets 200 - - 28.622 ms
lab_1 | 0|lab | GET /api/userdatasets 304 - - 12.841 ms
lab_1 | 0|lab | results:
lab_1 | 0|lab | [ { _id: 613bb83c673361cbf9533d07,
lab_1 | 0|lab | type: 'recommender',
lab_1 | 0|lab | status: 'disabled' } ]
lab_1 | 0|lab | GET /api/recommender 201 75 - 7.862 ms
lab_1 | 0|lab | found dataset prediction type classification
machine_1 | 0|machine | GET /projects/613bb831673361cbf9533cf8/capacity 200 79 - 4.426 ms
machine_1 | 0|machine | Attempting to start experiment 613bb87c49ace4003f52367c
machine_1 | 0|machine | Spawning experiment. args:
machine_1 | 0|machine | [ 'driver.py',
machine_1 | 0|machine | 'DecisionTreeClassifier',
machine_1 | 0|machine | '--criterion=gini',
machine_1 | 0|machine | '--max_depth=3',
machine_1 | 0|machine | '--min_samples_split=2',
machine_1 | 0|machine | '--min_samples_leaf=1',
machine_1 | 0|machine | '--min_weight_fraction_leaf=0',
machine_1 | 0|machine | '--max_features=sqrt',
machine_1 | 0|machine | '--_id=613bb87c49ace4003f52367c' ]
machine_1 | 0|machine | Sending experiment 613bb87c49ace4003f52367c results
machine_1 | 0|machine | POST /projects/613bb831673361cbf9533cf8 200 161 - 39.245 ms
lab_1 | 0|lab | POST /api/v1/projects/613bb831673361cbf9533cf8/experiment 201 161 - 86.330 ms
lab_1 | 0|lab | serverSocket.emitEvent('expStarted', '[object Object]')
lab_1 | 0|lab | { id: '613bb87c49ace4003f52367c' }
lab_1 | 0|lab | PUT /api/v1/experiments/613bb87c49ace4003f52367c/started 200 15 - 11.049 ms
lab_1 | 0|lab | GET /api/userexperiments/613bb87c49ace4003f52367c 200 1090 - 34.673 ms
lab_1 | 0|lab | GET /api/userdatasets/613bb87749ace4003f52367b 200 2101 - 16.080 ms
lab_1 | 0|lab | GET /api/userexperiments 200 - - 15.670 ms
lab_1 | 0|lab | GET /api/v1/projects 200 - - 7.572 ms
lab_1 | 0|lab | GET /api/v1/experiments/613bb87c49ace4003f52367c 200 424 - 3.981 ms
lab_1 | 0|lab | GET /api/v1/datasets/613bb87749ace4003f52367b 200 - - 7.071 ms
lab_1 | 0|lab | GET /api/v1/files/613bb87349ace4003f523679 200 7149 - 8.496 ms
lab_1 | 0|lab | GET /api/v1/projects 200 - - 8.579 ms
machine_1 | 0|machine | stdout: parsed args: {'method': 'DecisionTreeClassifier', '_id': '613bb87c49ace4003f52367c', 'grid_search': False, 'criterion': 'gini', 'max_depth': 3, 'min_samples_split': 2, 'min_samples_leaf': 1, 'min_weight_fraction_leaf': 0.0, 'max_features': None}
machine_1 | 0|machine | method_args: {'criterion': 'gini', 'max_depth': 3, 'min_samples_split': 2, 'min_samples_leaf': 1, 'min_weight_fraction_leaf': 0.0, 'max_features': None}
machine_1 | 0|machine | loading..
machine_1 | 0|machine | Experiment 613bb87c49ace4003f52367c process ended, exit code: 0, status: undefined
lab_1 | 0|lab | serverSocket.emitEvent('expUpdated', '[object Object]')
lab_1 | 0|lab | { collection: 'experiments', id: '613bb87c49ace4003f52367c' }
lab_1 | 0|lab | PUT /api/v1/experiments/613bb87c49ace4003f52367c 200 15 - 4.574 ms
lab_1 | 0|lab | PUT /api/v1/experiments/613bb87c49ace4003f52367c/finished 200 15 - 6.056 ms
lab_1 | 0|lab | GET /api/userexperiments/613bb87c49ace4003f52367c 200 1167 - 12.071 ms
lab_1 | 0|lab | GET /api/userdatasets/613bb87749ace4003f52367b 200 2101 - 17.249 ms
lab_1 | 0|lab | GET /api/userexperiments/613bb87c49ace4003f52367c 200 - - 11.544 ms
This behavior seems to occur when running Aliro in Windows while using Docker Desktop with the WSL2 Backend. Mixing Windows and Linux filesystems causes the experiment results to not be uploaded to the database and thus are not shown in the results page.
To avoid this issue, see the comments in (issue #371)[https://github.com/EpistasisLab/Aliro/issues/371] and the updated documentation (here)[https://epistasislab.github.io/Aliro/developerguide.html#requirements]
An error occurs when viewing experiment details by clicking on the experiment's row in the table in the Experiments page.
Happens with experiment with Status
completed
. To recreate (if can't be recreated with your own test data):regression
and using col100 astarget
Decision Tree Regressor
with default paramssrc/components/Results/index.jsx