74dae883a6f0bb31f55b8c1bd426a832b429ff4a,brainiak/utils/fmrisim.py,,_generate_feature,#Any#Any#Any#Any#,82

Before Change


        signal = np.ones(np.power(feature_size, 3))

        // Reorganize the signal into a 3d matrix
        signal = signal.reshape([feature_size,
                                 feature_size,
                                 feature_size])

    elif feature_type == "loop":

After Change


        loop = outer != inner

        // Check if the loop is a disk
        if np.all(inner is False):
            logger.warning("Loop feature reduces to a disk because the loop "
                           "is too thick")

        // If there is complete overlap then make the signal just the
        //  outer one
        if np.all(loop is False):
            loop = outer

        // store the loop
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: brainiak/brainiak
Commit Name: 74dae883a6f0bb31f55b8c1bd426a832b429ff4a
Time: 2017-11-09
Author: cellis@princeton.edu
File Name: brainiak/utils/fmrisim.py
Class Name:
Method Name: _generate_feature


Project Name: home-assistant/home-assistant
Commit Name: b4899ec46902741a209788d05cbc2214fcc391e7
Time: 2016-10-31
Author: mail@fabian-affolter.ch
File Name: homeassistant/components/sensor/yahoo_finance.py
Class Name:
Method Name: setup_platform


Project Name: ray-project/ray
Commit Name: c5cde65bc6974e9f1f13c4ea5cdb7beca93f6148
Time: 2020-07-21
Author: mehrdadn@users.noreply.github.com
File Name: python/setup.py
Class Name:
Method Name: build


Project Name: home-assistant/home-assistant
Commit Name: 35489998dfeff583067e14896a9e27ed7636089d
Time: 2015-08-23
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/device_tracker/netgear.py
Class Name:
Method Name: get_scanner