Questions tagged [trending]
88 questions
17
votes
4 answers
Deciding and implementing a trending algorithm in Django
I have a Django application in which I need to implement a simple trending/ranking algorithm. I'm very lost as a :
I have two models, Book and Reader. Every night, new books are added to my database. The number of readers for each book are updated…

Mridang Agarwalla
- 43,201
- 71
- 221
- 382
10
votes
2 answers
What is search.twitter.com's "trending topics" algorithm?
What algorithm does twitter use to determine the 10 topics that you can see at search.twitter.com? I would like to implement that algorithm and I would also like to show the 50 most popular topics (instead of 10). Can you describe the most efficient…
quilby
9
votes
1 answer
Using ElasticSearch to find trends
I have implemented elastic search for my search and have a good feeling it could easily be leveraged for finding trends , but its a the tip of my tongue how one would start to go about such a thing. Can anyone point me in the right direction or give…

ChuckKelly
- 1,742
- 5
- 25
- 54
8
votes
3 answers
What is the best way of storing trend data?
I am currently building an application where I am importing statistical data for (currently) around 15,000 products. At current, if I was to maintain one database table for each day statistics from one source it would be increased by 15,000 rows of…

Aaron Murray
- 1,920
- 3
- 22
- 38
8
votes
2 answers
Algorithm(s) for spotting anomalies ("spikes") in traffic data
I find myself needing to process network traffic captured with tcpdump. Reading the traffic is not hard, but what gets a bit tricky is spotting where there are "spikes" in the traffic. I'm mostly concerned with TCP SYN packets and what I want to do…

Vatine
- 20,782
- 4
- 54
- 70
7
votes
0 answers
How I can get Tumblr trending through API?
How I can get posts from this page: https://www.tumblr.com/explore/trending through API?
I looked in the documentation, but found nothing.

vladpalchikov
- 141
- 1
- 4
6
votes
4 answers
Using Redis for "trending now" functionality
I'm working on a very high throughput site with many items, am looking into implementing "trending now" type functionality, that would allow users to quickly get a prioritized list of the top N items that have been viewed recently by many people,…

OneSolitaryNoob
- 5,423
- 3
- 25
- 43
5
votes
1 answer
Calculating increasing or decreasing trend over time in MySQL
I have a table store_visits with the following structure:
store_visits:
store_name: string
visit_count: integer
visit_date: date
My goal is to create a query that for each store and a given date range, will calculate:
Average Number of Visits…

navigator48
- 217
- 2
- 9
5
votes
0 answers
List most active users / trending developers on GitHub
There is a nice option get a list of top trending developers on GitHub using this url https://github.com/trending/developers
I just want to know if this is possible to get same data via some REST API. Please help.

Saikat
- 14,222
- 20
- 104
- 125
5
votes
2 answers
extracting hashtags out of Twitter trending topics data with Python Tweepy
I'm having a following problem:
using the Twitter API and tweepy module, I want to monitor the trending topics and extract hashtags out of the data.
This code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import tweepy, json
CONSUMER_KEY =…

bcrvc
- 315
- 5
- 20
4
votes
2 answers
Find trending tweets, with Tweepy, for a specific keyword
Bear with me, since I am still learning Python..
I want to be able to see the most trending tweets for a specific hashtag. I am able to find trending tweets and I am able to find tweets with a specific hashtag but I am at a loss when trying to…

Roronoa
- 55
- 2
- 8
3
votes
1 answer
NDepend Count, Average, etc.. reporting... aggregates. Possible? clean work arounds?
We have a huge code base, where methods with too many local variables alone returns 226 methods. I don't want this huge table being dumped into the xml output to clutter it up, and I'd like the top 10 if possible, but what I really want is the count…

Maslow
- 18,464
- 20
- 106
- 193
3
votes
2 answers
MYSQL Trending Query
I have a table called log that logs recently used items the columns are as follows:
u_id(a unique number)
item_id (an item id number)
access_time(a server timestamp)
I would like to create a query that finds the trend of the most accessed items…

Kern Elliott
- 1,659
- 5
- 41
- 65
3
votes
1 answer
how to calculate TRENDING WORDS in a twitter like scenario?
I am creating an application like twitter.
I am stuck at a point.
I have all the tweets stored with users profiles.
Now I have to create an algorithm to work better in performance wise to calculate the most trending words in the whole application…
user1379280
3
votes
4 answers
Calculate a trendline when the x-axis uses dates
The post on calculating trend lines on a scatter plot (How do I calculate a trendline for a graph?) is quite helpful, but I'm curious how one could go about finding a trend line on a graph where the x-axis is a DateTime field, rather than an…
Cole