Skip to the content.

Regularization methods for machine learning

These contents were taugh in summer school RegML 2016 by Lorenzo Rosasco and this GUI in python was submitted as part of final exam.


License: MIT PyPI version PyPI pyversions GitHub release PyPI format PyPI implementation HitCount GitHub commit activity Percentage of issues still open

PyPI download month PyPI download week

Generic badge Ask Me Anything !

PyPI - Downloads

Total: PyPI download total

All the coded and tested functions are in and GUIs code structure is in

Github Page

PyPi -project


pip install regml

Opening GUI:

import regml

Regularization Methods

Kernal Learning

(Linear, Polynomial, Gaussian)

K-Fold Cross Validation


Regularization for Machine Learning


  3. Getting_Started_Demo.ipynb


Following libraries are required to use all the functions in RegML library

  1. Python(=2.7)
  2. Numpy(>=1.10.4) Numpy
  3. Matplotlib(>=0.98) Matplotlib
  4. Scipy(>=0.12) Optional -(If you need to import .mat data files) Scipy

Tested with following version

GUI is tested on followwing version of libraries

Getting starting with GUI


After lauching python, go to directory containing and files and run following command on python shell

>> run

If you are using Spyder or ipython qt, browes to directory, open file and run it


Open terminal, cd to directory contaning all the files and execute following command

$ python

if you have both python 2 and python 3

$ python2

If you are using Spyder or ipython qt, browes to directory, open file and run it

Getting Started with DEMO

Getting_Started_Demo is a IPython -Notebook, which can be open in Ipython-Notebook or Jupyter


RegML Library

Cite As

  author       = {Nikesh Bajaj},
  title        = ,
  month        = apr,
  year         = 2019,
  publisher    = {Zenodo},
  version      = {0.0.2},
  doi          = {10.5281/zenodo.2646550},
  url          = {}

Nikesh Bajaj