Skip to content

Latest commit

 

History

History
80 lines (58 loc) · 3.43 KB

Changes.md

File metadata and controls

80 lines (58 loc) · 3.43 KB

What's new in Incanter

Changes for 1.5.0

Bugfixes

  • Issue 157: when transform-with was used with Matrix, then source data was modified instead of working on copy of data
  • Issue 160: when 2-arguments version of solve was used, the exception was thrown

Changes for 1.5.0

Enhancements

  • incanter-core's matrix uses native BLAS through jBLAS/Clatrix - this greatly improves performance (on 64-bit Linux see "Known issues" section).
  • several interpolation functions were added to incanter-core module (as incanter.interpolation namespace).
  • a new option is added to heat-map - :include-zero?.
  • the tail function was added.
  • new function reorder-columns for a dataset that changes the order of appearance of the datset columns. It does not alter the row order.
  • save will print data to standard output if "-" is specified as file name.
  • sel and other functions ($, head, tail, etc.) can be used with lists (java.util.List).
  • the toeplitz function was added to generate Toeplitz matrix for given vector.
  • the scatter-plot-matrix function was added to incanter.chart module.
  • incanter.optimize was extended with minimize and maximise functions for performing unconstrained nonlinear optimization using the BFGS algorithm.
  • the new incanter.svg module provides save-svg function to output charts to SVG files. Include incanter-svg as dependency to use this functionality.

Many bugfixes

  • for function & parametric plots, line is finished in max-range point.
  • permutation matrix is returned in LU decomposition.
  • linear-model now correctly calculates t-probs.
  • fixed division by zero in linear-model for some data.

Modified behavior

  • sel will return dataset when :rows or :cols are non-numbers - this changes previous behaviour when list was returned if only one row or col was specified.
  • mult & mmult always return matrices, even if it's 1x1 matrix.

Known issues

  • conj'ing of matrix & vector doesn't work with new Clatrix - you can either use bind-rows, or wrap vector into another vector:

    (def M (matrix [[0 1] [2 3] [4 5]])) (conj M [6 7]) ; => doesn't work (bind-rows M [6 7]) ; => works (conj M [[6 7]]) ; => works

  • decomp-qr performs only full QR decomposition, and the :type parameter is ignored.

  • On 64-bit Linux you need to install libgfortran3 package. See jblas wiki for more details

Updated dependencies

  • Clatrix: 0.3.0
  • Clojure: 1.5.1
  • JLine: 2.11

Changes for 1.4.x

Major changes are:

  • The incanter.sql module was added to allow load datasets from databases using ClojureQL.
  • Support for parametric plots in incanter.chart module
  • Bugfixes

Changes for 1.3.x

Major changes are:

  • Switch to Leiningen 2 for development
  • Incanter-processing was removed. It's recommended to use Quil instead
  • Updated versions of dependencies:
    • Clojure: 1.4.0
    • Parallelcolt: 0.10.0
    • math.combinatorics: 0.0.3
    • Apache POI (for incanter.excel): 3.8
    • clj-time: 0.4.4
    • Congomongo: 0.3.3
  • incanter.core/get-input-stream & incanter.core/get-input-reader are removed in favor of input-stream & reader from clojure.java.io
  • Many bugfixes -- thank you for all people who sent us pull requests!