ef377c47e2ab227e71e018e7648898d09a465154,examples/inverse_transform_example.py,,,#,10

Before Change


import umap

mnist = fetch_mldata("MNIST original")
X_train, X_test, y_train, y_test = train_test_split(
    mnist.data,
    mnist.target,
    stratify=mnist.target,
    random_state=42
)

trans = umap.UMAP(
    n_neighbors=10,
    random_state=42,

After Change


    [-5.1, 2.9],  // 7
    [-1.9, 6.4],  // 4
    [-3.0, -6.5],  // 1
    [8.6, 2.6],  // 0
])

test_pts = np.array([
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: lmcinnes/umap
Commit Name: ef377c47e2ab227e71e018e7648898d09a465154
Time: 2018-09-30
Author: joseph.m.courtney@gmail.com
File Name: examples/inverse_transform_example.py
Class Name:
Method Name:


Project Name: scikit-learn/scikit-learn
Commit Name: 9d677b56f4244eb08f1c7e2061a1e86fd0aee748
Time: 2020-05-16
Author: olivier.grisel@gmail.com
File Name: examples/compose/plot_column_transformer_mixed_types.py
Class Name:
Method Name:


Project Name: ClimbsRocks/auto_ml
Commit Name: 6e32bf38e0230e383c6f5a092d1ac3a7913fe093
Time: 2017-12-07
Author: ClimbsBytes@gmail.com
File Name: tests/core_tests/test_prediction_intervals.py
Class Name:
Method Name: test_prediction_intervals_actually_work


Project Name: thoughtworksarts/EmoPy
Commit Name: da66e64f1eff8b52ae90cccc6f75a75d1af94c50
Time: 2018-02-05
Author: aperez@thoughtworks.com
File Name: examples/convolutional_model.py
Class Name:
Method Name: