Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add value_types

  • Loading branch information...
commit e7472c2c63b669cac4cb213858ba1a4bd7e8e0e2 1 parent 2280a80
Luís Pedro Coelho authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 milksets/yeast/yeast.py
View
4 milksets/yeast/yeast.py
@@ -6,6 +6,7 @@
import numpy as np
from os.path import dirname
import gzip
+from ..vtypes import *
from ..utils import standard_properties, standard_classification_loader
__all__ = ['load'] + standard_properties
@@ -22,6 +23,9 @@
url = 'http://archive.ics.uci.edu/ml/datasets/Yeast'
data_source = 'UCI'
label_names = ['CYT', 'ERL', 'EXC', 'ME1', 'ME2', 'ME3', 'MIT', 'NUC', 'POX', 'VAC']
+value_types = [
+ continuous('_%s' % i) for i in xrange(8)
+ ]
missing_values = False
_datafile = dirname(__file__)+'/data/yeast.data.gz'
Please sign in to comment.
Something went wrong with that request. Please try again.