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