gleam_synapses/model/encoding/preprocessor
Types
pub type Preprocessor =
ZList(Attribute)
Functions
pub fn decode(preprocessor: ZList(Attribute), encoded_datapoint: ZList(
Float,
)) -> Map(String, String)
pub fn encode(preprocessor: ZList(Attribute), datapoint: Map(
String,
String,
)) -> ZList(Float)
pub fn init(keys_with_flags: ZList(#(String, Bool)), dataset: Iterator(
Map(String, String),
)) -> ZList(Attribute)