mlr-org / mlr3keras

Deep learning for mlr3
GNU Lesser General Public License v3.0
36 stars 3 forks source link

skorch #4

Open pfistfl opened 4 years ago

pfistfl commented 4 years ago

Should really look at skorch.readthedocs.io. I think this has many things we might want!

JackyP commented 4 years ago

Hello - skorch is awesome in Python but is anyone able to run torch in reticulate with Rstudio? I recently tried it and ran into https://github.com/rstudio/reticulate/issues/273

I'm interested to write an mlr3 wrapper for fast.ai and its bag of tricks including a tabular learner but did not get very far due to that.

pfistfl commented 4 years ago

Hey, nice to see someone looking into this!

I looked at this for a bit earlier this year, (basically also looking into fast.ai tabular learners) and did not get very far as well. I then started re-writing some of the fast.ai things for keras (i.e. the learning rate range test etc.).

I haven't looked too deep into actually directly calling fast.ai functions (which would be cool). I guess this would mainly require to convert R's data.tables into some pd.DataFrame that works with fast.ai?

pfistfl commented 4 years ago

Just from the top of my head, what I would like to have from fast.ai that is currently not available in mlr3keras:

Any other thoughts? I feel porting architectures between pytorch and keras should not be such a big issue.

If we can talk to fast.ai via reticulate and that all goes smoothly, this would be an optimal outcome I guess :)