jBNC Toolbox

jbnc.dataset
Class NamesReader

java.lang.Object
  extended byjbnc.dataset.NamesReader

public class NamesReader
extends java.lang.Object

Read C4.5's '.names' files describing the class and each of the attributes.

C4.5 saves data sets in two types of files. The first type contains description of description of the class and each of the attributes. The second type contains the actual data in a comma delimited format. File names have the same stem, different extensions:

.names - file containing description of data (first type)
.test - file containing test cases (second type) .data - file containing training cases (second type)
.all - file containing all available cases (second type)

Since:
June 1, 1999
Author:
Jarek Sacha

Constructor Summary
NamesReader()
           
 
Method Summary
static AttributeSpecs[] open(java.lang.String filename)
          Reads '.names' file containing description of a class and variables.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamesReader

public NamesReader()
Method Detail

open

public static AttributeSpecs[] open(java.lang.String filename)
                             throws java.lang.Exception
Reads '.names' file containing description of a class and variables.

Parameters:
filename - Description of Parameter
Returns:
Description of the Returned Value
Throws:
java.lang.Exception - Description of Exception

SourceForge.net Logo