public class CosineSimilarity extends AbstractDoubleCalculation
Calculation.Ret| Constructor and Description |
|---|
CosineSimilarity(Matrix matrix,
boolean ignoreNaN) |
| Modifier and Type | Method and Description |
|---|---|
static double |
getCosineSimilartiy(Matrix m1,
Matrix m2,
boolean ignoreNaN) |
double |
getDouble(long... coordinates) |
long[] |
getSize() |
calcLink, calcNew, calcOrig, getValueType, setDoubleavailableCoordinates, calc, containsCoordinates, getColumnCount, getDimension, getMetaData, getRowCount, getSource, getSources, setMetaDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitavailableCoordinates, calc, containsCoordinates, getColumnCount, getDimension, getMetaData, getRowCount, getSource, getSources, setMetaDatapublic CosineSimilarity(Matrix matrix, boolean ignoreNaN)
public double getDouble(long... coordinates)
public long[] getSize()
getSize in interface CalculationgetSize in class AbstractCalculationCopyright © 2015 Universal Java Matrix Package. All rights reserved.