docstr: Validate outlier removal.
docstr_tok: ["Validate","outlier","removal","."]
code: def test_outlier_decile(self):
      """Validate outlier removal."""
      blocks_to_use = np.array([1, 2])
      n = 15
      architectures = np.tile([2, 1], (n, 1))
      architectures[0, :] = 1
      losses = np.concatenate(
          [[2.0], np.ones(n - 3), np.repeat(10000.0, 2)]
      )
      # With outliers included, block 2 in layer 0 looks really bad.
      # With outliers rejected, block 2 in layer 0 looks good.
      best = _get_suggestion(
          architectures, blocks_to_use, losses, remove_outliers=True
      )
      self.assertEqual(best[0], 2)
  
imports: from absl.testing import parameterized
  import mock
  from model_search import block_builder
  from model_search import hparam
  from model_search.metadata import trial
  from model_search.proto import phoenix_spec_pb2
  from model_search.search import linear_model
  from model_search.search import test_utils
  import numpy
  import tensorflow.compat.v2
label_desc: Use image node_id 7 for calling the LinearModelTest obj's underlying member method code with example usage: obj.test_outlier_decile() without return types