Coverage for src/bob/fusion/base/config/algorithm/llr_skl.py: 100%
5 statements
« prev ^ index » next coverage.py v7.6.5, created at 2024-11-14 22:15 +0100
« prev ^ index » next coverage.py v7.6.5, created at 2024-11-14 22:15 +0100
1#!/usr/bin/env python
3from sklearn.linear_model import LogisticRegression
4from sklearn.preprocessing import StandardScaler
6import bob.fusion.base
8algorithm = bob.fusion.base.algorithm.Algorithm(
9 preprocessors=[StandardScaler()], classifier=LogisticRegression()
10)
12algorithm_tanh = bob.fusion.base.algorithm.Algorithm(
13 preprocessors=[bob.fusion.base.preprocessor.Tanh()],
14 classifier=LogisticRegression(),
15)