public interface DotProduct
Modifier and Type | Method and Description |
---|---|
double |
dotProduct(weka.core.Instances dataSet,
weka.core.Instance inst1,
weka.core.Instance inst2)
Calculate dot product between instances (vecttors)
|
double |
norm(weka.core.Instances dataSet,
weka.core.Instance vec)
Calculates the dot-product-induced norm of the vector
|
double dotProduct(weka.core.Instances dataSet, weka.core.Instance inst1, weka.core.Instance inst2) throws Exception
dataSet
- -- datasetinst1
- -- Instance 1inst2
- -- Instance 2Exception
Copyright © 2018. All Rights Reserved.