Description
It's a simple Ruby Datumbox Wrapper. It has only one class, called Datumbox (datumbox.rb), which makes all the work for you. We use the RestClient library to make remote calls to the Datumbox API. This class has one method to each available service provided by the Datumbox.
First off, remember to get your API Key accessing and registering yourself at the Datumbox website. Second, create a new instance of the Datumbox class passing your API Key as parameter to its constructor. Like this:
Ruby Datumbox Wrapper alternatives and similar gems
Based on the "Machine Learning" category.
Alternatively, view Ruby Datumbox Wrapper alternatives based on common mentions on social networks and blogs.
-
PredictionIO Ruby SDK
PredictionIO Ruby SDK -
Ruby Linear Regression
Linear regression implemented in Ruby. -
Edits
Edit distance algorithms inc. Jaro, Damerau-Levenshtein, and Optimal Alignment
Clean code begins in your IDE with SonarLint
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Ruby Datumbox Wrapper or a related project?
README
Ruby Datumbox Wrapper
It's a simple Ruby Datumbox Wrapper. It has only one class, called Datumbox (datumbox.rb
), which makes all the work for you. We use the RestClient library to make remote calls to the Datumbox API. This class has one method to each available service provided by the Datumbox.
First off, remember to get your API Key accessing and registering yourself at the Datumbox website. Second, create a new instance of the Datumbox class passing your API Key as parameter to its constructor. Like this:
datumbox = Datumbox.new('YOUR API KEY GOES HERE')
Usage:
datumbox = Datumbox.new('YOUR API KEY GOES HERE')
datumbox.language_detection(text: 'El paraguas es de mi color favorito')
datumbox.response = subject.keyword_extraction(text: 'Banana split', n: 1)
datumbox.document_similarity(original: 'This document is unique.', copy: 'No, bastard! This document here is unique!.')
Methods
You can call any method from the Datumbox API by writing it in underscore. For example the method TopicClassification
should be called as topic_classification
.
For a list of all the available methods, read the Datumbox API documentation
When new methods are added to the API, this wrapper will automatically work with them.