Skip to content

Instantly share code, notes, and snippets.

Created May 27, 2013 03:34
Show Gist options
  • Save anonymous/5655053 to your computer and use it in GitHub Desktop.
Save anonymous/5655053 to your computer and use it in GitHub Desktop.
from sklearn.externals.joblib import load
X, y = load('lightning-segfault.pkl')
from lightning.primal_cd import CDClassifier
clf = CDClassifier(loss='log',
alpha=0.0001,
debiasing=True,
penalty='l1/l2',
multiclass=True,
random_state=0,
verbose=2)
clf.fit(X, y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment