Siraj Raval的影片介紹,機器學習主要有以下幾種的數學:
Calculus 微積分 - 最佳化
Linear Algebra 線性代數 - 實現演算法
Probability 機率 - 預估結果
Statistics 統計 - 找出目標
----
參考資料
Mathematics of Machine Learning (Siraj Raval)
Logistic regression (Wikipedia) 邏輯迴歸 (維基百科)
Information about Electrical, Electronic, Communication and Computer Engineering 電機、電子、通訊、電腦資訊工程的學習筆記
相關資訊~生醫工程:StudyBME
聽力科技相關資訊:電子耳資訊小站
iOS程式語言:Study Swift
樹莓派和Python:Study Raspberry Pi
2018/08/21
2018/08/09
Matlab: Find local maxima 求局部極大值
To find the local maximum values in Matlab, use findpeaks():
>> a = [7 -2 -5 8 -6 -3 4 9 6 3 -2 5 8 11 7 3 -5];
[peaks, items] = findpeaks(a);
>> peaks
peaks =
8 9 11
>> items
items =
4 8 14
>>
To find N large elements of a vector in Matlab in descending order, use maxK():
K>> [peaks, items] = maxk(a,5);
K>> peaks
peaks =
11 9 8 8 7
K>> items
items =
14 8 4 13 1
K>>
Reference:
findpeaks - Find local maxima (MathWorks)
>> a = [7 -2 -5 8 -6 -3 4 9 6 3 -2 5 8 11 7 3 -5];
[peaks, items] = findpeaks(a);
>> peaks
peaks =
8 9 11
>> items
items =
4 8 14
>>
To find N large elements of a vector in Matlab in descending order, use maxK():
K>> [peaks, items] = maxk(a,5);
K>> peaks
peaks =
11 9 8 8 7
K>> items
items =
14 8 4 13 1
K>>
Reference:
findpeaks - Find local maxima (MathWorks)
2018/08/07
訂閱:
文章 (Atom)