https://365datascience.com/dwqa-answer/answer-for-at-lessonmaking-predictions-with-the-linear-regression/ -
Hi Mustafa,
It is extremely important to know that when feeding the new data, it should be arranged in the exact same way as the train data.
Your algorithm expects the constant to be at the first place, then the first variable, then the second one, etc. When feeding new data, all coefficients (weights) are multiplied by the respective values. If they are arranged differently (wrongly), the result is different (wrong).
Best,
Iliya
#365datascience #DataScience #data #science #365datascience #BigData #tutorial #infographic #career #salary #education #howto #scientist #engineer #course #engineer #MachineLearning #machine #learning #certificate #udemy
No comments:
Post a Comment