To whom it may concern, Belows are the codes: - - - - - from sklearn.linear_model import RANSACRegressor
ransac = RANSACRegressor(LinearRegression(), max_trials=100, # default min_samples=0.95, loss='absolute_error', # default residual_threshold=None, # default random_state=123) inlier_mask = ransac.inlier_mask_ - - - - Here is the error message: AttributeError: 'RANSACRegressor' object has no attribute 'inlier_mask_' SO I checked the attributes of RANSACRegressor using dir (RANSACRegressor) and I do not find 'inlier_mask_' Any advise?Henry
_______________________________________________ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mailman/listinfo/scikit-learn