===========
sampo learn
===========

.. contents:: Contents
    :local:

Overview
========
.. warning::

   sampo learn command is deprecated.

**sampo learn** executes a learning on an input data and stores its learned model and execution results in a ProcessStore on a specified URL.

|

Synopsis
========
See sampo command help::

    $ sampo learn --help

For logging options, see sampo base command help::

    $ sampo --help

|

Examples
========
The following example assumes the existence of:

* **fabhmerg.spd** file.
* **fabhmerg_learn.src** file.
* A ProcessStore in **/var/process_store_storage** with an existing model process.

Learning a process described by **fabhmerg.spd** with **fabhmerg_learn.src** and storing it in a ProcessStore in **/var/process_store_storage**::

    $ sampo learn fabhmerg.spd fabhmerg_learn.src -s file:///var/process_store_storage
