You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
What would you like to submit? (put an 'x' inside the bracket that applies)
[X ] question
bug report
feature request
Issue description
Hi all,
I need a little help from the experts...
In one of my projects I am using Accord.NET Machine Learning (C4.5) for predicting trading profits and the confusion matrix to calculate some parameters.
In some special cases - when the output class just contains one value (see below) - the estimation of the confusion matrix throws the following exception:
The data table is structured as follows ({Current] is only used for process flow while adding rows):
Hi David,
first of all many thanks for your reply and the given information!
Does this mean that this is a bug - as it doesn't match with the error
message - and should be changed to
if (expectedSymbols.Length *>* 2)
Thanks for your help and best regards,
Christian
Am Mo., 28. Sept. 2020 um 20:00 Uhr schrieb David Rapaň <
[email protected]>:
What would you like to submit? (put an 'x' inside the bracket that applies)
Issue description
Hi all,
I need a little help from the experts...
In one of my projects I am using Accord.NET Machine Learning (C4.5) for predicting trading profits and the confusion matrix to calculate some parameters.
In some special cases - when the output class just contains one value (see below) - the estimation of the confusion matrix throws the following exception:
The data table is structured as follows ({Current] is only used for process flow while adding rows):
[TBO] (int) | [StdDev] (double) | [Profit] (yes/no) | [Current] (yes/no)
Working example (output = yes, no):
45 | 0.123 | yes | no
31 | 0.456 | yes | no
78 | 0.543 | no | no
56 | 0.845 | yes | no
Example throwing the exception (output = yes):
45 | 0.123 | yes | no
31 | 0.456 | yes | no
78 | 0.543 | yes | no
56 | 0.845 | yes | no
The following code fragment is used for codification, learning and creating the confusion matrix:
The last line is the one that throws the exception!
Can someone please advise me how to fix this issue - any help is welcome!
Many thanks in advance and best regards,
Christian
The text was updated successfully, but these errors were encountered: