Package com.bayesserver.data
Class ReaderOptions
- java.lang.Object
-
- com.bayesserver.data.ReaderOptions
-
public final class ReaderOptions extends Object
Options that apply to the reading of non temporal data.- See Also:
DefaultDataReader
,DefaultEvidenceReader
-
-
Constructor Summary
Constructors Constructor Description ReaderOptions()
Initializes a new instance of theReaderOptions
class.ReaderOptions(String caseIdColumn)
Initializes a new instance of theReaderOptions
class.ReaderOptions(String caseIdColumn, String weightColumn)
Initializes a new instance of theReaderOptions
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCaseIdColumn()
The name of the case identifier column, if one is present.String
getWeightColumn()
The name of the case weight column, if one is present.
-
-
-
Constructor Detail
-
ReaderOptions
public ReaderOptions()
Initializes a new instance of theReaderOptions
class.
-
ReaderOptions
public ReaderOptions(String caseIdColumn)
Initializes a new instance of theReaderOptions
class.- Parameters:
caseIdColumn
- The name of the case identifier column, if one is present.
-
ReaderOptions
public ReaderOptions(String caseIdColumn, String weightColumn)
Initializes a new instance of theReaderOptions
class.- Parameters:
caseIdColumn
- The name of the case identifier column, if one is present.weightColumn
- The name of the case weight column, if one is present. Values in this column, are mapped toEvidence.getWeight()
.
-
-
Method Detail
-
getCaseIdColumn
public String getCaseIdColumn()
The name of the case identifier column, if one is present.
-
getWeightColumn
public String getWeightColumn()
The name of the case weight column, if one is present. Values in this column, are mapped toEvidence.getWeight()
.
-
-