• This repository has been archived on 14/Sep/2023
  • Stars
    star
    44
  • Rank 612,491 (Top 13 %)
  • Language
    Go
  • License
    Other
  • Created about 11 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

liblinear bindings for Go

Introduction

Report card GoDoc

golinear is a package for training and using linear classifiers in the Go programming language (golang).

Installation

To use this package, you need the liblinear library. On Mac OS X, you can install this library with Homebrew:

brew install liblinear

Ubuntu and Debian provide packages for liblinear. However, at the time of writing (July 2, 2014), these were serverly outdated. This package requires version 1.9 or later.

This latest API-stable version (v1) can be installed with the go command:

go get gopkg.in/danieldk/golinear.v1

or included in your source code:

import "gopkg.in/danieldk/golinear.v1"

The package documentation is available at: http://godoc.org/gopkg.in/danieldk/golinear.v1

OpenMP

If you wish to use liblinear with OpenMP support for multicore processing, please use this command to install the package:

CGO_LDFLAGS="-lgomp" CGO_CFLAGS="-DCV_OMP" go get github.com/danieldk/golinear

Plans

  1. Port classification to Go.
  2. Port training to Go.

We will take a pragmatic approach to porting code to Go: if the performance penalty is minor, ported code will flow to the main branch. Otherwise, we will keep it around until the performance is good enough.

Examples

Examples for using golinear can be found at:

https://github.com/danieldk/golinear-examples

More Repositories

1

dictomaton

Finite state dictionaries in Java
Java
129
star
2

tensorflow

Go binding for Tensorflow
Go
129
star
3

go2vec

Read and use word2vec vectors in Go
Go
50
star
4

nix-home

Nix home environment
Nix
43
star
5

dpar

Neural network transition-based dependency parser (in Rust)
Rust
41
star
6

citar-cxx

Citar part of speech tagger
C++
40
star
7

jitar

Jitar HMM part of speech tagger
Java
22
star
8

awesome-glove80

Because Glove80 is awesome
16
star
9

citar

Citar HMM part-of-speech tagger
Go
15
star
10

sentencepiece

Rust binding for the sentencepiece library
Rust
12
star
11

par

Parallel for loops and maps for Go
Go
10
star
12

rust2vec

Read/write word2vec and GloVe embeddings in Rust
Rust
9
star
13

conllu

Reader/writer for the CoNLL-U format
Rust
8
star
14

tinyest

Tiny maximum entropy model parameter estimator
C
8
star
15

quzah

Generate sets of distinct colors
Java
8
star
16

brainfuck-pl

A brainf*ck interpreter in Prolog
Prolog
8
star
17

gemm-benchmark

Simple [sd]gemm benchmark, similar to ACES dgemm
Rust
8
star
18

conllx-utils

CoNLL-X utilities
Rust
7
star
19

conllx-rs

CoNLL-X reader and writers for Rust
Rust
7
star
20

gosvm

Go binding for libsvm
Go
6
star
21

golinear-examples

Examples for the golinear package.
Go
5
star
22

conllx

Go reader for the CONLL-X format
Go
4
star
23

dotfiles

Personal dotfiles
Vim Script
4
star
24

digest-pure

Pure implementation of the digest package
Haskell
3
star
25

wordpieces

Split tokens into word pieces
Rust
3
star
26

ir-examples

IR16/17 examples
Jupyter Notebook
3
star
27

viscosity-workflow

Alfred 2 workflow for Viscosity
Python
3
star
28

snakefusion

🐍 A slim, low-maintenance Python wrapper for finalfusion.
Rust
3
star
29

toponn

Topological field prediction, deprecated for sticker:
3
star
30

conllu-utils

Utilities for working with CoNLL-U
Rust
3
star
31

alpino-tokenizer

Rust wrapper for the Alpino tokenizer
Rust
3
star
32

dl4nlp-examples

DL4NLP examples
Jupyter Notebook
3
star
33

thinc-rust-ops

Non-official(!) Rust Thinc Ops, with SIMD-vectorized implementations of many ops. Because Ops are fun to implement.
Rust
3
star
34

chu-liu-edmonds

Chu-Liu-Edmonds minimal spanning tree (MST) decoding
Rust
2
star
35

rtrie

Randomized ternary tries
Rust
2
star
36

simpletbl

Tranformation-based learner for tagging
C++
2
star
37

vec2web

Small go2vec demo application
HTML
2
star
38

approx-rand-test

Approximate randomization test
Haskell
2
star
39

gosvm-examples

Examples for the gosvm package
Go
2
star
40

ndarray-tensorflow

Tensor wrapper with ndarray API
Rust
2
star
41

sics-zlib

zlib binding for SICStus Prolog
C
1
star
42

conllx-view

Small CoNLL-X treebank viewer
Rust
1
star
43

alpino-tools

Various tools to deal with Alpino data
Haskell
1
star
44

alpino-tokenizer-python

Rust
1
star
45

kinesis-advantage

Kinesis Advantage2/360 notes
1
star
46

seqalign

Sequence alignments
Rust
1
star
47

transformers-examples

Jupyter Notebook
1
star
48

nix-packages

My Nix package set
Nix
1
star
49

headline-generation

Transformation-based learner for headline generation
Java
1
star