📜  Y 截距 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:36.147000             🧑  作者: Mango

代码示例1
//Equation to solve for intercept
var intercept = y_mean - x_mean*slope;

//Store it's value in the regressor object
regressor['intercept'] = intercept;