CGAL 6.1.1 - Classification

Loading...
Searching...
No Matches
List of all members | Public Member Functions
CGAL::Classification::Classifier Concept Reference
Reference Manual » Concepts

## Definition

Concept describing a classifier used by classification functions (see `CGAL::Classification::classify()`, `CGAL::Classification::classify_with_local_smoothing()` and `CGAL::Classification::classify_with_graphcut()`).

Has models
  `CGAL::Classification::Sum_of_weighted_features_classifier`
  `CGAL::Classification::ETHZ::Random_forest_classifier`
  `CGAL::Classification::OpenCV::Random_forest_classifier`

## Public Member Functions
void | operator() (std::size_t item_index, std::vector< float > &out) const
| Computes for each label indexed from 0 to `out.size()`, the probability (between 0 and 1) that the item at `item_index` belongs to this label.