paddle预测的CTR异常
Created by: Jarlonyan
预测出来的CTR非0即1.讲道理应该是[0,1]之间的小数啊。
probs=0.0000000000000000, 1.0000000000000000
probs=0.0000000000000000, 1.0000000000000000
probs=0.0000000000000000, 1.0000000000000000
probs=0.0000000000000000, 1.0000000000000000
probs=1.0000000000000000, 0.0000000000000000
probs=0.0000000000000000, 1.0000000000000000
probs=0.0000000000000000, 1.0000000000000000
probs=1.0000000000000000, 0.0000000000000000
这个是什么情况呢??难道是我的样本有问题??还有,array[0]是指负样本的概率,array[1]是指正样本的概率,对吧。
paddle_arguments_get_value(out_args, 0, prob);
paddle_matrix_get_row(prob, 0, &array);