Let's say I have a classification problem that is multiclass and characterized by a hierarchical structure, for example. "edible", "nutritious" and "nutritious" - therefore it can be represented in this way
βββ edible β βββ nutritious β βββ ~nutritious βββ ~edible
While you can get reasonable performance with classifiers that support multiclass classification or use one-vs-one / all schemes for those that donβt, it can also be useful to train classifiers at each level separately and combine them so that instances classified as "edible" can be classified as nutritious or not.
I would like to use scikit-lean grades as building blocks, and I wonder if I can make Pipeline support this one, or I will need to write my own BaseEnsemble that implements a basic BaseEnsemble and possibly BaseEnsemble to do this.
@Ogrisel was previously mentioned on the http://sourceforge.net/mailarchive/message.php?msg_id=31417048 mailing list, and I'm wondering if anyone has any ideas or suggestions on how to do this.
source share