Skip to content
Snippets Groups Projects
Commit dde77c42 authored by v.gramlich1's avatar v.gramlich1
Browse files

Coded the structure for PlotOversamplingContingency

parent 3d824606
Branches
No related tags found
1 merge request!302Draft: Resolve "Class-based Oversampling technique"
......@@ -309,13 +309,11 @@ class PostProcessing(RunEnvironment):
try:
if (self.data_store.get('oversampling_method')=='bin_oversampling') and (
"PlotOversamplingContingency" in plot_list):
bin_edges = self.data_store.get('oversampling_bin_edges')
oversampling_rates = self.data_store.get('oversampling_rates_capped','train')
predictions = None
labels = None
PlotOversampling(predictions, labels, plot_folder=self.plot_path)
PlotOversamplingContingency(predictions, labels, plot_folder=self.plot_path)
except Exception as e:
logging.error(f"Could not create plot OversamplingPlots due to the following error: {e}")
logging.error(f"Could not create plot OversamplingContingencyPlots due to the following error: {e}")
try:
if (self.data_store.get('oversampling_method')=='bin_oversampling') and (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment