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

outdated

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
0
pub points
65%
popularity

Publisher

verified publisherml-algo.com

Popular data preprocessing algorithms for machine learning

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

ml_dataframe, ml_linalg, quiver

More

Packages that depend on ml_preprocessing