@DatasetDescription(name="Wine Data Set", description="These data are the results of a chemical analysis of wines grown in the same region in Italy but derived from three different cultivars. The analysis determined the quantities of 13 constituents found in each of the three types of wines.I think that the initial data set had around 30 variables, but for some reason I only have the 13 dimensional version. I had a list of what the 30 or so variables were, but a.) I lost it, and b.), I would not know which 13 variables are included in the set.The attributes are (dontated by Riccardo Leardi, riclea \'@\' anchem.unige.it )1) Alcohol2) Malic acid3) Ash4) Alcalinity of ash5) Magnesium6) Total phenols7) Flavanoids8) Nonflavanoid phenols9) Proanthocyanins10)Color intensity11)Hue12)OD280/OD315 of diluted wines13)ProlineIn a classification context, this is a well posed problem with \"well behaved\" class structures. A good data set for first testing of a new classifier, but not very challenging. ", creator="Forina, M. et al, PARVUS - ", url="http://archive.ics.uci.edu/ml/datasets/Wine", downloadUrls="http://archive.ics.uci.edu/ml/machine-learning-databases/wine/wine.data") public class WineDataset extends MapBackedDataset<Integer,ListDataset<double[]>,double[]>
Dataset
instance of the standard wine clustering experiment found
here:MapBackedDataset.IdentifiableBuilder<DATASET extends Dataset<INSTANCE> & Identifiable,INSTANCE>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
map
Constructor and Description |
---|
WineDataset(boolean normalise,
Integer... clusters)
Loads the wine dataset from wine.data
|
WineDataset(Integer... clusters)
Loads the wine dataset, mean centres the dataset
|
add, builder, entrySet, getGroups, getInstances, getMap, getRandomInstance, getRandomInstance, iterator, numInstances, of, of, of, of, of, of, of, put, toString
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public WineDataset(Integer... clusters)
clusters
- valid clusters, if empty all clusters are chosenpublic WineDataset(boolean normalise, Integer... clusters)
normalise
- whether to mean center the datasetclusters
- valid clusters, if empty all clusters are chosen