Artificial neural network for regression task using PyTorch

Описание к видео Artificial neural network for regression task using PyTorch

A regression analysis in machine learning is used to investigate the relationship between one or more independent variables (treated as 𝘧𝘦𝘢𝘵𝘶𝘳𝘦𝘴) and a dependent variable (regarded as 𝘰𝘶𝘵𝘤𝘰𝘮𝘦). It is a method for predictive modelling and is used to predict a continuous outcome.

I used 𝘴𝘬𝘭𝘦𝘢𝘳𝘯'𝘴 𝐜𝐚𝐥𝐢𝐟𝐨𝐫𝐧𝐢𝐚 𝐡𝐨𝐮𝐬𝐢𝐧𝐠 dataset for this example. This dataset has 8 features and I built a very simple artificial neural network model using PyTorch to carry out a regression analysis.

𝑮𝒊𝒕𝑯𝒖𝒃 𝒂𝒅𝒅𝒓𝒆𝒔𝒔: https://github.com/randomaccess2023/M...

𝙄𝙢𝙥𝙤𝙧𝙩𝙖𝙣𝙩 𝙩𝙞𝙢𝙚𝙨𝙩𝙖𝙢𝙥𝙨:
01:06 - Import required libraries
03:13 - Load 𝗰𝗮𝗹𝗶𝗳𝗼𝗿𝗻𝗶𝗮 𝗵𝗼𝘂𝘀𝗶𝗻𝗴 dataset
07:39 - Define dataloader
08:49 - Define the neural network
11:30 - Visualize the network architecture
12:27 - Define the training batch
14:04 - Set up model, criterion and optimizer
14:58 - Train the model
20:40 - Plot training loss
22:53 - Model prediction

#artificialneuralnetwork #ann #regression #regressionanalysis #sklearn #californiahousingdataset #datascience #neuralnetwork

Комментарии

Информация по комментариям в разработке