현재 gbm.fit 모델을 사용하여 R에 adaBoost 모델을 맞추려고합니다. 내가 할 수있는 모든 것을 시도했지만 결국에는 내 모델이 [0,1] 외부의 예측 값을 계속 제공합니다. 나는 type = "response"가 bernoulli에 대해서만 작동한다는 것을 이해하지만, 나는 0,1의 바깥에서 값을 계속 얻는다. 이견있는 사람? 감사!adaBoost ~ predict() 값이 [0,1] 외부에있는 GBM입니다.
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")
y 범위는 무엇입니까? 우리에게'summary (training.responses)'를 보여주세요. – smci