791f8d56410120655ceb8b47f13606a3ec8dca5c,examples/horse/horse.py,,,#,3

Before Change



mapper = km.KeplerMapper(cluster_algorithm=km.cluster.DBSCAN(eps=0.3, min_samples=3), nr_cubes=25, link_local=False, overlap_perc=0.7, verbose=1)

mapper.fit(data)

complex = mapper.map(data, dimension_index=1, dimension_name="Y-axis")

mapper.visualize(complex, "horse_keplermapper_output.html", "horse-reference.csv")

// You may want to visualize the original point cloud data in 3D scatter too

After Change

import km

data = km.np.genfromtxt("horse-reference.csv",delimiter=",")

mapper = km.KeplerMapper(verbose=2)


lens = mapper.fit_transform(data)


graph = mapper.map(lens,
                   data,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: MLWave/kepler-mapper
Commit Name: 791f8d56410120655ceb8b47f13606a3ec8dca5c
Time: 2017-09-30
Author: nat@saulgill.com
File Name: examples/horse/horse.py
Class Name:
Method Name:


Project Name: MLWave/kepler-mapper
Commit Name: 791f8d56410120655ceb8b47f13606a3ec8dca5c
Time: 2017-09-30
Author: nat@saulgill.com
File Name: examples/cat/cat.py
Class Name:
Method Name:


Project Name: MLWave/kepler-mapper
Commit Name: 791f8d56410120655ceb8b47f13606a3ec8dca5c
Time: 2017-09-30
Author: nat@saulgill.com
File Name: examples/lion/lion.py
Class Name:
Method Name: