Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (38 sloc) 1.75 KB
.. currentmodule:: qinfer

Simple Estimation

Function Reference

.. autofunction:: simple_est_prec

.. autofunction:: simple_est_rb

Data Argument Type

Each of the functions above takes as its first argument the data to be used in estimation. This data can be passed in two different ways (more will be added soon):

  • A file-like object or a str containing a file name: These will cause the data to be loaded from the given file as comma-separated values. Columns will be read in based on the order in which they appear in the file.
  • A :class:`~pandas.DataFrame`: This will cause the data to be loaded from the given data frame, reading in columns by their headings.
  • An :class:`~numpy.ndarray` with scalar data type and shape (n_rows, n_cols): Each column will be read in by its order.
  • An :class:`~numpy.ndarray` with record data types and shape (n_rows, ): Each column will be read in as a field of the array.

Extra Return Values

Each of the functions above supports an argument return_all. If True, a dictionary with the following fields will be returned as well: