API reference for casimir.data#

This page summarizes the API for various data related operations for tasking including binary classification, named entity recognition and object localization. Lastly, it talks about how to use the optimization algorithms to new tasks or datasets.

Classification#

Named Entity Recognition:#

Visual Object Localization#

Extending to new tasks and datasets#

The framework of IFOs decouples the optimization from the data and loss function used, as captured by the figure below.

../_images/fig.001.png

In order to define a new incremental first order oracle, one must override the class casimir.optim.IncrementalFirstOrderOracle or the class casimir.optim.SmoothedIncrementalFirstOrderOracle. See the documentation of these classes for more details.

See IFOs for classification or for structural support vector machines for named entity recognition and visual object localization for reference on how this is done.