Trait lfa::projectors::AdaptiveProjector
[−]
[src]
pub trait AdaptiveProjector<I: ?Sized>: Projector<I> { fn discover(
&mut self,
input: &I,
error: f64
) -> Option<HashMap<usize, IndexSet>>; fn add_feature(
&mut self,
feature: CandidateFeature
) -> Option<(usize, IndexSet)>; }
Trait for projectors with adaptive bases.
Required Methods
fn discover(
&mut self,
input: &I,
error: f64
) -> Option<HashMap<usize, IndexSet>>
&mut self,
input: &I,
error: f64
) -> Option<HashMap<usize, IndexSet>>
fn add_feature(
&mut self,
feature: CandidateFeature
) -> Option<(usize, IndexSet)>
&mut self,
feature: CandidateFeature
) -> Option<(usize, IndexSet)>