code: def _is_integral_float(y):
      return y.dtype.kind == "f" and np.all(y.astype(int) == y)
  
file_path: mlens/mlens/externals/sklearn/type_of_target.py
imports: from __future__ import division
  from collections import Sequence
  from scipy.sparse import issparse
  from scipy.sparse.base import spmatrix
  from scipy.sparse import dok_matrix
  from scipy.sparse import lil_matrix
  from ..six import string_types
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: _is_integral_float(y) and returns: unknown