Commit ca3f1407 by yahan.li

修改: SigerCalculation/RadomForestSAC/RamdomForestCalculate.cpp

	修改:     SigerCalculation/package/E3/SigerCalculation
parent 3022417b
...@@ -196,7 +196,6 @@ RamdomForestCalculate::RamdomForestCalculate(QObject *parent) ...@@ -196,7 +196,6 @@ RamdomForestCalculate::RamdomForestCalculate(QObject *parent)
CreatTable(); CreatTable();
//3.训练初始模型 //3.训练初始模型
delete_sac_data();
delete_excess_rf_models(); delete_excess_rf_models();
Retrain(); Retrain();
...@@ -542,6 +541,7 @@ void RamdomForestCalculate::Retrain() ...@@ -542,6 +541,7 @@ void RamdomForestCalculate::Retrain()
struct timeval start,end; struct timeval start,end;
gettimeofday(&start, NULL); gettimeofday(&start, NULL);
delete_sac_data();
RamdomForestCalculate::queryRecordsByLabel(dbPath, record); RamdomForestCalculate::queryRecordsByLabel(dbPath, record);
DealRecord(record, result); DealRecord(record, result);
m_rf_map.clear(); m_rf_map.clear();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment