museotoolbox.ai.SuperLearner.predict_array

SuperLearner.predict_array(X)[source]

Predict label from array.

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

  • **kwargs – Xfunction : a custom function to modify directly the array from the raster.