Skip to content

Instantly share code, notes, and snippets.

@mabdelfattah
Created October 3, 2019 09:36
Show Gist options
  • Save mabdelfattah/c291015d6f78bc7f9a4516e25259c27b to your computer and use it in GitHub Desktop.
Save mabdelfattah/c291015d6f78bc7f9a4516e25259c27b to your computer and use it in GitHub Desktop.

ML Requirements

AD Categories

ID Category
1 Real Estate
2 Fashion
3 Forex
4 Supplements

Content Categories:

ID Category
1 Politics
2 Automotive
3 Sport
4 Travel
5 Entertainment (Arts and Music)

Events

User ID Event Type Event Value
User 1 Content View 1
User 1 Content View 2
User 1 Ad Click 1
User 1 Content View 1
User 1 Content View 4
User 1 Ad Click 3
User 1 Content View 3
User 1 Content View 3
User 1 Ad Click 2
User 1 Content View 3
User 1 Content View 2
User 1 Ad Click 3
User 1 Content View 2
User 1 Content View 1
--- --- ---
User 2 Content View 3
User 2 Content View 2
User 2 Content View 2
User 2 Content View 2

What recommended content USER 1 should see?
What Ads USER 1 should see?
What Ads User 2 should see?

We need to exclude the Ads and Content that users have already read/clicked!

200,000 Write/Read per minute!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment