Multivariables-Linear-Regression

版本 2.0.0 (3.2 KB) 作者: Mahmoud Ashraf
linear regression script which can deals with one variable or multivariate linear regression
45.0 次下载
更新时间 2022/3/28

Multivariables-Linear-Regression

This is linear regression script which can deals with one variable or mutlivariables linear regression. This script tested by using data set (data.txt) from coursera platform Ml Stanford University courses.

Instructions: 1.first you get load your dataset in line 6 (there are two datasets attached with the file) 2.set the learning rate and number of iterations in lines 7 and 8 3.the results will appear in A) graphs between each feature and reults with its best fit line B) graph represent the relation between the number of itrations and cost C) 3D graph represent the relation between the last two features in x and y with the result in z

Copyright (c) 2022, Mahmoud Ashraf All rights reserved.

MATLAB 版本兼容性
创建方式 R2021b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
2.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库