logistic回归预测_使用Logistic回归的suv购买预测

logistic回归预测

In this blog-post ,I will go through the process of creating a machine learning model for suv cars dataset. The dataset provides information regarding the age ,gender and Estimated Salary. There is one more column in dataset which is our target variable i.e Purchased.The machine learning model we are going to apply is Logistic Regression.I have downloaded above dataset from kaggle which you can download from here.

在这篇博文中,我将介绍为suv汽车数据集创建机器学习模型的过程。 数据集提供有关年龄,性别和估计工资的信息。 数据集中还有一列是我们的目标变量,即Purchased。我们将要应用的机器学习模型是Logistic回归。我从kaggle下载了以上数据集,您可以从此处下载。

让我们开始吧 (Let’s get started)

First we will import the libraries which we are going to use in this model.

首先,我们将导入将在此模型中使用的库。

Image for post

After import these above libraries we will get load the dataset.

导入以上这些库后,我们将加载数据集。

Image for post

让我们探索我们的数据集: (Let’s Explore our dataset:)

The dataset comprises of 5 columns:

数据集包括5列:

1.User ID

1.用户名

2.Gender

2.性别

3.Age

3.年龄

4.Estimated Salary

4,预估工资

5.Purchased

5.购买

Here our target variable is Purchased which consist of mainly two va

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值