📄 gspectrallearner.h
字号:
/* Copyright (C) 2006, Mike Gashler This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. see http://www.gnu.org/copyleft/lesser.html*/#ifndef __GSPECTRALLEARNER_H__#define __GSPECTRALLEARNER_H__#include "GLearner.h"class GSpectralLearnerTrainingCritic;class GSpectralLearner : public GSupervisedLearner{friend class GSpectralLearnerTrainingCritic;protected: double* m_pModel; double* m_pEvalVector; double* m_pMins; double* m_pRanges; int m_nWaves, m_nInputs, m_nOutputs, m_nSizePerInput, m_nSizePerOutput, m_nModelSize;public: GSpectralLearner(GArffRelation* pRelation, int nWaves); virtual ~GSpectralLearner(); virtual void Train(GArffData* pData); virtual void Eval(double* pVector);protected: void EvalInternal(double* pVector); double EvalSumSquaredError(double* pVector, double* pModel);};#endif // __GSPECTRALLEARNER_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -