Running SPOT--Automatic Tuning of SANN
Keywords: spotSannIntro

#
Running SPOT--Automatic Tuning of SANN

Now that the interface has been setup, and the experimental setup has been specified, the first SPOT run can be performed. Consider the following situation: The user has created a working directory for running the experiments, say `IWNICA`, which is a subfolder of his `Documents` folder. This directory contains the following files.

- SPOT configuration (CONF), e.g., rfSann02.conf
- Region of interest (ROI), e.g., rfSann02.roi
- Algorithm and problem parameters (APD) rfSann02.apd

R should be started in the `IWNICA` directory. You can use R's menu to change theworking directory. Alternatively, you can set the working directory using the R command:

    > setwd("c:/users/yourname/documents/IWNICA")

The following command starts SPOT's automatic tuning procedure.

    > library(SPOT)
    > spot("rfSann02.conf")

Sometimes is it required to start a clean R session, because data from previous runs are in the workspace. Execute

    rm(list=ls());

to perform a cleanup before SPOT is loaded and run.

If `spot.fileMode=TRUE` was set (as in our example), a result file (RES), which contains important information from the tuning process, has been written to the working directory. It can be downloaded as rfSann02.res from the workshop's web page. This RES file is a good starting point for further analyses of the SANN algorithm.