[−][src]Struct opencv::types::PtrOfNormalBayesClassifier
Methods
impl PtrOfNormalBayesClassifier
[src]
pub fn as_raw_PtrOfNormalBayesClassifier(&self) -> *mut c_void
[src]
pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self
[src]
Trait Implementations
impl AlgorithmTrait for PtrOfNormalBayesClassifier
[src]
fn as_raw_Algorithm(&self) -> *mut c_void
[src]
fn clear(&mut self) -> Result<()>
[src]
fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
fn write_1(&self, fs: &PtrOfFileStorage, name: &str) -> Result<()>
[src]
fn read(&mut self, _fn: &FileNode) -> Result<()>
[src]
fn empty(&self) -> Result<bool>
[src]
fn save(&self, filename: &str) -> Result<()>
[src]
fn get_default_name(&self) -> Result<String>
[src]
impl Drop for PtrOfNormalBayesClassifier
[src]
impl NormalBayesClassifier for PtrOfNormalBayesClassifier
[src]
fn as_raw_NormalBayesClassifier(&self) -> *mut c_void
[src]
fn predict_prob(
&self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
output_probs: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
[src]
&self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
output_probs: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
impl Send for PtrOfNormalBayesClassifier
[src]
impl StatModel for PtrOfNormalBayesClassifier
[src]
fn as_raw_StatModel(&self) -> *mut c_void
[src]
fn get_var_count(&self) -> Result<i32>
[src]
fn empty(&self) -> Result<bool>
[src]
fn is_trained(&self) -> Result<bool>
[src]
fn is_classifier(&self) -> Result<bool>
[src]
fn train_with_data(
&mut self,
train_data: &PtrOfTrainData,
flags: i32
) -> Result<bool>
[src]
&mut self,
train_data: &PtrOfTrainData,
flags: i32
) -> Result<bool>
fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
[src]
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
fn calc_error(
&self,
data: &PtrOfTrainData,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
[src]
&self,
data: &PtrOfTrainData,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
[src]
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
Auto Trait Implementations
impl RefUnwindSafe for PtrOfNormalBayesClassifier
impl !Sync for PtrOfNormalBayesClassifier
impl Unpin for PtrOfNormalBayesClassifier
impl UnwindSafe for PtrOfNormalBayesClassifier
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,