Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scipy-linalg #150

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
113 changes: 113 additions & 0 deletions scipy-linalg/ECG_beats.csv

Large diffs are not rendered by default.

1,603 changes: 1,603 additions & 0 deletions scipy-linalg/ECG_data_preparation.ipynb

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions scipy-linalg/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Working With Linear Systems in Python

This directory contains code associated with the Real Python tutorials:

- [Working With Linear Systems in Python With `scipy.linalg`](https://realpython.com/python-scipy-linalg/)
- [Linear Algebra in Python: Matrix Inverses and Least Squares](https://realpython.com/python-linear-algebra/)

See the tutorials for details.

## Installation

Use [Conda](https://docs.conda.io/en/latest/miniconda.html) to create and activate a virtual environment:

```console
$ conda create --name linalg
$ conda activate linalg
```

Install packages into your environment:

```console
(linalg) $ conda install numpy scipy matplotlib pandas jupyter
```

## Code

The code from the tutorials is available as notebooks that you can open with [Jupyter](https://realpython.com/jupyter-notebook-introduction/):

- Working With Linear Systems in Python With `scipy.linalg` [notebook](linear-systems.ipynb)
- Linear Algebra in Python: Matrix Inverses and Least Squares [notebook](matrix-inverses-least-squares.ipynb)

## Data

You can find [`vehicles_cleaned.csv`](vehicles_cleaned.csv) in this directory. The dataset is adapted from https://www.kaggle.com/austinreese/craigslist-carstrucks-data and used in Linear Algebra in Python: Matrix Inverses and Least Squares. The [vehicles-data-preparation](vehicles-data-preparation.ipynb) notebook shows how the dataset was cleaned and prepared.

## About the Author

Renato Candido - <https://realpython.com/team/rcandido/>

## License

Distributed under the MIT license. See [`LICENSE`](../LICENSE) for more information.
Binary file added scipy-linalg/lenna.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading