Skip to content

A simple version of ridge implemented in sklearn or torch, with nested-validation

Notifications You must be signed in to change notification settings

Sigurd-git/Simple_Ridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple_Ridge

A simple version of ridge implemented in sklearn or torch, with nested-validation

  1. Generate toy examples by example.py.
  2. Inherit from sklearn.base.BaseEstimator and sklearn.base.RegressorMixin to implement a simple ridge regression class called Simple_ridge.
  3. Wrap the class with sklearn.model_selection.GridSearchCV and sklearn.model_selection.KFold to perform nested-validation.
  4. Add a parameter to control whether we need to reshape a multi-dimention tensor to a matrix?

About

A simple version of ridge implemented in sklearn or torch, with nested-validation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages