module

Moses

Constants

EPSILON_SCORE = Float64::EPSILON
VERSION = "0.1.0"
VERY_BEST_SCORE = Float64::MAX

Special score values

VERY_WORST_SCORE = Float64::MIN

Class methods

compare_candidates(a : Candidate, b : Candidate) : Int32

Helper method to safely compare candidates by score

Source
initialize

Initialize the MOSES subsystem

Source
main(args = ARGV)

Command-line interface for MOSES

Source
run_boolean_demo

Run boolean classification example

Source
run_demo

Run a comprehensive MOSES demonstration

Source
run_moses(params : MosesParams) : MosesResult

Main MOSES evolutionary search function This is the primary entry point for running MOSES optimization

Source
run_regression_demo

Run regression example

Source
run_test_suite

Run MOSES test suite

Source
score_or_worst(candidate : Candidate) : Score

Helper method to get score or worst score

Source

Nested types