diff experiment-reverb/code/playground.py @ 0:246d5546657c

initial commit, needs cleanup
author Emmanouil Theofanis Chourdakis <e.t.chourdakis@qmul.ac.uk>
date Wed, 14 Dec 2016 13:15:48 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/experiment-reverb/code/playground.py	Wed Dec 14 13:15:48 2016 +0000
@@ -0,0 +1,14 @@
+# -*- coding: utf-8 -*-
+"""
+Created on Thu Jul  2 10:34:39 2015
+
+@author: mmxgn
+"""
+
+from sklearn.datasets import make_multilabel_classification
+from sklearn.preprocessing import MultiLabelBinarizer
+
+X, Y = make_multilabel_classification(n_samples=5, random_state=0, return_indicator=False)
+
+c = MultiLabelBinarizer().fit_transform(Y)
+ 
\ No newline at end of file