Skip to content

Load model from csv file #350

Answered by MilesCranmer
Pulpas asked this question in Q&A
Jun 14, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You should be able to just pass the .csv file to from_file. But note that the pkl file contains some of the settings, so if you are only passing the .csv file, you will have to pass some other settings. The API reference for this function is here: https://astroautomata.com/PySR/api/#pysr.sr.PySRRegressor.from_file

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Pulpas
Comment options

Answer selected by MilesCranmer
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
2 participants