I'm a new user of scikit-learn,
I have a problem of classification, in which I would like to invoke a first classifier that predict two classes {malware, begnin}, then only if the output predicted label of the classifier 1 is malware call the second classifier to classify the family of malware (virus, trojan, worm, ....). In other term the second classifier will not be invoked if the predicted label of classfier 1 is begnin
But I would like to do that in a same block (or perhaps called a metaclassifier) which when invoked, performs internally the operations mentionned above: - train on a dataset, predict a binary target {malware, begnin}, if the target is malware, call the second classifier to predict the family of the malware.
Thank you in advance for your precious help