Skip to content

Commit 527755e

Browse files
ulupolewtun
authored andcommitted
Rename library to giotto-tda (giotto-ai#198)
* Bump library to 0.1.4, globally rename giotto module to gtda * Populated RELEASE.rst with past release info and new release * Globally rename glearn -> gtda * Add tracking for gudhi-devel and ripser
1 parent 5f9cb1d commit 527755e

File tree

221 files changed

+483
-363
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

221 files changed

+483
-363
lines changed

.coveragerc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[run]
22
omit =
3-
*/giotto/externals/*
3+
*/gtda/externals/*
44
**/setup.py
55

6-
*/giotto/compose/*
7-
*/giotto/datasets/*
8-
*/giotto/images/*
9-
*/giotto/neural_network/*
10-
*/giotto/model_selection/*
6+
*/gtda/compose/*
7+
*/gtda/datasets/*
8+
*/gtda/images/*
9+
*/gtda/neural_network/*
10+
*/gtda/model_selection/*
1111

1212
**/base.py
1313
**/pipeline.py

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ doc/build
2424
doc/generated
2525

2626
# Pybind11
27-
giotto/externals/pybind11
27+
gtda/externals/pybind11
2828

2929
# Output files
3030
*.out
@@ -40,4 +40,4 @@ giotto/externals/pybind11
4040
.hypothesis/
4141

4242
# development
43-
giotto/mapper/scratch/*
43+
gtda/mapper/scratch/*

.gitmodules

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
[submodule "giotto/externals/ripser"]
2-
path = giotto/externals/ripser
1+
[submodule "gtda/externals/ripser"]
2+
path = gtda/externals/ripser
33
url = https://github.com/scikit-tda/ripser.py.git
4-
[submodule "giotto/externals/gudhi-devel"]
5-
path = giotto/externals/gudhi-devel
6-
url = https://github.com/giotto-learn/gudhi-devel
4+
[submodule "gtda/externals/gudhi-devel"]
5+
path = gtda/externals/gudhi-devel
6+
url = https://github.com/giotto-ai/gudhi-devel
77
branch = giotto

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
cmake_minimum_required(VERSION 3.9)
22
project(giotto_bindings LANGUAGES CXX)
33

4-
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/giotto/externals/pybind11)
5-
set(BINDINGS_DIR "giotto/externals/bindings")
4+
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/gtda/externals/pybind11)
5+
set(BINDINGS_DIR "gtda/externals/bindings")
66

77
find_package(Boost 1.56 REQUIRED)
88
include_directories(${Boost_INCLUDE_DIR})
@@ -46,7 +46,7 @@ target_compile_options(giotto_bottleneck PUBLIC -Wall -O3)
4646
target_compile_options(giotto_bottleneck PUBLIC $<$<CONFIG:DEBUG>:-O2 -ggdb -D_GLIBCXX_DEBUG>)
4747
target_compile_definitions(giotto_bottleneck PRIVATE BOOST_RESULT_OF_USE_DECLTYPE=1 BOOST_ALL_NO_LIB=1 BOOST_SYSTEM_NO_DEPRECATED=1)
4848

49-
set(GUDHI_SRC_DIR "giotto/externals/gudhi-devel/src")
49+
set(GUDHI_SRC_DIR "gtda/externals/gudhi-devel/src")
5050

5151
#######################################################################
5252
# Cubical Complex #

CODE_AUTHORS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# The following is the list of the code authors of the giotto-learn python
2-
# package. Where component authors are known, add them here.
1+
# The following is the list of the code authors of the giotto-tda python
2+
# package. Where component authors are known, add them here.
33

44
Guillaume Tauzin, [email protected]
55
Umberto Lupo, [email protected]

CODE_OWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# The following is the list of the code owners of the giotto-learn python
2+
# The following is the list of the code owners of the giotto-tda python
33
# package.
44

55
L2F SA

CONTRIBUTING.rst

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ Pull Request Checklist
55
----------------------
66

77
Before sending your pull requests, make sure you followed this list.
8-
- Read the `contributing guidelines <https://github.com/giotto-learn/giotto-learn/blob/master/GOVERNANCE.rst>`_.
9-
- Read the `code of conduct <https://github.com/giotto-learn/giotto-learn/blob/master/CODE_OF_CONDUCT.rst>`_.
10-
- Ensure you have signed the `contributor license agreement (CLA) <https://cla-assistant.io/giotto-learn/giotto-learn>`_.
8+
- Read the `contributing guidelines <https://github.com/giotto-ai/giotto-tda/blob/master/GOVERNANCE.rst>`_.
9+
- Read the `code of conduct <https://github.com/giotto-ai/giotto-tda/blob/master/CODE_OF_CONDUCT.rst>`_.
10+
- Ensure you have signed the `contributor license agreement (CLA) <https://cla-assistant.io/giotto-ai/giotto-tda>`_.
1111
- Check if the changes are consistent with the guidelines.
1212
- Changes are consistent with the Coding Style.
1313
- Run Unit Tests.
@@ -18,21 +18,21 @@ How to become a contributor and submit your own code
1818
Contributor License Agreements
1919
------------------------------
2020

21-
In order to become a contributor of Giotto, the first step is to sign the
22-
`contributor license agreement (CLA) <https://cla-assistant.io/giotto-learn/giotto-learn>`_.
21+
In order to become a contributor of giotto-tda, the first step is to sign the
22+
`contributor license agreement (CLA) <https://cla-assistant.io/giotto-ai/giotto-tda>`_.
2323
**NOTE**: Only original source code from you and other people that have signed
2424
the CLA can be accepted into the main repository.
2525

2626
Contributing code
2727
-----------------
2828

29-
If you have improvements to Giotto, do not hesitate to send us pull requests!
29+
If you have improvements to giotto-tda, do not hesitate to send us pull requests!
3030
Please follow the Github how to (https://help.github.com/articles/using-pull-requests/).
31-
The Giotto Team will review your pull requests. Once the pull requests are approved and pass continuous integration checks, the
32-
Giotto team will work on getting your pull request submitted to our GitHub
31+
The giotto-tda team will review your pull requests. Once the pull requests are approved and pass continuous integration checks, the
32+
giotto-tda team will work on getting your pull request submitted to our GitHub
3333
repository. Eventually, your pull request will be merged automatically on GitHub.
34-
If you want to contribute, start working through the Giotto codebase,
35-
navigate to the `GitHub issue tab <https://github.com/giotto-learn/giotto-learn/issues>`_
34+
If you want to contribute, start working through the giotto-tda codebase,
35+
navigate to the `GitHub issue tab <https://github.com/giotto-ai/giotto-tda/issues>`_
3636
and start looking through interesting issues. These are issues that we believe
3737
are particularly well suited for outside contributions, often because we
3838
probably won't get to them right now. If you decide to start on an issue, leave
@@ -53,17 +53,17 @@ General guidelines and philosophy for contribution
5353
b) guard against future breaking changes to lower the maintenance cost.
5454
* Bug fixes also generally require unit tests, because the presence of bugs
5555
usually indicates insufficient test coverage.
56-
* Keep API compatibility in mind when you change code in core Giotto.
56+
* Keep API compatibility in mind when you change code in core giotto-tda.
5757
* Clearly define your exceptions using the utils functions and test the exceptions.
58-
* When you contribute a new feature to Giotto, the maintenance burden is   
59-
(by default) transferred to the Giotto team. This means that the benefit   
58+
* When you contribute a new feature to giotto-tda, the maintenance burden is   
59+
(by default) transferred to the giotto-tda team. This means that the benefit   
6060
of the contribution must be compared against the cost of maintaining the   
6161
feature.
6262

6363
C++ coding style
6464
----------------
6565

66-
Changes to Giotto C/C++ code should conform to `Google C++ Style Guide <https://google.github.io/styleguide/cppguide.html>`_.
66+
Changes to giotto-tda's C/C++ code should conform to `Google C++ Style Guide <https://google.github.io/styleguide/cppguide.html>`_.
6767
Use `clang-tidy` to check your C/C++ changes. To install `clang-tidy` on
6868
ubuntu:16.04, do:
6969

@@ -81,7 +81,7 @@ You can check a C/C++ file by doing:
8181
Python coding style
8282
-------------------
8383

84-
Changes to Giotto Python code should conform to PEP8 directives.
84+
Changes to giotto-tda's Python code should conform to PEP8 directives.
8585
Use `flake8` to check your Python changes. To install `flake8` just do
8686

8787
.. code-block:: python
@@ -106,7 +106,7 @@ We provide a pre-commit git hook to prevent accidental commits to the master bra
106106
Running unit tests
107107
------------------
108108

109-
There are two ways to run Giotto unit tests.
109+
There are two ways to run unit tests for giotto-tda.
110110

111111
1. Using tools and libraries installed directly on your system. The election tool is `pytest`. To install `pytest` just do
112112

@@ -120,4 +120,4 @@ You can use `pytest` on your python code via the following instructions:
120120
121121
pytest name_of_your_script.py
122122
123-
2. Using Azure (azure-pipelines.yml) and Giotto's CI scripts.
123+
2. Using Azure (azure-pipelines.yml) and giotto-tda's CI scripts.

GOVERNANCE.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This file describe the governance of the Giotto project.
1+
This file describe the governance of the giotto-tda project.
22

33
Project owner:
44
--------------
@@ -8,10 +8,10 @@ Project owner:
88
Authors:
99
--------
1010

11-
- Please refer to the `authors <https://github.com/giotto-learn/giotto-learn/blob/master/CODE_AUTHORS>`_ file
11+
- Please refer to the `authors <https://github.com/giotto-ai/giotto-tda/blob/master/CODE_AUTHORS>`_ file
1212

13-
Giotto Project Team:
14-
--------------------
13+
Giotto-tda Project Team:
14+
------------------------
1515

1616
- Umberto Lupo [email protected] (Maintainer)
1717
- Lewis Tunstall [email protected] (Maintainer)
@@ -20,4 +20,4 @@ Giotto Project Team:
2020
Former Project Team Members:
2121
----------------------------
2222

23-
- Philippe Nguyen [email protected] (Developer)
23+
- Philippe Nguyen [email protected] (Developer)

ISSUE_TEMPLATE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<!-- Instructions For Filing a Bug: https://github.com/giotto-learn/giotto-learn/blob/master/CONTRIBUTING.rst -->
1+
<!-- Instructions For Filing a Bug: https://github.com/giotto-ai/giotto-tda/blob/master/CONTRIBUTING.rst -->
22

33
#### Description
4-
<!-- Example: Joblib Error thrown when calling fit on VietorisRipsPersistence
4+
<!-- Example: Joblib Error thrown when calling fit on VietorisRipsPersistence
55
-->
66

77
#### Steps/Code to Reproduce
@@ -23,9 +23,9 @@ import platform; print(platform.platform())
2323
import sys; print("Python", sys.version)
2424
import numpy; print("NumPy", numpy.__version__)
2525
import scipy; print("SciPy", scipy.__version__)
26-
import joblib; print("joblib", joblib.__version__)
27-
import sklearn; print("Scikit-Learn", sklearn.__version__)
28-
import giotto; print("giotto-Learn", giotto.__version__)
26+
import joblib; print("Joblib", joblib.__version__)
27+
import sklearn; print("Scikit-learn", sklearn.__version__)
28+
import gtda; print("Giotto-tda", gtda.__version__)
2929
-->
3030

3131

PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
Thanks for contributing a pull request! Please ensure you have taken a look at
3-
the contribution guidelines: https://github.com/giotto-learn/giotto-learn/blob/master/CONTRIBUTING.md#pull-request-checklist
3+
the contribution guidelines: https://github.com/giotto-ai/giotto-tda/blob/master/CONTRIBUTING.md#pull-request-checklist
44
-->
55

66
#### Reference Issues/PRs

README.rst

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
|Azure|_ |Azure-cov|_ |Azure-test|_ |binder|_
55

6-
.. |Azure| image:: https://dev.azure.com/maintainers/Giotto/_apis/build/status/giotto-ai.giotto-learn?branchName=master
6+
.. |Azure| image:: https://dev.azure.com/maintainers/Giotto/_apis/build/status/giotto-ai.giotto-tda?branchName=master
77
.. _Azure: https://dev.azure.com/maintainers/Giotto/_build/latest?definitionId=2&branchName=master
88

99
.. |Azure-cov| image:: https://img.shields.io/badge/Coverage-93%25-passed
@@ -13,14 +13,14 @@
1313
.. _Azure-test: https://dev.azure.com/maintainers/Giotto/_build/results?buildId=6&view=ms.vss-test-web.build-test-results-tab
1414

1515
.. |binder| image:: https://mybinder.org/badge_logo.svg
16-
.. _binder: https://mybinder.org/v2/gh/giotto-ai/giotto-learn/master?filepath=examples
16+
.. _binder: https://mybinder.org/v2/gh/giotto-ai/giotto-tda/master?filepath=examples
1717

1818

19-
giotto-learn
20-
============
19+
giotto-tda
20+
==========
2121

2222

23-
giotto-learn is a high performance topological machine learning toolbox in Python built on top of
23+
giotto-tda is a high performance topological machine learning toolbox in Python built on top of
2424
scikit-learn and is distributed under the GNU AGPLv3 license. It is part of the `Giotto <https://github.com/giotto-ai>`_ family of open-source projects.
2525

2626
Website: https://giotto.ai
@@ -29,7 +29,7 @@ Website: https://giotto.ai
2929
Project genesis
3030
---------------
3131

32-
giotto-learn is the result of a collaborative effort between `L2F SA
32+
giotto-tda is the result of a collaborative effort between `L2F SA
3333
<https://www.l2f.ch/>`_, the `Laboratory for Topology and Neuroscience
3434
<https://www.epfl.ch/labs/hessbellwald-lab/>`_ at EPFL, and the `Institute of Reconfigurable & Embedded Digital Systems (REDS)
3535
<https://heig-vd.ch/en/research/reds>`_ of HEIG-VD.
@@ -40,7 +40,7 @@ Installation
4040
Dependencies
4141
~~~~~~~~~~~~
4242

43-
The latest stable version of giotto-learn requires:
43+
The latest stable version of giotto-tda requires:
4444

4545
- Python (>= 3.5)
4646
- NumPy (>= 1.17.0)
@@ -61,19 +61,19 @@ To run the examples, jupyter is required.
6161
User installation
6262
~~~~~~~~~~~~~~~~~
6363

64-
The simplest way to install giotto-learn is using ``pip`` ::
64+
The simplest way to install giotto-tda is using ``pip`` ::
6565

66-
pip install -U giotto-learn
66+
pip install -U giotto-tda
6767

6868
Note: the above may fail on old versions of ``pip``. We recommend upgrading ``pip``
6969
to a recent version.
7070

7171
Pre-release, experimental builds containing recently added features and/or
7272
bug fixes can be installed by running ::
7373

74-
pip install -U giotto-learn-nightly
74+
pip install -U giotto-tda-nightly
7575

76-
The main difference between ``giotto-learn-nightly`` and the developer
76+
The main difference between ``giotto-tda-nightly`` and the developer
7777
installation (see below) is that the former is shipped with pre-compiled wheels
7878
(similarly to the stable release) and hence does not require any C++ dependencies.
7979

@@ -87,13 +87,13 @@ Contributing
8787

8888
We welcome new contributors of all experience levels. The Giotto
8989
community goals are to be helpful, welcoming, and effective. To learn more about
90-
making a contribution to giotto-learn, please see the `CONTRIBUTING.rst
91-
<https://github.com/giotto-ai/giotto-learn/blob/master/CONTRIBUTING.rst>`_ file.
90+
making a contribution to giotto-tda, please see the `CONTRIBUTING.rst
91+
<https://github.com/giotto-ai/giotto-tda/blob/master/CONTRIBUTING.rst>`_ file.
9292

9393
Developer installation
9494
~~~~~~~~~~~~~~~~~~~~~~~
9595

96-
Installing both the PyPI release and source of giotto-learn in the same environment is not recommended since it is
96+
Installing both the PyPI release and source of giotto-tda in the same environment is not recommended since it is
9797
known to cause conflicts with the C++ bindings.
9898

9999
C++ dependencies:
@@ -136,15 +136,15 @@ Source code
136136

137137
You can check the latest sources with the command::
138138

139-
git clone https://github.com/giotto-ai/giotto-learn.git
139+
git clone https://github.com/giotto-ai/giotto-tda.git
140140

141141

142142
To install:
143143
'''''''''''
144144

145145
.. code-block:: bash
146146
147-
cd giotto-learn
147+
cd giotto-tda
148148
pip install -e ".[tests, doc]"
149149
150150
This way, you can pull the library's latest changes and make them immediately available on your machine.
@@ -162,15 +162,15 @@ source directory::
162162
Changelog
163163
---------
164164

165-
See the `RELEASE.rst <https://github.com/giotto-ai/giotto-learn/blob/master/RELEASE.rst>`__ file
166-
for a history of notable changes to giotto-learn.
165+
See the `RELEASE.rst <https://github.com/giotto-ai/giotto-tda/blob/master/RELEASE.rst>`__ file
166+
for a history of notable changes to giotto-tda.
167167

168168
Important links
169169
~~~~~~~~~~~~~~~
170170

171-
- Official source code repo: https://github.com/giotto-ai/giotto-learn
172-
- Download releases: https://pypi.org/project/giotto-learn/
173-
- Issue tracker: https://github.com/giotto-ai/giotto-learn/issues
171+
- Official source code repo: https://github.com/giotto-ai/giotto-tda
172+
- Download releases: https://pypi.org/project/giotto-tda/
173+
- Issue tracker: https://github.com/giotto-ai/giotto-tda/issues
174174

175175
Community
176176
---------

0 commit comments

Comments
 (0)