Class OracleScore
java.lang.Object
si.ijs.kt.clus.ext.semisupervised.confidence.PredictionConfidence
si.ijs.kt.clus.ext.semisupervised.confidence.OracleScore
Provides reliability scores on the basis of 'actual error', which is not
attainable in practice, i.e., if true unlabeled data are used. The unlabeled instances
provided need to have labels.
- Author:
- jurical
-
Field Summary
Fields inherited from class si.ijs.kt.clus.ext.semisupervised.confidence.PredictionConfidence
m_Aggregation, m_ConfidenceScores, m_counter, m_NbTargets, m_Normalization, m_perTargetScores, m_StatManager -
Constructor Summary
ConstructorsConstructorDescriptionOracleScore(ClusStatManager statManager, SettingsSSL.SSLNormalization normalizationType, SettingsSSL.SSLAggregation aggregationType) -
Method Summary
Modifier and TypeMethodDescriptiondouble[]calculatePerTargetOOBScores(ClusForest model, DataTuple tuple) Per-target reliability scores for out-of-bag (labeled) examples.double[]calculatePerTargetScores(ClusModel model, DataTuple tuple) Returns per-target confidence scoresvoidsetHmcThreshold(double t) Threshold for prediction in the context of hierarchical multi-label classificationMethods inherited from class si.ijs.kt.clus.ext.semisupervised.confidence.PredictionConfidence
calculateConfidenceScores, calculateConfidenceScores, calculateOOBConfidenceScores, getConfidence, getConfidenceScores, getCounter, getNbTargetAttributes, getNormalization, getPerTargetConfidenceScores
-
Constructor Details
-
OracleScore
public OracleScore(ClusStatManager statManager, SettingsSSL.SSLNormalization normalizationType, SettingsSSL.SSLAggregation aggregationType)
-
-
Method Details
-
calculatePerTargetScores
public double[] calculatePerTargetScores(ClusModel model, DataTuple tuple) throws ClusException, InterruptedException Returns per-target confidence scores- Specified by:
calculatePerTargetScoresin classPredictionConfidence- Parameters:
model-tuple- Tuple is assumed to have true labels- Throws:
ClusExceptionInterruptedException
-
calculatePerTargetOOBScores
Description copied from class:PredictionConfidencePer-target reliability scores for out-of-bag (labeled) examples. Applicable only for ClusForest.- Specified by:
calculatePerTargetOOBScoresin classPredictionConfidence
-
setHmcThreshold
public void setHmcThreshold(double t) Threshold for prediction in the context of hierarchical multi-label classification- Parameters:
t-
-