Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto SkLearn Classifier is Running infinite time on some datasets. #1153

Closed
shabir1 opened this issue Jun 2, 2021 · 3 comments
Closed

Auto SkLearn Classifier is Running infinite time on some datasets. #1153

shabir1 opened this issue Jun 2, 2021 · 3 comments

Comments

@shabir1
Copy link

shabir1 commented Jun 2, 2021

Auto SkLearn Classifier is Running infinite time on some datasets.

I have some examples of datasets that are running infinite time. I set the time limit of 1800 seconds. It shows the warning message that no model is better than the dummy, After that there is no log and run infinite time. (Dataset has only 700 rows and 5 columns)

Environment and installation:

  • OS: Ubuntu
  • Python running in virtual environment
  • Python version 3.8.5
  • Auto-sklearn version 0.12.6
  • Use Trainer as end point
@franchuterivera
Copy link
Contributor

Hello, thanks for reporting this problem.

With a log file we will be able to help further, so let us try to create one. I assume you have something like this taken from the classification example:

automl = autosklearn.classification.AutoSklearnClassifier(
    time_left_for_this_task=120,
    per_run_time_limit=30,
    tmp_folder='/tmp/autosklearn_classification_example_tmp',
    output_folder='/tmp/autosklearn_classification_example_out',
)

If you check the documentation here there is a flag we can enable to preserve the temporal directory where the log file resides (namely delete_tmp_folder_after_terminate=False). Could you change the above command to be:

automl = autosklearn.classification.AutoSklearnClassifier(
    time_left_for_this_task=120,
    per_run_time_limit=30,
    tmp_folder='/tmp/autosklearn_classification_example_tmp',
    output_folder='/tmp/autosklearn_classification_example_out',
    delete_tmp_folder_after_terminate=False
)

Then, inside of '/tmp/autosklearn_classification_example_tmp you will file a log file. Can you share this log file with us, or maybe even, it can give you an intuition on why your run does not finish.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 8, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs for the next 7 days. Thank you for your contributions.

@github-actions
Copy link
Contributor

This issue has been automatically closed due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants