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

Method getDataMatrixView

JSAT/src/jsat/DataSet.java:747–750  ·  view source on GitHub ↗

Creates a matrix backed by the data set, where each row is a data point from the dataset, and each column is one of the numeric examples from the data set. Any modifications to this matrix will be reflected in the dataset. This method has the advantage over #getDataMatrix() in tha

()

Source from the content-addressed store, hash-verified

745 * @return a matrix representation of the data points
746 */
747 public Matrix getDataMatrixView()
748 {
749 return new MatrixOfVecs(getDataVectors());
750 }
751
752 /**
753 * Returns the number of features in this data set, which is the sum of {@link #getNumCategoricalVars() } and {@link #getNumNumericalVars() }

Callers 2

clusterMethod · 0.80
fitMethod · 0.80

Calls 1

getDataVectorsMethod · 0.95

Tested by

no test coverage detected