Base Datasets

Base datasets for Vanguard.

For the ease of the user, Vanguard contains a number of datasets commonly referenced in examples, and used in tests. The dataset instances allow for easy access to the training and testing data through attributes.

class vanguard.datasets.basedataset.Dataset(train_x, train_x_std, train_y, train_y_std, test_x, test_x_std, test_y, test_y_std, significance)[source]

Represents an experimental dataset used by Vanguard.

Parameters:
__init__(train_x, train_x_std, train_y, train_y_std, test_x, test_x_std, test_y, test_y_std, significance)[source]

Initialise self.

Parameters:
property num_features: int

Return the number of features.

property num_points: int

Return the number of data points.

property num_testing_points: int

Return the number of testing points.

property num_training_points: int

Return the number of training points.