Java org.apache.mahout.classifier.df.data Dataset fields, constructors, methods, implement or subclass

Example usage for Java org.apache.mahout.classifier.df.data Dataset fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.mahout.classifier.df.data Dataset.

The text is from its open source code.

Subclass

org.apache.mahout.classifier.df.data.Dataset has subclasses.
Click this link to see all its subclasses.

Method

doublegetLabel(Instance instance)
intgetLabelId()
StringgetLabelString(double code)
Returns the label value in the data This method can be used when the criterion variable is the categorical attribute.
booleanisNumerical(int attr)
Is this a numerical attribute ?
String[]labels()
Datasetload(Configuration conf, Path path)
Loads the dataset from a file
intnblabels()
StringtoJSON()
Serialize this instance to JSON