📄 meancompleter.h
字号:
//-------------------------------------------------------------------// Author........: Aleksander 豩rn// Date..........:// Description...:// Revisions.....://===================================================================#ifndef __MEANCOMPLETER_H__#define __MEANCOMPLETER_H__#include <copyright.h>#include <kernel/algorithms/completer.h>#include <kernel/basic/vector.h>//-------------------------------------------------------------------// Class prototypes.//===================================================================class DecisionTable;//-------------------------------------------------------------------// Class.........: MeanCompleter// Author........: Aleksander 豩rn// Date..........:// Description...: Returns a decision table with all missing entries// filled with the mean (mode) for numeric (symbolic)// attributes.// Revisions.....://===================================================================class MeanCompleter : public Completer {protected: //- Local methods.................................................. bool CalculateMeans(Vector(int) &means, const DecisionTable &table, bool masked) const;public: //- Constructors/destructor........................................ MeanCompleter(); virtual ~MeanCompleter(); //- Methods inherited from Identifier.............................. DECLAREIDMETHODS() //- Methods inherited from Algorithm............................... virtual Structure *Apply(Structure &structure) const;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -