class_docstr: Tests for SkLearnMutualInformationStatsFn.
code: def test_mi_with_missing_label_key(self):
      batch = pa.RecordBatch.from_arrays(
          [pa.array([[1]]), pa.array([[1]])], ["label", "fa"]
      )
  
      schema = text_format.Parse(
          """
            feature {
              name: "fa"
              type: FLOAT
                shape {
                dim {
                  size: 1
                }
              }
            }
            feature {
              name: "label"
              type: FLOAT
              shape {
                dim {
                  size: 1
                }
              }
            }
            """,
          schema_pb2.Schema(),
      )
  
      with self.assertRaisesRegex(
          ValueError, "Feature label_key not found in the schema."
      ):
          sklearn_mutual_information.SkLearnMutualInformation(
              types.FeaturePath(["label_key"]), schema, TEST_SEED
          ).compute(batch)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import absltest
  import numpy
  import pyarrow
  from tensorflow_data_validation import types
  from tensorflow_data_validation.statistics.generators import sklearn_mutual_information
  from google.protobuf import text_format
  from tensorflow.python.util.protobuf import compare
  from tensorflow_metadata.proto.v0 import schema_pb2
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 14 for calling the SkLearnMutualInformationTest obj's underlying member method code with example usage: obj.test_mi_with_missing_label_key() without return types