Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: pankajgupta/simple_distribution
base: fd63acfb5e
...
head fork: pankajgupta/simple_distribution
compare: master
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 9 additions and 2 deletions.
  1. +1 −0  .gitignore
  2. +8 −2 README
View
1  .gitignore
@@ -0,0 +1 @@
+.*.swp
View
10 README
@@ -1,5 +1,11 @@
Reads each line from stdin, where each line is of one or two formats:
-1. <ignore> <value>
+1. <to-be-ignored> <value>
2. <value> <freq>
-This script outputs the distributions and various statistics of a group of such lines, on stdout as a comma separated set of lines. it has been tested to work on hundreds of millions of lines (which at the time of this writing take a few minutes on my computer).
+This script outputs the distributions and various statistics of a group of such lines, on stdout as a comma separated set of lines. it has been tested to work on hundreds of millions of lines (which at the time of this writing take a few minutes on my laptop).
+
+Example invocation:
+
+#input.txt: a file containing values of type 1 above where the first column is ignored. We use the '-v'
+#option for that format. Also, if you want the separator to be tab, on shell type Ctrl-v followed by <tab> key.
+distribution.rb -v -t' ' -p percentiles.txt < out_edges.txt

No commit comments for this range

Something went wrong with that request. Please try again.