File: lib_svmlight_format.h

package info (click to toggle)
libocas 0.97%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 6,760 kB
  • sloc: ansic: 7,956; makefile: 103; sh: 7
file content (13 lines) | stat: -rw-r--r-- 357 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef lib_svmlight_format_h
#define lib_svmlight_format_h

#include <stdlib.h>
#include <stdint.h>

#define LIBSLF_MAXLINELEN 1000000

int32_t svmlight_format_parse_line(char *line, int32_t *label, uint32_t *feat_idx, double *feat_val);
int32_t svmlight_format_parse_line_doubley(char *line, double *label, uint32_t *feat_idx, double *feat_val);


#endif