-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from traja-team/vae.rebase
Vae.rebase
- Loading branch information
Showing
36 changed files
with
4,382 additions
and
187 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
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,17 @@ | ||
|
||
""" | ||
Train LSTM model for time series forecasting | ||
""" | ||
import traja | ||
from traja.model import LSTM | ||
from traja.datasets import dataset | ||
|
||
df = traja.TrajaDataFrame({"x": [0, 1, 2, 3, 4], "y": [1, 3, 2, 4, 5]}) | ||
|
||
# Dataloader | ||
|
||
# Model instance | ||
|
||
# Trainer | ||
|
||
|
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,17 +1,17 @@ | ||
pandas | ||
ipython | ||
numpy | ||
pandas>=1.2.0 | ||
numpy==1.18.5 | ||
matplotlib | ||
shapely | ||
scipy | ||
sklearn | ||
sphinx | ||
sphinx-gallery | ||
fastdtw | ||
pillow | ||
tzlocal | ||
sphinx_rtd_theme | ||
fastdtw | ||
plotly | ||
networkx | ||
seaborn | ||
torch | ||
pytest | ||
pytest-cov | ||
codecov | ||
readline | ||
rpy2 | ||
h5py | ||
ipython |
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,40 +1,99 @@ | ||
|
||
|
||
Examples using ``traja.TrajaDataFrame`` | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="3D Plotting with traja"> | ||
|
||
.. only:: html | ||
|
||
.. figure:: /gallery/images/thumb/sphx_glr_plot_3d_thumb.png | ||
.. figure:: /gallery/images/thumb/sphx_glr_plot_3d_thumb.png | ||
:alt: 3D Plotting with traja | ||
|
||
:ref:`sphx_glr_gallery_plot_3d.py` | ||
:ref:`sphx_glr_gallery_plot_3d.py` | ||
|
||
.. raw:: html | ||
|
||
</div> | ||
|
||
.. only:: not html | ||
|
||
* :ref:`sphx_glr_gallery_plot_3d.py` | ||
* :ref:`sphx_glr_gallery_plot_3d.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="Basic plotting with traja"> | ||
<div class="sphx-glr-thumbcontainer" tooltip="Average direction for each grid cell"> | ||
|
||
.. only:: html | ||
|
||
.. figure:: /gallery/images/thumb/sphx_glr_plot_with_traja_thumb.png | ||
.. figure:: /gallery/images/thumb/sphx_glr_plot_average_direction_thumb.png | ||
:alt: Average direction for each grid cell | ||
|
||
:ref:`sphx_glr_gallery_plot_with_traja.py` | ||
:ref:`sphx_glr_gallery_plot_average_direction.py` | ||
|
||
.. raw:: html | ||
|
||
</div> | ||
|
||
.. only:: not html | ||
|
||
* :ref:`sphx_glr_gallery_plot_with_traja.py` | ||
* :ref:`sphx_glr_gallery_plot_average_direction.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="Plotting Multiple Trajectories"> | ||
|
||
.. only:: html | ||
|
||
.. figure:: /gallery/images/thumb/sphx_glr_plot_collection_thumb.png | ||
:alt: Plotting Multiple Trajectories | ||
|
||
:ref:`sphx_glr_gallery_plot_collection.py` | ||
|
||
.. raw:: html | ||
|
||
</div> | ||
|
||
.. only:: not html | ||
|
||
* :ref:`sphx_glr_gallery_plot_collection.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="Comparing"> | ||
|
||
.. only:: html | ||
|
||
.. figure:: /gallery/images/thumb/sphx_glr_plot_comparing_thumb.png | ||
:alt: Comparing | ||
|
||
:ref:`sphx_glr_gallery_plot_comparing.py` | ||
|
||
.. raw:: html | ||
|
||
</div> | ||
|
||
.. only:: not html | ||
|
||
* :ref:`sphx_glr_gallery_plot_comparing.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="Plotting trajectories on a grid"> | ||
|
||
.. only:: html | ||
|
||
.. figure:: /gallery/images/thumb/sphx_glr_plot_grid_thumb.png | ||
:alt: Plotting trajectories on a grid | ||
|
||
:ref:`sphx_glr_gallery_plot_grid.py` | ||
|
||
.. raw:: html | ||
|
||
</div> | ||
|
||
.. only:: not html | ||
|
||
* :ref:`sphx_glr_gallery_plot_grid.py` |
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,112 +1,99 @@ | ||
|
||
|
||
Examples using ``traja.generate`` | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="3D Plotting with traja"> | ||
|
||
.. only:: html | ||
|
||
.. figure:: /gallery/images/thumb/sphx_glr_plot_3d_thumb.png | ||
.. figure:: /gallery/images/thumb/sphx_glr_plot_3d_thumb.png | ||
:alt: 3D Plotting with traja | ||
|
||
:ref:`sphx_glr_gallery_plot_3d.py` | ||
:ref:`sphx_glr_gallery_plot_3d.py` | ||
|
||
.. raw:: html | ||
|
||
</div> | ||
|
||
.. only:: not html | ||
|
||
* :ref:`sphx_glr_gallery_plot_3d.py` | ||
* :ref:`sphx_glr_gallery_plot_3d.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="Average direction for each grid cell"> | ||
|
||
.. only:: html | ||
|
||
.. figure:: /gallery/images/thumb/sphx_glr_plot_average_direction_thumb.png | ||
.. figure:: /gallery/images/thumb/sphx_glr_plot_average_direction_thumb.png | ||
:alt: Average direction for each grid cell | ||
|
||
:ref:`sphx_glr_gallery_plot_average_direction.py` | ||
:ref:`sphx_glr_gallery_plot_average_direction.py` | ||
|
||
.. raw:: html | ||
|
||
</div> | ||
|
||
.. only:: not html | ||
|
||
* :ref:`sphx_glr_gallery_plot_average_direction.py` | ||
* :ref:`sphx_glr_gallery_plot_average_direction.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="Plotting Multiple Trajectories"> | ||
|
||
.. only:: html | ||
|
||
.. figure:: /gallery/images/thumb/sphx_glr_plot_collection_thumb.png | ||
.. figure:: /gallery/images/thumb/sphx_glr_plot_collection_thumb.png | ||
:alt: Plotting Multiple Trajectories | ||
|
||
:ref:`sphx_glr_gallery_plot_collection.py` | ||
:ref:`sphx_glr_gallery_plot_collection.py` | ||
|
||
.. raw:: html | ||
|
||
</div> | ||
|
||
.. only:: not html | ||
|
||
* :ref:`sphx_glr_gallery_plot_collection.py` | ||
* :ref:`sphx_glr_gallery_plot_collection.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="Comparing"> | ||
|
||
.. only:: html | ||
|
||
.. figure:: /gallery/images/thumb/sphx_glr_plot_comparing_thumb.png | ||
.. figure:: /gallery/images/thumb/sphx_glr_plot_comparing_thumb.png | ||
:alt: Comparing | ||
|
||
:ref:`sphx_glr_gallery_plot_comparing.py` | ||
:ref:`sphx_glr_gallery_plot_comparing.py` | ||
|
||
.. raw:: html | ||
|
||
</div> | ||
|
||
.. only:: not html | ||
|
||
* :ref:`sphx_glr_gallery_plot_comparing.py` | ||
* :ref:`sphx_glr_gallery_plot_comparing.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="Plotting trajectories on a grid"> | ||
|
||
.. only:: html | ||
|
||
.. figure:: /gallery/images/thumb/sphx_glr_plot_grid_thumb.png | ||
.. figure:: /gallery/images/thumb/sphx_glr_plot_grid_thumb.png | ||
:alt: Plotting trajectories on a grid | ||
|
||
:ref:`sphx_glr_gallery_plot_grid.py` | ||
:ref:`sphx_glr_gallery_plot_grid.py` | ||
|
||
.. raw:: html | ||
|
||
</div> | ||
|
||
.. only:: not html | ||
|
||
* :ref:`sphx_glr_gallery_plot_grid.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="Basic plotting with traja"> | ||
|
||
.. only:: html | ||
|
||
.. figure:: /gallery/images/thumb/sphx_glr_plot_with_traja_thumb.png | ||
|
||
:ref:`sphx_glr_gallery_plot_with_traja.py` | ||
|
||
.. raw:: html | ||
|
||
</div> | ||
|
||
.. only:: not html | ||
|
||
* :ref:`sphx_glr_gallery_plot_with_traja.py` | ||
* :ref:`sphx_glr_gallery_plot_grid.py` |
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,9 +1,14 @@ | ||
pandas>=1.2.0 | ||
numpy==1.18.5 | ||
matplotlib | ||
shapely | ||
psutil | ||
scipy | ||
sklearn | ||
fastdtw | ||
plotly | ||
networkx | ||
seaborn | ||
torch | ||
pytest | ||
Sphinx | ||
sphinx_gallery | ||
sphinx_rtd_theme | ||
pillow | ||
black | ||
pre-commit | ||
pyinstaller | ||
pyqt5 | ||
h5py |
Oops, something went wrong.