Apophenia Changelog

What's new in Apophenia 0.999.19

Apr 11, 2014
  • Command-line tools print help should a user add a --help option.

New in Apophenia 0.996 (Oct 22, 2013)

  • all built-in models (apop_ols, apop_dirichlet, ...) are now apop_model* (ptr-to-struct), from apop_model (plain struct).
  • apop_estimate and apop_copy take in an apop_model instead of plain apop_model. printing no longer part of the apop_model struct; uses a vtable.

New in Apophenia 0.995 (Sep 17, 2013)

  • change vbase, m1base, m2base ==> vsize, msize1, msize2
  • Estimate returns void (was apop_model*)
  • vtable mechanism improvements
  • Remove score, predict, and parameter_model from the apop_model object; use the vtable mechanism.
  • Upgrade model p, ll, cdf, constraint to return long double (was double)
  • consolidate vector_var and vector_weighted_var. same with cov, mean, weighted_skew, and weighted_pop. Users just have to replace apop_vector_weighted_var with apop_vector_var.
  • removed deprecated.h entirely.
  • apop_data_add_named_elmts puts new data in the vector, not the matrix, because it is intended for a list of scalars (==a vector). If you use apop_data_get(infodata, .rowname="statistic name") then you'll be able to retrieve the element either way.
  • removed apop_line_to_data and apop_line_to_matrix. Use apop_data_fill and apop_data_falloc.

New in Apophenia 0.99.15 Beta (Aug 16, 2011)

  • Addition or improvement
  • Change that could require recoding existing code.
  • Big.

New in Apophenia 0.99.08 Beta (Mar 9, 2011)

  • The apop_PMF model has more support:
  • New supporting functions: apop_data_pmf_compress, apop_model_to_pmf
  • functions that took apop_histogram models now take apop_pmfs as well:
  • apop_test_chi_squared_goodness_of_fit, apop_test_kolmogorov
  • Consider the apop_histogram to be deprecated. Only two associated functions were removed; see below.
  • apop_histogram_plot is removed. Replace with:
  • fprintf(apop_opts.output_pipe, "plot '-' using 1:3 with boxes\n");
  • apop_model_print(hist);
  • fprintf(apop_opts.output_pipe, "e\n");
  • apop_histogram_print was a bad idea to begin with, because it basically replicates
  • gsl_histogram_fprintf. Use apop_model_print(your_histogram), which calls gsl_histogram_fprintf,
  • or call that function directly. The only difference: the GSL function prints
  • [start of bin] [end of bin] [value]
  • and apop_histogram print showed
  • [start of bin] [value]

New in Apophenia 0.23.14 Beta (Feb 15, 2011)

  • apop_maximum_likelihood no longer calls apop_prep. If you want that, use apop_estimate.

New in Apophenia 0.23.17 Beta (Sep 20, 2010)

  • What was apop_assert => apop_assert_c; what was apop_assert_s => apop_assert. Their arguments are slightly different, and the thing that was asserted no longer prints along with the message you chose.
  • verbosity defaults to 1. Queries print at verbosity >=2.
  • apop_data_to_db writes the weights.
  • Iterative proportional fitting, aka raking.
  • apop_text_add now frees the contents of cell in the text grid that you are about to overwrite, thus preventing memory leaks without effort from the user. If your existing code has other pointers to the string in that text cell, you'll have to replace the now
  • string-freeing apop_text_add with asprintf(&(your_dataset->text[row][col]), "your string").

New in Apophenia 0.23.23 Beta (Aug 24, 2010)

  • What was apop_assert => apop_assert_c; what was apop_assert_s => apop_assert. Their arguments are slightly different, and the thing that was asserted no longer prints along with the message you chose.
  • verbosity defaults to 1. Queries print at verbosity >=2.
  • apop_data_to_db writes the weights.
  • Iterative proportional fitting, aka raking.