@hackage dataframe-hasktorch0.4.0.0
Converts between dataframes and hasktorch tensors
Installation
Dependencies (5)
- base >=4.11 && <5
- dataframe-core ^>=2.1
- dataframe-operations ^>=2.1
- hasktorch >=0.2.1.6 && <0.3
- vector >=0.13 && <0.15 Show all…
Dependents (1)
@hackage/ihaskell-dataframe
This package provides seamless conversion between dataframes and hasktorch tensors, bridging the gap between data manipulation and machine learning workflows.
Key features:
Convert dataframes to floating-point or integer tensors for ML training
Automatic handling of multi-column and single-column dataframes
Smart dimensional handling (1D tensors for single columns, 2D for multiple)
Type-safe conversions with comprehensive error handling
Typical workflow: load and transform data using dataframes, then convert to tensors for training neural networks with hasktorch.