Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic normalization of training data #58

Open
stanleybak opened this issue Feb 27, 2023 · 2 comments
Open

Automatic normalization of training data #58

stanleybak opened this issue Feb 27, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@stanleybak
Copy link
Collaborator

There might be unexpected bias in predication error when training data is not normalized. If the input data, for example, consists of large positions and small angles, then the error from regression will focus much more on getting the position right instead of the angle. If you normalize all the training data between [0, 1] within the ranges of the data you'd like get more balanced prediction errors.

It would be nice if the library could automatically do something like this. Either using absolute bounds on all the dimensions or computing a mean and standard deviation and using the standard deviation for normalization.

@stanleybak stanleybak added the enhancement New feature or request label Feb 27, 2023
@EthanJamesLew
Copy link
Owner

@stanleybak , that's a great feature. We've seen the need to normalize trajectories in the past for library learning over Legendre polynomial candidate functions since the functions are only orthogonal over the [-1, 1].

@EthanJamesLew
Copy link
Owner

I guess #59 doesn't normalize the evaluation but only the data for the estimator Estimator.fit method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants