Skip to content

Commit 5694574

Browse files
Update README.md (#258)
* Update README.md mention that web is possible fix the getIrisDataFrame and Pipeline example
1 parent 016a87b commit 5694574

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 16.17.12
4+
- update in README
5+
- mention that web is possible
6+
- fix the getIrisDataFrame and Pipeline example
7+
38
## 16.17.11
49
- Update contacts in README
510

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ The library is a part of the ecosystem:
2929
## What is ml_algo for?
3030

3131
The main purpose of the library is to give native Dart implementation of machine learning algorithms to those who are
32-
interested both in Dart language and data science. This library aims at Dart VM and Flutter, it's impossible to use
33-
it in web applications.
32+
interested both in Dart language and data science. This library aims at Dart VM and Flutter. It is also possible to use
33+
its core features in web applications using web assembly.
3434

3535
## The library content
3636

@@ -618,13 +618,13 @@ import 'package:ml_dataframe/ml_dataframe.dart';
618618
import 'package:ml_preprocessing/ml_preprocessing.dart';
619619
620620
void main() async {
621-
final samples = getIrisDataset()
621+
final samples = getIrisDataFrame()
622622
.shuffle()
623-
.dropSeries(seriesNames: ['Id']);
623+
.dropSeries(names: ['Id']);
624624
625625
final pipeline = Pipeline(samples, [
626-
encodeAsIntegerLabels(
627-
featureNames: ['Species'], // Here we convert strings from 'Species' column into numbers
626+
toIntegerLabels(
627+
columnNames: ['Species'], // Here we convert strings from 'Species' column into numbers
628628
),
629629
]);
630630
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: ml_algo
22
description: Machine learning algorithms, Machine learning models performance evaluation functionality
3-
version: 16.17.11
3+
version: 16.17.12
44
homepage: https://github.com/gyrdym/ml_algo
55

66
environment:

0 commit comments

Comments
 (0)