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

question about labels of inference (predict) data and thread #498

Closed
liujing0055 opened this issue Jun 20, 2018 · 4 comments
Closed

question about labels of inference (predict) data and thread #498

liujing0055 opened this issue Jun 20, 2018 · 4 comments

Comments

@liujing0055
Copy link

Hi,Auto-sklearm Team:
After scanning the code, I found that the data were divided into two parts,training(fit) and inference(predict) when calling the fit function as shown below.
automl.fit(data, label,feat_type=feature_types)
But I could not find the variable of label of inference(predict),Could you please tell me where I can find the variable?
Another question is about thread, is there any possible way to run the program with only one thread?
Thanks.

@mfeurer
Copy link
Contributor

mfeurer commented Jun 20, 2018

But I could not find the variable of label of inference(predict),Could you please tell me where I can find the variable?

The data is split internally and there is no easy way accessing the split. What do you need it for?

Another question is about thread, is there any possible way to run the program with only one thread?

Yes, please check the sequential usage example.

@liujing0055
Copy link
Author

I need to cheek the difference between my own designed algorithm and sklearn's algorithm.Could you please tell me the reason why not easy?

@mfeurer
Copy link
Contributor

mfeurer commented Jun 21, 2018

Because there is no interface to access the data.

mfeurer added a commit that referenced this issue Sep 2, 2020
* demonstrate how to access the best model (#872)
* demonstrate using a custom splitter (#498)
* show how to access training accuracy (#670)
franchuterivera pushed a commit that referenced this issue Sep 2, 2020
* Improve examples:

* demonstrate how to access the best model (#872)
* demonstrate using a custom splitter (#498)
* show how to access training accuracy (#670)

* PEP8

* incorporate feedback from Francisco
@mfeurer
Copy link
Contributor

mfeurer commented Sep 3, 2020

Good news, this is actually possible using scikit-learn's internal splitter and we finally have an example for doing so: https://automl.github.io/auto-sklearn/development/examples/40_advanced/example_resampling.html#scikit-learn-splitter-objects

The example is currently only available on the documentation of the development branch, but the example also works on the master branch.

@mfeurer mfeurer closed this as completed Sep 3, 2020
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