bundles / skimage 0.26.1rc0.dev0 / skimage / future / trainable_segmentation / TrainableSegmenter
class
skimage.future.trainable_segmentation:TrainableSegmenter
source: /skimage/future/trainable_segmentation.py:17
Signature
class TrainableSegmenter(clf = None, features_func = None)Members
Summary
Estimator for classifying pixels.
Parameters
clf: classifier object, optionalclassifier object, exposing a
fitand apredictmethod as in scikit-learn's API, for example an instance ofRandomForestClassifierorLogisticRegressionclassifier.features_func: function, optionalfunction computing features on all pixels of the image, to be passed to the classifier. The output should be of shape
(m_features, *labels.shape). If None, skimage.feature.multiscale_basic_features is used.
Methods
compute_featuresfitpredict
Aliases
skimage.future.TrainableSegmenter