-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into export-slice-airflow
- Loading branch information
Showing
37 changed files
with
1,824 additions
and
627 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
*.sqlite filter=lfs diff=lfs merge=lfs -text | ||
examples/data/mushroom.csv filter=lfs diff=lfs merge=lfs -text | ||
examples/data/diabetes.csv filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: Eng item | ||
about: new engineering TODO for Linea devs | ||
title: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
|
||
**What**: | ||
|
||
**Why**: | ||
|
||
**Possible Approaches**: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Description | ||
|
||
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. | ||
|
||
Fixes # (issue) | ||
|
||
## Type of change | ||
|
||
Please delete options that are not relevant. | ||
|
||
- [ ] Bug fix (non-breaking change which fixes an issue) | ||
- [ ] New feature (non-breaking change which adds functionality) | ||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
- [ ] This change requires a documentation update | ||
|
||
# How Has This Been Tested? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
examples/data/diabetes.csv filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Lineapy Examples | ||
|
||
To validate our features, we downloaded some Kaggle notebook and added the two lines of `lineapy` instrumentation: | ||
|
||
```python | ||
import lineapy | ||
... # user code | ||
lineapy.linea_publish(variable, "a description") | ||
``` | ||
|
||
To fetch the data for the examples, you first have to install [Git LFS](https://git-lfs.github.com/) | ||
|
||
Currently we have a working example, `kaggle_example1.py` (the other example, `kaggle_example2.py` is [WIP due to a known bug](https://github.com/LineaLabs/lineapy/issues/204)). | ||
|
||
```bash | ||
lineapy --print-source kaggle_example1.py --slice 'mushroom feature importance' | ||
``` | ||
|
||
## Limitations | ||
|
||
- The second notebook doesn't currently work | ||
|
||
```bash | ||
lineapy --print-source kaggle_example2.py --slice 'nn for diabetes' | ||
``` | ||
|
||
- [Can only slice one variable through the CLI](https://github.com/LineaLabs/lineapy/issues/307) | ||
- [The CLI does not run a notebook](https://github.com/LineaLabs/lineapy/issues/304) | ||
|
||
Again, we welcome any feature requests you might have! |
Git LFS file not shown
Git LFS file not shown
Oops, something went wrong.