英文:
How to find the impact of one variable on the other when there seems to no correlation between them?
问题
我们能否预测一个物品的销售增长百分比,以前一年的折扣变化(正数或负数)作为预测变量。这两者似乎没有相关性。如何使用机器学习来解决这个问题?
英文:
can we predict growth percentage in sales of an item given the change in discount(positive or negative number) from the previous year as a predictor variable. There seems to be no correlation between these. How to solve this problem using machine learning?
答案1
得分: 0
你正在错误的轨道上提出这个问题。
相关性属于统计学的知识范畴,请检查皮尔逊相关系数/斯皮尔曼相关系数,以找到折扣变化和销售增长之间的相关性。
在机器学习中,我们很少比较两个百分比数据,而是比较实际销售/折扣数值。可以通过线性回归应用简单的机器学习(大多数机器学习用于多维数据,而您的情况是单一列到单一输出的一对一数据)。请参考在线相关信息,并使用Excel或Python代码进行解决。
英文:
You are on the wrong track to ask this question.
Correlation is on the knowledge side of Statistics, Please check Pearson’s correlation of coefficient / Spearman’s correlation of coefficient in order to find the correlation between the discount changes and the sales groth correlation.
In Machine Learning, we seldom compare two percentage data, instead, we compare the actual sales/discount value. A simple ML can be applied by Linear regression (most ML is used in multi-dimension, as your case is one-x one-y data (single column to single output). Please refer to related information online and solved with excel or python code.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论