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

Method getSimpleKClassLinear

JSAT/test/jsat/FixedProblems.java:97–100  ·  view source on GitHub ↗

Generates a linearly separable multi class problem @param dataSetSize the number of data points to generate per class @param K the number of classes to generate @return a new multi class data set

(int dataSetSize, int K)

Source from the content-addressed store, hash-verified

95 * @return a new multi class data set
96 */
97 public static ClassificationDataSet getSimpleKClassLinear(int dataSetSize, int K)
98 {
99 return getSimpleKClassLinear(dataSetSize, K, RandomUtil.getRandom());
100 }
101 /**
102 * Generates a linearly separable multi class problem
103 * @param dataSetSize the number of data points to generate per class

Calls 4

getRandomMethod · 0.95
setMethod · 0.95
addDataPointMethod · 0.95
randomMethod · 0.45

Tested by

no test coverage detected