ml_dataset_loader 0.1.0 copy "ml_dataset_loader: ^0.1.0" to clipboard
ml_dataset_loader: ^0.1.0 copied to clipboard

A lightweight Dart package to load datasets from CSV, JSON, and TXT files. Useful for machine learning preprocessing and data handling.

example/ml_dataset_loader_example.dart

import 'package:ml_dataset_loader/ml_dataset_loader.dart';

/// Example usage of the CSV dataset loader.
Future<void> main() async {
  final dataset = await loadCsvDataset(
    'assets/iris.csv',
    options: const CsvOptions(delimiter: ','),
  );

  print('Row count: ${dataset.rowCount}');
  print('First row: ${dataset.rows.first}');
}
0
likes
130
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight Dart package to load datasets from CSV, JSON, and TXT files. Useful for machine learning preprocessing and data handling.

Documentation

API reference

License

MIT (license)

Dependencies

path

More

Packages that depend on ml_dataset_loader