Removed SGD_UPDATE macro.

This commit is contained in:
nodchip
2020-09-09 00:07:09 +09:00
parent 0271d70775
commit f3a158725d
2 changed files with 2 additions and 61 deletions

View File

@@ -5,14 +5,6 @@
#include <vector>
// ----------------------
// update formula
// ----------------------
// SGD looking only at the sign of the gradient. It requires less memory, but the accuracy is...
// #define SGD_UPDATE
// ----------------------
// Select the objective function
// ----------------------
@@ -134,10 +126,6 @@ typedef float LearnFloatType;
#define LOSS_FUNCTION_IS_ELMO_METHOD
#if defined(SGD_UPDATE)
#define LEARN_UPDATE "SGD"
#endif
#if defined(LOSS_FUNCTION_IS_WINNING_PERCENTAGE)
#define LOSS_FUNCTION "WINNING_PERCENTAGE"
#elif defined(LOSS_FUNCTION_IS_CROSS_ENTOROPY)