This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MXNet | |
import MXNet.mx: _update_single_output, reset!, get | |
using Distributions | |
# This example based on | |
# http://deeplearning.net/software/theano/tutorial/examples.html#a-real-example-logistic-regression | |
##################################### | |
# Custom evaluation metric |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MXNet | |
import MXNet.mx: _update_single_output, reset!, get | |
using Distributions | |
##################################### | |
# Custom evaluation metric | |
# It just summarize predictions, because in the case of custom | |
# loss layer, ANN output equals to loss function itself |
NewerOlder