code: def _set_scoring_mode_for_target_layer(self, target_layer):
      if deeplift.util.is_type(target_layer, layers.Activation):
          raise RuntimeError(
              "You set the target layer to an"
              + " activation layer, which is unusual so I am"
              + " throwing an error - did you mean"
              + " to set the target layer to the layer *before*"
              + " the activation layer instead? (recommended for "
              + " classification)"
          )
      scoring_mode = ScoringMode.OneAndZeros
      if len(target_layer.get_output_layers()) > 0:
          if len(target_layer.get_output_layers()) > 1:
              print(
                  "WARNING: the target layer"
                  + str(target_layer.get_name())
                  + " has multiple output layers"
                  + str(target_layer.get_output_layers())
              )
          else:
              final_activation_layer = target_layer.get_output_layers()[
                  0
              ]
              if (
                  deeplift.util.is_type(
                      final_activation_layer, layers.Activation
                  )
                  == False
              ):
                  print(
                      "\n\nWARNING!!! There is a layer after your target"
                      + " layer but it is not an activation layer"
                      + ", which is unusual; double check you have set"
                      + " the target layer correctly.\n\n"
                  )
              scoring_mode = ScoringMode.OneAndZeros
      target_layer.set_scoring_mode(scoring_mode)
  
imports: from __future__ import division
  from __future__ import print_function
  from __future__ import absolute_import
  import sys
  import os
  import numpy
  import yaml
  from collections import namedtuple
  from collections import OrderedDict
  from collections import defaultdict
  import deeplift.util
  from deeplift import layers
  from deeplift.layers import *
  from deeplift.layers import ScoringMode
  from deeplift.util import compile_func
label_desc: Use image node_id 7 for calling the Model obj's underlying member method code with example usage: obj._set_scoring_mode_for_target_layer(target_layer) without return types