I am new to octave
and would like to experiment with an octave-based library for class imbalance learning available here.
After setting up the environment as described in the user guide (pp. 18), to use the algorithm FuzzyImb, one runs:
>> [predictions]=fuzzyImbECOC(xtrain,ytrain,xtest,ytest,'w6',0.1);
However, every time I run this, I get the error:
It appears fuzzyImbECOC.m calls funECOC.m at line 24:
24 code = funECOC(numberc);
Which generates the undefined error.
error: 'Pseudo_random_Coding undefined near line 45, column 45
error: called from
funECOC at line 45 column 9
fuzzyImbECOC at line 24 column 6
>>
I can confirm all files are available in my working directory, and path added to octave
as described.
Can someone help resolve this problem?
EDIT
funECOC.mat
45 code=Pseudo_randdom_Coding(N_class,N_dichotomizers,zero_prob);