Safe Haskell | None |
---|---|
Language | Haskell2010 |
This package provides a variety of utilities for parsing and producing SVMlight input files.
- newtype Qid = Qid Int
- newtype FeatureIdx = FIdx Int
- data Point = Point {}
- point :: Parser Point
- featureIdx :: Parser FeatureIdx
- renderPoints :: [Point] -> Builder
- renderPoint :: Point -> Builder
Types
newtype FeatureIdx Source
A feature identifier
A sample point (e.g. a line of an SVMlight input file).
Parsing SVMlight files
featureIdx :: Parser FeatureIdx Source
Generating SVMlight files
renderPoints :: [Point] -> Builder Source
A Builder
containing the given Point
s
renderPoint :: Point -> Builder Source
A Builder
containing the given Point