27#ifndef RCSC_ANN_SIRM_H
28#define RCSC_ANN_SIRM_H
37 std::string M_module_name;
47 std::vector< double > M_a;
48 std::vector< double > M_b;
49 std::vector< double > M_c;
56 std::vector< double > M_membership;
62 void generateFuzzyRules();
68 void setModuleName(
const std::string & module_name );
75 const double actual );
86 void setAlpha(
const double alpha );
87 void setBeta(
const double beta );
88 void setGamma(
const double gamma );
89 void setEta(
const double eta );
90 void setDomain(
const double min_domain,
91 const double max_domain );
92 void setRange(
const double min_range,
93 const double max_range );
94 void setNumPartitions(
const int num_partitions );
95 void setWeight(
const double weight );
void trainSIRM(const double target, const double actual)
parameter tuning based on gradient decent
bool saveParameters(const std::string &dirpath)
save parameters
void showParameters()
show parameters on the screen
bool loadParameters(const std::string &dirpath)
load parameters
double calculateOutput(const double x)
calculate the output of the rule module for an input value