-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: '<' not supported between instances of 'GreaterThan' and 'GreaterThan' #99
Comments
Hi - some questions to try to isolate the issue:
|
Which version of Karoo are you using? i.e. when did you last fetch the latest version? This morning was the last fetch. Same error. Does the error only happen when the < operator is included? The error occurs when any comparison operator is used. Note: 5,5,3 does not give an error. What kind of output are you expecting from the trees? > or <= will give a boolean output, while the others (*, +..) would give a numeric output. I use (+,-,/,*, if, or, and,>= ,<), and am using it for classification. I anticipate that regardless of the output of the function, the classification code will convert it to 0 or 1. Again the run works with 5,5,3 but crashes with anything else. Are you working with a modified version of Karoo? Not at all. |
if I remove (or, and) and use (+,-,/,*, if,>= ,<) instead, the error is eliminated. I can use any configuration of tree depth. This is not practical at all as the logical operators in combination with comparative operators are needed for classification problems. Therefore this error needs to be fixed for functional purposes. |
Any comments about this bug? |
I get the following error: (note that I use anaconda navigator to create an environment with the required versions of the dependent modules) and the following command line and functions:
In the settings above only 5,5,3 work till the end. Here, I used 7,7,5 and it crashed as shown in the trace:
ERROR TRACE:
The text was updated successfully, but these errors were encountered: