From c4223c9a810c752240c3478c65eb3cafa7ca3061 Mon Sep 17 00:00:00 2001 From: Flutter Painter Date: Mon, 12 Aug 2024 16:01:29 +0200 Subject: [PATCH 1/2] Update README.md mention that web is possible fix the getIrisDataFrame and Pipeline example --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 30de5e2f..434b118e 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ The library is a part of the ecosystem: ## What is ml_algo for? The main purpose of the library is to give native Dart implementation of machine learning algorithms to those who are -interested both in Dart language and data science. This library aims at Dart VM and Flutter, it's impossible to use -it in web applications. +interested both in Dart language and data science. This library aims at Dart VM and Flutter. It is also possible to use +its core features in web applications using web assembly. ## The library content @@ -618,13 +618,13 @@ import 'package:ml_dataframe/ml_dataframe.dart'; import 'package:ml_preprocessing/ml_preprocessing.dart'; void main() async { - final samples = getIrisDataset() + final samples = getIrisDataFrame() .shuffle() - .dropSeries(seriesNames: ['Id']); + .dropSeries(names: ['Id']); final pipeline = Pipeline(samples, [ - encodeAsIntegerLabels( - featureNames: ['Species'], // Here we convert strings from 'Species' column into numbers + toIntegerLabels( + columnNames: ['Species'], // Here we convert strings from 'Species' column into numbers ), ]); } From 1281d23a394847324832b26aebc4e588b827062d Mon Sep 17 00:00:00 2001 From: Flutter Painter Date: Fri, 16 Aug 2024 15:19:20 +0200 Subject: [PATCH 2/2] do the boogie woogie --- CHANGELOG.md | 5 +++++ pubspec.yaml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5af3998a..932ddbf4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 16.17.12 +- update in README + - mention that web is possible + - fix the getIrisDataFrame and Pipeline example + ## 16.17.11 - Update contacts in README diff --git a/pubspec.yaml b/pubspec.yaml index 3d1bb9d6..c4990d52 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: ml_algo description: Machine learning algorithms, Machine learning models performance evaluation functionality -version: 16.17.11 +version: 16.17.12 homepage: https://github.com/gyrdym/ml_algo environment: