I am quite new to predictionIO/universal recommender and wondering is there any way to model events between multiple entities like I want one event courseTaken between user and courses. O there I want is workingIn which will be between user and project. So far I haven't seen that this thing is possible in predictionIO. Can anyone please guide me in this regard?
1
There are 1 answers
Related Questions in DATA-SCIENCE
- KEDRO - How to specify an arbitrary binary file in catalog.yml?
- Struggling to set up a sparse matrix problem to complete data analysis
- How do I remove slashes and copy the values into many other rows in pandas?
- Downloading full records from Entrez
- Error While calling "from haystack.document_stores import ElasticsearchDocumentStore"
- How to plot time series from 2 columns (Date and Value) by Python google colab?
- How to separate Hijri (Arabic) and Gregorian date ranges from on column to separate columns
- How to wait the fully download of a file with selenium(firefox) in python
- Survey that collects anonymous results, but tracks which recipient have responded
- Dataframe isin function Buffer was wrong number of dimensions error
- How to add different colours in an Altair grouped bar chart in python?
- Python Sorting list of dictionaries with nested list
- Float Division by Zero Error with Function Telling Greatest Power of a Number Dividing Another Number
- If a row contains at least two not NaN values, split the row into two separate ones
- DATA_SOURCE_NOT_FOUND Failed to find data source: mlflow-experiment. Please find packages at `https://spark.apache.org/third-party-projects.html
Related Questions in PREDICTIONIO
- Apache PredictionIO Similar Product Engine Template Install Problem
- Prediction IO engine build problem with sbt-launcher
- panic: runtime error: invalid memory address or nil pointer dereference with bigger data
- scala.reflect.internal.MissingRequirementError: object java.lang.Object in compiler mirror not found. PredictionIO SETUP
- Predictionio pio build succeeds but pio train error No 'name' is found
- "How to connect Docker container with api "
- How do I evaluate complimentary purchase template engine in predictionIO?
- How to combine two object elements
- How to print the content of a collection sequence
- json4s noSuchMethodError when querying deployed engine in predictionIO
- Problem with developing Engines with IntelliJ IDEA
- How to fix ' Error: Invalid or corrupt jarfile /root/.sbt/launchers/1.2.8/sbt-launch.jar'
- pio train fails with IOException: Connection reset by peer
- Array within an array of Vectors.dense in Spark
- PredictionIO deploy Error with spark cluster on yarn
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Coming from docs: When sending usage events it is required that the entityType is "user" and targetEntityType is "item". The type of the item is inferred from the event names, which must be one of the eventNames in the engine.json
Note that a usage event always is a user and has a user id. Also the "targetEntityType" is always "item". The actual target entity is implied by the event name. So to create a "category-preference" event you would send something like this:
{ "event" : "category-preference", "entityType" : "user", "entityId" : "1243617", "targetEntityType" : "item", "targetEntityId" : "electronics", "properties" : {}, "eventTime" : "2015-10-05T21:02:49.228Z" } To attach properties to items use a $set event like this:
{ "event" : "$set", "entityType" : "item", "entityId" : "ipad", "properties" : { "category": ["electronics", "mobile-phones"], "expireDate": "2016-10-05T21:02:49.228Z", "availableDate": "2015-10-05T21:02:49.228Z" }, "eventTime" : "2015-10-05T21:02:49.228Z" }
Based on above, secondary events are just like items, we need to do the following: 1. Add secondary events in configs, say ownProject 2. Add event with item id pointing to say the project, social, relation e.g.: { "event" : "own-Project", "entityType" : "user", "entityId" : "1243617", "targetEntityType" : "item", "targetEntityId" : "project-id", "properties" : {}, "eventTime" : "2015-10-05T21:02:49.228Z" }