Commit 3878c736 authored by Vincent POLLET's avatar Vincent POLLET

[DOC] Add documentation about vanilla-pad decision function

parent 09224b5f
Pipeline #49293 passed with stage
in 3 minutes and 40 seconds
......@@ -142,12 +142,16 @@ To build such a pipeline, the following configuration file can be created:
The pipeline can then be executed with the command::
$ bob pad vanilla-pad -d -p -o output_dir
$ bob pad vanilla-pad -d -p -f predict -o output_dir
When executed with vanilla-pad, every training sample will pass through the pipeline, executing the ``fit`` methods.
Then, every sample of the `dev` set (and/or the `eval` set) will be given to the `transform` method of ``my_transformer`` and the result is passed to the `predict` method of ``my_classifier``.
The output of the classifier (scores) is written to a file.
.. note::
By default, vanilla-pad expects the classifier to have a `decision_function` method to call for the prediction step. It can be changed with the '-f' switch to the prediction method of your classifier, in our case the `predict` method.
.. _bob.pad.base.using_sklearn_classifiers:
Markdown is supported
Finish editing this message first!
Please register or to comment