-
Notifications
You must be signed in to change notification settings - Fork 629
feature/add histogram #52
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
feature/add histogram #52
Conversation
Superjomn
commented
Jan 3, 2018
- remove the template from Entry so that Entry can set any field type easily.
- add the histogram
…L-1 into feature/add_histogram
with writer.mode(mode) as writer: | ||
histogram = writer.histogram(tag, num_buckets) | ||
for i in range(10): | ||
histogram.add_record(i, np.random.normal(0.1 + i * 0.01, size=1000)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里需不需要 set seed,这样每次产生的mock都是一致的?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
赞同
please update the code with develop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM