Want to create interactive content? It’s easy in Genially!

Get started free

Computer science presentation

Gabriele Volani

Created on May 17, 2021

Start designing with a free template

Discover more than 1500 professional designs like these:

Tarot Presentation

Vaporwave presentation

Women's Presentation

Geniaflix Presentation

Shadow Presentation

Newspaper Presentation

Memories Presentation

Transcript

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