svm-light-utils-0.1.2: Parsers and formatters for the SVMlight input file format

Safe HaskellNone
LanguageHaskell2010

Math.SVM.SVMLight.Utils

Contents

Description

This package provides a variety of utilities for parsing and producing SVMlight input files.

Synopsis

Types

newtype Qid Source

Constructors

Qid Int 

newtype FeatureIdx Source

A feature identifier

Constructors

FIdx Int 

data Point Source

A sample point (e.g. a line of an SVMlight input file).

Constructors

Point 

Parsing SVMlight files

point :: Parser Point Source

Parse a sample point

Generating SVMlight files

renderPoints :: [Point] -> Builder Source

A Builder containing the given Points

renderPoint :: Point -> Builder Source

A Builder containing the given Point