1
$\begingroup$

Can we use weka for multivariate data analysis? When we have more than one variable as the dependent variable... ( without using factor analysis to reduce the number of variables associated with the dependent variable). Thank you

$\endgroup$
1
  • $\begingroup$ multivariate data analysis combines at least two variables as a set of equation given a set of coeffients in the equation with a known outcome. The neural network should be able to predict outcomes given a sample of equations. $\endgroup$ Sep 22, 2022 at 22:49

2 Answers 2

0
$\begingroup$

No. I don't think so. And I don't think that is what "multivariate" means.

I rather think all of Weka's APIs and classifiers assume that there is exactly one attribute which gets assigned the "class" attribute label (that's the column to be predicted/classified).

Although there is a MultiClassClassifier meta-classifier, this is designed to improve algorithms that can only handle binary class-attribute prediction problems (e.g. Weka's Glass.arff dataset with Logistic regression)

$\endgroup$
0
$\begingroup$

Depending on the number of dependent variables (when they are categorical) you could also consider doing the following. Imagine we have images of cats and dogs which are happy and sad.

We could concatenate the classes into derived classes. E.g. happy cat, sad cat, happy dog, and sad dog. If the classes are not too many for the dependent variable this should work.

An alternative would be to use two classifiers. One for the first class (animal type) and another for the second class (mood). This procedure has the drawback that you need two classifiers. But you could have small and efficient classifiers to do the job. This method is good when there is not a correlation between the different dependent variables. In my example, this would mean that there is no bias in the population that cats/dogs are happier than dogs/cats. If the correlation is larger then the previous approach is better suited because your network can use the correlation to make better decisions.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.