Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions docs/source/utilities_index/Datasets.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.. _datasets:

Datasets
==============================================



Usage
----------------------------
.. code-block:: python

from causallearn.utils.Dataset import load_dataset

data, labels = load_dataset(dataset_name)

Parameters
-------------------
**dataset_name**: str, the name of a dataset in ['sachs', 'boston_housing', 'airfoil']


Returns
-------------------

**data**: np.array, data with a shape of (number of samples, number of variables).

**labels**: list, labels of variables in the data.

1 change: 1 addition & 0 deletions docs/source/utilities_index/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ Contents:

Graph operations/index
Evaluations
Datasets
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
with open('README.md', 'r') as fh:
README = fh.read()

VERSION = '0.1.3.5'
VERSION = '0.1.3.6'

setuptools.setup(
name='causal-learn',
Expand Down