Is there a function in MATLAB which is similar to "nearZeroVar" in R?
4 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2018 年 5 月 10 日
回答済み: MathWorks Support Team
2018 年 5 月 14 日
Is there a function in MATLAB which is similar to "nearZeroVar" in R?
I am trying to replicate some work done in a textbook which uses R examples for predictive modelling. They reduce the training set with a function 'nearZeroVar'
Please find the documentation of the function 'nearZeroVar' below:
I am looking for a function similar to this in MATLAB.
採用された回答
MathWorks Support Team
2018 年 5 月 10 日
There is no direct function in MATLAB like the function "nearZeroVar" in R.
However, it is possible to implement the functionality in MATLAB according to the definition of "nearZeroVar" function in R.
Please find an example implementation of the function, "nearZeroVar.m" attached, which returns "true" if a column-vector has near zero variance according to the definition of "nearZeroVar" function in R.
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!