Linear, Random Forest and Neural Network Regression

When analysing data with outliers, it is sometimes harder to develop model. This folder contains three supervised learners.

You are now following this Submission

%% Acknowledgements
% Data Source:
% The climate data used in this analysis was obtained from:
% NOAA Global Summary of the Day dataset
(if for some reason, you can not download the data from url, you can find the excel file in the folder, simply edit first few command by load....csv)
% This dataset contains annual global mean temperature data.
% Function Sources:
% - detectImportOptions:
% This function automatically detects the import options for reading a table from a file or URL.
% Documentation: https://www.mathworks.com/help/matlab/ref/detectimportoptions.html
% - readtable:
% This function reads tabular data from a file or URL and creates a table.
% Documentation: https://www.mathworks.com/help/matlab/ref/readtable.html
% - TreeBagger:
% This function creates a Random Forest model using bagging for regression.
% Documentation: https://www.mathworks.com/help/stats/treebagger.html
% - plot:
% This function creates a line plot of data.
% Documentation: https://www.mathworks.com/help/matlab/ref/plot.html
% - saveas:
% This function saves the current figure to a specified file format.
% Documentation: https://www.mathworks.com/help/matlab/ref/saveas.html

Cite As

Ayesha Sohail (2026). Linear, Random Forest and Neural Network Regression (https://www.mathworks.com/matlabcentral/fileexchange/173805-linear-random-forest-and-neural-network-regression), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

Image added

1.0.0