IBM Watson - Rank items based users reveled preferences - ibm-watson

In an ecommerce website, users can bookmark products and bookmark other users.
I'd like to display a custom feed of products for logged-in users.
Questions:
1) How to get products user would like most, based on the similarity of products they bookmarked.
2) What services should best fit this use case?
I though in 'retrieve-and-rank' as starting point, but maybe 'Personality Insights' also should be used in conjunction with retrieve-and-rank.
Can you provide a simple code or query as example?

There is one example available in Watson Starter kit "Answer Retrieval app" to customize R&R.Below is the link
https://github.com/watson-developer-cloud/answer-retrieval

Related

Search tags on a specific user profile (Instagram)

As a part of my yearly career goals at work I decided I would try and tackle a simple database-tyoe webpage.
I was curious if there was a way for me to search tags on a specific user profile (Instagram)?
My idea is to code a single-page webpage that uses a search function to find tagged posts on a specific users Instagram account and display the results. Is this possible? Tips or resources would be helpful.
There is currently no Instagram API endpoint that will allow you to retrieve all hashtagged photos for a specific user. You will need to retrieve all the users posts using the user https://developers.facebook.com/docs/instagram-api/reference/user/ endpoint and then filter the results.

Framework Advice

I have a site that was done in CakePHP but I want to redevelop to give it a fresher feel.
The object of the site is to create a document the user can download or email to them. The user will select options from a drop down menus from data stored in the DB, the user is given many forms and options in about 5 steps, and the end product is a file (which I would like to be in word, pdf, txt...something the user will select).
The user will also have the option to select the look of their document from various layouts.
Main functionality required is the ability to spell check, create a preview, create a document in various formats.
Thanks for the advice!
By seeing your posted question, I would recommend angular 4 alongwith firebase. Checkout Firebase by Google Firebase will provide you the option to mail documents and show dbs etc. very well.

How to (approach) building user profiles / areas

**edit: I realise this is a somewhat general post, I am merely looking for some guidance, examples etc.
I have just set out with the goal of (self)learning some deeper web development and have started with Angularjs. I have realised that I learn better when building towards a set project.
With that in mind, I set out to build a relatively simple web app where by users (mainly aimed at Professional chefs) can log in, access their profiles /user area. Users can then add items to a food ingredient database which may include variables such as weight, quantity,price etc. They can then add recipes, drawing from the ingredient database, with the app returning their food cost, tax breakdown as well other predefined calculations.
I have already built the bare bones of the application with Angularjs handling He various front end routes and layout.
I have wired the app to use Firebase for the purposes of User authentication and registration components.
As I mentioned, I am mostly self learning and I'd like some pointers on how to implement a user profile area with Angularjs, using Firebase as the back-end database.
I'd like to achieve the following:
after user login, direct to a user specific page
The user page/area should have abilities such as: profile photo upload, change email, change password etc (usual user operations)
Once the above is achieved:
seperate pages where users can add to their database of ingredients
seperate page where users can create recipes utilising database items, returning cost breakdown etc.
The user operations page / area is my main concern for the moment.
Thanks in advance.

Return top viewed items by country using data from Google Analytics

So I have an app written in Go on App Engine where I have items in Datastore and provide search through the Search API. Users can view the items and doing so feeds view events with country information to Google Analytics.
I would like to understand how to use that information to e.g. return Top Viewed Items by Country?
I have researched this topic quite a bit, but have not found a good approach yet. There is a rank in Search, but that value will be different for each country so I cannot use that.
I can see that having different indexes (one per country) and using that rank field or a rank field per country would provide what I want. What if the items are hundreds of thousands or more? What if I would like to offer trending that might need to be updated often across the whole dataset and not just a counter? Is this the best approach?
Maybe this is a limitation of what I currently can do on App Engine?
How would one approach this generally and maybe with another Search like Elastic Search?
Thanks in advance!
Try this report:
Google Analytics > Reporting > Behavior > Site Content > All Pages

Track user selected values on ecommerce(amazon.com) website (GAE Python) using Google Analytics API

I have designed an ecommerce website like amazon.com. I want to collect user analytics data on my website. I am still evaluating options and Google Analytics API looks good as it does not charge anything for a good amount of usage. And it should be fast.
What information do I want to collect about user behavior on my website:
What "dropdown" menu values do they select(say for narrowing down the exact product category)
What "checkboxes" do they select to filter out based on price range, size, type, or a specific feature
Which result entries(matched products) on the search page do they click
It would be good if I could get the time of day when the above happened
Also how long the user viewed a page (with an upper limit for cases when a user opens a tab and forgets to close it)
I hope the Google Analytics API has some feature to prepare charts based on the above data, as well as provide the average monthly values for the above counts
I decided to use an external Analytics tool since writing into NDB would take time, increase writes and increase the storage requirement
Any guidance is highly appreciated.. Anyone who has implemented similar analytics for their website, please share your advice..

Resources