Skip to content

Classificaiton models dont run #164

@knussear

Description

@knussear

Trying to run a classification model.

Simple example per your code demo here gbm3::printExamples

data( iris )
kMod <- gbm( Species ~ . , data=iris , distribution = "gaussian", n.tree=1000, shrinkage=.1,
cv.folds=5, train.fraction=.9)
results in
"Error: Not compatible with requested type: [type=character; target=double]."

checked the Species variable, and it is a factor. Not sure how to proceed, seems like an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions