verne.freenode.net changed the topic of #mlpack to: http://www.mlpack.org/ -- We don't respond instantly... but we will respond. Give it a few minutes. Or hours. -- Channel logs: http://www.mlpack.org/irc/
tsathoggua has quit [Client Quit]
tsathoggua has joined #mlpack
tsathoggua has quit [Client Quit]
agobin has quit [Quit: Connection closed for inactivity]
virtualgod has joined #mlpack
tsathoggua has joined #mlpack
tsathoggua has quit [Client Quit]
Nilabhra has joined #mlpack
Nilabhra has quit [Remote host closed the connection]
mentekid has joined #mlpack
mentekid has quit [Ping timeout: 276 seconds]
agobin has joined #mlpack
agobin has quit [Client Quit]
agobin has joined #mlpack
agobin has left #mlpack []
mentekid has joined #mlpack
Nilabhra has joined #mlpack
Nilabhra has quit [Ping timeout: 240 seconds]
Nilabhra has joined #mlpack
Nilabhra has quit [Ping timeout: 276 seconds]
awhitesong has joined #mlpack
Nilabhra has joined #mlpack
Nilabhra has quit [Remote host closed the connection]
Mathnerd314 has quit [Ping timeout: 268 seconds]
Nilabhra has joined #mlpack
sumedhghaisas has joined #mlpack
sumedhghaisas has quit [Ping timeout: 268 seconds]
Bartek has joined #mlpack
Nilabhra has quit [Remote host closed the connection]
skon46 has joined #mlpack
mentekid has quit [Ping timeout: 244 seconds]
Bartek has quit [Ping timeout: 240 seconds]
skon46 has quit [Ping timeout: 276 seconds]
Mathnerd314 has joined #mlpack
sumedhghaisas has joined #mlpack
skon46 has joined #mlpack
skon46 has quit [Ping timeout: 268 seconds]
Bartek has joined #mlpack
sumedhghaisas has quit [Ping timeout: 240 seconds]
tsathoggua has joined #mlpack
Bartek has quit [Ping timeout: 260 seconds]
Bartek has joined #mlpack
Bartek has quit [Ping timeout: 240 seconds]
Bartek has joined #mlpack
Bartek has quit [Ping timeout: 246 seconds]
Bartek has joined #mlpack
tsathoggua has quit [Quit: Konversation terminated!]
tsathoggua has joined #mlpack
tsathoggua has quit [Client Quit]
travis-ci has joined #mlpack
< travis-ci>
mlpack/mlpack#710 (master - f0675d7 : Ryan Curtin): The build is still failing.
< uzipaz>
zoq: hi zoq, is there a way to specify a confidence threshold when using feedforward neural nets for classification? Thanks
< zoq>
uzipaz: Hello, at the moment, no, but it's easy to add, we could modifiy the BinaryClassificationLayer class and use a confidence parameter in line 61 instead of 0.5.
< uzipaz>
zoq: thanks for answering, I am trying to plot precision-recall and roc curves for the nerual nets Im using
< zoq>
uzipaz: nice, you could also use the MulticlassClassificationLayer class and do everything you like afterwards.
< uzipaz>
zoq: I just read the code you referred and Im wondering why you guys chose to hardcode the confidence threshold?
< zoq>
uzipaz: There is no reason behind it, if you like you can open a pull request, don't feel obligated, I'll can do that probably tomorrow.
< uzipaz>
zoq: I am looking at MulticlassClassificationLayer class and in the OutputClass function, it just assigns the inputActivations to output, and the inputActivations just represent a probability between 0, 1
< zoq>
uzipaz: Right, so you could use your confidence value, after the OutputClass function is called. But I think, modifying the BinaryClassificationLayer class is the best solution.
< uzipaz>
zoq: Im sry im bit confused in case of 'n' MulticlassClassification, each data sample for which we are predicting the output class, we need to return 'n' probability values as the result?
< uzipaz>
zoq: but incase of binaryclassification, we just return a single probability value for the output class
< zoq>
uzipaz: hm, the BinaryClassificationLayer and the MulticlassClassificationLayer class returns a vector with n values (probabilities), but the BinaryClassificationLayer transforms the output of the n dim input vector, I guess the naming is confusing.
< uzipaz>
zoq: Im concerned about MultiClassClassificationLayer, in outputClass function, each element of argument 'output' should be a list of 'n' probability values, where 'n' is the number of classes in our multiClassClassification problem
< uzipaz>
zoq: also, how does the MulticlassClassificationLayer class knows how many number of classes are there?
< zoq>
uzipaz: In most cases the MulticlassClassificationLayer is the last layer of the network, so the number of classes is the number of elements of the inputActivations vector, which is also the number of units in the last layer.
< uzipaz>
zoq: so in binaryClassClassificationLayer, the number of elements of the inputActivations vector will be just 1?
< uzipaz>
zoq: its just a single probability value for binaryClassClassificationLayer?
< zoq>
uzipaz: The number of elements of the inputActivations depends on the last layer. So if the last layer has 3 units (3 classes) it could be something like [0.3 0.8 0.2]. If you use the MulticlassClassificationLayer you get as output [0.3 0.8 0.6]. If you use the BinaryClassificationLayer you get as output [0 1 1] and if you use the OneHotLayer you get [0 1 0].
< uzipaz>
zoq: its much clear to me now, thank you for explaining, when calling the predict function on a network that has 3 units in last layer and 10 function point 'predictors', the size of argument 'response' will be 3 x 10? where each value is between (0, 1)?