ml_preprocessing 7.0.2 copy "ml_preprocessing: ^7.0.2" to clipboard
ml_preprocessing: ^7.0.2 copied to clipboard

Popular data preprocessing algorithms for machine learning

example/main.dart

import 'package:ml_dataframe/ml_dataframe.dart';
import 'package:ml_preprocessing/ml_preprocessing.dart';

Future main() async {
  final dataFrame = await fromCsv('example/dataset.csv', columns: [0, 1, 2, 3]);

  final pipeline = Pipeline(dataFrame, [
    toOneHotLabels(
      columnNames: ['position'],
      headerPostfix: '_position',
    ),
    toIntegerLabels(
      columnNames: ['country'],
    ),
  ]);

  print(pipeline.process(dataFrame).toMatrix());
}
16
likes
120
pub points
68%
popularity

Publisher

verified publisherml-algo.com

Popular data preprocessing algorithms for machine learning

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

ml_dataframe, ml_linalg, quiver

More

Packages that depend on ml_preprocessing