Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ml_dataframe 0.3.0 supported, github actions set up
- Loading branch information
Showing
11 changed files
with
78 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: CI pipeline | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
container: | ||
image: google/dart:latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Print Dart SDK version | ||
run: dart --version | ||
|
||
- name: Install dependencies | ||
run: dart pub get | ||
|
||
- name: Analyze project source | ||
run: dart analyze --fatal-infos | ||
|
||
- name: Run tests | ||
run: dart test | ||
|
||
- name: Code coverage | ||
run: dart pub run test_coverage | ||
|
||
- name: Coveralls GitHub Action | ||
uses: coverallsapp/github-action@v1.1.2 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
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 +1 @@ | ||
include: package:ml_tech/analysis_options.yaml | ||
include: package:pedantic/analysis_options.yaml |
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,22 +1,22 @@ | ||
name: ml_preprocessing | ||
description: Popular algorithms of data preprocessing for machine learning | ||
version: 5.2.0 | ||
version: 5.2.1 | ||
author: Ilia Gyrdymov <ilgyrd@gmail.com> | ||
homepage: https://github.com/gyrdym/ml_preprocessing | ||
|
||
environment: | ||
sdk: '>=2.7.0 <3.0.0' | ||
|
||
dependencies: | ||
ml_dataframe: ^0.2.0 | ||
ml_dataframe: ^0.3.0 | ||
ml_linalg: ^12.17.0 | ||
quiver: ^2.0.2 | ||
|
||
dev_dependencies: | ||
benchmark_harness: '>=1.0.0 <2.0.0' | ||
build_runner: ^1.1.2 | ||
build_test: ^0.10.2 | ||
grinder: ^0.8.3 | ||
ml_tech: ^0.0.5 | ||
mockito: ^3.0.0 | ||
pedantic: ^1.9.2 | ||
test: ^1.2.0 | ||
test_coverage: ^0.5.0 |
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,24 @@ | ||
import 'package:test/test.dart'; | ||
|
||
Matcher iterable2dAlmostEqualTo(Iterable<Iterable<double>> expected, | ||
[double precision = 1e-5]) => | ||
pairwiseCompare<Iterable<double>, Iterable<double>>(expected, | ||
(Iterable<double> expected, Iterable<double> actual) { | ||
if (expected.length != actual.length) { | ||
return false; | ||
} | ||
for (var i = 0; i < expected.length; i++) { | ||
if ((expected.elementAt(i) - actual.elementAt(i)).abs() >= precision) { | ||
return false; | ||
} | ||
} | ||
return true; | ||
}, ''); | ||
|
||
Matcher iterableAlmostEqualTo(Iterable<double> expected, | ||
[double precision = 1e-5]) => | ||
pairwiseCompare<double, double>( | ||
expected, | ||
(expectedVal, actualVal) => | ||
(expectedVal - actualVal).abs() <= precision, | ||
''); |
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.