Skip to content
Prev 193178 / 398500 Next

Alternative to Scale Function?

I think I just answered my own question.

The scale function will return the mean and sd of the data.

So the process is fairly simple.
scale training data varaible
note mean and sd from the scale
then manually scale the test data using the mean and sd from the 
training data.

That should make sure that a value is transformed the same regardless of 
which data set it is in.

Do I have this correct, or can anybody contribute any more to the concept?

Thanks!


--
Noah
On 9/11/09 1:10 PM, Noah Silverman wrote: