Rather than analyze the followers and following for a specific user, analyze the user themselves to see the gender of that specific user as determined by the algorithm.
This is useful in helping to make the algorithm better and to give people the ability to see how they are being gendered by this project.
My Python is a bit rusty so happy to get constructive feedback on how to do this differently. The way I tested this was to update analyze.py so that it could be run from the command-line.
Original usage still works to show the followers and following for a Twitter user:
python2.7 analyze.py beausimensen
With this PR, one can use the --self argument to instead get the gender of the specified Twitter user:
python2.7 analyze.py --self beausimensen
Similar functionality could be added to the web app at some point but not sure I'm the right person for that job.
Rather than analyze the followers and following for a specific user, analyze the user themselves to see the gender of that specific user as determined by the algorithm.
This is useful in helping to make the algorithm better and to give people the ability to see how they are being gendered by this project.
My Python is a bit rusty so happy to get constructive feedback on how to do this differently. The way I tested this was to update
analyze.py
so that it could be run from the command-line.Original usage still works to show the followers and following for a Twitter user:
With this PR, one can use the
--self
argument to instead get the gender of the specified Twitter user:Similar functionality could be added to the web app at some point but not sure I'm the right person for that job.