\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 5.0.1 - Classification
CGAL::Classification::Classifier Concept Reference

Definition

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.