mlr stats1
and stats2
now support a -s
feature in which means, linear regressions, etc. evolve record-by-record as new records appear over time. This is particularly useful in tail -f
contexts. See also http://johnkerl.org/miller/doc/reference.html#stats1 and http://johnkerl.org/miller/doc/reference.html#stats2.
mlr filter
now supports a -x
flag to negate the sense of the filter: instead of editing logic expressions e.g. from mlr filter '$x < 10 || $x > 20'
to mlr filter '$x >= 10 && $x <= 20'
, you can simply do mlr filter -x '$x < 10 || $x > 20'
. See also http://johnkerl.org/miller/doc/reference.html#filter.
- In the event a CSV file lacks header lines, you can use
mlr --implicit-csv-header
to add positional header 1,2,3,...
. You can also convert those to desired text using mlr label
. See also http://johnkerl.org/miller/doc/reference.html#label.
- Heterogeneity support is improved for
sort
, stats1
, stats2
, step
, head
, tail
, top
, sample
, uniq
, and count-distinct
. See also #79.
mlr stats2
now has a logistic-regression feature, but I recommend treating it as experimental until some numerical-stability issues involving my naïve Newton-Raphson solver are worked out -- namely, it doesn't converge in all cases.
http://johnkerl.org/miller/releases/miller-2.3.2/doc/