Skip to content

Confusion about Normalisation of Dataset. #452

Answered by MilesCranmer
anubhavkamal asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @anubhavkamal,

You don’t need to normalize data in PySR, as it can find constants of any magnitude, including scales that are very large or small. However, if you are okay with the extra complexity of normalization constants, then it can definitely help the search if you normalize. The reason for this is that new constants in the equations are initialized with a call to randn() so it can be preferable for the initial constants to be similar magnitude to the data. But it’s highly problem dependent!

cheers,
Miles

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by MilesCranmer
Comment options

You must be logged in to vote
0 replies
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