def on_save_model(self, evt): data = { 'y_variable': self.plot.y_variable, 'regression': self.plot.reg, 'x_variables': self.plot.x_variables, 'regression_type': 'multi-variable-linear' } save_data_to_file(self, 'Save Model', data, wildcard="REG files (*.reg)|*.reg", data_type='pickle', initial_dir=MODELS_DIR)
def on_save_model(self, evt): data = { 'y_variable': self.plot.y_variable, 'regression': self.reg, 'x_variables': self.plot.x_variables, 'regression_type': self.title.lower().replace(' ', '_') } save_data_to_file(self, 'Save Model', data, wildcard="REG files (*.reg)|*.reg", data_type='pickle', initial_dir=MODELS_DIR)
def on_save_model(self, evt): data = { 'y_variable': self.plot.y_variable, 'regression': self.plot.reg, 'x_variables': self.plot.x_variables, 'regression_type': 'multi-variable-linear', 'version': DefaultOptions().VERSION } save_data_to_file(self, 'Save Model', data, wildcard="MVR files (*.mvr)|*.mvr", data_type='pickle', initial_dir=MODELS_DIR)
def on_export_csv(self, evt): save_data_to_file(self.parent, "Export Endpoints to CSV", self.get_csv())
def on_export_csv(self, evt): save_data_to_file(self, "Export Data Table to CSV", self.data_query_results.get_csv())
def export_csv(self, evt): save_data_to_file(self.parent, "Export Time Series data to CSV", self.plot.get_csv())
def export_csv(self, evt): save_data_to_file(self.parent, "Export control chart data to CSV", self.plot.get_csv())
def on_save_plot(self, evt): save_data_to_file(self.parent, 'Save control chart', self.plot.html_str, wildcard="HTML files (*.html)|*.html")
def on_save_plot_regression(self, evt): save_data_to_file(self, 'Save Regression plot', self.regression.plot.html_str, wildcard="HTML files (*.html)|*.html")
def on_save_plot_time_series(self, evt): save_data_to_file(self, 'Save Time Series plot', self.time_series.plot.html_str, wildcard="HTML files (*.html)|*.html")
def on_export(self, evt): save_data_to_file(self, 'Save multi-variable regression data to csv', self.plot.get_csv_data())
def on_save_plot_dvhs(self, evt): save_data_to_file(self, 'Save DVHs plot', self.plot.html_str, wildcard="HTML files (*.html)|*.html")
def on_export(self, evt): save_data_to_file(self, 'Save machine learning data to csv', self.plot.get_csv())
def on_save_plot(self, evt): save_data_to_file(self, 'Save random forest plot', self.plot.html_str, wildcard="HTML files (*.html)|*.html")
def on_export(self, *args): save_data_to_file( self, "Export Group %s %s to CSV" % (self.selected_group, self.sql_table), self.data_table.get_csv())
def export_csv(self, evt): save_data_to_file(self.parent, "Export Correlation data to CSV", self.plot.get_csv())
def on_save_plot_control_chart(self, evt): save_data_to_file(self, 'Save Control Chart plot', self.control_chart.plot.html_str, wildcard="HTML files (*.html)|*.html")
def on_export_csv(self, evt): save_data_to_file(self.parent, "Export RadBio table to CSV", self.get_csv())
def on_save_plot(self, evt): save_data_to_file(self, 'Save multi-variable regression plot', self.plot.html_str, wildcard="HTML files (*.html)|*.html")
def on_export(self, evt): save_data_to_file(self.pane_tree, 'Export linear regression data', self.plot.get_csv_data())
def on_save_plot_correlation(self, evt): save_data_to_file(self, 'Save Correlation plot', self.correlation.plot.html_str, wildcard="HTML files (*.html)|*.html")
def on_save_plot(self, evt): save_data_to_file(self.pane_tree, 'Save linear regression plot', self.plot.html_str, wildcard="HTML files (*.html)|*.html")
def on_export(self, *args): save_data_to_file(self, "Export %s to CSV" % self.sql_table, self.data_table.get_csv())