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 best solutions below
Related Questions in DATA-SCIENCE
- How access a downloaded library that is not showing up?
- Convert groupby.DataFrameGroupBy object to a dictionary in Python
- How can I detect keypresses using accelerometer/gyroscope data?
- Multiple Linear Regression handle NA
- Input/output error while copying from hadoop file system to local
- Removing duplicated values with missing values in a dataframe
- R editing dataframe based on column value
- PredictionIO Universal Recommender
- Pandas : TypeError: float() argument must be a string or a number
- Text classification algorithms which are not Naive?
- adding row generated inside a loop to a new data frame
- How to read multiple line elements in Spark , where each record of log is starting with yyyy-MM-dd format and each record of log is multi-line?
- Pandas merge duplicate DataFrame columns preserving column names
- How to plot multiple graphs in one chart using pygal?
- Removing non-English words from text using Python
Related Questions in PREDICTIONIO
- Predictionio evaluation fails with empty.maxBy exception and training with java.lang.OutOfMemoryError
- Is it Item based or content based Collaborative filtering?
- Predictionio very large task size
- PredictionIO train error tokens must not be empty
- PredictionIO Universal Recommender
- predictionio seems to be misreading my arguments
- predictionio: why can I make post requests with curl but not python?
- Combine search engine and machine learning
- TextClassification of PredictionIO WILL NOT get trained. NO MATTER WHAT
- PredictionIO suggest to like items that have already been liked
- PredictionIO adding new algorithms
- Python SDK installation error
- Error while training Prediction.io in naive classification?
- Node /hbase is not in ZooKeeper
- PredictionIO train failed in HDInsight Yarn Cluster
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)
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?
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" }