next up previous contents
Next: Domain application file Up: Providing input Previous: Stream data files   Contents

Class label files

In order to tell the learner what the class of each file is, a class label file (usually ending with ``.tsl'' for training data and ``.ttl'' for testing data; although this can be modified at the command line) is also provided. The format for this file is simple, and an example is shown in Figure 5.12. Each line consists of a filename (relative to the current directory, or alternatively, given as an absolute path), followed by a space and then the class label. The class label must be one of the classes listed in the domain description file.

Figure 5.12: An example of a TClass class label file from the Tech Support domain.
\begin{figure}\begin{boxedverbatim}data/s1.tsd Happy
data/s2.tsd Angry
data/...
...4.tsd Happy
data/s5.tsd Happy
data/s6.tsd Angry\end{boxedverbatim}\end{figure}



Mohammed Waleed Kadous 2002-12-10