Algorithm: Linear Regression

本文探讨了线性回归模型的特点,其决策边界为线性,并用于预测输入数据对应的值。内容包括如何通过损失函数选择最佳线性模型,优化线性回归模型的最小二乘法,以及多维线性回归的数学基础和Python实现。同时,文章提到了矩阵运算、向量范数、梯度下降和高斯分布等关键概念。
摘要由CSDN通过智能技术生成

The Linaer Regression with the properties:

the decision boundary is linear

it is a regression moedl to predict the value respect to the input data

1. visualize the input feature with the related prediction data

2. how to choose the best linear model for the data set?|

define the lost function to measure the predict value between the actual values

Optimization for Linear regression model y = wx + b

Least square method

Linear_Regression.py

# 创建数据集,把数据写入到numpy数组
import numpy as np  # 引用
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值