文件名称:ols
介绍说明--下载内容来自于网络,使用问题请自行百度
正交最小二乘辨识算法
该算法除了实现最小二乘辨识功能之外而且能按照各项重要性将其逐一选出并且估计相应系数-OLS Orthogonal Least Quares.
[x, ind] = OLS(A,b,r) gives the solution to the least squares problem
using only the best r regressors chosen from the ones present in matrix A.
This function also returns in the vector ind the indexes of the
best r regressors (i.e., the best columns of A to use).
If r is equal to n, the solution x given by OLS is the same as the solution
given by A\b, but in ind we still have the regressors sorted by their
importance. This means that one can perform a feature selection by taking
the first k entries in ind (k<r).
该算法除了实现最小二乘辨识功能之外而且能按照各项重要性将其逐一选出并且估计相应系数-OLS Orthogonal Least Quares.
[x, ind] = OLS(A,b,r) gives the solution to the least squares problem
using only the best r regressors chosen from the ones present in matrix A.
This function also returns in the vector ind the indexes of the
best r regressors (i.e., the best columns of A to use).
If r is equal to n, the solution x given by OLS is the same as the solution
given by A\b, but in ind we still have the regressors sorted by their
importance. This means that one can perform a feature selection by taking
the first k entries in ind (k<r).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ols.m
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.