Member-only story

Predict on the probability of a person smoking using Jax Linear Regression

Crystal X
5 min readOct 25, 2023

--

I really enjoy participating in Kaggle’s playground competitions because they give me a chance to practice the skills I have learned and see how these skills compare with those of my peers.

In this playground competition, season 3 episode 24, the task is to predict on the probability that an individual will be a smoker. In this instance, I decided to use Jax’s linear regression model to solve this competition question.

Linear regression analysis is used to predict the value of a variable based on the value of another variable. The variable you want to predict is called the dependent variable. The variable you are using to predict the other variable’s value is called the independent variable. This form of analysis estimates the coefficients of the linear equation, involving one or more independent variables that best predict the value of the dependent variable. Linear regression fits a straight line or surface that minimises the discrepancies between predicted and actual output values.

Linear-regression models are relatively simple and provide an easy-to-interpret mathematical formula that can generate predictions. Linear regression can be applied to various areas in business and academic study. You’ll find that linear regression is used in everything from biological…

--

--

Crystal X
Crystal X

Written by Crystal X

I have over five decades experience in the world of work, being in fast food, the military, business, non-profits, and the healthcare sector.

No responses yet