-
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.
Merge pull request #17 from ai2es/djgagne
Doc Update
- Loading branch information
Showing
13 changed files
with
162 additions
and
53 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
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,6 +1,73 @@ | ||
.. install | ||
Install MILES GUESS | ||
------------------- | ||
=================== | ||
|
||
MILES GUESS supports Python 3.8 to 3.11. Support | ||
for newer versions of Python depends on the choice | ||
of deep learning model backend. | ||
|
||
The primary ML library dependency is keras 3. Install one | ||
of the keras 3 backends (tensorflow, pytorch, or jax). | ||
|
||
First, set up a base Python environment on | ||
your system. We highly recommend using miniconda or | ||
mambaforge to easily install all the dependencies. | ||
|
||
To install the stable version of the package: | ||
|
||
.. code-block:: bash | ||
pip install miles-guess | ||
To use the latest developed version of the package, | ||
first download : | ||
|
||
.. code-block:: bash | ||
git clone [email protected]:ai2es/miles-guess.git | ||
cd miles-guess | ||
Next, build the environment for the package. | ||
|
||
For CPU-based systems: | ||
|
||
.. code-block:: bash | ||
mamba env create -f environment.yml | ||
For GPU-based systems: | ||
|
||
.. code-block:: bash | ||
mamba env create -f environment_casper.yml | ||
If you want to install miles-guess directly | ||
after building your environment run: | ||
|
||
.. code-block:: bash | ||
pip install . | ||
Keras 3 Installation | ||
-------------------- | ||
MILES GUESS depends on Keras 3 as its primary | ||
ML backend and through Keras 3 can support | ||
tensorflow, pytorch, or jax. The current version | ||
of tensorflow (2.15) will downgrade keras 3 to | ||
keras 2.15 upon installation. If you run into | ||
this issue, reinstall keras 3 by running the | ||
following command: | ||
|
||
.. code-block:: bash | ||
pip install --upgrade keras | ||
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ Subpackages | |
:maxdepth: 4 | ||
|
||
mlguess.keras | ||
mlguess.tests | ||
mlguess.torch | ||
|
||
Submodules | ||
|
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,45 @@ | ||
mlguess.tests package | ||
===================== | ||
|
||
Submodules | ||
---------- | ||
|
||
mlguess.tests.test\_environment module | ||
-------------------------------------- | ||
|
||
.. automodule:: mlguess.tests.test_environment | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
mlguess.tests.test\_layers module | ||
--------------------------------- | ||
|
||
.. automodule:: mlguess.tests.test_layers | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
mlguess.tests.test\_models module | ||
--------------------------------- | ||
|
||
.. automodule:: mlguess.tests.test_models | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
mlguess.tests.test\_pit module | ||
------------------------------ | ||
|
||
.. automodule:: mlguess.tests.test_pit | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: mlguess.tests | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file was deleted.
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 @@ | ||
../../../notebooks/classifier_example.ipynb |
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 @@ | ||
../../../notebooks/regression_example.ipynb |
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
Oops, something went wrong.