I'm a new user of Sci-kit learn, I'm working on a classification problem, in which I have two mains classes, Class_1 : benign programs and Class_2 : malware(malicious programs) The second class (malware) is composed from different sub-classes: worms, virus, Trojans, ...etc.
In my data set, I have samples of, benign programs, worms, virus, ....etc
So, as I have a pretty good accuracy in classifying just the two main classes (benign vs malware), I wouldn't like translate my problem at the beginning as a multi-class problem directly (benign VS Trojan VS virus VS worm ....). What I would like, is to build via sci-kit learn a composed classifier that, in a first time classify my data set in main class (malware, benign), then if the sample is classified as malware, carry-on towards multi-class problem (worm VS virus VS Trojan , ...).
I don't know how to do that directly via the functions of sci-kit learn. I heard about multi-label and multi-output classification, I don't know if my problem could be interpreted and implemented in scikit learn as a multi-output problem: I mean, two main classes (malware, begnin), with multiple-output (multiple sub-classes: worm, trojan , ....) for the malware class ?
Thank's in advance for your precious help