pyobsmod.Dataset.lr# Dataset.lr() → tuple[float, float]# Perform linear regression (y=ax+b). Using a least squares polynomial fit of degree 1. Returns: lr – A list with two floats, the slope a and the intercept b. Return type: list[float] Examples from pyobsmod import load_dataset_example ds = load_dataset_example() print(ds.lr()) (np.float64(1.0249408157079176), np.float64(0.004414495861912957))