-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from gyrdym/softmax-regression
Link function refactored
- Loading branch information
Showing
32 changed files
with
221 additions
and
250 deletions.
There are no files selected for viewing
This file contains 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
5 changes: 0 additions & 5 deletions
5
lib/src/classifier/labels_probability_calculator/labels_probability_calculator.dart
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
lib/src/classifier/labels_probability_calculator/labels_probability_calculator_factory.dart
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
.../classifier/labels_probability_calculator/labels_probability_calculator_factory_impl.dart
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
lib/src/classifier/labels_probability_calculator/labels_probability_calculator_impl.dart
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
import 'package:ml_algo/src/cost_function/cost_function.dart'; | ||
import 'package:ml_algo/src/cost_function/cost_function_type.dart'; | ||
import 'package:ml_algo/src/link_function/link_function_type.dart'; | ||
import 'package:ml_algo/src/score_to_prob_mapper/score_to_prob_mapper_type.dart'; | ||
|
||
abstract class CostFunctionFactory { | ||
CostFunction fromType(CostFunctionType type, | ||
{Type dtype, LinkFunctionType linkFunctionType}); | ||
{Type dtype, ScoreToProbMapperType scoreToProbMapperType}); | ||
CostFunction squared(); | ||
CostFunction logLikelihood(LinkFunctionType linkFunctionType, {Type dtype}); | ||
CostFunction logLikelihood(ScoreToProbMapperType scoreToProbMapperType, | ||
{Type dtype}); | ||
} |
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.