Browse Source

sd, mean

pull/25/head
Alexey Velikiy 3 years ago
parent
commit
16340a61ba
  1. 6
      server/src/services/analytic_service/pattern_detector.rs

6
server/src/services/analytic_service/pattern_detector.rs

@ -46,7 +46,7 @@ impl fmt::Debug for LearningResults {
}
}
pub const FEATURES_SIZE: usize = 2;
pub const FEATURES_SIZE: usize = 4;
pub type Features = [f64; FEATURES_SIZE];
@ -287,8 +287,8 @@ impl PatternDetector {
return [
min,
max,
// mean,
// sd,
mean,
sd,
// 0f64,0f64,
// 0f64,0f64,0f64, 0f64
];

Loading…
Cancel
Save