Skip to content

Instantly share code, notes, and snippets.

View ntasfi's full-sized avatar

Norm ntasfi

View GitHub Profile
@ntasfi
ntasfi / mlp.py
Created November 2, 2013 06:56 — forked from amueller/mlp.py
import numpy as np
import warnings
from itertools import cycle, izip
from sklearn.utils import gen_even_slices
from sklearn.utils import shuffle
from sklearn.base import BaseEstimator
from sklearn.base import ClassifierMixin
from sklearn.preprocessing import LabelBinarizer