Skip to content
Snippets Groups Projects
Commit a6a1b1de authored by dmt's avatar dmt
Browse files

Let the user specify the path for training data in the REPL.

parent 14073811
No related branches found
No related tags found
No related merge requests found
......@@ -69,10 +69,12 @@ def get_settings():
return Settings
def get_data_source():
def get_data_source(path: str = None):
general_settings = specific_settings_factory("general")
preprocessing_settings = specific_settings_factory("preprocessing")
block_processing_settings = specific_settings_factory("block_processing")
if path:
general_settings.input_file = path
source_adapter = PandasAdapter.read_csv_data(general_settings.input_file)
density_estimator = KernelDensityEstimator()
relative_extrema = find_relative_extrema
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment