-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EHN Refactoring to use pandas and simplify the API (#17)
* EHN huge refactoring * Add cyhon * Update metrics * MAIN add pandas * EHN windows * coverage * compatibility windows * several update * update * add test extraction * DOC update sections * DOC update examples in docstring
- Loading branch information
Showing
75 changed files
with
51,036 additions
and
6,357 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 |
---|---|---|
|
@@ -244,4 +244,6 @@ install_manifest.txt | |
|
||
.ipynb_checkpoints | ||
|
||
coverage/ | ||
coverage/ | ||
|
||
cythonize.dat |
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,16 @@ | ||
:mod:`{{module}}`.{{objname}} | ||
{{ underline }}============== | ||
|
||
.. currentmodule:: {{ module }} | ||
|
||
.. autoclass:: {{ objname }} | ||
|
||
{% block methods %} | ||
.. automethod:: __init__ | ||
{% endblock %} | ||
|
||
.. include:: {{module}}.{{objname}}.examples | ||
|
||
.. raw:: html | ||
|
||
<div style='clear:both'></div> |
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,12 @@ | ||
:mod:`{{module}}`.{{objname}} | ||
{{ underline }}==================== | ||
|
||
.. currentmodule:: {{ module }} | ||
|
||
.. autofunction:: {{ objname }} | ||
|
||
.. include:: {{module}}.{{objname}}.examples | ||
|
||
.. raw:: html | ||
|
||
<div style='clear:both'></div> |
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 @@ | ||
{{index}} | ||
{{summary}} | ||
{{extended_summary}} | ||
{{parameters}} | ||
{{returns}} | ||
{{yields}} | ||
{{other_parameters}} | ||
{{attributes}} | ||
{{raises}} | ||
{{warns}} | ||
{{warnings}} | ||
{{see_also}} | ||
{{notes}} | ||
{{references}} | ||
{{examples}} | ||
{{methods}} |
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,35 @@ | ||
""" | ||
====================================== | ||
Workflow to exploit cycling power data | ||
====================================== | ||
This example illustrates the typical workflow to use to investigate cycling | ||
power data. | ||
""" | ||
|
||
# Authors: Guillaume Lemaitre <g.lemaitre58@gmail.com> | ||
# Cedric Lemaitre | ||
# License: BSD 3 clause | ||
|
||
import matplotlib.pyplot as plt | ||
|
||
from skcycling import Rider | ||
# from skcycling.datasets import load_fit | ||
from skcycling.datasets import load_rider | ||
|
||
print(__doc__) | ||
|
||
# rider = Rider(n_jobs=-1) | ||
# rider.add_activities(load_fit()) | ||
rider = Rider.from_csv(load_rider()) | ||
|
||
rider.power_profile_.plot() | ||
plt.xlabel('Time') | ||
plt.ylabel('Power (W)') | ||
|
||
rider.record_power_profile().plot(alpha=0.5, style='--', legend=True) | ||
plt.xlabel('Time') | ||
plt.ylabel('Power (W)') | ||
|
||
plt.show() |
Binary file not shown.
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,5 +1,8 @@ | ||
scipy | ||
numpy | ||
pandas | ||
joblib | ||
scikit-learn | ||
fitparse | ||
six | ||
cython |
Oops, something went wrong.