File Exchange

image thumbnail

Deepnet

version 1.0.0.0 (1.64 KB) by michael scheinfeild
Deep Learning

2 Downloads

Updated 20 May 2018

View License

train small neural network with two layers

Cite As

michael scheinfeild (2020). Deepnet (https://www.mathworks.com/matlabcentral/fileexchange/67406-deepnet), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

michael scheinfeild

Test :
x= [ 0 0 1
0 1 1
1 0 1
1 1 1];

y=[0 1 1 0]';

mydeep=Deepnet(x,y);

%% run
for i =1:2500
mydeep=mydeep.feedforward();
mydeep=mydeep.backprop();
end

mydeep.output

based on the blog
https://towardsdatascience.com/how-to-build-your-own-neural-network-from-scratch-in-python-68998a08e4f6

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!