c389e14f4c933301b0e978080897f3a0b61646f9,mvpa/misc/errorfx.py,RMSErrorFx,__call__,#RMSErrorFx#Any#Any#,39

Before Change


        Both "predicted" and "desired" can be either scalars or sequences,
        but have to be of the same length.
        
        difference = N.subtract(predicted, desired)

        return sqrt(N.dot(difference, difference))

After Change


        Both "predicted" and "desired" can be either scalars or sequences,
        but have to be of the same length.
        
        return N.sqrt(N.mean(N.subtract(predicted, desired)**2))


class MeanMismatchErrorFx(ErrorFunction):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: PyMVPA/PyMVPA
Commit Name: c389e14f4c933301b0e978080897f3a0b61646f9
Time: 2008-06-16
Author: debian@onerussian.com
File Name: mvpa/misc/errorfx.py
Class Name: RMSErrorFx
Method Name: __call__


Project Name: Qiskit/qiskit-aqua
Commit Name: f42e9447320d18a072bdb2394eebb9ed5f04fa41
Time: 2021-03-31
Author: gaconju@gmail.com
File Name: qiskit/aqua/components/reciprocals/long_division.py
Class Name: LongDivision
Method Name: _ld_circuit


Project Name: etal/cnvkit
Commit Name: 6730197b768b786a80e9f737430e71e8f5fcbf5b
Time: 2016-12-09
Author: eric.talevich@gmail.com
File Name: cnvlib/antitarget.py
Class Name:
Method Name: get_background


Project Name: apache/incubator-tvm
Commit Name: 1a26a2e9e073e7fb579390edba8baf826743909c
Time: 2020-08-25
Author: lolisa@marisa.moe
File Name: tests/python/relay/test_op_grad_level10.py
Class Name:
Method Name: test_checkpoint