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

Method getInnerOuterCircle

JSAT/test/jsat/FixedProblems.java:185–188  ·  view source on GitHub ↗

Returns a classification problem with small uniform noise where there is a small circle of radius 1 within a circle of radius 4. Each circle shares the same center. @param dataSetSize the even number of data points to create @param rand the source of randomness @return a classification data set wit

(int dataSetSize, Random rand)

Source from the content-addressed store, hash-verified

183 * @return a classification data set with two classes
184 */
185 public static ClassificationDataSet getInnerOuterCircle(int dataSetSize, Random rand)
186 {
187 return getInnerOuterCircle(dataSetSize, rand, 1, 4);
188 }
189
190 public static ClassificationDataSet getInnerOuterCircle(int dataSetSize, Random rand, double r1, double r2)
191 {

Calls 1

getCirclesMethod · 0.95

Tested by

no test coverage detected