2012-04-01 4 views
1

나는 hydrid 훈련 방법으로 ANFIS 모델을 구현 중입니다. 하나의 출력에 매핑되는 13 개의 입력이 있습니다. 나는 나의 시스템과 관련하여 규칙을 구성했다. 데이터를 조정할 때 아래 오류가 발생합니다.matlab을 사용하여 sugeno 퍼지 모델을 사용하는 Anfis

Number of output MF's is not equal to number of rules

어디서 잘못되고 있는지에 대한 단서가 있습니까? Fuzzy Logic Toolbox User's Guide에서

답변

0

인용구 :

Constraints of anfis:
anfis is much more complex than the fuzzy inference systems discussed so far, and is not available for all of the fuzzy inference system options. Specifically, anfis only supports Sugeno-type systems, and these must have the following properties:
* Have no rule sharing. Different rules cannot share the same output membership function, namely the number of output membership functions must be equal to the number of rules.

ANFIS 모델 구조 따라서 다음과 같아야합니다 enter image description here

참고 오류가 다음 코드 조각에서 유래 :

/* output MF no. must be the same as rule no. */ 
if (fis->output[0]->mf_n != fis->rule_n) { 
    fisFreeFisNode(fis); 
    PRINTF("Number of output MF's is not equal to number of rules -->\n"); 
    fisError("Parameter sharing in FIS is not allowed!"); 
} 
+0

좋아! 예, 고맙습니다. Mf를 공유했기 때문에 오류가 발생했습니다. 그것의 해결 된 지금! – Rangesh

+0

실제로 공유 매개 변수가 필요한 경우 (모든 조합에 대해 다른 출력을 작성하면 생성 된 출력 수에 스노우 볼/애벌란시 효과가 발생합니다). 이 경우 대체 교육이 있습니까? – brbtsl

관련 문제