Skip to content
Snippets Groups Projects
Commit a25a2c58 authored by Michal Kravcenko's avatar Michal Kravcenko
Browse files

ADD: added two new learning methods and a new learning method able to cycle...

ADD: added two new learning methods and a new learning method able to cycle through user defined sequence of learning methods
parent 310c4c91
No related branches found
No related tags found
No related merge requests found
......@@ -53,13 +53,14 @@ if ("${BUILD_LIB}" STREQUAL "yes")
NetConnection/ConnectionFunctionIdentity.cpp
LearningMethods/ParticleSwarm.cpp
LearningMethods/GradientDescent.cpp
LearningMethods/GradientDescentBB.cpp
DataSet/DataSet.cpp
ErrorFunction/ErrorFunctions.cpp
Solvers/DESolver.cpp
CSVReader/CSVReader.cpp
CrossValidator/CrossValidator.cpp
NormalizationStrategy/NormalizationStrategy.cpp
)
LearningMethods/GradientDescentSingleItem.cpp LearningMethods/GradientDescentSingleItem.h LearningMethods/LearningSequence.cpp LearningMethods/LearningSequence.h)
# FileSystem C++ library - has to be linked manually in GCC-8
set(CXX_FILESYSTEM_LIB "")
......
......@@ -11,13 +11,13 @@
#define COL_WIDTH 20
#define R_ALIGN std::setw(COL_WIDTH) << std::right
#define COUT_INFO(inp) std::cout << std::flush << "INFO: " << inp << std::flush
#define COUT_INFO(inp) std::cout << std::flush << std::fixed << std::setprecision(12) << "INFO: " << inp << std::flush
#ifdef L4N_DEBUG
#define COUT_DEBUG(inp) assert(std::cerr << std::flush << std::fixed << std::setprecision(6) << "DEBUG: " << inp << std::flush)
#define COUT_DEBUG(inp) assert(std::cerr << std::flush << std::fixed << std::setprecision(12) << "DEBUG: " << inp << std::flush)
#define WRITE_TO_OFS_DEBUG(ofs, msg) { if(ofs && ofs->is_open())\
*ofs << std::fixed << std::setprecision(6) << "DEBUG: " << msg;\
*ofs << std::fixed << std::setprecision(12) << "DEBUG: " << msg;\
}
#else
#define COUT_DEBUG(inp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment