Class Standardization
java.lang.Object
si.ijs.kt.clus.ext.semisupervised.confidence.normalization.Standardization
- All Implemented Interfaces:
Normalization
Standardizes per-target scores to 0.5 mean and 0.125 standard deviation. This
ensures that 99% of values will be in [0,1]. The values greater than 1, or
smaller than 0, will be clamped to 1, or 0, respectively.
- Author:
- jurical
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setIsLessBetter
(boolean lessIsBetter) Set to true if less is better, of false if more is better
-
Constructor Details
-
Standardization
public Standardization(int nbTargetAttributes)
-
-
Method Details
-
normalize
- Specified by:
normalize
in interfaceNormalization
- Parameters:
perTargetScores
- Per-target confidence scores
-
setIsLessBetter
public void setIsLessBetter(boolean lessIsBetter) Description copied from interface:Normalization
Set to true if less is better, of false if more is better- Specified by:
setIsLessBetter
in interfaceNormalization
-