andrey.data.RealDataset#
- class andrey.data.RealDataset(data, graph, feature_names, description)[source]#
A dataset from
load_dataset(): its observations and the graph they are scored against.- data#
The observations, one row per sample and one column per variable. A DataFrame’s column names become the node labels of a graph learned from it. With
as_frame=False,load_dataset()gives a float64 array in the same column order.- Type:
pandas.DataFrame or numpy.ndarray of shape (n_samples, n_variables)
- graph#
The reference DAG (
kind="dag"), its nodes labeled withfeature_names.- Type: