Skip to content

Instantly share code, notes, and snippets.

View mmmaillot's full-sized avatar

Maxime Maillot mmmaillot

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mmmaillot on github.
  • I am maximswim (https://keybase.io/maximswim) on keybase.
  • I have a public key ASDwJEhLrnM-N5gOA6Y_cn1QX6FSZBiZhmcZ67UkaAz_sgo

To claim this, I am signing this object:

from sklearn import datasets
from sklearn.linear_model.logistic import LogisticRegression
import bottle
from bottle import request
iris_ds = datasets.load_iris()
# deux premières features pour simplifier
X = iris_ds.data[:, :2]
y = iris_ds.target
from bottle import route, run, template
@route('/hello/<name>')
def index(name):
return template('<b>Hello {{name}}</b>!', name=name)
run(host='localhost', port=8080)