Skip to content

export result while equations are evolving #439

Answered by AKHCE
AKHCE asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you so much for giving me alternatives. I chose a different approach which seems working well. Simply, I pass warm_start = True to enable resuming the training, then I use a for-loop to move forward the model training. Please see screenshot below:

As you can see I set populations (I interpret it as generation) to 1 and the model is trained through a for-loop. Also, niterations which is number of re-running algorithm in each generation can be set any values, I chose 1 in the given example.

As you can see, I can save hall of fame for each generation. How do you think about this approach?
Thank you so much for your support,

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@AKHCE
Comment options

Answer selected by MilesCranmer
@MilesCranmer
Comment options

@MilesCranmer
Comment options

@AKHCE
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
PySR PySR-related discussion SymbolicRegression.jl SymbolicRegression.jl-related discussion
2 participants