Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Regression Models for Outlier Handling

RANSAC Regression

The RANSACReg class implements the Random Sample Consensus (RANSAC) algorithm for robust linear regression. RANSAC is particularly useful for models like linear regression when there are outliers in the dataset. This class fits a line to a set of data points, robustly handling outliers and providing a reliable estimate of the underlying linear relationship.

Linear Regression

The LinearReg class provides a simple linear regression model using the closed-loop form. It fits a line to a set of data points using the pseudo-inverse method.

Dependencies

The provided code relies on the following Python libraries:

  • NumPy: For numerical operations and array manipulation.
  • Matplotlib: For creating visualizations, such as plots.
  • scikit-learn: A machine learning library providing various tools for regression and classification tasks.
  • SciPy: Used here for statistical functions.

About

RANSAC Regression implementation

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages