6fa78eebb531215d2fb5f5955a9ff353b6b8ddf7,examples/tangent_pca_so3.py,,main,#,19
Before Change
data = SO3_GROUP.random_uniform(n_samples=N_SAMPLES)
mean = METRIC.mean(data)
eigenvalues, tangent_eigenvecs = METRIC.tangent_pca(data, base_point=mean)
n_eigenvalues = min(N_SAMPLES, SO3_GROUP.dimension)
explained_variances = np.cumsum(eigenvalues)
After Change
ax.set_title("Data in SO3 (black) and Frechet mean (color)")
visualization.plot(data, ax, space="SO3_GROUP", color="black")
visualization.plot(mean, ax, space="SO3_GROUP", linewidth=3)
ax.set_xlim((-2, 2))
ax.set_ylim((-2, 2))
ax.set_zlim((-2, 2))
plt.show()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: geomstats/geomstats
Commit Name: 6fa78eebb531215d2fb5f5955a9ff353b6b8ddf7
Time: 2019-08-28
Author: ninamio78@gmail.com
File Name: examples/tangent_pca_so3.py
Class Name:
Method Name: main
Project Name: matplotlib/matplotlib
Commit Name: 98ab2a07920610dae862d95363243572a84ea2c7
Time: 2020-06-16
Author: tcaswell@gmail.com
File Name: lib/matplotlib/tests/test_patches.py
Class Name:
Method Name: test_large_arc
Project Name: matplotlib/matplotlib
Commit Name: d67550cee52588a9ff3cff49fbc45b0d878bca9a
Time: 2020-06-16
Author: tcaswell@gmail.com
File Name: lib/matplotlib/tests/test_patches.py
Class Name:
Method Name: test_large_arc