-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add PDL model, benchmark comparasion and example from parma
- Loading branch information
v1docq
committed
Nov 28, 2024
1 parent
5855e4a
commit 7d6490a
Showing
9 changed files
with
231 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
from benchmark.benchmark_TSC import BenchmarkTSC | ||
|
||
init_assumption_pdl = ['quantile_extractor', 'pdl_clf'] | ||
init_assumption_rf = ['quantile_extractor', 'rf'] | ||
comparasion_dict = dict(pairwise_approach=init_assumption_pdl, | ||
baseline=init_assumption_rf) | ||
experiment_setup = { | ||
'problem': 'classification', | ||
'metric': 'accuracy', | ||
'timeout': 2.0, | ||
'num_of_generations': 15, | ||
'pop_size': 10, | ||
'metric_names': ('f1', 'accuracy'), | ||
'logging_level': 10, | ||
'n_jobs': -1, | ||
'output_folder': r'D:\\WORK\\Repo\\Industiral\\IndustrialTS/benchmark/results/', | ||
'initial_assumption': comparasion_dict, | ||
'finetune': True} | ||
|
||
if __name__ == "__main__": | ||
benchmark = BenchmarkTSC(experiment_setup=experiment_setup, | ||
use_small_datasets=False) | ||
benchmark.run() | ||
_ = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
from benchmark.benchmark_TSER import BenchmarkTSER | ||
|
||
init_assumption_pdl = ['quantile_extractor', 'pdl_reg'] | ||
init_assumption_rf = ['quantile_extractor', 'treg'] | ||
comparasion_dict = dict(pairwise_approach=init_assumption_pdl, | ||
baseline=init_assumption_rf) | ||
experiment_setup = { | ||
'problem': 'regression', | ||
'metric': 'rmse', | ||
'timeout': 2.0, | ||
'num_of_generations': 15, | ||
'pop_size': 10, | ||
'metric_names': ('f1', 'accuracy'), | ||
'logging_level': 10, | ||
'n_jobs': -1, | ||
'initial_assumption': comparasion_dict, | ||
'finetune': True} | ||
custom_dataset = [ | ||
# 'ElectricMotorTemperature', | ||
# 'PrecipitationAndalusia', | ||
# 'AcousticContaminationMadrid', | ||
# 'WindTurbinePower', | ||
# 'DailyOilGasPrices', | ||
# 'DailyTemperatureLatitude', | ||
# 'LPGasMonitoringHomeActivity', | ||
# 'AluminiumConcentration', | ||
# 'BoronConcentration', | ||
# 'CopperConcentration', | ||
# # 'IronConcentration', | ||
# 'ManganeseConcentration', | ||
# 'SodiumConcentration', | ||
# 'PhosphorusConcentration', | ||
# 'PotassiumConcentration', | ||
'MagnesiumConcentration', | ||
'SulphurConcentration', | ||
'ZincConcentration', | ||
'CalciumConcentration' | ||
] | ||
custom_dataset = None | ||
if __name__ == "__main__": | ||
benchmark = BenchmarkTSER(experiment_setup=experiment_setup, | ||
custom_datasets=custom_dataset | ||
) | ||
benchmark.run() | ||
_ = 1 |
Oops, something went wrong.