Love linear regression. I have a few of these in python, with various amounts of 'bling', which I love too. In case you didn't know; in Colabs, if you have several code cells, you can put text cells above them, and add a title (or whatever you like), but if you do this, Colabs creates a Table of Contents (ToC). You access it by clicking on the three horizontal line in the upper left. What's nice about this is they are 'clickable'. So if you have a number of these text/code pairs, you can quickly find and access them using this ToC. For example: I have a bunch of Ohm's Law stuff. One for resistance, one for current, one for voltage, and then I added the various components in series, parallel and so on. By the time you're done you have a good collection of small and useful code pieces you can find quickly in the ToC.
@facefamousee9 ай бұрын
beautiful. 👍thank you.👌
@chyldstudios Жыл бұрын
I use sklearn.linear_model.LinearRegression for all my regression needs in Python. Statsmodels is cool too :)