mlflow/server/js/src/components/ExperimentView.js
/**
   * Mark a column as unbagged by adding it to the appropriate array of unbagged columns.
   * @param isParam If true, the column is assumed to be a metric column; if false, the column is
   *                assumed to be a param column.
   * @param colName Name of the column (metric or param key).
   */
Mark a column as unbagged by adding it to the appropriate array of unbagged columns.
@param isParam If true, the column is assumed to be a metric column; if false, the column is
assumed to be a param column.
@param colName Name of the column (metric or param key).
Mark a column as unbagged by adding it to the appropriate array of unbagged columns . @param isParam If true the column is assumed to be a metric column ; if false the column is assumed to be a param column . @param colName Name of the column ( metric or param key ) .
removeBagged(isParam, colName) {
    const unbagged = isParam ? this.state.persistedState.unbaggedParams :
      this.state.persistedState.unbaggedMetrics;
    const stateKey = isParam ? "unbaggedParams" : "unbaggedMetrics";
    this.setState(
      {
        persistedState: new ExperimentViewPersistedState({
          ...this.state.persistedState,
          [stateKey]: unbagged.concat([colName])
        }).toJSON()
      });
  }
removeBagged ( isParam , colName ) { const unbagged = isParam ? this . state . persistedState . unbaggedParams : this . state . persistedState . unbaggedMetrics ; const stateKey = isParam ? "unbaggedParams" : "unbaggedMetrics" ; this . setState ( { persistedState : new ExperimentViewPersistedState ( { ... this . state . persistedState , [ stateKey ] : unbagged . concat ( [ colName ] ) } ) . toJSON ( ) } ) ; }
Mark a column as unbagged by adding it to the appropriate array of unbagged columns.
Mark a column as unbagged by adding it to the appropriate array of unbagged columns .