pub struct EnsembleResult {
pub regime: MarketRegime,
pub confidence: f64,
pub methods_agree: bool,
pub indicator_result: RegimeConfidence,
pub hmm_result: RegimeConfidence,
pub indicator_regime: MarketRegime,
pub hmm_regime: MarketRegime,
}Expand description
Result from ensemble detection
Fields§
§regime: MarketRegimeFinal regime determination
confidence: f64Combined confidence
methods_agree: boolWhether methods agree on regime category
indicator_result: RegimeConfidenceIndicator-based result
hmm_result: RegimeConfidenceHMM-based result
indicator_regime: MarketRegimeIndividual method regimes for debugging
hmm_regime: MarketRegimeImplementations§
Source§impl EnsembleResult
impl EnsembleResult
Sourcepub fn to_regime_confidence(&self) -> RegimeConfidence
pub fn to_regime_confidence(&self) -> RegimeConfidence
Convert to standard RegimeConfidence
Trait Implementations§
Source§impl Clone for EnsembleResult
impl Clone for EnsembleResult
Source§fn clone(&self) -> EnsembleResult
fn clone(&self) -> EnsembleResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnsembleResult
impl Debug for EnsembleResult
Auto Trait Implementations§
impl Freeze for EnsembleResult
impl RefUnwindSafe for EnsembleResult
impl Send for EnsembleResult
impl Sync for EnsembleResult
impl Unpin for EnsembleResult
impl UnsafeUnpin for EnsembleResult
impl UnwindSafe for EnsembleResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more