smps.io.load_sample#

smps.io.load_sample(label='boston')#

Load one of the example datasets provided.

Parameters
labelstr, default=’boston’

Choose the example dataset to load. Should be one of [‘boston’, ‘chamber’]

Returns
smps.models.SMPS

See also

smps.models.SMPS

Examples

Load the boston example dataset:

>>> obj = smps.io.load_sample('boston')