ml_algo 16.17.13 ml_algo: ^16.17.13 copied to clipboard
Machine learning algorithms, Machine learning models performance evaluation functionality
We analyzed this package 7 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-2-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
199 out of 206 API elements (96.6 %) have documentation comments.
Some symbols that are missing documentation: kd_tree
, ml_algo
, ml_algo.DataPreprocessFn
, ml_algo.KDTreeSplitStrategy
, ml_algo.ModelFactory
.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:ml_algo/ml_algo.dart
that imports:package:ml_algo/src/retrieval/random_binary_projection_searcher/random_binary_projection_searcher.dart
that imports:package:ml_dataframe/ml_dataframe.dart
that imports:package:ml_dataframe/src/data_frame/series.dart
that imports:package:ml_dataframe/src/data_frame/data_frame.dart
that imports:package:ml_dataframe/src/serializable/serializable.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:ml_algo/ml_algo.dart
that imports:package:ml_algo/src/retrieval/random_binary_projection_searcher/random_binary_projection_searcher.dart
that imports:package:ml_dataframe/ml_dataframe.dart
that imports:package:ml_dataframe/src/data_frame/series.dart
that imports:package:ml_dataframe/src/data_frame/data_frame.dart
that imports:package:ml_dataframe/src/serializable/serializable.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
INFO: 'decreasingAdaptive' is deprecated and shouldn't be used. The type is deprecated, use [LearningRateType.timeBased] instead.
lib/src/classifier/logistic_regressor/migrations/migrate_logistic_regressor_schema_v3_to_v4.dart:25:55
╷
25 │ learningRateTypeToEncodedValue[LearningRateType.decreasingAdaptive]) {
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/classifier/logistic_regressor/migrations/migrate_logistic_regressor_schema_v3_to_v4.dart
INFO: 'decreasingAdaptive' is deprecated and shouldn't be used. The type is deprecated, use [LearningRateType.timeBased] instead.
lib/src/classifier/softmax_regressor/migrations/migrate_softmax_regressor_schema_v3_to_v4.dart:25:55
╷
25 │ learningRateTypeToEncodedValue[LearningRateType.decreasingAdaptive]) {
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/classifier/softmax_regressor/migrations/migrate_softmax_regressor_schema_v3_to_v4.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.16.0 |
1.19.1 | 1.19.1 |
injector |
^3.0.0 |
3.0.0 | 4.0.0 |
json_annotation |
^4.0.0 |
4.9.0 | 4.9.0 |
ml_dataframe |
^1.6.0 |
1.6.0 | 1.6.0 |
ml_linalg |
^13.11.15 |
13.12.6 | 13.12.6 |
ml_preprocessing |
^7.0.2 |
7.0.2 | 7.0.2 |
quiver |
^3.0.0 |
3.2.2 | 3.2.2 |
xrange |
^2.0.0 |
2.0.0 | 2.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
boolean_selector |
- | 2.1.2 | 2.1.2 |
csv |
- | 5.1.1 | 6.0.0 |
matcher |
- | 0.12.17 | 0.12.17 |
meta |
- | 1.16.0 | 1.16.0 |
path |
- | 1.9.1 | 1.9.1 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.12.0 | 1.12.0 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.3 | 0.7.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^3.0.0` on injector does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions injector
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.15
, Dart 3.5.4
.
Check the analysis log for details.