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

integration with TensorFlow #38

Open
edgimar opened this issue Jun 15, 2017 · 3 comments
Open

integration with TensorFlow #38

edgimar opened this issue Jun 15, 2017 · 3 comments

Comments

@edgimar
Copy link

edgimar commented Jun 15, 2017

While the current interface provided by xcessiv is, well excessively nice, I am hoping that it will be possible to integrate TensorFlow models / estimators with it. Has this been done, or would it be possible to add any documentation with a basic example?

@reiinakano
Copy link
Owner

reiinakano commented Jun 16, 2017

Hey @edgimar, the requirement for an xcessiv estimator is that it has fit, get_params, and set_params. Not sure about tensorflow, but Keras has classes KerasClassifier and KerasRegressor that work properly with this. I've been planning to add documentation showing how to do this.

Only drawback is that training sets have to be in memory because of the (X, y) scikit learn paradigm. I'm not sure how to get around that without breaking everything else.

@edgimar
Copy link
Author

edgimar commented Jun 16, 2017

Yeah, that was my next question: how to work with multiple training-set batches. sklearn also has the partial_fit API method which is made to handle this, but it sound like xcessiv isn't set up to make use of this?

@reiinakano
Copy link
Owner

Sadly, no. I'll try to see if I can come up with a way that makes it work, but for now, don't expect anything too soon.

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