Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
AI & KI NachrichtenIs the AI industry really ready to slow down?(20.09.2026 um 20:56 Uhr)
Sichere ProgrammierungThe audio bugs nobody warns you about when you build a mobile looper(20.09.2026 um 20:18 Uhr)
Sichere ProgrammierungA Successful Response Can Still Belong to the Wrong Screen(20.09.2026 um 20:23 Uhr)
Sichere ProgrammierungGzip 1.15 fixes a wrong-file deletion race(20.09.2026 um 20:32 Uhr)
Sichere ProgrammierungWhen SQL Has Nothing to Say: Handling NULLs(20.09.2026 um 20:35 Uhr)
Sichere ProgrammierungWeb Programming in C++ with WFC(20.09.2026 um 20:37 Uhr)
AI & KI NachrichtenIs the AI industry really ready to slow down?(20.09.2026 um 20:56 Uhr)
Sichere ProgrammierungThe audio bugs nobody warns you about when you build a mobile looper(20.09.2026 um 20:18 Uhr)
Sichere ProgrammierungA Successful Response Can Still Belong to the Wrong Screen(20.09.2026 um 20:23 Uhr)
Sichere ProgrammierungGzip 1.15 fixes a wrong-file deletion race(20.09.2026 um 20:32 Uhr)
Sichere ProgrammierungWhen SQL Has Nothing to Say: Handling NULLs(20.09.2026 um 20:35 Uhr)
Sichere ProgrammierungWeb Programming in C++ with WFC(20.09.2026 um 20:37 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Native Machine Learning in Dart: `ml_knn` and `ml_logistic_regression` are Live on pub.dev!

Reagiere als Erste:r — dein Feedback zählt!

🧠 Introduction

The Dart ecosystem is growing fast — especially with Flutter. But when it comes to native machine learning (ML) capabilities inside Dart itself, the resources are almost nonexistent.

To address this gap, I’ve started developing a set of lightweight, native, and open-source machine learning packages in Dart. And now, the first two are officially published on pub.dev:

📦 What’s Available

1. ml_knn: K-Nearest Neighbors in Pure Dart

Use Cases:

  • Simple classification
  • Anomaly detection
  • Recommendation systems

Installation:

dependencies:
  ml_knn: ^1.0.0

Usage:

final model = KNN(k: 3);
model.fit([[1.0, 2.0], [2.0, 3.0], [3.0, 4.0]], ['A', 'B', 'B']);
final prediction = model.predict([[2.5, 3.5]]);
print(prediction); // ['B']

✅ Fully written in Dart

✅ Unit-tested and published on pub.dev

✅ Offline & mobile-friendly

2. ml_logistic_regression: Logistic Regression in Dart

Use Cases:

  • Binary classification
  • Probability-based predictions
  • Linear decision boundaries

Installation:

dependencies:
  ml_logistic_regression: ^1.0.0

Example:

final model = LogisticRegression(
  learningRate: 0.1,
  iterations: 1000,
  regularization: 0.01,
);

model.fit([[0, 0], [1, 1]], [0, 1]);
final prediction = model.predict([[0.5, 0.5]]);
print(prediction); // [0] or [1]

🧪 The model is validated with logical gate (AND) prediction tests

📈 All training is done natively in Dart – no Python, no API, no external libs.

🌱 Roadmap

This is just the beginning. Here's what I'm building next:

Package Status Description
ml_knn ✅ Live K-Nearest Neighbors (classification)
ml_logistic_regression ✅ Live Logistic regression
ml_fuzzy_matcher 🚧 In Progress AI-powered string similarity
ml_naive_bayes 🔜 Planned Naive Bayes Classifier
ml_linear_regression 🔜 Planned Linear regression
ml_kmeans 🔜 Planned Unsupervised clustering
ml_fin_scorer 🔜 Planned AI-powered financial scoring

🚀 Eventually, all will be part of a complete framework:

ml_flutter_basics

🔍 Why Native ML in Dart?

  • No need to host an API or use Python backends
  • Works offline, ideal for mobile apps
  • Seamless experience inside the Flutter ecosystem
  • Lightweight and fast to prototype in Dart

🤝 Contribute or Collaborate

I’m actively maintaining these projects and open to contributions!

✨ If you like the project, please give it a star!

💬 Issues, ideas, PRs — all are welcome.

📢 Final Thoughts

Machine learning in Dart should be accessible, lightweight, and usable in real-world apps — without always needing to call an external service or switch languages.

I’ll keep building these tools and sharing them publicly.

Thanks for reading!

Let’s make Dart smarter — together.

🙋‍♂️ About Me

I'm a Flutter & AI developer building native ML tools in Dart.

Also working on productivity apps like MergeNius, GreenPact, and more.

Building in public. Open to collaboration.

Let’s connect!

GitHub

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Native Machine Learning in Dart: `ml_knn` and `ml_logistic_regression` are Live on pub.dev!

Thematisch verwandte Begriffe: Native, Machine, Learning, Dart · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-93956 | A flaw has been found in olivier-ls PHP-FTS up to 1.1.2. Affected by thi…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick