17 lines
516 B
Plaintext
17 lines
516 B
Plaintext
|
<frame title="Logging">
|
||
|
|
||
|
<code>
|
||
|
from yano.logging import Logger
|
||
|
from pyod.models.iforest import IForest
|
||
|
from extended_iforest import train_extended_ifor
|
||
|
l=Logger({"IFor":IForest(n_estimators=100),
|
||
|
"eIFor":train_extended_ifor})
|
||
|
for dataset, folds in pipeline(condition,
|
||
|
crossval(5),
|
||
|
normalize("minmax"),
|
||
|
shuffle):
|
||
|
l.run_cross(dataset, folds)
|
||
|
latex=l.to_latex()
|
||
|
</code>
|
||
|
|
||
|
</frame>
|