For question no. 2 of this quiz

If we consider it as a matrix. then slope and intercept are of the form (1,) and (1,) respectively.
Something like this:https://www.google.com/search?q=matrix+equation+for+slope&sxsrf=APq-WBt9kwSDTf_OWcEMCC3DI6-5s5tl7A:1650887017707&tbm=isch&source=iu&ictx=1&vet=1&fir=K_fpigiiV1eciM%2CKEwd_gxPhzK_zM%2C_%3BDvtXyhl8mpTb2M%2C6Kw7KaH2kPbjhM%2C_%3BInlwSe228SlPrM%2CkLaEe-OoUxilfM%2C_%3Bc029FtWCpUK_mM%2CGzlK3bIUMFPSoM%2C_%3BEOGNcpjUQ0xHCM%2CKEwd_gxPhzK_zM%2C_%3BNv5aamsFFewTfM%2CH1vKnv1Zndy0QM%2C_%3BbhLjTkTNpjxurM%2C-V0vLpnk2QiXnM%2C_%3BeBrnN823V3sE4M%2C2Mq-8Izu9_AcJM%2C_%3Be8eD59QEuOaVwM%2CzACu0UiXQyZoYM%2C_%3BbJQdX2G6N6Am0M%2CdJYhLZu7whQNFM%2C_&usg=AI4_-kQRcYJx6GohzIeGZEojlr4qFdWxlw&sa=X&ved=2ahUKEwiNxoSyka_3AhUqS2wGHcRIAKQQ9QF6BAg8EAE#imgrc=HmHQ-udf18r_DM&imgdii=EXA7dvpr5X00EM

Please notice that the question uses the notation coef_ and intercept_, which refers to the scitkit-learn attributes, not the actual mathematical nature of a slope and intercept, which I agree are scalars.

1 Like

got it. Made a mistake.