shogun-toolbox / shogun

Shōgun
http://shogun-toolbox.org
BSD 3-Clause "New" or "Revised" License
3.03k stars 1.04k forks source link

refactor API for black-box users #3196

Open yorkerlin opened 8 years ago

yorkerlin commented 8 years ago

@karlnapf
Currently, the API in GP modular is similar to GPML. The API is good for researchers but not for black-box users. For example, users have to choose inference methods/optimizers/likelihoods.

Generally, we may need unified API for most of ML models (including GP) in shogun. We can learn from sklearn. (eg, fit and predict) We can design API for

EDIT: I want to hide technical details from black-box users since they do not care. On the other hand, we should offer options for advanced users to customize ML models.

yorkerlin commented 8 years ago

@lisitsyn

yorkerlin commented 8 years ago

Ref: http://scikit-learn.org/stable/modules/classes.html#module-sklearn.base

yorkerlin commented 8 years ago

@sanuj

karlnapf commented 8 years ago

Absolutely! We dont really have GSoC project related to this. Maybe @Saurabh7 finds time, it is closest to his. Otherwise, you can also add these convenience wrapper classes easily