museotoolbox.ai.SuperLearner.predict_confidence_per_class

SuperLearner.predict_confidence_per_class(X)[source]

Predict confidence for each class.

Parameters

X (np.ndarray.) – The array to predict proba. Must have the same number of bands of the initial array/raster.

Returns

Xpredict – The probability from 0 to 100.

Return type

np.ndarray (n_size,n_class)