ColumnNameAlias.hpp
1 #pragma once
2 
3 #pragma once
4 
5 #include "opals/config.hpp"
6 #include "opals/String.hpp"
7 
8 namespace opals {
9 
10  /// Class for defining column name aliases
11  class OPALS_API ColumnNameAlias
12  {
13  public:
15  /// Use definition string "<columnname>:<alias>" to initialize the object
16  ColumnNameAlias(const char *alias_defition);
17  ColumnNameAlias(const char *name, const char *alias);
18 
19  const char *name() const;
20  const char *alias() const;
21 
22  /// set object data using a definition string "<columnname>:<alias>"
23  void set(const char *alias_defition);
24 
25  protected:
26  String Name;
27  String Alias;
28  };
29 }
indexmap
Definition: clfTreeModelTrain.py:382
Class for defining column name aliases.
Definition: ColumnNameAlias.hpp:11
Interface to a set of index map objects.
Definition: pyDM.py:3849
general file corruption error: thrown if a file to be used is not interpretable
Definition: c++_api/inc/opals/Exception.hpp:321
Definition: clfTreeModelTrain.py:132
outputDir
Definition: clfTreeModelTrain.py:153
def _crossValidate(self, modelPath)
Definition: clfTreeModelTrain.py:291
RParams
Definition: clfTreeModelTrain.py:148
def _prefixAttributeName(self, attr)
Definition: clfTreeModelTrain.py:284
logger
Definition: clfTreeModelTrain.py:136
filter
Definition: clfTreeModelApply.py:90
Interface to a factory object for creating AddInfo layouts.
Definition: pyDM.py:1320
def cmdline(argv=sys.argv[1:])
This function is called when clfTreeModelTrain is called directly.
Definition: clfTreeModelTrain.py:526
minimalPointsPerClass
Definition: clfTreeModelTrain.py:161
def _checkColumnName(self, attr)
Definition: clfTreeModelTrain.py:166
useAttrs
Definition: clfTreeModelTrain.py:141
programming error which appears if the opals framework wasn't used correctly;
Definition: c++_api/inc/opals/Exception.hpp:200
thrown if an error in the OPALS file format definition was detected.
Definition: c++_api/inc/opals/Exception.hpp:294
def _checkCompleteness(self)
Definition: clfTreeModelTrain.py:199
def cmdline(argv=sys.argv[1:])
this function is called when clfTreeModelApply is called directly
Definition: clfTreeModelApply.py:213
rDispatcher
Definition: clfTreeModelApply.py:98
classlist
Definition: clfTreeModelApply.py:95
model
Definition: clfTreeModelApply.py:86
filter
Definition: clfTreeModelTrain.py:144
logger
Definition: clfTreeModelApply.py:83
def test_confusion_matrix_output()
Definition: clfTreeModelTrain.py:39
histogram
Definition: clfTreeModelTrain.py:282
Helper class for traversing a IndexMapSet object in multiple stages.
Definition: pyDM.py:3906
def _unPrefixAttributeName(self, attr)
Definition: clfTreeModelApply.py:116
Contains the public interface of OPALS.
Definition: ApplyTrafo.hpp:5
trainingSize
Definition: clfTreeModelTrain.py:158
inversIndexmap
Definition: clfTreeModelTrain.py:392
trainingPointCount
Definition: clfTreeModelTrain.py:414
classIds
Definition: clfTreeModelTrain.py:142
Definition: clfTreeModelApply.py:78
def _buildAttributeLayout(self, dm, fn)
Definition: clfTreeModelApply.py:128
processor
Definition: clfTreeModelApply.py:93
def cmdline(argv=sys.argv[1:])
this function is called when clfConfusionMatrix is called directly
Definition: clfConfusionMatrix.py:19
probAttr
Definition: clfTreeModelApply.py:88
attributlist
Definition: clfTreeModelApply.py:94
coveredClassIds
Definition: clfTreeModelTrain.py:147
rDispatcher
Definition: clfTreeModelTrain.py:163
Definition: clfTreeModelTrain.py:126
overallPointCount
Definition: clfTreeModelTrain.py:156
cfg
Definition: clfTreeModelApply.py:85
classAttr
Definition: clfTreeModelTrain.py:140
def _buildResultLayout(self)
Definition: clfTreeModelApply.py:101
thrown if the provided file cannot be opened as an ODM
Definition: c++_api/inc/opals/Exception.hpp:256
RParams
Definition: clfTreeModelApply.py:96
model
Definition: clfTreeModelTrain.py:139
string RDefaultModel
Definition: clfTreeModelTrain.py:133
overallPointCountUsed
Definition: clfTreeModelTrain.py:202
def _buildLayout(self, dm, fn, mode=LayoutMode.full, outputWarnings=False)
Definition: clfTreeModelTrain.py:173
cfg
Definition: clfTreeModelTrain.py:138
processor
Definition: clfTreeModelTrain.py:149
a general parameter error (usually comes from boost::program_options)
Definition: c++_api/inc/opals/Exception.hpp:206
Object for storing a cross classification matrix.
Definition: pyDM.py:3996
filelist
Definition: clfTreeModelApply.py:84
Control object are used to get status information of extensive processing step and/or to interrupt th...
Definition: pyDM.py:3751
A dynamic character string whose interface conforms to STL's std::string.
Definition: String.hpp:35
thrown a specified attribute doesn't exists in the corresponding odm.
Definition: c++_api/inc/opals/Exception.hpp:300
omitEmptyClasses
Definition: clfTreeModelTrain.py:150
filelist
Definition: clfTreeModelTrain.py:137
classAttr
Definition: clfTreeModelApply.py:87
Definition: pyDM.py:383