               )
               g.from table
             )
-        else
+        else if table.schema['training_logloss']
           renderPlot 'Scoring History - logloss', no, _.plot (g) ->
             g(
               g.path(


    when 'gbm', 'drf'
      if table = _.inspect 'output - Scoring History', _model
        if table.schema['validation_logloss']
          renderPlot 'Scoring History - logloss', no, _.plot (g) ->
            g(
              g.path(

          )

      if table = _.inspect 'output - Scoring History', _model
        if table.schema['validation_logloss'] and table.schema['training_logloss']
          renderPlot 'Scoring History - logloss', no, _.plot (g) ->
            g(
              g.path(
