.. _lingspam-use-case: Use Case: Spam Detection ======================== We provide a dataset intended for spam detection for quick testing. See `lingspam `_ for more information. * ``SecuML_server`` must be executed to launch the :ref:`web server `. ``http://:/SecuML/`` gives access to SecuML menu. .. code-block:: bash SecuML_server --secuml-conf * In the :ref:`configuration file `, ``input_data_dir`` must be set to `input_data `_ to test SecuML with the `lingspam `_ dataset we provide. .. note:: The configuration file is required to run SecuML executables (e.g. ``SecuML_server``, ``SecuML_DIADEM``, ``SecuML_ILAB``). It can be specified either with the parameter ``--secuml-conf`` for each execution, or globally with the environment variable ``SECUMLCONF``. Training and Diagnosing a Detection Model ----------------------------------------- .. code-block:: bash SecuML_DIADEM SpamHam lingspam --secuml-conf LogisticRegression Once the experiment has been completed, the following message is displayed: .. code-block:: bash Experiment has been successfully completed. See http://:/SecuML// to display the results. .. figure:: figs/screen_shots/DIADEM/performance.png DIADEM Monitoring Interface See :ref:`DIADEM ` for more detail. Annotating a Dataset with a Reduced Workload -------------------------------------------- .. code-block:: bash SecuML_ILAB SpamHam lingspam --secuml-conf -a init_annotations.csv Ilab --auto --budget 500 Once the experiment has been completed, the following message is displayed: .. code-block:: bash Experiment has been successfully completed. See http://:/SecuML// to display the results. .. figure:: figs/screen_shots/ILAB/monitoring.png ILAB Monitoring Interface See :ref:`ILAB ` for more detail.