Skip to main content

A python implementation of Generative Topographic Mapping.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygtm-0.0.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygtm-0.0.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file pygtm-0.0.2.tar.gz.

File metadata

  • Download URL: pygtm-0.0.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygtm-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f077f3e600ed6c3a64533b71355e5d82233f36fbf6bea05f3c6ad744c1d6f62d
MD5 3838b7870fc2c2a7c04e8dca7e9e6e11
BLAKE2b-256 c65f651ab27c9b315030ec39c917787b68b066a42a6c6c3461faea21d45d777c

See more details on using hashes here.

File details

Details for the file pygtm-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pygtm-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fb749101ac2efc3a6fb5e1b189dea0fa4126610e2a98dd9f6c2fecf0707bad15
MD5 e959cdc4faa2e3bcffcbfbbc098c7f09
BLAKE2b-256 7efbb3a079a7e21ed942f572aab9b0f9ffdcf24b949e8e2d1bfe18ce28ff2cae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page