Youtube 2.0
a new algorithm for youtube
Start
yOUTUBE ALGORITHM
- gives value to the viewing time of a video
- show channels with many subscribers
- Clicks and likes on videos have a lot of influence
- titles and tags are very important for the diffusion of the video
Main features:
idea of the algorithm
To create an algorithm which to search with the criteria we have established
api
API = Application Programming InterfaceIt allows us to obtain data from sites (ex: social networks )Informations from Youtube:
- video: title, publication date, views
- channel: number of subscribers, comments, views
The structure of the algorithm
Definition of functions: to manage video data and operate with them.
Main part: where functions are called and the ranking is calculated.
What does it give in output?
A list of links of interesting videos of the topic chosen by the user.
What makes a good video?
Number of views
Days since publication
Number of subscribers of the channel
First criteria: number of views
More interesting is the video
More that video is promoted
More views it will have
What are his problems?
Small channels and clickbait titles or thumbanils
View-to-subscriber ratio
View-to-subscriber ratio=number of views/number of subscribers
What is his problem?
Enormous ratio for really small channels.
Remove the edge cases
Maximum view-to-subscriber ratio: 5
Minimum number of views: 5000
Date of release
Only videos of the last 7 days.
Final function
API KEY AND CONFIG.YAML
Google Colaboratory
GitHub
DRIVE.MOUT
LIBRARIES
DEFINITONS OF FUNCTIONS
config = load_yaml('/content/drive/MyDrive/youtube/config.yaml')
With this line of code we call the file "config.yaml" by indicating the path that leads to this file
CODE RUNNING
OUR OUTPUT
Error due to limitations of our school account
Warninglink to activate YouTube API
IDEAL OUTPUT
VS
IMPROVEMENTS
Optimising the code better
Improve the formula of video value
Solve the inefficiencies
Build an interface for users
Computer science presentation
Gabriele Volani
Created on May 17, 2021
Start designing with a free template
Discover more than 1500 professional designs like these:
View
Snow Presentation
View
Corporate Christmas Presentation
View
Historical Presentation
View
Scary Eighties Presentation
View
Memories Presentation
View
Winter Presentation
View
Hanukkah Presentation
Explore all templates
Transcript
Youtube 2.0
a new algorithm for youtube
Start
yOUTUBE ALGORITHM
Main features:
idea of the algorithm
To create an algorithm which to search with the criteria we have established
api
API = Application Programming InterfaceIt allows us to obtain data from sites (ex: social networks )Informations from Youtube:
The structure of the algorithm
Definition of functions: to manage video data and operate with them.
Main part: where functions are called and the ranking is calculated.
What does it give in output?
A list of links of interesting videos of the topic chosen by the user.
What makes a good video?
Number of views
Days since publication
Number of subscribers of the channel
First criteria: number of views
More interesting is the video
More that video is promoted
More views it will have
What are his problems?
Small channels and clickbait titles or thumbanils
View-to-subscriber ratio
View-to-subscriber ratio=number of views/number of subscribers
What is his problem?
Enormous ratio for really small channels.
Remove the edge cases
Maximum view-to-subscriber ratio: 5
Minimum number of views: 5000
Date of release
Only videos of the last 7 days.
Final function
API KEY AND CONFIG.YAML
Google Colaboratory
GitHub
DRIVE.MOUT
LIBRARIES
DEFINITONS OF FUNCTIONS
config = load_yaml('/content/drive/MyDrive/youtube/config.yaml')
With this line of code we call the file "config.yaml" by indicating the path that leads to this file
CODE RUNNING
OUR OUTPUT
Error due to limitations of our school account
Warninglink to activate YouTube API
IDEAL OUTPUT
VS
IMPROVEMENTS
Optimising the code better
Improve the formula of video value
Solve the inefficiencies
Build an interface for users