goscore alternatives and similar packages
Based on the "Machine Learning" category.
Alternatively, view goscore 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.
Do you think we are missing an alternative of goscore or a related project?
Popular Comparisons
README
Goscore
Go scoring API for Predictive Model Markup Language (PMML).
Currently supports Neural Network, Decision Tree, Random Forest and Gradient Boosted Models
Will be happy to implement new models by demand, or assist with any other issue.
Contact me here or at [email protected].
Tutorial - Deploy Machine Learning Models from R Research to Go Production with PMML
Installation
go get github.com/asafschers/goscore
Usage
Random Forest / Gradient Boosted Model
Fetch model from PMML file -
modelXml, _ := ioutil.ReadFile("fixtures/model.pmml")
var model goscore.RandomForest // or goscore.GradientBoostedModel
xml.Unmarshal([]byte(modelXml), &model)
Set features -
features := map[string]interface{}{
"Sex": "male",
"Parch": 0,
"Age": 30,
"Fare": 9.6875,
"Pclass": 2,
"SibSp": 0,
"Embarked": "Q",
}
Score features by model -
score, _ := model.Score(features, "1") // gbm.score doesn't recieve label
Score faster -
runtime.GOMAXPROCS(runtime.NumCPU()) // use all cores
score, _ := model.ScoreConcurrently(features, "1") // parallelize tree traversing
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/asafschers/goscore. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
License
The gem is available as open source under the terms of the MIT License.
*Note that all licence references and agreements mentioned in the goscore README section above
are relevant to that project's source code only.