yasirapunsith commited on
Commit
d49420a
·
1 Parent(s): 51c6c3d
utils/formatAndPreprocessNewPatterns.py CHANGED
@@ -8,7 +8,7 @@ import math
8
  from scipy import interpolate
9
  from tqdm import tqdm
10
 
11
- from utils.drawPlots import plot_ohlc_segment
12
 
13
  original_pattern_name_list = [
14
  'Double Top, Adam and Adam',
@@ -447,8 +447,9 @@ def normalize_ohlc_len(df, target_len=30 , plot_count= 0):
447
 
448
  if instance in instances_list[random_indices]: # Fixed this line
449
  # plot results
450
- plot_ohlc_segment(pattern_df)
451
- plot_ohlc_segment(result_df)
 
452
 
453
  combined_result_df = pd.concat(normalized_df_list, axis=0) # Fixed this line
454
  return combined_result_df
 
8
  from scipy import interpolate
9
  from tqdm import tqdm
10
 
11
+ # from utils.drawPlots import plot_ohlc_segment
12
 
13
  original_pattern_name_list = [
14
  'Double Top, Adam and Adam',
 
447
 
448
  if instance in instances_list[random_indices]: # Fixed this line
449
  # plot results
450
+ # plot_ohlc_segment(pattern_df)
451
+ # plot_ohlc_segment(result_df)
452
+ pass
453
 
454
  combined_result_df = pd.concat(normalized_df_list, axis=0) # Fixed this line
455
  return combined_result_df