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

Method getDataVectors

JSAT/src/jsat/DataSet.java:559–565  ·  view source on GitHub ↗

Creates a list of the vectors values for each data point in the correct order. @return a list of the vectors for the data points

()

Source from the content-addressed store, hash-verified

557 * @return a list of the vectors for the data points
558 */
559 public List<Vec> getDataVectors()
560 {
561 List<Vec> vecs = new ArrayList<Vec>(getSampleSize());
562 for(int i = 0; i < getSampleSize(); i++)
563 vecs.add(getDataPoint(i).getNumericalValues());
564 return vecs;
565 }
566
567 /**
568 * The data set can be seen as a NxM matrix, were each row is a

Callers 15

getDataMatrixViewMethod · 0.95
setUpMethod · 0.80
setUpMethod · 0.80
setUpMethod · 0.80
trainMethod · 0.80
trainMethod · 0.80
maxLambdaLogisticL1Method · 0.80
trainCMethod · 0.80
trainCMethod · 0.80
trainCMethod · 0.80
mainLoopMethod · 0.80
bookKeepingInitMethod · 0.80

Calls 4

getSampleSizeMethod · 0.95
getDataPointMethod · 0.95
getNumericalValuesMethod · 0.80
addMethod · 0.45

Tested by 3

setUpMethod · 0.64
setUpMethod · 0.64
setUpMethod · 0.64