normalizedprediction.java
来自「Boosting算法软件包」· Java 代码 · 共 37 行
JAVA
37 行
package jboost.booster;/** * A normalized predictor. When a prediction is added, we * ensure that the margin is normalized. This normalization is done * by "mixing" in the new prediction. * * @author Aaron Arvey **/public interface NormalizedPrediction { /** * Must be used very carefully. An example: * * Prediction return_value = new MixedBinaryPrediction(Prediction root_value); * for (pi in iteration_ordered_predictions) * return_value.add(pi) * * There are two important parts to the above example. * 1) the add method is called on return_value * 2) iteration ordered predictions */ public Prediction add(Prediction p); /* public static boolean isNormPred(Prediction p); */}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?