Skip to content

Commit

Permalink
ADD: how to define a new objective function
Browse files Browse the repository at this point in the history
  • Loading branch information
scharoun authored May 21, 2017
1 parent 88fbca0 commit fd9eb2a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@

The abbreviations of objective function listed above can be set via ```loss_function``` in model configuration.

#### How to define new Objective Function
If you want to define a new Objective function, there are three steps to accomplish:
1. Implements ILossFunction interface
2. Accomplish functions in LossFunctions class
3. Execute ```sh tool/package.sh``` to repackage.

Using [GitHub with MathJax](https://chrome.google.com/webstore/detail/github-with-mathjax/ioemnmodlmafdkllaclgeombjnmnbima/related) to render Latex.
### Models(score function)

Expand Down

0 comments on commit fd9eb2a

Please sign in to comment.