Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Regularization Methods for Machine Learning

Project description

Regularization 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.

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


Kernal Learning

(Linear, Polynomial, Gaussian)

  • Linear equation1
  • Polynomial equation2
  • Gaussian (RBF) equation3

K-Fold Cross Validation


Using local files

Use these files

  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

  • Python 2.7, 3.7
  • Numpy 1.10.4
  • Matplotlib 1.15.1
  • Scipy 0.17.0

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

Nikesh Bajaj

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for regml, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size regml-0.0.2-py3-none-any.whl (21.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size regml-0.0.2.tar.gz (266.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page