00689bd11cafb79756035e684f90aa3ded849167,hypertools/tools/describe_pca.py,,describe_pca,#Any#Any#,32

Before Change


            del cov_PCA
        return corrs

    if type(x) is list:
        pass
    else:
        x = [x]

    attrs = {}
    attrs["PCA_summary"] = {}
    attrs["PCA_summary"]["average"] = PCA_summary(x,x[0].shape[1])
    max_group = np.where(attrs["PCA_summary"]["average"]==np.max(attrs["PCA_summary"]["average"]))[0][0]

After Change


            del cov_PCA
        return corrs

    x = format_data(x)

    attrs = {}
    attrs["PCA_summary"] = {}
    attrs["PCA_summary"]["average"] = PCA_summary(x,x[0].shape[1])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 8

Instances


Project Name: ContextLab/hypertools
Commit Name: 00689bd11cafb79756035e684f90aa3ded849167
Time: 2017-01-05
Author: andrew.heusser@gmail.com
File Name: hypertools/tools/describe_pca.py
Class Name:
Method Name: describe_pca


Project Name: ContextLab/hypertools
Commit Name: 76b70c17a725e9266b27b1653ac5fde85d7e3c50
Time: 2017-01-05
Author: andrew.heusser@gmail.com
File Name: hypertools/tools/describe_pca.py
Class Name:
Method Name: describe_pca


Project Name: ContextLab/hypertools
Commit Name: 76b70c17a725e9266b27b1653ac5fde85d7e3c50
Time: 2017-01-05
Author: andrew.heusser@gmail.com
File Name: hypertools/tools/missing_inds.py
Class Name:
Method Name: missing_inds


Project Name: ContextLab/hypertools
Commit Name: 00689bd11cafb79756035e684f90aa3ded849167
Time: 2017-01-05
Author: andrew.heusser@gmail.com
File Name: hypertools/tools/missing_inds.py
Class Name:
Method Name: missing_inds


Project Name: ContextLab/hypertools
Commit Name: 00689bd11cafb79756035e684f90aa3ded849167
Time: 2017-01-05
Author: andrew.heusser@gmail.com
File Name: hypertools/tools/normalize.py
Class Name:
Method Name: normalize


Project Name: ContextLab/hypertools
Commit Name: 76b70c17a725e9266b27b1653ac5fde85d7e3c50
Time: 2017-01-05
Author: andrew.heusser@gmail.com
File Name: hypertools/tools/normalize.py
Class Name:
Method Name: normalize