Multi-label Classification In Python
I am beginning to use Pybrain which good neural networks algorithms. If anybody is familiar with it already, is the package capable of doing multi-label classification as well? Mul
Solution 1:
Your question is a bit vague.
Yes
I believe I've understood you correctly, and yes PyBrain is capable of doing such a task. Neural networks in Pybrain are capable (through supervised learning ) of doing instance classification through multi-labeling the input values.
Just a tip:
Since you are performing a logical separation of the input instances I recommend using the sigmoid logistic function given that your input are in the range of [0, 1]. If your input range is the Real Numbers, the tanh has proven a lot faster on average
Example outputs
# The outputs are sqashed by the sigmoid( ) function
0 1 1 0 # class one
1 1 1 0 # class one
0 0 1 0 # class two
0 1 1 1 # class two
0 0 1 0 # class threeI've not studied unsupervised learning, so I dare not state otherwise. See this for a quick benchmark.
Solution 2:
Just in case, if it helps, Scikit-multilearn is another package which supports multi-label classification using deep learning libraries like theano, tensorflow, keras and scikit-neuralnetworks.
Post a Comment for "Multi-label Classification In Python"