def _orange_to_numpy(x):
 if isinstance(x, data.Table):
  return x.X
 elif isinstance(x, data.Instance):
  return np.atleast_2d(x.x)
 elif isinstance(x, np.ndarray):
  return np.atleast_2d(x)
 else:
  return x

def _orange_to_numpy ( x ) : if isinstance ( x , data . Table ) : return x . X elif isinstance ( x , data . Instance ) : return np . atleast_2d ( x . x ) elif isinstance ( x , np . ndarray ) : return np . atleast_2d ( x ) else : return x
convert :class:orange .