Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CrossValidator: 'evalute' method's api changed, it returns a Future r…
…esolving with scores Vector now (#136)
- Loading branch information
Showing
8 changed files
with
143 additions
and
111 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
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
10 changes: 10 additions & 0 deletions
10
lib/src/common/exception/invalid_test_data_columns_number_exception.dart
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
class InvalidTestDataColumnsNumberException implements Exception { | ||
InvalidTestDataColumnsNumberException(int expected, int received) : | ||
message = 'Unexpected columns number in test data, ' | ||
'expected $expected, received ${received}'; | ||
|
||
final String message; | ||
|
||
@override | ||
String toString() => message; | ||
} |
10 changes: 10 additions & 0 deletions
10
lib/src/common/exception/invalid_train_data_columns_number_exception.dart
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
class InvalidTrainDataColumnsNumberException implements Exception { | ||
InvalidTrainDataColumnsNumberException(int expected, int received) : | ||
message = 'Unexpected columns number in train data, ' | ||
'expected $expected, received ${received}'; | ||
|
||
final String message; | ||
|
||
@override | ||
String toString() => message; | ||
} |
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
Oops, something went wrong.