code: def layout(self):
      return dbc.Card(
          [
              make_hideable(
                  dbc.CardHeader(
                      [
                          html.H3(self.title),
                      ]
                  ),
                  hide=self.hide_title,
              ),
              dbc.CardBody(
                  [
                      dbc.Row(
                          [
                              make_hideable(
                                  dbc.Col(
                                      [
                                          dbc.Label(
                                              f"{self.explainer.index_name}:"
                                          ),
                                          dcc.Dropdown(
                                              id="modelprediction-index-"
                                              + self.name,
                                              options=[
                                                  {
                                                      "label": str(idx),
                                                      "value": idx,
                                                  }
                                                  for idx in self.explainer.idxs
                                              ],
                                              value=self.index,
                                          ),
                                      ],
                                      md=6,
                                  ),
                                  hide=self.hide_index,
                              ),
                              make_hideable(
                                  dbc.Col(
                                      [self.selector.layout()], width=3
                                  ),
                                  hide=self.hide_selector,
                              ),
                              make_hideable(
                                  dbc.Col(
                                      [
                                          dbc.Label("Show Percentile:"),
                                          dbc.Row(
                                              [
                                                  dbc.RadioButton(
                                                      id="modelprediction-percentile-"
                                                      + self.name,
                                                      className="form-check-input",
                                                      value=self.percentile,
                                                  ),
                                                  dbc.Label(
                                                      "Show percentile",
                                                      html_for="modelprediction-percentile"
                                                      + self.name,
                                                      className="form-check-label",
                                                  ),
                                              ],
                                              check=True,
                                          ),
                                      ],
                                      md=3,
                                  ),
                                  hide=self.hide_percentile,
                              ),
                          ]
                      ),
                      dbc.Row(
                          [
                              dbc.Col(
                                  [
                                      dcc.Markdown(
                                          id="modelprediction-"
                                          + self.name
                                      ),
                                  ],
                                  md=12,
                              )
                          ]
                      ),
                  ]
              ),
          ],
          class_name="h-100",
      )
  
imports: from math import ceil
  import numpy
  import pandas
  import dash
  from dash import html, dcc, Input, Output, State, dash_table
  from dash.exceptions import PreventUpdate
  import dash_bootstrap_components
  from ..dashboard_methods import *
  from ..None import to_html
label_desc: Use image node_id 2 for calling the PredictionSummaryComponent obj's underlying member method code with example usage: obj.layout() and returns: dbc