              return None
          return model_name
  
      def _set_session_summary(self, message):
          """ Set the summary data and info message """
          if self._thread is None:
              logger.debug("Setting session summary. (message: '%s')", message)
              self._thread = LongRunningTask(target=self._summarise_data,
                                             args=(self._session, ),
                                             widget=self)
 
</s> remove                                            args=(self._session, ),
 </s> add                                            args=(Session, ), </s> remove                             anchor=tk.W,
                            width=70)
        lblinfo.pack(side=tk.LEFT, padx=5, pady=5, anchor=tk.W)
 </s> add                             anchor=tk.W)
        lblinfo.pack(side=tk.LEFT, expand=True, padx=5, pady=5, anchor=tk.W) </s> remove             self._stats.session = self._session
 </s> add  </s> remove         selected_id = self.selected_id.get()
 </s> add         selected_id = self._selected_id.get()
        model_dir, model_name = os.path.split(Session.model_filename) </s> remove     def select_item(self, event):
        """ Update the session summary info with
            the selected item or launch graph """
        region = self.tree.identify("region", event.x, event.y)
        selection = self.tree.focus()
        values = self.tree.item(selection, "values")
 </s> add     def _select_item(self, event):
        """ Update the session summary info with the selected item or launch graph.

        If the mouse is clicked on the graph icon, then the session summary pop-up graph is
        launched. Otherwise the selected ID is stored.

        Parameters
        ----------
        event: :class:`tkinter.Event`
            The tkinter mouse button release event
        """
        region = self._tree.identify("region", event.x, event.y)
        selection = self._tree.focus()
        values = self._tree.item(selection, "values")
        """ Set the summary data and info message.

        Parameters
        ----------
        message: str
            The information message to set
        """
              return None
          return model_name
  
      def _set_session_summary(self, message):
        """ Set the summary data and info message.

        Parameters
        ----------
        message: str
            The information message to set
        """
          if self._thread is None:
              logger.debug("Setting session summary. (message: '%s')", message)
              self._thread = LongRunningTask(target=self._summarise_data,
                                             args=(self._session, ),
                                             widget=self)
keep keep keep keep replace keep keep keep keep keep
 GUI - Stats optimization (#1067)

* Faster stat loading + caching

* Compress data in cache

* Optimize some calculations

* Vectorize smoothing

* stats.Calculations optimized

* Load latest training data from live iterator

* Add options to training graph 
lib/gui/display_analysis.py