Skip to content
Saman .E edited this page Feb 28, 2023 · 6 revisions
model_gbcnn = GBCNN()
model_gbdnn = GBDNNClassifier()

Create an instance of the model.

init(**params)

  • Parameters
params= {'config': Namespace(seed=111,
                              boosting_epoch=40,
                              boosting_eta=1e-3,
                              save_records=False,
                              additive_epoch=100,
                              batch=128,
                              units=20,
                              additive_eta=1e-3,
                              patience=2)}

Methods


fit(X, y[, x_test, y_test])
    - Fit the GB-CNN or GB-DNN.
get_params()
    - Returns parameters of the model.
predict(X)
    - Returns the predicted class labels for X.
predict_proba(X)
    - Returns the probabilities class labels for X.
predict_stage(X)
    - Returns the predicted class labels for X for different boosting epochs.
score(X, y)
    - Returns the accuracy of the model on a new set of unseen instances.

Clone this wiki locally