Skip to content
/ pygtm Public

A python implementation of the Generative Topographic Mapping

License

Notifications You must be signed in to change notification settings

amaotone/pygtm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pypi version

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

$ pip install -U pygtm

The pygtm package inherits scikit-learn classes.

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

Releases

No releases published

Packages

No packages published

Languages