how to compute and plot mean square error for two vectors?
์กฐํ ์: 3 (์ต๊ทผ 30์ผ)
์ด์ ๋๊ธ ํ์
DEEPAK Chekuri
2021๋
1์ 9์ผ
๋๊ธ: DEEPAK Chekuri
2021๋
1์ 13์ผ
i have a dataset to classify, using perceptron learning rule . i've calculated the weight matrix but don't know how to plot MSE .
{๐1 = [ 1 1 ],๐ก1 = [ 0 0 ]}, {๐2 = [ 1 2 ],๐ก2 = [ 0 0 ]}, {๐3 = [ 2 โ1 ],๐ก3 = [ 0 1 ]}, {๐4 = [ 2 0 ],๐ก4 = [ 0 1 ]}, {๐5 = [ โ1 2 ],๐ก5 = [ 1 0 ]}, {๐6 = [ โ2 1 ],๐ก6 = [ 1 0 ]}, {๐7 = [ โ1 โ1 ],๐ก7 = [ 1 1 ]}, {๐8 = [ โ2 โ2 ],๐ก8 = [ 1 1 ]}.
This the dataset and w=[-2 0;0 -2],bias =[-1 0]
๋๊ธ ์: 0
์ฑํ๋ ๋ต๋ณ
Gaurav Garg
2021๋
1์ 13์ผ
Hi Deepak,
You can plot MSE/Loss and accuracy for each iteration of your training/testing.
To do this, you can make a network with 'n' number of layers, train your network on it and store the loss returned per iteration in a list. Finally, you can plot this loss on y-axis and number of iterations on x-axis.
์ถ๊ฐ ๋ต๋ณ (0๊ฐ)
์ฐธ๊ณ ํญ๋ชฉ
์นดํ ๊ณ ๋ฆฌ
Help Center ๋ฐ File Exchange์์ Define Shallow Neural Network Architectures์ ๋ํด ์์ธํ ์์๋ณด๊ธฐ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!