-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Old caches for the same step was not being deleted as a result the experiment caches occupied a large amount of the disk space
- Loading branch information
Showing
11 changed files
with
166,907 additions
and
23 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,52 @@ | ||
#!/usr/bin/env python3 | ||
## | ||
## Authors: Adriano Marques | ||
## Nathan Martins | ||
## Thales Ribeiro | ||
## | ||
## Copyright (C) 2019 Exponential Ventures LLC | ||
## | ||
## This library is free software; you can redistribute it and/or | ||
## modify it under the terms of the GNU Library General Public | ||
## License as published by the Free Software Foundation; either | ||
## version 2 of the License, or (at your option) any later version. | ||
## | ||
## This library is distributed in the hope that it will be useful, | ||
## but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
## Library General Public License for more details. | ||
## | ||
## You should have received a copy of the GNU Library General Public | ||
## License along with this library; if not, write to the Free Software | ||
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
## | ||
|
||
|
||
import logging | ||
from os.path import split, join | ||
|
||
import pandas as pd | ||
|
||
from stripping import setup_stripping | ||
|
||
st, c = setup_stripping(join(split(__file__)[0], '.stripping')) | ||
logging.basicConfig(level=logging.DEBUG) | ||
|
||
|
||
@st.step() | ||
def load_dataset(): | ||
c.bf_file = join(split(__file__)[0], "datasets", "black_friday.csv") | ||
logging.info(f"Processing file '{c.bf_file}' without using the Catalysis acceleration framework.") | ||
c.bf = pd.read_csv(c.bf_file) | ||
|
||
|
||
@st.step() | ||
def split_dataset(): | ||
c.X = c.bf.iloc[:, 0:6].values | ||
c.y = c.bf.iloc[:, 9].values | ||
|
||
@st.step() | ||
def hello_stripping(): | ||
print('Hellow') | ||
|
||
st.execute() |
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,4 @@ | ||
asynctest==0.13.0 | ||
freezegun==0.3.15 | ||
numpy==1.18.1 | ||
pandas==1.0.1 |
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 |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
|
||
setup( | ||
name='stripping', | ||
version='0.2.0', | ||
version='0.2.1', | ||
description='An easy to use pipeline solution for AI/ML experiments', | ||
author='Adriano Marques, Nathan Martins, Thales Ribeiro', | ||
author_email='[email protected], [email protected], [email protected]', | ||
|
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
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