
===========================
Python API for bob.bio.base
===========================


Pipelines
---------

Database
~~~~~~~~

.. autosummary::

  bob.bio.base.pipelines.vanilla_biometrics.abstract_classes.Database
  bob.bio.base.pipelines.vanilla_biometrics.abstract_classes.Database.background_model_samples
  bob.bio.base.pipelines.vanilla_biometrics.abstract_classes.Database.references
  bob.bio.base.pipelines.vanilla_biometrics.abstract_classes.Database.probes

Database implementations
........................

.. autosummary::

..  bob.bio.base.database.CSVDataset
..  bob.bio.base.database.CSVDatasetCrossValidation

Biometric Algorithm
~~~~~~~~~~~~~~~~~~~

.. autosummary::

  bob.bio.base.pipelines.vanilla_biometrics.abstract_classes.BioAlgorithm
  bob.bio.base.pipelines.vanilla_biometrics.abstract_classes.BioAlgorithm.score
  bob.bio.base.pipelines.vanilla_biometrics.abstract_classes.BioAlgorithm.enroll

Writing Scores
~~~~~~~~~~~~~~

.. autosummary::

  bob.bio.base.pipelines.vanilla_biometrics.abstract_classes.ScoreWriter
  bob.bio.base.pipelines.vanilla_biometrics.score_writers.FourColumnsScoreWriter
  bob.bio.base.pipelines.vanilla_biometrics.score_writers.CSVScoreWriter

Assembling the pipeline
~~~~~~~~~~~~~~~~~~~~~~~

.. autosummary::

  bob.bio.base.script.vanilla_biometrics.vanilla_biometrics


Building Pipelines from Legacy constructs
-----------------------------------------

Creating Database interfaces from legacy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autosummary::

  bob.bio.base.pipelines.vanilla_biometrics.legacy.DatabaseConnector

Creating Transformers from legacy constructs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autosummary::

  bob.bio.base.transformers.preprocessor.PreprocessorTransformer
  bob.bio.base.transformers.extractor.ExtractorTransformer
  bob.bio.base.transformers.algorithm.AlgorithmTransformer

Creating BioAlgorithms from legacy Algorithm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autosummary::

  bob.bio.base.pipelines.vanilla_biometrics.legacy.BioAlgorithmLegacy



Legacy Constructs
-----------------

Base classes
~~~~~~~~~~~~

.. autosummary::

  bob.bio.base.preprocessor.Preprocessor
  bob.bio.base.extractor.Extractor
  bob.bio.base.algorithm.Algorithm

Implementations
~~~~~~~~~~~~~~~

.. autosummary::

  bob.bio.base.preprocessor.Filename
  bob.bio.base.extractor.Linearize
  bob.bio.base.algorithm.Distance
  bob.bio.base.algorithm.PCA
  bob.bio.base.algorithm.LDA
  bob.bio.base.algorithm.PLDA



Generic functions
-----------------

Functions dealing with resources
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autosummary::

  bob.bio.base.load_resource
  bob.bio.base.read_config_file
  bob.bio.base.resource_keys
  bob.bio.base.extensions
  bob.bio.base.valid_keywords


Miscellaneous functions
~~~~~~~~~~~~~~~~~~~~~~~

.. autosummary::

  bob.bio.base.get_config
  bob.bio.base.score_fusion_strategy
  bob.bio.base.selected_elements
  bob.bio.base.selected_indices



Loading data
------------

.. autosummary::

  bob.bio.base.score.load.open_file
  bob.bio.base.score.load.scores
  bob.bio.base.score.load.split
  bob.bio.base.score.load.cmc
  bob.bio.base.score.load.four_column
  bob.bio.base.score.load.split_four_column
  bob.bio.base.score.load.cmc_four_column
  bob.bio.base.score.load.five_column
  bob.bio.base.score.load.split_five_column
  bob.bio.base.score.load.cmc_five_column

Plotting
--------

.. autosummary::

  bob.bio.base.script.figure.Cmc
  bob.bio.base.script.figure.Det
  bob.bio.base.script.figure.Dir
  bob.bio.base.script.figure.Hist
  bob.bio.base.script.figure.Roc



IO-related functions
~~~~~~~~~~~~~~~~~~~~

.. autosummary::

  bob.bio.base.load
  bob.bio.base.save
  bob.bio.base.load_compressed
  bob.bio.base.save_compressed
  bob.bio.base.open_compressed
  bob.bio.base.close_compressed
  bob.bio.base.check_file


Details
-------

.. automodule:: bob.bio.base

.. automodule:: bob.bio.base.annotator
.. automodule:: bob.bio.base.pipelines
.. automodule:: bob.bio.base.pipelines.vanilla_biometrics
.. automodule:: bob.bio.base.database
.. automodule:: bob.bio.base.preprocessor
.. automodule:: bob.bio.base.extractor
.. automodule:: bob.bio.base.transformers
.. automodule:: bob.bio.base.algorithm
.. automodule:: bob.bio.base.score.load
.. automodule:: bob.bio.base.script.figure
.. automodule:: bob.bio.base.script.commands
.. automodule:: bob.bio.base.script.gen





.. include:: links.rst
