kosukeimai / wru

Who Are You? Bayesian Prediction of Racial Category Using Surname and Geolocation
130 stars 31 forks source link

parameter to turn off progress bar in Census data collection step #150

Open csfowler opened 5 months ago

csfowler commented 5 months ago

The new version of wru has a progress bar for use with collection of census data. I am running the analysis in batch mode on our computing cluster and the log files have gone from 15 KB to 100s of MB because it is recording "Progress: 100%\n" 10's of 1000's of times. I don't want to shut off the messaging completely because some of what it is reporting is useful, but the bloat from the progress bar seems like an easy fix to remove.

1beb commented 5 months ago

This would require a change to the function signature for predict_race, which I'm very hesitant to do this close to an election. We will add it to the list for the next version. Will leave this open. Thank you for reporting.