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

Method getDataPoints

JSAT/src/jsat/DataSet.java:547–553  ·  view source on GitHub ↗

Creates a list containing the same DataPoints in this set. They are soft copies, in the same order as this data set. However, altering this list will have no effect on DataSet. Altering the DataPoints in the list will effect the DataPoints in this DataSet. @return a list of the DataPoints in this D

()

Source from the content-addressed store, hash-verified

545 * @return a list of the DataPoints in this DataSet.
546 */
547 public List<DataPoint> getDataPoints()
548 {
549 List<DataPoint> list = new ArrayList<DataPoint>(getSampleSize());
550 for(int i = 0; i < getSampleSize(); i++)
551 list.add(getDataPoint(i));
552 return list;
553 }
554
555 /**
556 * Creates a list of the vectors values for each data point in the correct order.

Callers 4

ClassificationDataSetMethod · 0.80
setUsingDataMethod · 0.80
clusterComputeMethod · 0.80
clusterMethod · 0.80

Calls 3

getSampleSizeMethod · 0.95
getDataPointMethod · 0.95
addMethod · 0.45

Tested by

no test coverage detected