Apress just published our new book, “MATLAB Machine Learning”

written by Michael Paluszek and Stephanie Thomas. The book covers a wide variety of topics related to machine learning including neural nets and decision trees. It also includes topics from automatic control including Kalman Filters and adaptive control. The book has many examples including autonomous driving, number identification and adaptive control of aircraft. Here is a view of a neural net tool included with the book.

Full source code is available. For more information go to MATLAB Machine Learning.

Hi, please i want to complete this code of chapter 7 in urgent. thanks

Dear Mahmoud:

I sent you an email with updated code. I didn’t change anything (except a path to cats1024) and it works fine.

Mike

Hi,

I am reading the book and going through the source code.

For chapter 7 I can see that at the end of the chapter there are listed a number of source code files that I cannot find on the project github.

Should I download them from another source?

Best,

Razvan

Dear Razvan:

Thanks for reading our book. This is the link to the repository

https://github.com/Apress/matlab-machine-learning

Sincerely,

Mike

Also this code is not correct. especially file convolutionalNN don’t get r=softmax

Thanks for the feedback! What result did you get?

the m-file convolutionalNN has an order r=softmax(q) , to get the value of r.

But when run the m-file TestNN , get this error

Undefined function ‘exp’ for input arguments of type ‘uint8’.

Error in Softmax (line 35)

den = sum(exp(q));

Error in ConvolutionalNN>NeuralNet (line 64)

r = Softmax( q );

Error in ConvolutionalNN>Testing (line 45)

[d, r] = NeuralNet( d, t );

Error in ConvolutionalNN (line 34)

r = Testing( d, t );

Error in TestNN (line 19)

[d, r] = ConvolutionalNN( ‘test’, d, t );

Thanks! I’ll look into you and update the code. What version of MATLAB are you using?