現在、gbm.fit モデルを使用して、R で adaBoost モデルを適合させようとしています。私はできる限りのことを試しましたが、最終的に私のモデルは [0,1] の範囲外の予測値を与え続けます。type = "response" はベルヌーイでのみ機能することを理解していますが、0,1 のすぐ外側の値を取得し続けています。何かご意見は?ありがとう!
GBMODEL <- gbm.fit(
x=training.set,
y=training.responses,
distribution="adaboost",
n.trees=5000,
interaction.depth=1,
shrinkage=0.005,
train.fraction=1,
)
predictionvalues = predict(GBMODEL,
newdata=test.predictors,
n.trees=5000,
type="response")