Skip to content

Prediction for new sample #375

Open
Open
@AmosJoseph

Description

@AmosJoseph

Hi, pardon, I have trained a ngboost model, for the new sample below:

X_test1=np.array([[2, 19, 40, 30, 1 ]])

how to get the prediction? As the code below can not be run and is error.

Y_pred = ngb_.predict(X_test1)
Y_dist = ngb_.pred_dist(X_test1)

Looking forward to receiving your message.

Many Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions