📄 normalizedprediction.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -