-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Generic types/methods for normalizing input data #13
Comments
I'm creating a Normalized class with functions
Is there standard notation/lettering for signifying raw vs normalized variables? what should statenames return? |
Sorry for answering almost none of your questions and added a few more questions. Typically notation is X and Z (z-score), but should Side note: Should we change Could we do something along these lines? Does normalize(o::Var, x::Float64) = (x - mean(o)) / std(o))
normalize!(o::Var, x::Float64) = (update!(o, x); normalize(o, x)) |
I also made a |
How about something like type Normalized{W <: Weighting}
xdata::Vars{W}
ydata::Var{W}
end
xnew, ynew = normalize!(o.Normalized, x::VecF, y::Float64) |
|
I don't think we need that normalized class at all... Var is plenty as you suggested |
|
Yes... that is a bit strange I suppose. I'll leave it up to you, since I can always map(sqrt, ...) |
Also, if you use the |
Did you add Vars to the repo? I see means.jl, but no vars.jl |
Sorry, just pushed it now. |
No description provided.
The text was updated successfully, but these errors were encountered: