Coder Social home page Coder Social logo

luisfredgs / machine-learning-under-optimization-lens-fall2018 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kanguyn/machine-learning-under-optimization-lens-fall2018

0.0 1.0 0.0 1.19 MB

Work from class 15.095 Machine Learning Under a Modern Optimization Lens at MIT taught by Dimitris Bertsimas and Martin Copenhaver

Jupyter Notebook 98.97% Julia 1.03%

machine-learning-under-optimization-lens-fall2018's Introduction

Machine-Learning-Under-Optimization-Lens-Fall2018

Work from class 15.095 Machine Learning Under a Modern Optimization Lens at MIT taught by Dimitris Bertsimas and Martin Copenhaver

Course Content and Objectives:

The majority of the central problems of regression, classification, and estimation have been addressed using heuristic methods even though they can be formulated as formal optimization problems. While continuous optimization approaches have had a significant impact in Machine Learning (ML)/Statistics (S), mixed integer optimization (MIO) has played a very limited role, primarily based on the belief that MIO models are computationally intractable. The last three decades have witnessed (a) algorithmic advances in MIO, which coupled with hardware improvements have resulted in an astonishing over 2 trillion factor speedup in solving MIO problems, (b) significant advances in our ability to model and solve very high dimensional robust and convex optimization models. The objective in this course is to revisit some of the classical problems in ML/S and demonstrate that they can greatly benefitt from a modern optimization treatment. The optimization lenses we use in this course include convex, robust, and mixed integer optimization. In all cases we demonstrate that optimal solutions to large scale instances (a) can be found in seconds, (b) can be certified to be optimal/near-optimal in minutes and (c) outperform classical heuristic approaches in out of sample experiments involving real and synthetic data.

The problems we address in this course include:

  • variable selection in linear and logistic regression,
  • convex, robust, and median regression,
  • an algorithmic framework to construct linear and logistic regression models that satisfy properties of sparsity, robustness, significance, absence of multi-collinearity in an optimal way,
  • clustering,
  • deep learning,
  • how to transform predictive algorithms to prescriptive algorithms,
  • optimal prescriptive trees,
  • the design of experiments via optimization ,
  • missing data imputation

Homework / assignments

The course had 4 assignments and one final project. The 4 assignments were:

  • 1: Solve a linear optimization problem and build a robust linear regression model
  • 2: Build an algorithmic framework for linear regression that satisfies properties of sparsity, robustness, significance, absence of multi-collinearity in an optimal way
  • 3: Construct state-of-the-art optimal tree models
  • 4: Perform prescriptive analysis to decide how much stock to have in a store to optimize revenue

Details

  • Language: Python and Julia/JuMP over Jupyter Notebooks.
  • Libraries in Python: numpy, pandas, matplotlib, scitkit-learn
  • Libraries in Julia: JuMP, DataFrames, Gurobi, Plots, MLDataUtils, OptimalTrees, OptImpute

Authors

  • Kim-Anh-Nhi Nguyen @kanguyn

Sources and acknowledgments

machine-learning-under-optimization-lens-fall2018's People

Contributors

kanguyn avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.