TensorPairs<T extends Tensor> class
Holds lists x and y for calculating properties such as correlation.
Constructors
-
TensorPairs.fromTensorLists(List<
T> x, List<T> y) - Constructs samples for X list and Y list.
Properties
Methods
-
correlation(
) → T - Calculates correlation of x and y.
-
covariance(
) → T - Calculates covariance of x and y.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromScalarLists<
S extends num> (Iterable< S> x, Iterable<S> y) → TensorPairs<Tensor< double> > - Constructs TensorPairs from two lists of int or double values.
-
generateFromScalarList(
Iterable< num> x, num function(num x)) → TensorPairs<Tensor< double> > - Generates Y values from X values.