Ignore:
Timestamp:
May 25, 2021, 11:04:50 PM (4 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
91793c
Parents:
889067e
git-author:
Frederik Heber <frederik.heber@…> (05/25/21 21:55:59)
git-committer:
Frederik Heber <frederik.heber@…> (05/25/21 23:04:50)
Message:

Added option error-file to fit potential actions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/PotentialAction/FitCompoundPotentialAction.def

    r889067e r82e5fb  
    2323// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    2424// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    25 #define paramtypes (boost::filesystem::path)(std::vector<const element *>)(unsigned int)(double)(unsigned int)
    26 #define paramtokens ("training-file")("fragment-charges")("take-best-of")("set-threshold")("set-max-iterations")
    27 #define paramdescriptions ("optional file to write training data to")("charges specifying the fragment")("take the best among this many approximations")("Require L2 error to be smaller than threshold, overrides number of attempts")("sets the maximum number of iterations spent on the optimization of parameters")
    28 #define paramdefaults (PARAM_DEFAULT(""))(NOPARAM_DEFAULT)(PARAM_DEFAULT(3))(PARAM_DEFAULT(1.))(PARAM_DEFAULT(100))
    29 #define paramreferences (training_file)(fragment)(best_of_howmany)(threshold)(max_iterations)
     25#define paramtypes (boost::filesystem::path)(boost::filesystem::path)(std::vector<const element *>)(unsigned int)(double)(unsigned int)
     26#define paramtokens ("training-file")("error-file")("fragment-charges")("take-best-of")("set-threshold")("set-max-iterations")
     27#define paramdescriptions ("optional file to write training data to")("optional file to write error data to")("charges specifying the fragment")("take the best among this many approximations")("Require L2 error to be smaller than threshold, overrides number of attempts")("sets the maximum number of iterations spent on the optimization of parameters")
     28#define paramdefaults (PARAM_DEFAULT(""))(PARAM_DEFAULT(""))(NOPARAM_DEFAULT)(PARAM_DEFAULT(3))(PARAM_DEFAULT(1.))(PARAM_DEFAULT(100))
     29#define paramreferences (training_file)(error_file)(fragment)(best_of_howmany)(threshold)(max_iterations)
    3030#define paramvalids \
     31(DummyValidator<boost::filesystem::path>()) \
    3132(DummyValidator<boost::filesystem::path>()) \
    3233(STLVectorValidator< std::vector<const element *> >(1,99, ElementValidator())) \
Note: See TracChangeset for help on using the changeset viewer.