Skip to content

Commit

Permalink
Add TODO re standardizing cost function
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhahmann committed Oct 25, 2023
1 parent e6e2888 commit e55f13f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ private static Double defaultCostFunction( Double o1, Double o2 )
else if ( o1 == null )
return o2;
else
// TODO: standardize the cost function?
// return Math.abs( o1 - o2) / (o1 + o2);
return Math.abs( o1 - o2 );
}

Expand Down

0 comments on commit e55f13f

Please sign in to comment.