A C library for statistical and scientific computing
C M4 Other
Clone or download
Permalink
Failed to load latest commit information.
cmd Update histogram plotting Mar 17, 2016
docs Bug fix for multidimensional binspecs Jul 19, 2016
eg Make apop_data_memcpy a no-op if copying NULL -> NULL Dec 2, 2016
install Hash names in the apop_name struct Feb 24, 2016
model Fix bug when <predict> is not used Nov 25, 2015
tests Revamp mixture models Feb 18, 2016
transform Update constrained model scale iff parameters change Mar 8, 2016
ChangeLog By popular demand, rename apop_model_stack to apop_model_cross Oct 24, 2014
README V1.0 Nov 25, 2015
apop.m4.h Update constrained model scale iff parameters change Mar 8, 2016
apop_arms.c Have OLS estimation store error variance, for use by likelihood Nov 12, 2015
apop_asst.m4.c Fix warnings from clang Jul 6, 2015
apop_bootstrap.m4.c Deprecate the <Bootstrapped statistics> page, as promised Dec 8, 2015
apop_conversions.m4.c Add libgen header, for POSIX compliance. Mar 8, 2016
apop_data.m4.c Make apop_data_memcpy a no-op if copying NULL -> NULL Dec 2, 2016
apop_db.m4.c apop_opts.db_name_column is now a pointer-to-char, not char[300] Jun 30, 2015
apop_db_mysql.c apop_opts.db_name_column is now a pointer-to-char, not char[300] Jun 30, 2015
apop_db_sqlite.c apop_opts.db_name_column is now a pointer-to-char, not char[300] Jun 30, 2015
apop_fexact.c apop_vector_correlation handles weights Jun 11, 2015
apop_hist.m4.c Bug fix for multidimensional binspecs Jul 19, 2016
apop_internal.h Update apop_internal.h Apr 11, 2015
apop_linear_algebra.m4.c Revise narrative documentation Jun 29, 2015
apop_linear_constraint.m4.c Move testing discussion from brief intro to longer outline Jun 23, 2015
apop_mapply.m4.c Revise narrative documentation Jun 29, 2015
apop_mcmc.m4.c Apply J Benoit's patch for MCMC Aug 30, 2015
apop_missing_data.m4.c Update more docmentation Jun 10, 2015
apop_mle.m4.c Revamp mixture models Feb 18, 2016
apop_model.m4.c rm apop_ml_imputation Jul 3, 2015
apop_name.m4.c Hash names in the apop_name struct Feb 24, 2016
apop_output.m4.c Revert "Tweak printing of column headers" Jul 1, 2015
apop_rake.m4.c Tweaks turned up in testing Jul 1, 2015
apop_regression.m4.c Handle addition of elements to copied-in factor lists Jul 1, 2015
apop_settings.c apop_vector_correlation handles weights Jun 11, 2015
apop_sort.m4.c Address Issue #30 Mar 1, 2016
apop_stats.m4.c Revamp KL divergence and its test Feb 10, 2016
apop_tests.m4.c minor format change Nov 23, 2016
apop_update.m4.c Revise uses of apop_rng_get_thread Jun 16, 2015
apop_vtables.c Start fixing doxygen groups May 10, 2015
asprintf.c logit fixes; asprintf check Jan 7, 2013
configure V1.0 Nov 25, 2015

README

Apophenia is an open statistical library for working with data sets and statistical or simulation models. It provides functions on the same level as those of the typical stats package (such as OLS, probit, or singular value decomposition) but gives the user more flexibility to be creative in model-building. Being in C, it is often an order of magnitude faster when searching for optima or running MCMC chains. The core functions are written in C, but experience has shown them to be easy to bind to Python/Julia/Perl/Ruby/&c.

http://apophenia.info/gentle.html provides an overview of the basics of using the library. If you want to know more about the package, see the web site, http://apophenia.info, or have a look at the textbook from Princeton University Press that coevolved with Apophenia, downloadable from http://modelingwithdata.org .


The quick summary for installation:

∙ The library depends on the GNU Scientific Library and SQLite3. If you are using a system with a package manager of some sort, there is certainly a package for them. Be sure to include both the main package and the lib-, -dev, or -devel package. Sample package manager calls:

    sudo apt-get install make gcc libgsl0-dev libsqlite3-dev 
or 
    sudo yum install make gcc gsl-devel libsqlite3x-devel
or 
    sudo pacman -S make gcc gsl sqlite 

∙ The prebuilt package, that has only basic prerequisites (no Autotools or m4) can be downloaded from another Git branch:

    #Download the zip file, via wget or your preferred downloading method:
    wget https://github.com/b-k/Apophenia/archive/pkg.zip

    #unzip and build
    unzip pkg.zip
    cd Apophenia-pkg
    ./configure
    make
    sudo make install

Or check out the branch via git:

    git clone https://github.com/b-k/Apophenia.git
    cd Apophenia
    git checkout pkg
    ./configure
    make
    sudo make install

∙ This master branch of the git repository requires Autotools, so it can build the
package. Try (apt-get || yum install) autoconf automake libtool. If you have Autotools installed, then from this branch you can run:

    ./configure
    cd apophenia-1.0
    make 
    sudo make install

∙ Find detailed setup instructions and some troubleshooting notes at
http://apophenia.info/setup.html .


Thanks for your interest. I do hope that Apophenia helps you learn more from your data.

--BK

PS: Lawyers, please note that a file named COPYING in the install/ directory describes how this package is licensed under GPLv2.