Popularity
5.1
Declining
Activity
0.0
Stable
157
12
33
Programming language: Go
License: MIT License
Tags:
Machine Learning
shield alternatives and similar packages
Based on the "Machine Learning" category.
Alternatively, view shield alternatives based on common mentions on social networks and blogs.
-
m2cgen
Transform ML models into a native code (Java, C, Python, Go, JavaScript, Visual Basic, C#, R, PowerShell, PHP, Dart, Haskell, Ruby, F#, Rust) with zero dependencies -
gago
:four_leaf_clover: Evolutionary optimization library for Go (genetic algorithm, partical swarm optimization, differential evolution) -
onnx-go
DISCONTINUED. onnx-go gives the ability to import a pre-trained neural network within Go without being linked to a framework or library. -
neat
DISCONTINUED. Plug-and-play, parallel Go framework for NeuroEvolution of Augmenting Topologies (NEAT).
InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
Promo
www.influxdata.com
Do you think we are missing an alternative of shield or a related project?
Popular Comparisons
README
Shield is a bayesian text classifier with flexible tokenizer and backend store support
Currently implemented:
- Redis backend
- English tokenizer
Example
package main
import (
"github.com/eaigner/shield"
)
func main() {
sh := shield.New(
shield.NewEnglishTokenizer(),
shield.NewRedisStore("127.0.0.1:6379", "", 0),
)
sh.Learn("good", "sunshine drugs love sex lobster sloth")
sh.Learn("bad", "fear death horror government zombie god")
c, _ := sh.Classify("sloths are so cute i love them")
if c != "good" {
panic(c)
}
c, _ = sh.Classify("i fear god and love the government")
if c != "bad" {
panic(c)
}
}