Closed NJAUzhangwenjun closed 5 years ago
data:[ [1, "0.5"],[2, "0.75"],[3, "1"],[4, "1.25"],[5, "1.5"],[6, "1.75"],[7, "2"],[8, "2.25"], ]
返回错误数值:
myRegression.expression返回结果为:y = NaNx + NaN, myRegression.points二维数组返回结果为: [ [1, NaN],[2, NaN],[3, NaN],[4, NaN],[5, NaN],[6, NaN],[7, NaN],[8, NaN] ]
已得到解决
请问你这个是怎么解决的
data:[ [1, "0.5"],[2, "0.75"],[3, "1"],[4, "1.25"],[5, "1.5"],[6, "1.75"],[7, "2"],[8, "2.25"], ]
返回错误数值:
myRegression.expression返回结果为:y = NaNx + NaN, myRegression.points二维数组返回结果为: [ [1, NaN],[2, NaN],[3, NaN],[4, NaN],[5, NaN],[6, NaN],[7, NaN],[8, NaN] ]