package modelkit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Portable classical machine learning workflows for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
modelkit-0.4.1.tbz
sha256=7a7af032790248b5d1d5392bbf29f8c8163df2e7f50ab5801cdaed5fd2c543e1
sha512=185bc224afc9b141d54b89a564694438a268429ba9c58dd3a402da31cb29f3e1eefd3643a76766ce9170c5f6c927f307873d51e4e3ce08aece00884cebbe0e2a
doc/modelkit/Modelkit/Normalizer/index.html
Module Modelkit.Normalizer
Independent L1, L2, or maximum-norm scaling of each sample.
This transform learns only the fitted input schema. Each finite row is divided by its selected norm, while a zero-norm row remains unchanged. Sample weights are rejected.
include TRANSFORMER
with type t := t
and type params := params
and type target = unit
and type fitted := fitted
and type rng = Rng.t
type rng = Rng.tval fit :
t ->
?sample_weight:Sample_weight.t ->
rng:rng ->
feature_schema:Feature_schema.t ->
x:Matrix.t ->
y:target option ->
unit ->
(fitted, Error.t) resultval input_schema : fitted -> Feature_schema.tval output_schema : fitted -> Feature_schema.t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>