(self)
return result
Table summarizing the trial results (ID, loss, time, log_loss, status).

        Returns
        -------
        result : DataFrame
Table summarizing the trial results (ID, loss, time, log_loss, status).
Table summarizing the trial results ( ID loss time log_loss status ) .
def summary(self):
        """Table summarizing the trial results (ID, loss, time, log_loss, status).

        Returns
        -------
        result : DataFrame"""

        def make_record(trial_dict):
            return {
                "name": f'p{trial_dict["tid"]}',
                "tid": trial_dict["tid"],
                "loss": trial_dict["result"].get("loss", float("nan")),
                "time": trial_dict["result"].get("time", float("nan")),
                "log_loss": trial_dict["result"].get("log_loss", float("nan")),
                "status": trial_dict["result"]["status"],
            }

        records = [make_record(td) for td in self._trials.trials]
        result = pd.DataFrame.from_records(records, index="name")
        return result
def summary ( self ) : def make_record ( trial_dict ) : return { "name" : f'p{trial_dict["tid"]}' , "tid" : trial_dict [ "tid" ] , "loss" : trial_dict [ "result" ] . get ( "loss" , float ( "nan" ) ) , "time" : trial_dict [ "result" ] . get ( "time" , float ( "nan" ) ) , "log_loss" : trial_dict [ "result" ] . get ( "log_loss" , float ( "nan" ) ) , "status" : trial_dict [ "result" ] [ "status" ] , } records = [ make_record ( td ) for td in self . _trials . trials ] result = pd . DataFrame . from_records ( records , index = "name" ) return result