Loading...
Searching...
No Matches
gpr::RFFFeatureSelectionError Class Reference

#include <gpr/ml/RFFFeatureSelection.h>

Inheritance diagram for gpr::RFFFeatureSelectionError:

Public Member Functions

 RFFFeatureSelectionError (RFFFeatureSelection report)
const RFFFeatureSelection & report () const noexcept

Detailed Description

Raised when no admissible count meets the tolerance or the cap cannot hold an overdetermined fit. The report is the measurement that failed.

Definition at line 87 of file RFFFeatureSelection.h.

Constructor & Destructor Documentation

◆ RFFFeatureSelectionError()

gpr::RFFFeatureSelectionError::RFFFeatureSelectionError ( RFFFeatureSelection report)
inlineexplicit

Definition at line 89 of file RFFFeatureSelection.h.

90 : std::runtime_error(report.detail.empty()
91 ? std::string("RFF feature selection failed")
92 : report.detail),
93 report_(std::move(report))
94 {
95 }
const RFFFeatureSelection & report() const noexcept

Member Function Documentation

◆ report()

const RFFFeatureSelection & gpr::RFFFeatureSelectionError::report ( ) const
inlinenodiscardnoexcept

Definition at line 97 of file RFFFeatureSelection.h.

98 {
99 return report_;
100 }

The documentation for this class was generated from the following file: