MCPcopy Index your code
hub / github.com/EdwardRaff/JSAT / getNumFeatures

Method getNumFeatures

JSAT/src/jsat/DataSet.java:756–759  ·  view source on GitHub ↗

Returns the number of features in this data set, which is the sum of #getNumCategoricalVars() and #getNumNumericalVars() @return the total number of features in this data set

()

Source from the content-addressed store, hash-verified

754 * @return the total number of features in this data set
755 */
756 public int getNumFeatures()
757 {
758 return getNumCategoricalVars() + getNumNumericalVars();
759 }
760
761 /**
762 * Returns a new version of this data set that is of the same type, and

Callers 15

testTransformMethod · 0.80
testTransformRMethod · 0.80
testTransformCMethod · 0.80
testTransformRMethod · 0.80
testTransformCMethod · 0.80
testTransformRMethod · 0.80
testTransformCMethod · 0.80
testTransformCMethod · 0.80
testTransformRMethod · 0.80
trainCMethod · 0.80
trainCMethod · 0.80

Calls 2

getNumCategoricalVarsMethod · 0.95
getNumNumericalVarsMethod · 0.95

Tested by 9

testTransformMethod · 0.64
testTransformRMethod · 0.64
testTransformCMethod · 0.64
testTransformRMethod · 0.64
testTransformCMethod · 0.64
testTransformRMethod · 0.64
testTransformCMethod · 0.64
testTransformCMethod · 0.64
testTransformRMethod · 0.64