Find Jobs
Hire Freelancers

Add Sorting Algorithm Feature To Existing Website

$30-250 USD

Probíhající
Zveřejněno přibližně před 5 roky

$30-250 USD

Zaplaceno při doručení
We have a website where users post video clips. We now want to sort the clips using Reddit's Hot Story Ranking algorithm. Allow users to like and dislike clips. A user can only like or dislike once per clip but the user can go between like and dislike but the total count will never be greater than 1 or -1. (Same as Reddit) Allow users to sort clips by Game/HOT. You can use [login to view URL] endpoint to cache/populate an auto complete or a dropdown menu. In the clip database there is a Game property on it that has the game name to match it against. The clips returned should come back sorted by the game and if the user does not decide to sort by game the default clips returned should just be the HOT clips for all games. HOT is an algorithm: Please Review the article heading: Digging into the story ranking code: [login to view URL] Below the heading will be the definition of the HOT ranking algorithm HOT Algorithm in Python: from datetime import datetime, timedelta from math import log epoch = datetime(1970, 1, 1) def epoch_seconds(date): td = date - epoch return [login to view URL] * 86400 + [login to view URL] + (float([login to view URL]) / 1000000) def score(ups, downs): return ups - downs def hot(ups, downs, date): s = score(ups, downs) order = log(max(abs(s), 1), 10) sign = 1 if s > 0 else -1 if s < 0 else 0 seconds = epoch_seconds(date) - 1134028003 return round(sign * order + seconds / 45000, 7) Instead of ups vs downs, it would be likes and dislikes. The Tech Stack: Node/Express, Mongodb, Handlebars, Materialize
IČ projektu: 18436311

O projektu

3 nabídky
Vzdálený projekt
Aktivní před 5 roky

Chcete si vydělat nějaké peníze?

Výhody podávání nabídek na Freelancer

Stanovte si rozpočet a časový rámec
Získejte za svou práci zaplaceno
Načrtněte svůj návrh
Registrace a podávání nabídek je zdarma
3 freelanceři nabízejí v průměru $183 USD za tuto práci
Avatar uživatele
hi I understand the project I assure you best work please message me so we can discuss more about the project
$166 USD v 7 dnech
5,0 (2 recenze)
1,4
1,4
Avatar uživatele
hi, I'm fullstack developer, i'm experience with nodeJS, mongoDB and so on. In my fulltime job, i'm in a company which specialized in all sort optimization algorithm (path optimization). it will be pretty easy for me to utilize HOT algorithm, and apply in your website. please chat with me.
$133 USD v 10 dnech
5,0 (1 recenze)
1,2
1,2

O klientovi

Pochází z UNITED STATES
Columbus, United States
5,0
3
Ověřená platební metoda
Členem od říj 16, 2018

Ověření klienta

Díky! Poslali jsme vám e-mailem odkaz pro získání kreditu zdarma.
Při odesílání e-mailu se něco pokazilo. Zkuste to prosím znovu.
Registrovaných uživatelů Zveřejněných projektů
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Načítání náhledu
Bylo uděleno povolení ke geolokaci.
Vaše doba přihlášení vypršela a byli jste odhlášeni. Přihlaste se znovu.