Skip to content

Latest commit

 

History

History
93 lines (66 loc) · 3.63 KB

File metadata and controls

93 lines (66 loc) · 3.63 KB

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 RegML.py and GUIs code structure is in RegML_GUIv2.1.py

Methods

Kernal Learning

(Linear, Polynomial, Gaussian)

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

K-Fold Cross Validation

GUI

Regularization for Machine Learning


Files

  1. RegML.py
  2. RegML_GUIv2.1.py
  3. Getting_Started_Demo.ipynb

Requirments

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 (this GUI doesn't work with python 3, need to change a lot to work with python 3)
  • Numpy 1.10.4
  • Matplotlib 1.15.1
  • Scipy 0.17.0

Getting starting with GUI

Windows------------------------

After lauching python, go to directory containing RegML.py and RegML_GUIv2.1.py files and run following command on python shell

>> run RegML_GUIv2.1.py

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

Ubuntu/Linux-------------------

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

$ python RegML_GUIv2.1.py

if you have both python 2 and python 3

$ python2 RegML_GUIv2.1.py

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

Getting Started with DEMO

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


Nikesh Bajaj

n.bajaj@qmul.ac.uk

nikesh.bajaj@elios.unige.it

http://nikeshbajaj.in