Class ADyadRankingInstance
- java.lang.Object
-
- ai.libs.jaicore.ml.dyadranking.dataset.ADyadRankingInstance
-
- All Implemented Interfaces:
ILabeledInstance<IDyadRankingInstance>,IDyadRankingInstance,java.lang.Iterable<Dyad>
- Direct Known Subclasses:
DyadRankingInstance,SparseDyadRankingInstance
public abstract class ADyadRankingInstance extends java.lang.Object implements IDyadRankingInstance
-
-
Constructor Summary
Constructors Constructor Description ADyadRankingInstance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.nd4j.linalg.api.ndarray.INDArraytoMatrix()Converts a dyad ranking to aINDArraymatrix where each row corresponds to a dyad.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ai.libs.jaicore.ml.dyadranking.dataset.IDyadRankingInstance
getDyadAtPosition, length
-
Methods inherited from interface ai.libs.jaicore.ml.core.dataset.ILabeledInstance
getTargetValue
-
-
-
-
Method Detail
-
toMatrix
public org.nd4j.linalg.api.ndarray.INDArray toMatrix()
Description copied from interface:IDyadRankingInstanceConverts a dyad ranking to aINDArraymatrix where each row corresponds to a dyad.- Specified by:
toMatrixin interfaceIDyadRankingInstance- Returns:
- The dyad ranking in
INDArraymatrix form.
-
-