Code Monkey home page Code Monkey logo

demo-tapster's Introduction

Build Status

Apache PredictionIO is an open source machine learning framework for developers, data scientists, and end users. It supports event collection, deployment of algorithms, evaluation, querying predictive results via REST APIs. It is based on scalable open source services like Hadoop, HBase (and other DBs), Elasticsearch, Spark and implements what is called a Lambda Architecture.

To get started, check out http://predictionio.apache.org!

Table of contents

Installation

A few installation options available.

Quick Start

Bugs and Feature Requests

Use Apache JIRA to report bugs or request new features.

Documentation

Documentation, included in this repo in the docs/manual directory, is built with Middleman and publicly hosted at predictionio.apache.org.

Interested in helping with our documentation? Read Contributing Documentation.

Community

Keep track of development and community news.

Contributing

Read the Contribute Code page.

You can also list your projects on the Community Project page.

License

Apache PredictionIO is under Apache 2 license.

demo-tapster's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

demo-tapster's Issues

Deploying on heroku

I am trying to deploy this application on heroku just to see how I can interact with app & event server & engine running all running servers but am getting this error (Planning on destroying the app afterwards)

config_file=./config/unicorn-production.rb would not be accessible in working_directory=/home/tapster/Demo-Tapster
I understand this may be because /home/tapster/Demo-Tapster doesn't exist for me, but how may I change the path so that the app can run on a server?

Thank you!

mysql gem native extensions

I'm having issues with 'bundle install' for this project. I'm getting:

Error installing mysql2:
ERROR: Failed to build gem native extension.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.

Are you encountering this as well? Do I need to install mysql?

pio template get no longer supported

Error: Unknown argument 'apache/incubator-predictionio-template-similar-product'
Error: Unknown argument 'tapster-episode-similar'
Try -- for more information.
Usage: pio template list

No longer supported! Please use git to download and manage your templates.

Invalid app name

In the training step, the command fails:

pio train -- --driver-memory 4g

[INFO] [Console$] Using existing engine manifest JSON at /opt/PredictionIO/tapster-episode-similar/manifest.json
[INFO] [Runner$] Submission command: /opt/spark-1.4.1-bin-hadoop2.6/bin/spark-submit --driver-memory 4g --class io.prediction.workflow.CreateWorkflow --jars file:/opt/PredictionIO/tapster-episode-similar/target/scala-2.10/template-scala-parallel-similarproduct_2.10-0.1-SNAPSHOT.jar,file:/opt/PredictionIO/tapster-episode-similar/target/scala-2.10/template-scala-parallel-similarproduct-assembly-0.1-SNAPSHOT-deps.jar --files file:/opt/PredictionIO/conf/log4j.properties --driver-class-path /opt/PredictionIO/conf file:/opt/PredictionIO/lib/pio-assembly-0.9.4.jar --engine-id g0CmxuGQdUnqMQXBGtXm0IuoejS4ofMa --engine-version f8b844d2f1cb3a65f5a33bea39f50f7dd3d33853 --engine-variant file:/opt/PredictionIO/tapster-episode-similar/engine.json --verbosity 0 --json-extractor Both --env PIO_ENV_LOADED=1,PIO_ACCESS_KEY=OvPm8SbcFkICcHJo5G4wKl3Ebfr8JZ8R4xVml6QII9U0j8wa4qjxg5Cm2hMEt2z4,PIO_STORAGE_REPOSITORIES_METADATA_NAME=pio_meta,PIO_FS_BASEDIR=/home/ubuntu/.pio_store,PIO_HOME=/opt/PredictionIO,PIO_FS_ENGINESDIR=/home/ubuntu/.pio_store/engines,PIO_STORAGE_SOURCES_PGSQL_URL=jdbc:postgresql://localhost/pio,PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=PGSQL,PIO_STORAGE_REPOSITORIES_MODELDATA_SOURCE=PGSQL,PIO_STORAGE_REPOSITORIES_EVENTDATA_NAME=pio_event,PIO_STORAGE_SOURCES_PGSQL_PASSWORD=pio,PIO_STORAGE_SOURCES_PGSQL_TYPE=jdbc,PIO_FS_TMPDIR=/home/ubuntu/.pio_store/tmp,PIO_STORAGE_SOURCES_PGSQL_USERNAME=pio,PIO_STORAGE_REPOSITORIES_MODELDATA_NAME=pio_model,PIO_STORAGE_REPOSITORIES_EVENTDATA_SOURCE=PGSQL,PIO_CONF_DIR=/opt/PredictionIO/conf
[INFO] [Engine] Extracting datasource params...
[INFO] [WorkflowUtils$] No 'name' is found. Default empty String will be used.
[INFO] [Engine] Datasource params: (,DataSourceParams(tapster-episode-similar))
[INFO] [Engine] Extracting preparator params...
[INFO] [Engine] Preparator params: (,Empty)
[INFO] [Engine] Extracting serving params...
[INFO] [Engine] Serving params: (,Empty)
[INFO] [Remoting] Starting remoting
[INFO] [Remoting] Remoting started; listening on addresses :[akka.tcp://[email protected]:39315]
[INFO] [Engine$] EngineWorkflow.train
[INFO] [Engine$] DataSource: org.template.similarproduct.DataSource@601ef1a3
[INFO] [Engine$] Preparator: org.template.similarproduct.Preparator@4cf7ff2
[INFO] [Engine$] AlgorithmList: List(org.template.similarproduct.ALSAlgorithm@6dc9aeff)
[INFO] [Engine$] Data sanity check is on.
[ERROR] [Common$] Invalid app name tapster-episode-similar
Exception in thread "main" java.lang.IllegalArgumentException: Invalid app name tapster-episode-similar
    at io.prediction.data.store.Common$$anonfun$appNameToId$2.apply(Common.scala:47)
    at io.prediction.data.store.Common$$anonfun$appNameToId$2.apply(Common.scala:45)
    at scala.Option.getOrElse(Option.scala:120)
    at io.prediction.data.store.Common$.appNameToId(Common.scala:45)
    at io.prediction.data.store.PEventStore$.aggregateProperties(PEventStore.scala:103)
    at org.template.similarproduct.DataSource.readTraining(DataSource.scala:31)
    at org.template.similarproduct.DataSource.readTraining(DataSource.scala:18)
    at io.prediction.controller.PDataSource.readTrainingBase(PDataSource.scala:37)
    at io.prediction.controller.Engine$.train(Engine.scala:640)
    at io.prediction.controller.Engine.train(Engine.scala:174)
    at io.prediction.workflow.CoreWorkflow$.runTrain(CoreWorkflow.scala:65)
    at io.prediction.workflow.CreateWorkflow$.main(CreateWorkflow.scala:247)
    at io.prediction.workflow.CreateWorkflow.main(CreateWorkflow.scala)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:665)
    at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:170)
    at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:193)
    at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:112)
    at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.