資源簡介
采用極限學習機即(ELM)進行回歸和預測的MATLAB代碼, 親測可用,只需要替換自己的數據即可.
代碼片段和文件信息
function?Y?=?elmpredict(PIWBLWTFTYPE)
%?ELMPREDICT?Simulate?a?Extreme?Learning?Machine
%?Syntax
%?Y?=?elmtrain(PIWBLWTFTYPE)
%?Description
%?Input
%?P???-?Input?Matrix?of?Training?Set??(R*Q)
%?IW??-?Input?Weight?Matrix?(N*R)
%?B???-?Bias?Matrix??(N*1)
%?LW??-?layer?Weight?Matrix?(N*S)
%?TF??-?Transfer?Function:
%???????‘sig‘?for?Sigmoidal?function?(default)
%???????‘sin‘?for?Sine?function
%???????‘hardlim‘?for?Hardlim?function
%?TYPE?-?Regression?(0default)?or?Classification?(1)
%?Output
%?Y???-?Simulate?Output?Matrix?(S*Q)
%?Example
%?Regression:
%?[IWBLWTFTYPE]?=?elmtrain(PT20‘sig‘0)
%?Y?=?elmtrain(PIWBLWTFTYPE)
%?Classification
%?[IWBLWTFTYPE]?=?elmtrain(PT20‘sig‘1)
%?Y?=?elmtrain(PIWBLWTFTYPE)
%?See?also?ELMTRAIN
%?Yu?Lei11
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1439??2017-11-03?14:50??Elmpredict.m
?????文件???????1754??2017-11-03?14:50??Elmtrain.m
?????文件???????3071??2017-11-03?14:51??fenlei.m
?????文件???????1294??2017-11-03?14:51??huiguinihe.m
-----------?---------??----------?-----??----
?????????????????7558????????????????????4
- 上一篇:evacuation
- 下一篇:matlab有限元分析與應用(書及源程序)
評論
共有 條評論