Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New/heuristics #54

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

New/heuristics #54

wants to merge 3 commits into from

Conversation

rafaza
Copy link

@rafaza rafaza commented Dec 17, 2018

Made changes with suggestions.

Sleepless Account checks if a user have resting periods.

Collaterals
- Add tweet_date function in utils.py.
- Add call to is_sleepless in bot_detector.py.
- Add weight of 3 for sleepless account in heuristic_weights.json.
Tweet Frequency calculates the frequency per hour in average.

Returns dictionary with:
- tweets_per_hour
- tweets_in_most_inactive_day
- tweets_in_most_active_day
- tweets_in_last_active_day
- mode

Collaterals
- Add call to frequency in bot_detector.py, and only use tweet_per_hour.
- Add weight of 3 for tweet frequency in heuristic_weights.json.
@cdparra cdparra requested review from joausaga and cdparra April 5, 2019 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant