mod part_00;
pub const MODEL_SHA256: &str = "9acd761d937534b6a0102d12a292f4e96eed43dd3a366106995f3ddaf771aae7";
pub const FEATURES: [&str; 15] = ["rows", "cols", "cells", "numeric", "words_cell", "col_words_max", "col_words_min", "heading_share", "p_head_max", "p_head_mean", "first_col_p_head", "empty", "height_share", "wordy_share", "first_col_words"];
pub const THRESHOLD: f64 = 0.08_f64;
#[inline(always)]
fn go_left(value: f64, threshold: f64, default_left: bool, missing: u8) -> bool {
let value = if missing != 2 && value.is_nan() { 0.0 } else { value };
if (missing == 1 && value.abs() <= 1e-35) || (missing == 2 && value.is_nan()) {
return default_left;
}
value <= threshold
}
pub fn predict_margin(x: &[f64; 15]) -> f64 {
let acc = 0.0;
part_00::add(x, acc)
}