🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Numerical Data Not Supported

User: "tcm5026"
New Altair Community Member
Updated by Jocelyn
Hello,
I am trying to learn a couple of different methods for a numerical label. 

I keep getting the error,

Error in: KernelNaiveBayes (KernelNaiveBayes) This learning scheme does not have sufficient capabilities for the given data set: numerical label not supported Each learning scheme has particular capabilities for data set handling. For example, some learners can only handle numerical attributes and can not learn from nominal attributes. Please perform a preprocessing step to transform your data set or use an alternative learning scheme. In case of a polynominal label attribute, i.e. a classification task with more than two classes, you can use a learning scheme capable only for binominal classes by wrapping a Binary2MultiClassLearner around the learning operator.

I have tried multiple different configurations of preprocessing the dataset with Binary2MultiClassLearner and other discretizations but each time I continue to get the error for numerical data.  Can someone show the right configuration of how to "wrap a Binary2MultiClassLearner" around a learning operator?

My current configuration (without an attempt at a wrapper) is,

- root
--examplesource
--xvalid
---kernalnaivebayes
---applierchain
----applier
----evaluator
-modelwriter

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "land"
    New Altair Community Member
    Hi,
    the problem is, that if you have a numerical label, you are trying to make a regression. You aren't trying to assign the examples to a finite set of classes, instead you are predicting a continuous number like 5 or 4,634. Some operators don't support this type of task, and NaiveBayes is one of the classification only operators. Even if you wrap it inside a Binary2Multiclass operator, it won't work, since you don't have any classes!
    You must use a regression operator instead, for example the LinearRegression, SVM or NeuralNets.

    Anyway I would suggest switching to 5.0, because it will help you detect such problems.

    Greetings,
      Sebastian