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

Adds Chicago Bike Demo #157

Merged
merged 246 commits into from Sep 1, 2020
Merged
Show file tree
Hide file tree
Changes from 245 commits
Commits
Show all changes
246 commits
Select commit Hold shift + click to select a range
cebe265
initial updates
jeff-hernandez Jul 21, 2020
df91423
adds command to build docs
jeff-hernandez Jul 21, 2020
d3aed93
updates predict next purchase
jeff-hernandez Jul 21, 2020
b0709c7
updates predict rul
jeff-hernandez Jul 22, 2020
c819cc4
updates params for predict next purchase
jeff-hernandez Jul 22, 2020
e82fe35
updates params for predict next purchase
jeff-hernandez Jul 22, 2020
8a3d177
updates doc reqs and removes reference links
jeff-hernandez Jul 22, 2020
c8104cb
orders doc requirements
jeff-hernandez Jul 22, 2020
f833561
adds requirement
jeff-hernandez Jul 22, 2020
afb9a53
updates predict rul
jeff-hernandez Jul 23, 2020
b098d4e
updates predict next purchase
jeff-hernandez Jul 23, 2020
eabe7f3
removes matplotlib in requirements
jeff-hernandez Jul 23, 2020
49b9eac
pins matplotlib version
jeff-hernandez Jul 23, 2020
2e3dd10
updates predict next purchase
jeff-hernandez Jul 23, 2020
250ebe4
initial updates
jeff-hernandez Jul 21, 2020
c246ef1
adds command to build docs
jeff-hernandez Jul 21, 2020
bec84ad
updates predict next purchase
jeff-hernandez Jul 21, 2020
f085f1f
updates predict rul
jeff-hernandez Jul 22, 2020
d8ade15
updates params for predict next purchase
jeff-hernandez Jul 22, 2020
e5595ac
updates params for predict next purchase
jeff-hernandez Jul 22, 2020
574e34a
updates doc reqs and removes reference links
jeff-hernandez Jul 22, 2020
4cce566
orders doc requirements
jeff-hernandez Jul 22, 2020
5f9989a
adds requirement
jeff-hernandez Jul 22, 2020
8897525
updates predict rul
jeff-hernandez Jul 23, 2020
f02d65e
updates predict next purchase
jeff-hernandez Jul 23, 2020
f3ad7db
removes matplotlib in requirements
jeff-hernandez Jul 23, 2020
8651c23
pins matplotlib version
jeff-hernandez Jul 23, 2020
a4896d9
updates predict next purchase
jeff-hernandez Jul 23, 2020
78dabbd
updates notebook
jeff-hernandez Jul 29, 2020
ea66180
Merge branch 'updates_demos' of github.com:FeatureLabs/compose into u…
jeff-hernandez Jul 29, 2020
8c30994
updates predict next purchase
jeff-hernandez Aug 10, 2020
16b0355
update predict next purchase
jeff-hernandez Aug 10, 2020
73d07c2
update predict next purchase
jeff-hernandez Aug 10, 2020
2bc9c3b
clear outputs
jeff-hernandez Aug 10, 2020
5aba5de
update predict next purchase
jeff-hernandez Aug 10, 2020
3ae6a54
update predict next purchase
jeff-hernandez Aug 10, 2020
e12e8b1
update predict next purchase
jeff-hernandez Aug 11, 2020
3805725
update predict turbofan degradation
jeff-hernandez Aug 11, 2020
e0da2ad
update comments
jeff-hernandez Aug 11, 2020
4a44cab
clear outputs
jeff-hernandez Aug 11, 2020
3d03375
update comments
jeff-hernandez Aug 11, 2020
73575bf
updates notebook
jeff-hernandez Aug 11, 2020
9772ca2
update comments
jeff-hernandez Aug 11, 2020
539e140
update cell
jeff-hernandez Aug 11, 2020
4de9637
update comments
jeff-hernandez Aug 11, 2020
5d0739c
update comments
jeff-hernandez Aug 11, 2020
3dbb6ec
update comments
jeff-hernandez Aug 11, 2020
33e05c2
add next steps
jeff-hernandez Aug 12, 2020
2d7ff0f
rename packages
jeff-hernandez Aug 12, 2020
d892230
update comments
jeff-hernandez Aug 12, 2020
97947bc
initial updates
jeff-hernandez Jul 21, 2020
fb83a64
adds command to build docs
jeff-hernandez Jul 21, 2020
7fa0e77
updates predict next purchase
jeff-hernandez Jul 21, 2020
9fda72d
updates predict rul
jeff-hernandez Jul 22, 2020
8581861
updates params for predict next purchase
jeff-hernandez Jul 22, 2020
beaaa33
updates params for predict next purchase
jeff-hernandez Jul 22, 2020
8fb8944
updates doc reqs and removes reference links
jeff-hernandez Jul 22, 2020
579ab4f
orders doc requirements
jeff-hernandez Jul 22, 2020
54daf21
adds requirement
jeff-hernandez Jul 22, 2020
2d3482e
updates predict rul
jeff-hernandez Jul 23, 2020
5e384cd
updates predict next purchase
jeff-hernandez Jul 23, 2020
2531696
removes matplotlib in requirements
jeff-hernandez Jul 23, 2020
c9d7e41
pins matplotlib version
jeff-hernandez Jul 23, 2020
c848cba
updates predict next purchase
jeff-hernandez Jul 23, 2020
d8b50e9
initial updates
jeff-hernandez Jul 21, 2020
196b03c
updates predict next purchase
jeff-hernandez Jul 21, 2020
64208ac
updates predict rul
jeff-hernandez Jul 22, 2020
65dc3e0
updates params for predict next purchase
jeff-hernandez Jul 22, 2020
0d819b1
updates params for predict next purchase
jeff-hernandez Jul 22, 2020
c106f96
updates doc reqs and removes reference links
jeff-hernandez Jul 22, 2020
695ef7e
updates predict rul
jeff-hernandez Jul 23, 2020
3cdb7f2
updates predict next purchase
jeff-hernandez Jul 23, 2020
464a27d
removes matplotlib in requirements
jeff-hernandez Jul 23, 2020
a89e273
updates predict next purchase
jeff-hernandez Jul 23, 2020
5e793a8
updates notebook
jeff-hernandez Jul 29, 2020
0253d15
updates predict next purchase
jeff-hernandez Aug 10, 2020
046385e
update predict next purchase
jeff-hernandez Aug 10, 2020
3989968
update predict next purchase
jeff-hernandez Aug 10, 2020
a653d54
clear outputs
jeff-hernandez Aug 10, 2020
f10cb65
update predict next purchase
jeff-hernandez Aug 10, 2020
fb02894
update predict next purchase
jeff-hernandez Aug 10, 2020
759389a
update predict next purchase
jeff-hernandez Aug 11, 2020
236f9a9
update predict turbofan degradation
jeff-hernandez Aug 11, 2020
7e23542
update comments
jeff-hernandez Aug 11, 2020
1e1ff55
clear outputs
jeff-hernandez Aug 11, 2020
42888b7
update comments
jeff-hernandez Aug 11, 2020
e19074a
updates notebook
jeff-hernandez Aug 11, 2020
eff2c4a
update comments
jeff-hernandez Aug 11, 2020
2630c6b
update cell
jeff-hernandez Aug 11, 2020
7fc5563
update comments
jeff-hernandez Aug 11, 2020
b51c528
update comments
jeff-hernandez Aug 11, 2020
cf586e7
update comments
jeff-hernandez Aug 11, 2020
8392b35
add next steps
jeff-hernandez Aug 12, 2020
e9a61f4
rename packages
jeff-hernandez Aug 12, 2020
1a1a355
update comments
jeff-hernandez Aug 12, 2020
ce2811d
Merge branch 'updates_demos' of github.com:FeatureLabs/compose into u…
jeff-hernandez Aug 12, 2020
9c1fc23
add feature importance plot
jeff-hernandez Aug 13, 2020
847bc6b
add links to featuretools and evalml under next steps
jeff-hernandez Aug 13, 2020
deaf8c9
adds predict bike trips demo
jeff-hernandez Aug 17, 2020
130c816
adds matplotlib inline
jeff-hernandez Aug 17, 2020
15f21a6
update comments
jeff-hernandez Aug 17, 2020
5fd7ef8
update comments
jeff-hernandez Aug 17, 2020
6ed1583
update comments
jeff-hernandez Aug 17, 2020
bb1fa1a
update comments
jeff-hernandez Aug 18, 2020
7f27f83
ignore cb_model
jeff-hernandez Aug 18, 2020
9c9b166
relocate demo to predict bike trips
jeff-hernandez Aug 18, 2020
b9d8c17
upload demo
jeff-hernandez Aug 18, 2020
3459807
add new line
jeff-hernandez Aug 20, 2020
83c2ec0
explain sorted time index
jeff-hernandez Aug 20, 2020
4cf9486
explain sorted time index
jeff-hernandez Aug 20, 2020
8b810ef
initial updates
jeff-hernandez Jul 21, 2020
a5c23fb
updates predict next purchase
jeff-hernandez Jul 21, 2020
c7b1643
updates predict rul
jeff-hernandez Jul 22, 2020
711d74c
updates params for predict next purchase
jeff-hernandez Jul 22, 2020
ceeda85
updates params for predict next purchase
jeff-hernandez Jul 22, 2020
76647a1
updates doc reqs and removes reference links
jeff-hernandez Jul 22, 2020
bc05563
updates predict rul
jeff-hernandez Jul 23, 2020
caf5a04
updates predict next purchase
jeff-hernandez Jul 23, 2020
393e36b
removes matplotlib in requirements
jeff-hernandez Jul 23, 2020
bbf97eb
updates predict next purchase
jeff-hernandez Jul 23, 2020
b967725
initial updates
jeff-hernandez Jul 21, 2020
2d987b7
updates predict next purchase
jeff-hernandez Jul 21, 2020
1f5a123
updates predict rul
jeff-hernandez Jul 22, 2020
fbf4424
updates params for predict next purchase
jeff-hernandez Jul 22, 2020
abe2ba6
updates params for predict next purchase
jeff-hernandez Jul 22, 2020
e49808a
updates doc reqs and removes reference links
jeff-hernandez Jul 22, 2020
c6620d0
updates predict rul
jeff-hernandez Jul 23, 2020
55a01cd
updates predict next purchase
jeff-hernandez Jul 23, 2020
94ee5cd
removes matplotlib in requirements
jeff-hernandez Jul 23, 2020
772bdea
updates predict next purchase
jeff-hernandez Jul 23, 2020
148a927
updates notebook
jeff-hernandez Jul 29, 2020
9e3cff8
updates predict next purchase
jeff-hernandez Aug 10, 2020
6210a9c
update predict next purchase
jeff-hernandez Aug 10, 2020
36d266a
update predict next purchase
jeff-hernandez Aug 10, 2020
cad54c7
clear outputs
jeff-hernandez Aug 10, 2020
ad64d53
update predict next purchase
jeff-hernandez Aug 10, 2020
e5dce94
update predict next purchase
jeff-hernandez Aug 10, 2020
d90355f
update predict next purchase
jeff-hernandez Aug 11, 2020
ae92790
update predict turbofan degradation
jeff-hernandez Aug 11, 2020
a391d76
update comments
jeff-hernandez Aug 11, 2020
4986941
clear outputs
jeff-hernandez Aug 11, 2020
845561a
update comments
jeff-hernandez Aug 11, 2020
fda96b1
updates notebook
jeff-hernandez Aug 11, 2020
cf50314
update comments
jeff-hernandez Aug 11, 2020
3bb0e85
update cell
jeff-hernandez Aug 11, 2020
6610b1e
update comments
jeff-hernandez Aug 11, 2020
e100b07
update comments
jeff-hernandez Aug 11, 2020
3f8b7a1
update comments
jeff-hernandez Aug 11, 2020
2b5c9cc
add next steps
jeff-hernandez Aug 12, 2020
9df9fd6
rename packages
jeff-hernandez Aug 12, 2020
937cf8f
update comments
jeff-hernandez Aug 12, 2020
5123802
initial updates
jeff-hernandez Jul 21, 2020
46554ba
updates predict next purchase
jeff-hernandez Jul 21, 2020
46b963f
updates predict rul
jeff-hernandez Jul 22, 2020
f77d537
updates params for predict next purchase
jeff-hernandez Jul 22, 2020
a8514f7
updates params for predict next purchase
jeff-hernandez Jul 22, 2020
bb20075
updates doc reqs and removes reference links
jeff-hernandez Jul 22, 2020
efae9f1
orders doc requirements
jeff-hernandez Jul 22, 2020
79ac9aa
updates predict rul
jeff-hernandez Jul 23, 2020
5529e8e
updates predict next purchase
jeff-hernandez Jul 23, 2020
7d8fb2e
removes matplotlib in requirements
jeff-hernandez Jul 23, 2020
9db88d6
updates predict next purchase
jeff-hernandez Jul 23, 2020
b7ec245
initial updates
jeff-hernandez Jul 21, 2020
e9fc026
updates predict next purchase
jeff-hernandez Jul 21, 2020
d531b6e
updates predict rul
jeff-hernandez Jul 22, 2020
adb2612
updates params for predict next purchase
jeff-hernandez Jul 22, 2020
43eeecc
updates params for predict next purchase
jeff-hernandez Jul 22, 2020
c499059
updates doc reqs and removes reference links
jeff-hernandez Jul 22, 2020
20f6555
updates predict rul
jeff-hernandez Jul 23, 2020
65055b8
updates predict next purchase
jeff-hernandez Jul 23, 2020
ad889d6
removes matplotlib in requirements
jeff-hernandez Jul 23, 2020
b6d2912
updates predict next purchase
jeff-hernandez Jul 23, 2020
68816b9
updates notebook
jeff-hernandez Jul 29, 2020
ffd86c7
updates predict next purchase
jeff-hernandez Aug 10, 2020
4ec6db2
update predict next purchase
jeff-hernandez Aug 10, 2020
644fff6
update predict next purchase
jeff-hernandez Aug 10, 2020
0c9647d
clear outputs
jeff-hernandez Aug 10, 2020
4c8f94c
update predict next purchase
jeff-hernandez Aug 10, 2020
5473570
update predict next purchase
jeff-hernandez Aug 10, 2020
0e7311f
update predict next purchase
jeff-hernandez Aug 11, 2020
9b60256
update predict turbofan degradation
jeff-hernandez Aug 11, 2020
fc6612f
update comments
jeff-hernandez Aug 11, 2020
b88c0ce
clear outputs
jeff-hernandez Aug 11, 2020
a825dc4
update comments
jeff-hernandez Aug 11, 2020
f33d794
updates notebook
jeff-hernandez Aug 11, 2020
65f7d89
update comments
jeff-hernandez Aug 11, 2020
2dd9481
update cell
jeff-hernandez Aug 11, 2020
8c517ba
update comments
jeff-hernandez Aug 11, 2020
bee0dbe
update comments
jeff-hernandez Aug 11, 2020
e717e43
update comments
jeff-hernandez Aug 11, 2020
7591206
add next steps
jeff-hernandez Aug 12, 2020
e0bdad1
rename packages
jeff-hernandez Aug 12, 2020
4116148
update comments
jeff-hernandez Aug 12, 2020
df5c4e4
add feature importance plot
jeff-hernandez Aug 13, 2020
ad96663
add links to featuretools and evalml under next steps
jeff-hernandez Aug 13, 2020
2026001
adds matplotlib inline
jeff-hernandez Aug 17, 2020
2c2da0e
update comments
jeff-hernandez Aug 17, 2020
bdcd1a9
update comments
jeff-hernandez Aug 17, 2020
b81413d
update comments
jeff-hernandez Aug 17, 2020
dbba9eb
update comments
jeff-hernandez Aug 18, 2020
ae4a2e1
ignore cb_model
jeff-hernandez Aug 18, 2020
b8f5ef7
relocate demo to predict bike trips
jeff-hernandez Aug 18, 2020
a6a7acd
upload demo
jeff-hernandez Aug 18, 2020
5589af8
add new line
jeff-hernandez Aug 20, 2020
574f896
explain sorted time index
jeff-hernandez Aug 20, 2020
b6b1a06
explain sorted time index
jeff-hernandez Aug 20, 2020
b73b3f1
Merge branch 'adds_chicago_bike_demo' of github.com:FeatureLabs/compo…
jeff-hernandez Aug 20, 2020
7ffb297
remove file
jeff-hernandez Aug 20, 2020
0e3880a
clear outputs
jeff-hernandez Aug 20, 2020
f37f139
comment on period window
jeff-hernandez Aug 20, 2020
59d4071
comment on many examples
jeff-hernandez Aug 20, 2020
0886c2d
update comment
jeff-hernandez Aug 20, 2020
1a4b272
update headers
jeff-hernandez Aug 20, 2020
78df49d
explain target entity
jeff-hernandez Aug 21, 2020
a000f2d
comment on label values
jeff-hernandez Aug 21, 2020
160fb18
comment on pipeline search
jeff-hernandez Aug 21, 2020
073f6f9
fix typo
jeff-hernandez Aug 21, 2020
8271cbf
code for making predictions
jeff-hernandez Aug 21, 2020
d9ed2f1
adjust code
jeff-hernandez Aug 21, 2020
1cd3826
add sample for future data
jeff-hernandez Aug 24, 2020
82389bd
comments for making predictions
jeff-hernandez Aug 24, 2020
156ce4f
update comments
jeff-hernandez Aug 24, 2020
c7c060c
update comment
jeff-hernandez Aug 24, 2020
2917eba
update comments
jeff-hernandez Aug 24, 2020
5ab06f4
update header
jeff-hernandez Aug 24, 2020
b87c945
add section for making predictions in predict next purchase
jeff-hernandez Aug 24, 2020
d30884d
add new line
jeff-hernandez Aug 24, 2020
1d79692
add section for making predictions for turbofan degradation
jeff-hernandez Aug 25, 2020
c4f33a6
add init file
jeff-hernandez Aug 25, 2020
6487da1
make helper functions private
jeff-hernandez Aug 25, 2020
0bff120
make helper functions private
jeff-hernandez Aug 25, 2020
5e29cc3
refactor prediction cell
jeff-hernandez Aug 25, 2020
e62ae53
update comment
jeff-hernandez Aug 25, 2020
3b916c9
add links to datasets
jeff-hernandez Aug 25, 2020
7ddea23
update comments
jeff-hernandez Aug 25, 2020
00bb7cf
update cell
jeff-hernandez Aug 25, 2020
a6f88f1
update predictions
jeff-hernandez Aug 26, 2020
197f63a
update predictions in other notebooks
jeff-hernandez Aug 26, 2020
3a9a25c
clear outputs
jeff-hernandez Aug 26, 2020
c6e9e08
Merge branch 'main' into adds_chicago_bike_demo
jeff-hernandez Aug 31, 2020
a3cb2aa
update chicago bike demo
jeff-hernandez Aug 31, 2020
3ec2c9d
update cell
jeff-hernandez Aug 31, 2020
fa74a26
fix typo
jeff-hernandez Sep 1, 2020
be951fa
update comment
jeff-hernandez Sep 1, 2020
33dd28d
update notebooks
jeff-hernandez Sep 1, 2020
9ccde9c
fix spelling
jeff-hernandez Sep 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs/source/examples/demo/chicago_bike/__init__.py
@@ -0,0 +1,17 @@
from demo import PWD
from pandas import read_csv
from os.path import join

