=======================================
sampo_ps_fabhme export_assigned_comp_id
=======================================

.. contents:: Contents
    :local:

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

   sampo_ps_fabhme export_assigned_comp_id command is deprecated.
   Use hotstart section of SRC instead of _fabhme_assigned_comp_id data column.

**sampo_ps_fabhme export_assigned_comp_id** exports component IDs assigned to samples.

This command supports **the posterior hot-start** as follows.

1. Predict using **(a)an ARFF file**.
2. Create **(b)an assigned component ID ARFF file** by this command.
3. Learn using both of **(a)** and **(b)** ARFF files.

|

Synopsis
========
See sampo_ps_fabhme command help::

    $ sampo_ps_fabhme export_assigned_comp_id --help

|

Examples
========
This example outputs an **assigned component ID ARFF file** to **bar** directory.

* Command::

    $ sampo_ps_fabhme export_assigned_comp_id -p foo -c fab1 -s file:///var/process_store_storage -o bar

* Output::

    @RELATION fab1
    @ATTRIBUTE _sid INTEGER
    @ATTRIBUTE _fabhme_assigned_comp_id {2,3,5, ... ,10}
    @DATA
    0,3
    1,3
    2,2
    3,5
    4,10
    ...

Output Format
=============
The **assigned component ID ARFF file** consists of the attributes below.

 +--------------------------------+-----------+------------------------------------------------------------------------+
 |Attribute                       |Scale      |Description                                                             |
 +================================+===========+========================================================================+
 |_sid                            |INTEGER    |sample ID                                                               |
 +--------------------------------+-----------+------------------------------------------------------------------------+
 |_fabhme_assigned_comp_id        |NOMINAL    |a set of component IDs to which sample IDs are assigned                 |
 +--------------------------------+-----------+------------------------------------------------------------------------+

.. note::

    FAB engine uses the word **'component'** with a different meaning from that of SAMPO.
    Each **component** in FAB/HME has a prediction formula, and each sample data is assigned to a specific **component** for prediction.

