inoueakimitsu / milwrap

Wrapping single instance learning algorithms for fitting them to data for multiple instance learning
MIT License
1 stars 0 forks source link

How to wrap a deep learning model #10

Open inoueakimitsu opened 2 years ago

inoueakimitsu commented 2 years ago
start_date: 2021/10/16
due_date: 2021/10/16
progress: 0
parent: 0
dependon:
  - '1'

We need to create a procedure to wrap deep learning models.

With an interface similar to scikit-learn, there is no need to change the current implementation.

For Keras, you can use keras.wrappers.scikit_learn.KerasClassifier.

For PyTorch, I do not know how to do this at the moment.

inoueakimitsu commented 2 years ago

You can use skorch for PyTorch.

We need to investigate lightning as well.

inoueakimitsu commented 1 year ago

I should write a sample code using skorch and milwrap.