Orange Forum • View topic - How to generate CN2 predictions?

How to generate CN2 predictions?

A place to ask questions about methods in Orange and how they are used and other general support.

How to generate CN2 predictions?

Postby pjohnson » Tue Jan 05, 2010 22:26

Hello,

I am trying to use CN2 to generate predictions. I am using the Canvas, and I have:

File(Training 8K) -> Select Attrs -> CN2 -> Predictions

And

File(Test data 60K) -> Select Attrs -> Predictions

When the output signal of the CN2 is connected (Classifier signal) to Predictions, and I open Predictions, it is empty and shows Predictors: 1 and Task: N/A (Type mismatch)

If I connect the output of CN2 into the CN2 Rules viewer, I get a reasonable looking set of rules.

But I can't get the Predictions to yield anything, and I don't know what I am doing wrong. Can I apply the CN2 classifier to a Predictions widget?

Any assistance would be appreciated.

Thanks,
Patrick

Postby Ales » Wed Jan 06, 2010 12:07

It was a bug in orngCN2 module. (classifiers didn't have a valid classVar attribute).
You can update your orange installation from svn or wait for tomorrows snapshot.

THANK YOU!

Postby pjohnson » Wed Jan 06, 2010 14:03

Works great.

Thank you!


Return to Questions & Support



cron