set hivevar:min_target=-7.899578;
set hivevar:max_target=-0.51940954;
createorreplaceview e2006tfidf_train_scaled
asselectrowid,
rescale(target, ${min_target}, ${max_target}) as target,
features
from
e2006tfidf_train;

set hivevar:mean_target=-3.566241460963296;
set hivevar:stddev_target=0.6278076335455348;
createorreplaceview e2006tfidf_train_scaled
asselectrowid,
zscore(target, ${mean_target}, ${stddev_target}) as target,
features
from
e2006tfidf_train;