본문 바로가기
「python초짜에서 중급으로!

의료비 예측 모델 kaggle 사례(Insurance prediction using Regression)

by DayGo 2023. 8. 10.

https://www.kaggle.com/code/sadafpj/insurance-prediction-using-regression-regulation

 

Insurance prediction using Regression | Regulation

Explore and run machine learning code with Kaggle Notebooks | Using data from Medical Cost Personal Datasets

www.kaggle.com

 

 

#regression models
from sklearn.linear_model import LinearRegression, Ridge
from sklearn.linear_model import RidgeCV, LassoCV, ElasticNetCV
from sklearn.tree import DecisionTreeRegressor
from sklearn.ensemble import RandomForestRegressor
from sklearn.neighbors import KNeighborsRegressor
from sklearn.svm import SVR

 

댓글