正在加载图片...
-8- The first function uses the stimulus s and sa to produce sums in a.The second function uses a and aR to produce weighted sums in r.The third function returns the index of the element ofr with the highest value.You may assume that a and have been initialized to zero. Write your answers on the next page.(By the way,there is an algorithm for adjusting the weights in aR to train the perceptron to recognize a known set of patterns correctly.That's a story for another exam...) void FiresToA(int s[],int sA[][N_S_TO_A],int a[]) void FireAToR(int a[],double aR[][N_RUNITS],double r[]) int ClassifyPattern(double r[])– 8 – The first function uses the stimulus s and sA to produce sums in a. The second function uses a and aR to produce weighted sums in r. The third function returns the index of the element of r with the highest value. You may assume that a and r have been initialized to zero. Write your answers on the next page. (By the way, there is an algorithm for adjusting the weights in aR to train the perceptron to recognize a known set of patterns correctly. That's a story for another exam...) void FireSToA(int s[], int sA[][N_S_TO_A], int a[]) void FireAToR(int a[], double aR[][N_RUNITS], double r[]) int ClassifyPattern(double r[])
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有