[Machine Learning] Octave Vectorization

To compute this formula, you need to do:

 

Actually, to make it simpler, we can do Vectorization, that formula is actually equals to:

So we can code it as:

 

 

More example:

posted @ 2020-08-19 19:10  Zhentiw  阅读(94)  评论(0)    收藏  举报