Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

Commit

Permalink
fix(co2mpas_driver):Fixed Binder.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashenafimenza committed Feb 24, 2020
1 parent 8f3f610 commit 8266388
Show file tree
Hide file tree
Showing 10 changed files with 60,492 additions and 58,726 deletions.
2,105 changes: 1,675 additions & 430 deletions examples/ev.ipynb

Large diffs are not rendered by default.

2,439 changes: 1,340 additions & 1,099 deletions examples/sample_4degree_with_linear.ipynb

Large diffs are not rendered by default.

2,392 changes: 1,083 additions & 1,309 deletions examples/sample_different_curves.ipynb

Large diffs are not rendered by default.

641 changes: 284 additions & 357 deletions examples/sample_gear_shifting.ipynb

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions examples/sample_gear_shifting.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ def simple_run():
use_cubic=True))))[
'outputs']
# driver.plot(1)
# gs = sol['gs']

gs = sol['gs']
coefs_per_gear = sol['coefs_per_gear']
speed_per_gear = sol['speed_per_gear']
acc_per_gear = sol['acc_per_gear']
Expand All @@ -29,6 +28,8 @@ def simple_run():
vars = np.arange(degree, -1, -1)

plt.figure('speed acceleration regression results of degree = ' + str(degree))
for gear in gs:
plt.plot([gear, gear], [0, 5])

for speeds, acceleration, fit_coef in zip(speed_per_gear, acc_per_gear,
coefs_per_gear):
Expand Down
57 changes: 26 additions & 31 deletions examples/sample_light_co2mpas.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 8266388

Please sign in to comment.