Need help with genfis2 warning: Rank deficient

1 回表示 (過去 30 日間)
Gary
Gary 2014 年 1 月 26 日
コメント済み: Gary 2014 年 1 月 26 日
Hello all, I am trying to use genfis2 to create a FIS structure to be used by ANFIS. I am working with a set of data that is 430x7. The first 6 columns are the inputs for genfis2 and last column is the output. Below is how I am using the genfis2 command, from what I understand, radii is a vector that determines the range of a cluster and xbounds are the min/max (to normalize the data) values in each column of data correct? Why am I getting "Warning: Rank deficient, rank = 421, tol = 4.490110e-14?" Is it my input thats messed, anyone have any sage advice? Thank you.
in_fis = genfis2(data(:,1:6),data(:,7),radii,xbounds)

採用された回答

Walter Roberson
Walter Roberson 2014 年 1 月 26 日
You have duplicates (or near duplicates) in your rows.
  3 件のコメント
Walter Roberson
Walter Roberson 2014 年 1 月 26 日
You should unique('rows') your inputs. If you have multiple lines with the same inputs but different outputs then you have trouble.
Gary
Gary 2014 年 1 月 26 日
Thanks a lot for the help Walter.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSolver Outputs and Iterative Display についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by