1. 08 Oct, 2017 1 commit
    • Tony-Y's avatar
      Change functions in common.h into template functions (#969) (#973) · 87fa8b54
      Tony-Y authored
      * Fix coding style (#969)
      
      Function names must be in the "Pascal Case" style.
      
      * check_elements_interval_closed to CheckElementsIntervalClosed
      
      * obtain_min_max_sum to ObtainMinMaxSum
      
      * Change functions in common.h into template functions (#969)
      
      * CheckElementsIntervalClosed
      
      * ObtainMinMaxSum
      
      These two functions were changed into template functions.
      
      * Remove an unpreferable overload
      
      * remove an overload of the function ObtainMinMaxSum
      
      * Use stringstream to format T type
      87fa8b54
  2. 07 Oct, 2017 1 commit
    • Tony-Y's avatar
      Fix coding style (#969) (#970) · 8425fbea
      Tony-Y authored
      Function names must be in the "Pascal Case" style.
      
      * check_elements_interval_closed to CheckElementsIntervalClosed
      
      * obtain_min_max_sum to ObtainMinMaxSum
      8425fbea
  3. 18 Aug, 2017 1 commit
  4. 17 Jul, 2017 1 commit
    • olofer's avatar
      cross entropy metrics and objective (#685) · f8597c93
      olofer authored
      * Created objectives and metrics xentropy and xentropy1
      
      * Some coment and code cleanup.
      
      * Added Kullback-Leibler version of metric. Changed some warning messages.
      
      * Fixed sign error in KL-divergence calc.
      
      * Removed __PRETTY_FUNCTION__.
      
      * Fixed better name for alternative xentropy parameterization.
      Documented details on the objectives / metrics in code comments.
      
      * Common code for label interval checks. Cleanups.
      
      * Use common utility for various weight property checks.
      f8597c93