code: def __get_sklearn_version(version):
      # matching 0.15b, 0.16bf, etc
      version_regex = r"^\d+\.\d+"
      version = _re.search(version_regex, str(version)).group(0)
      return _StrictVersion(version)
  
imports: from distutils.version import StrictVersion
  import logging
  import platform
  import re
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: __get_sklearn_version(version) and returns: _StrictVersion