meancompleter.h

来自「The ROSETTA C++ library is a collection 」· C头文件 代码 · 共 53 行

H
53
字号
//-------------------------------------------------------------------// 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 + =
减小字号Ctrl + -
显示快捷键?