code: def rmse(diff):
      return np.sqrt(1.0 * np.multiply(diff, diff).sum() / diff.size)
  
file_path: gensim/gensim/test/svd_error.py
imports: from __future__ import print_function, with_statement
  import logging
  import os
  import sys
  import time
  import bz2
  import itertools
  import numpy
  import scipy.linalg
  import gensim
label_desc: Use image node_id 2 for calling a global function with example usage: rmse(diff) and returns: np