Skip to content

Commit

Permalink
add images of examples to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Björklund authored and Aggrathon committed May 3, 2021
1 parent 0502791 commit 1160440
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,21 @@ pip install https://github.com/edahelsinki/pyslise

## Example

SLISE, as a robust regression algorithm, is able to handle outliers, while normal least-squares regression gives skewed results:
SLISE is a robust regression algorithm, which means that it is able to handle outliers. This is in contrast to, e.g., normal least-squares regression, which gives skewed results in presence of outliers:
![Example of Robust Regression](examples/ex1.png)

**`TODO`**
SLISE can also be used to explain outcomes from black box models by locally approximating the complex models with a simpler linear model (in a way that takes the dataset into account):
![Example of Robust Regression](examples/ex2.png)

For more detailed examples and descriptions see the [examples](tree/master/examples) directory.

For more detailed examples and descriptions see the [examples](https://github.com/edahelsinki/pyslise/tree/master/examples) directory.

## Dependencies

- Python 3
This implementation is requires Python 3 and the following packages:

- matplotlib
- numba
- numpy
- scipy
- PyLBFGS
- mumba
- matplotlib
- scipy
Binary file modified examples/ex1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/ex2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1160440

Please sign in to comment.