Skip to main content

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

Github Page

PyPi -project

Installation

pip install regml

Opening GUI:

import regml
regml.GUI()

Methods

Kernal Learning

(Linear, Polynomial, Gaussian)

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

K-Fold Cross Validation

GUI

Using local files


Use these 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, 3.7
  • 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

Notebook

RegML Library


Nikesh Bajaj

n.bajaj@qmul.ac.uk

nikesh.bajaj@elios.unige.it

http://nikeshbajaj.in

Project details


Download files

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

Source Distribution

regml-0.0.2.tar.gz (266.1 kB view details)

Uploaded Source

Built Distribution

regml-0.0.2-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file regml-0.0.2.tar.gz.

File metadata

  • Download URL: regml-0.0.2.tar.gz
  • Upload date:
  • Size: 266.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for regml-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6dfc848b5f220088cd84a25636777373bb62a60b771c402bafb3c4b9836cf3f4
MD5 608e0dccbad7946038a548255ae1c9e6
BLAKE2b-256 4b4c0a507b04eaf1822deef5564a0fa8d453ee44ea1d587680d08da1b507d041

See more details on using hashes here.

File details

Details for the file regml-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: regml-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for regml-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5a1e5e1cdcc518144e8013951d094f08fbd41402786eae84a6f88b114bb8da93
MD5 c0fd40f791d19814d0afa1a2106f9a77
BLAKE2b-256 6382efd2e9d4ae367b92c3d22a75249ff84f40f84fb6350c17a002080caee288

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page