PWD = join(PWD, 'chicago_bike')


def _read(file):
return read_csv(
join(PWD, file),
parse_dates=['starttime', 'stoptime'],
index_col='trip_id',
)


def load_sample():
return _read('sample.csv')
10,001 changes: 10,001 additions & 0 deletions docs/source/examples/demo/chicago_bike/sample.csv

Large diffs are not rendered by default.

14 changes: 9 additions & 5 deletions docs/source/examples/demo/next_purchase/__init__.py
Expand Up @@ -9,7 +9,7 @@
PWD = os.path.join(PWD, 'next_purchase')


def add_time(df, start='2015-01-01'):
def _add_time(df, start='2015-01-01'):
def timedelta(value, string):
return pd.Timedelta(string.format(value))

Expand Down Expand Up @@ -39,7 +39,7 @@ def process_orders(user):
return df


def load_data(nrows=1000000):
def _data(nrows=1000000):
output = os.path.join(PWD, 'download')
path = os.path.join(output, 'instacart_2017_05_01')
if not os.path.exists(path): utils.download(URL, output)
Expand All @@ -54,11 +54,15 @@ def load_data(nrows=1000000):
orders = pd.read_csv(file, nrows=nrows)

df = order_products.merge(products).merge(departments).merge(orders)
df = df.pipe(add_time)
df = df.pipe(_add_time)
return df


def load_sample():
path = os.path.join(PWD, 'sample.csv')
def _read(file):
path = os.path.join(PWD, file)
df = pd.read_csv(path, parse_dates=['order_time'], index_col='id')
return df


def load_sample():
return _read('sample.csv')
14 changes: 9 additions & 5 deletions docs/source/examples/demo/turbofan_degredation/__init__.py
Expand Up @@ -6,14 +6,14 @@
PWD = os.path.dirname(__file__)


def download_data():
def _download_data():
output = os.path.join(PWD, 'download')
utils.download(URL, output)


def load_data():
def _data():
path = os.path.join(PWD, 'download', 'train_FD004.txt')
if not os.path.exists(path): download_data()
if not os.path.exists(path): _download_data()
cols = ['engine_no', 'time_in_cycles']
cols += ['operational_setting_{}'.format(i + 1) for i in range(3)]
cols += ['sensor_measurement_{}'.format(i + 1) for i in range(26)]
Expand All @@ -23,7 +23,11 @@ def load_data():
return df


def load_sample():
path = os.path.join(PWD, 'sample.csv')
def _read(file):
path = os.path.join(PWD, file)
df = pd.read_csv(path, parse_dates=['time'], index_col='id')
return df


def load_sample():
return _read('sample.csv')