tudelft-cda-lab/GROOT

Reproducing results from the article, issue with runtimes.csv

Closed this issue · 3 comments

Hello! I am trying to reproduce results from the article, and I can't figure out certain problem. First I am trying to run train_kfold_models, but the code always ouputs an error: "ImportError: cannot import name 'GrootTree' from 'groot.model'". Is there something wrong with the .py file I am trying to run, or is this problem something that doesn't occur to you and everyone else (-->something wrong on computer or files or environment)?

Onni Mansikkamäki

Hello, thanks for the question! This is my mistake, the experiment code in (e.g. train_kfold_models.py) is outdated. For example, I changed GrootTree to GrootTreeClassifier some time ago to better align with Scikit-learn.

To separate the experiment code from GROOT's source code I have created an updated repository here: https://github.com/tudelft-cda-lab/GROOT-experiment-code . Could you check if the problem still persists there?

Thanks for your interest!

Hi, did you get a chance to test the experiment code? @OnniMansikkamaki

Hello,
Works perfectly for me, thank you very much for your help!