Skip to main content
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Description: # PyGTM

A python implementation of Generative Topographic Mapping.

**This is beta release.**
For example, this project has no test as you can see.

## Requirements

- numpy
- scipy
- scikit-learn

## Getting Started

To install PyGTM, use `pip`

```bash
$ pip install -U pygtm
```

The pygtm package inherits scikit-learn classes.

```python
from pygtm import GTM
from sklearn.datasets import load_iris
from sklearn.preprocessing import StandardScaler
from sklearn.pipeline import make_pipeline

iris = load_iris()
model = make_pipeline(
StandardScaler(),
GTM(n_components=2)
)
embedding = model.fit_transform(iris.data)
```

## References

- [GTM: The Generative Topographic Mapping](https://www.microsoft.com/en-us/research/publication/gtm-the-generative-topographic-mapping/)
- [Development of the Generative Topographic Mapping](https://www.microsoft.com/en-us/research/publication/developments-of-the-generative-topographic-mapping/)
Platform: UNKNOWN

Metadata

Release files for pygtm 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygtm 0.0.2
File Size Uploaded Provenance Actions
pygtm-0.0.2.tar.gz 3.2 kB Without provenance Details for pygtm-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pygtm 0.0.2
File Interpreter ABI Platform Actions
pygtm-0.0.2-py3-none-any.whl Python 3 none any Details for pygtm-0.0.2-py3-none-any.whl

Total release size: 11.8 kB

Release files / pygtm-0.0.2.tar.gz

Download URL pygtm-0.0.2.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f077f3e600ed6c3a64533b71355e5d82233f36fbf6bea05f3c6ad744c1d6f62d
BLAKE2b-256 checksum
How to use checksums
c65f651ab27c9b315030ec39c917787b68b066a42a6c6c3461faea21d45d777c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pygtm-0.0.2-py3-none-any.whl

Download URL pygtm-0.0.2-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb749101ac2efc3a6fb5e1b189dea0fa4126610e2a98dd9f6c2fecf0707bad15
BLAKE2b-256 checksum
How to use checksums
7efbb3a079a7e21ed942f572aab9b0f9ffdcf24b949e8e2d1bfe18ce28ff2cae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pygtm 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page