MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / getNumCategoricalVars

Method getNumCategoricalVars

JSAT/src/jsat/DataSet.java:397–400  ·  view source on GitHub ↗

Returns the number of categorical variables for each data point in the set @return the number of categorical variables for each data point in the set

()

Source from the content-addressed store, hash-verified

395 * @return the number of categorical variables for each data point in the set
396 */
397 public int getNumCategoricalVars()
398 {
399 return categories.length;
400 }
401
402 /**
403 * Returns the number of numerical variables for each data point in the set

Callers 15

getCategoryNameMethod · 0.95
getNumFeaturesMethod · 0.95
compareDataSetPointsMethod · 0.80
checkDataSetMethod · 0.80
testFitMethod · 0.80
trainCMethod · 0.80
trainCMethod · 0.80
trainMethod · 0.80
trainCMethod · 0.80
trainCMethod · 0.80

Calls

no outgoing calls

Tested by 4

compareDataSetPointsMethod · 0.64
checkDataSetMethod · 0.64
testFitMethod · 0.64