custom mean and var for standard_scaler
The simplest one is the best one!
I found that the normal StandardScaler is the best answer to my question.
StandardScaler(with_mean=False,with_std=False) that means mean=0 and var=1.
These values is fix for train set, test set and input data. so it's OK!
How we can use custom mean and var in standard_scaler? I need to calculate mean and var for all data in the dataset (train set+test set) and then use these values to standardize the train set and test set (and later input data) separately. How can I do this?
I couldn't find any example of it.