Jan. 24, 2022, 2:26 p.m. | Karsten

Towards Data Science - Medium towardsdatascience.com

Data Wrangling / Machine Learning / Python

Methods to add an intercept column to a dataset

Image by Karsten Cao

If you are anything like me, you have undoubtedly encountered linear regression on your data science journey. Maybe to understand the model you decided to code one from scratch or a least with a few common libraries such as Pandas or NumPy. I, somehow, keep forgetting the step to add a constant column of 1’s onto my datasets for my …

intercepts machine learning python tips

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote