jp.crestmuse.cmx.inference
クラス MusicRepresentation2.MusicElement
java.lang.Object
jp.crestmuse.cmx.inference.MusicRepresentation2.MusicElement
- 含まれているクラス:
- MusicRepresentation2
public class MusicRepresentation2.MusicElement
- extends java.lang.Object
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getAllProbs
public double[] getAllProbs()
getLogLikelihood
public double getLogLikelihood(int index)
getProb
public double getProb(int index)
getHighestProbIndex
public int getHighestProbIndex()
getRankedProbIndex
public int getRankedProbIndex(int rank)
getNBestIndices
public void getNBestIndices(int[] nbest)
getNBestIndices
public int[] getNBestIndices(int n)
getProbLength
public int getProbLength()
set
public boolean set()
hasEvidence
public boolean hasEvidence()
setEvidence
public void setEvidence(int i)
removeEvidence
public void removeEvidence(int i)
setLogLikelihood
public void setLogLikelihood(int i,
double value)
setProb
public void setProb(int i,
double value)
addNewLabel
public int addNewLabel(java.lang.Object o)
getLabel
public java.lang.Object getLabel(int index)
getIndexOf
public int getIndexOf(java.lang.Object label)