All Projects → apache → predictionio-sdk-java

apache / predictionio-sdk-java

Licence: Apache-2.0 license
PredictionIO Java SDK

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to predictionio-sdk-java

predictionio-template-similar-product
PredictionIO Similar Product Engine Template (Scala-based parallelized engine)
Stars: ✭ 50 (-53.27%)
Mutual labels:  big-data, predictionio
predictionio-sdk-php
PredictionIO PHP SDK
Stars: ✭ 269 (+151.4%)
Mutual labels:  big-data, predictionio
predictionio-template-ecom-recommender
PredictionIO E-Commerce Recommendation Engine Template (Scala-based parallelized engine)
Stars: ✭ 73 (-31.78%)
Mutual labels:  big-data, predictionio
predictionio-sdk-ruby
PredictionIO Ruby SDK
Stars: ✭ 192 (+79.44%)
Mutual labels:  big-data, predictionio
Attic Predictionio
PredictionIO, a machine learning server for developers and ML engineers.
Stars: ✭ 12,522 (+11602.8%)
Mutual labels:  big-data, predictionio
predictionio-template-attribute-based-classifier
PredictionIO Classification Engine Template (Scala-based parallelized engine)
Stars: ✭ 38 (-64.49%)
Mutual labels:  big-data, predictionio
predictionio
PredictionIO, a machine learning server for developers and ML engineers.
Stars: ✭ 12,510 (+11591.59%)
Mutual labels:  big-data, predictionio
predictionio-template-java-ecom-recommender
PredictionIO E-Commerce Recommendation Engine Template (Java-based parallelized engine)
Stars: ✭ 36 (-66.36%)
Mutual labels:  big-data, predictionio
predictionio-template-recommender
PredictionIO Recommendation Engine Template (Scala-based parallelized engine)
Stars: ✭ 80 (-25.23%)
Mutual labels:  big-data, predictionio
predictionio-sdk-python
PredictionIO Python SDK
Stars: ✭ 199 (+85.98%)
Mutual labels:  big-data, predictionio
phoenix-queryserver
Apache Phoenix Query Server
Stars: ✭ 33 (-69.16%)
Mutual labels:  big-data
awesome-coder-resources
编程路上加油站!------【持续更新中...欢迎star,欢迎常回来看看......】【内容:编程/学习/阅读资源,开源项目,面试题,网站,书,博客,教程等等】
Stars: ✭ 54 (-49.53%)
Mutual labels:  big-data
lidbox
End-to-end spoken language identification out of the box.
Stars: ✭ 39 (-63.55%)
Mutual labels:  big-data
data-viz-utils
Functions for easily making publication-quality figures with matplotlib.
Stars: ✭ 16 (-85.05%)
Mutual labels:  big-data
couchdb-pkg
Apache CouchDB Packaging support files
Stars: ✭ 24 (-77.57%)
Mutual labels:  big-data
big-data-engineering-indonesia
A curated list of big data engineering tools, resources and communities.
Stars: ✭ 26 (-75.7%)
Mutual labels:  big-data
cdp-service
cdp数据平台,帮助企业充分了解客户,实现千人千面的精准营销。
Stars: ✭ 30 (-71.96%)
Mutual labels:  big-data
Quantitative-Big-Imaging-2018
(Latest semester at https://github.com/kmader/Quantitative-Big-Imaging-2019) The material for the Quantitative Big Imaging course at ETHZ for the Spring Semester 2018
Stars: ✭ 50 (-53.27%)
Mutual labels:  big-data
sgd
An R package for large scale estimation with stochastic gradient descent
Stars: ✭ 55 (-48.6%)
Mutual labels:  big-data
yildiz
🦄🌟 Graph Database layer on top of Google Bigtable
Stars: ✭ 24 (-77.57%)
Mutual labels:  big-data

Apache PredictionIO Java SDK

This bulk of this README is divided into two sections: Using the SDK and developing the SDK. Choose the one the suits you. For support please see the bottom of this README.

Using the SDK

With Maven

If you have a Maven project, simply add the dependency to your pom.xml.

<project ...>
    ...
    <dependencies>
        <dependency>
            <groupId>org.apache.predictionio</groupId>
            <artifactId>predictionio-sdk-java-client</artifactId>
            <version>0.13.0</version>
        </dependency>
    </dependencies>
    ...

With Ivy

If you use Ivy, simply add the dependency to your ivy.xml.

<ivy-module ...>
    ...
    <dependencies>
        <dependency org="org.apache.predictionio" name="predictionio-sdk-java-client" rev="0.13.0" />
        ...
    </dependencies>
    ...

With sbt

If you have an sbt project, add the library dependency to your build definition.

libraryDependencies += "org.apache.predictionio" % "predictionio-sdk-java-client" % "0.13.0"

Examples

Please check out the examples under examples/.

Developing SDK - Building from Source

Fork and clone from GitHub. The following assumes you are cloning to your home directory.

cd ~
git clone https://github.com/<your_github_handle>/predictionio-sdk-java.git

To build this SDK you will need Maven 3+. Run the following to publish the module to your local Maven repository.

cd ~/predictionio-sdk-java
mvn clean install

Run the following to generate API documentation.

mvn javadoc:javadoc

Running CLI Examples

Building

If your PredictionIO server is not at localhost, edit the source and replace API URLs with your redictionIO server host.

To build these examples you will need Maven 3+. Run the following in each example's directory, e.g.

cd ~/predictionio-sdk-java/examples/quickstart_import
mvn clean compile assembly:single
cd ~/predictionio-sdk-java/examples/import
mvn clean compile assembly:single

These will create JAR files with all dependencies built in.

Try It Now

For running the quick start example (quickstart_import), please refer to the "Quick Start" page of the PredictionIO documentation. Most importantly, create an App with pio new app MyApp and take note of the Access Key produced, which will be <your accessKey here> in the following.

For quickstart_import,

cd ~/predictionio-sdk-java/examples/quickstart_import
java -jar target/quickstart-import-<latest version>-jar-with-dependencies.jar <your accessKey here>

To check the data has been imported successfully, run

curl -i -X GET http://localhost:7070/events.json?accessKey=<your accessKey here>

To import the provided small sample data for the import example using asynchronous calls:

cd ~/predictionio-sdk-java/examples/import
java -jar target/sample-import-<latest version>-jar-with-dependencies.jar <your accessKey here> sampledata/sample1.txt

To check the data is imported properly, run

curl -i -X GET http://localhost:7070/events.json?accessKey=<your accessKey here>

Enjoy!

Support

Bugs and Feature Requests

Use Apache JIRA to report bugs or request new features.

Community

Keep track of development and community news.

Contributing

Read the Contribute Code page.

License

Apache PredictionIO is under Apache 2 license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].