|
@@ -427,11 +427,6 @@ public class FeatureV6 {
|
|
double str_plus = FeatureUtils.wilsonScore(is_return_1, exp);
|
|
double str_plus = FeatureUtils.wilsonScore(is_return_1, exp);
|
|
double ros_one = FeatureUtils.wilsonScore(is_return_1, is_share);
|
|
double ros_one = FeatureUtils.wilsonScore(is_return_1, is_share);
|
|
|
|
|
|
- double rovn = FeatureUtils.plusSmooth(return_n_uv, exp, smoothPlus);
|
|
|
|
- double ros = FeatureUtils.plusSmooth(return_n_uv, is_share, smoothPlus);
|
|
|
|
- double ros_n = FeatureUtils.plusSmooth(return_n_uv, share_cnt, smoothPlus);
|
|
|
|
- double ros_minus = FeatureUtils.plusSmooth(return_n_uv, is_return_1, smoothPlus);
|
|
|
|
-
|
|
|
|
// larger smooth
|
|
// larger smooth
|
|
double l_rovn = FeatureUtils.plusSmooth(return_n_uv, exp, largerSmoothPlus, 1);
|
|
double l_rovn = FeatureUtils.plusSmooth(return_n_uv, exp, largerSmoothPlus, 1);
|
|
double l_ros = FeatureUtils.plusSmooth(return_n_uv / 5, is_share, largerSmoothPlus, 2);
|
|
double l_ros = FeatureUtils.plusSmooth(return_n_uv / 5, is_share, largerSmoothPlus, 2);
|
|
@@ -446,10 +441,6 @@ public class FeatureV6 {
|
|
featMap.put(prefix + "_" + period + "@" + "str", str);
|
|
featMap.put(prefix + "_" + period + "@" + "str", str);
|
|
featMap.put(prefix + "_" + period + "@" + "str_plus", str_plus);
|
|
featMap.put(prefix + "_" + period + "@" + "str_plus", str_plus);
|
|
featMap.put(prefix + "_" + period + "@" + "ros_one", ros_one);
|
|
featMap.put(prefix + "_" + period + "@" + "ros_one", ros_one);
|
|
- featMap.put(prefix + "_" + period + "@" + "rovn", rovn);
|
|
|
|
- featMap.put(prefix + "_" + period + "@" + "ros", ros);
|
|
|
|
- featMap.put(prefix + "_" + period + "@" + "ros_n", ros_n);
|
|
|
|
- featMap.put(prefix + "_" + period + "@" + "ros_minus", ros_minus);
|
|
|
|
|
|
|
|
// larger smooth
|
|
// larger smooth
|
|
featMap.put(prefix + "_" + period + "@" + "rovn_#", l_rovn);
|
|
featMap.put(prefix + "_" + period + "@" + "rovn_#", l_rovn);
|
|
@@ -485,16 +476,6 @@ public class FeatureV6 {
|
|
double str_plus = FeatureUtils.wilsonScore(is_return_1, exp);
|
|
double str_plus = FeatureUtils.wilsonScore(is_return_1, exp);
|
|
double ros_one = FeatureUtils.wilsonScore(is_return_1, is_share);
|
|
double ros_one = FeatureUtils.wilsonScore(is_return_1, is_share);
|
|
|
|
|
|
- double rovn1 = FeatureUtils.plusSmooth(return_1_uv, exp, smoothPlus);
|
|
|
|
- double ros1 = FeatureUtils.plusSmooth(return_1_uv, is_share, smoothPlus);
|
|
|
|
- double ros_n1 = FeatureUtils.plusSmooth(return_1_uv, share_cnt, smoothPlus);
|
|
|
|
- double ros_minus1 = FeatureUtils.plusSmooth(return_1_uv, is_return_1, smoothPlus);
|
|
|
|
-
|
|
|
|
- double rovn = FeatureUtils.plusSmooth(return_n_uv, exp, smoothPlus);
|
|
|
|
- double ros = FeatureUtils.plusSmooth(return_n_uv, is_share, smoothPlus);
|
|
|
|
- double ros_n = FeatureUtils.plusSmooth(return_n_uv, share_cnt, smoothPlus);
|
|
|
|
- double ros_minus = FeatureUtils.plusSmooth(return_n_uv, is_return_1, smoothPlus);
|
|
|
|
-
|
|
|
|
// larger smooth
|
|
// larger smooth
|
|
double l_rovn1 = FeatureUtils.plusSmooth(return_1_uv, exp, largerSmoothPlus, 1);
|
|
double l_rovn1 = FeatureUtils.plusSmooth(return_1_uv, exp, largerSmoothPlus, 1);
|
|
double l_ros1 = FeatureUtils.plusSmooth(return_1_uv / 5, is_share, largerSmoothPlus, 2);
|
|
double l_ros1 = FeatureUtils.plusSmooth(return_1_uv / 5, is_share, largerSmoothPlus, 2);
|
|
@@ -515,14 +496,6 @@ public class FeatureV6 {
|
|
featMap.put(prefix + "_" + period + "@" + "str", str);
|
|
featMap.put(prefix + "_" + period + "@" + "str", str);
|
|
featMap.put(prefix + "_" + period + "@" + "str_plus", str_plus);
|
|
featMap.put(prefix + "_" + period + "@" + "str_plus", str_plus);
|
|
featMap.put(prefix + "_" + period + "@" + "ros_one", ros_one);
|
|
featMap.put(prefix + "_" + period + "@" + "ros_one", ros_one);
|
|
- featMap.put(prefix + "_" + period + "@" + "rovn1", rovn1);
|
|
|
|
- featMap.put(prefix + "_" + period + "@" + "ros1", ros1);
|
|
|
|
- featMap.put(prefix + "_" + period + "@" + "ros_n1", ros_n1);
|
|
|
|
- featMap.put(prefix + "_" + period + "@" + "ros_minus1", ros_minus1);
|
|
|
|
- featMap.put(prefix + "_" + period + "@" + "rovn", rovn);
|
|
|
|
- featMap.put(prefix + "_" + period + "@" + "ros", ros);
|
|
|
|
- featMap.put(prefix + "_" + period + "@" + "ros_n", ros_n);
|
|
|
|
- featMap.put(prefix + "_" + period + "@" + "ros_minus", ros_minus);
|
|
|
|
|
|
|
|
// larger smooth
|
|
// larger smooth
|
|
featMap.put(prefix + "_" + period + "@" + "rovn1_#", l_rovn1);
|
|
featMap.put(prefix + "_" + period + "@" + "rovn1_#", l_rovn1);
|