analyser_hj3415 4.2.8__py3-none-any.whl → 4.3.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  from analyser_hj3415.analyser.tsa.lstm import *
2
- from analyser_hj3415.analyser.tsa.prophet import *
3
- from analyser_hj3415.analyser.tsa import common
2
+ from analyser_hj3415.analyser.tsa.myprophet import *
3
+ from analyser_hj3415.analyser.tsa import common
@@ -4,6 +4,7 @@ from datetime import datetime, timedelta
4
4
  import pandas as pd
5
5
  from typing import Tuple, Dict, List, Optional
6
6
  from sklearn.preprocessing import MinMaxScaler
7
+ from tensorflow.keras.backend import clear_session # type: ignore
7
8
  from tensorflow.keras.models import Sequential # type: ignore
8
9
  from tensorflow.keras.layers import LSTM, Dense, Dropout # type: ignore
9
10
  from tensorflow.keras.callbacks import EarlyStopping # type: ignore
@@ -406,6 +407,8 @@ class MyLSTM:
406
407
  future_predictions_2d = np.array(future_predictions).reshape(-1, 1)
407
408
  future_predictions_scaled_2d = self.scaler.inverse_transform(future_predictions_2d)
408
409
  ensemble_future_predictions_2d.append(future_predictions_scaled_2d)
410
+ del model
411
+ clear_session()
409
412
 
410
413
 
411
414
  lstm_grade = grading(ensemble_train_predictions_2d, ensemble_test_predictions_2d)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: analyser_hj3415
3
- Version: 4.2.8
3
+ Version: 4.3.1
4
4
  Summary: Stock analyser and database processing programs
5
5
  Requires-Python: >=3.6
6
6
  Description-Content-Type: text/markdown
@@ -8,7 +8,7 @@ Requires-Dist: utils-hj3415>=3.2.0
8
8
  Requires-Dist: db-hj3415>=4.7.1
9
9
  Requires-Dist: scikit-learn>=1.5.2
10
10
  Requires-Dist: plotly>=5.24.1
11
- Requires-Dist: yfinance>=0.2.44
11
+ Requires-Dist: yfinance>=0.2.54
12
12
  Requires-Dist: prophet>=1.1.6
13
13
  Requires-Dist: kaleido>=0.2.1
14
14
  Requires-Dist: matplotlib>=3.9.2
@@ -7,11 +7,11 @@ analyser_hj3415/analyser/eval/common.py,sha256=sNXapoofShA43ww_SLjXmIjkrAr1AhAce
7
7
  analyser_hj3415/analyser/eval/growth.py,sha256=LunZcZvhly_2PWUZBbd0gW9ZImWYT5sAu_iixVLxGuc,6226
8
8
  analyser_hj3415/analyser/eval/mil.py,sha256=6_1SuWqG1fsuZUKuaABhSqNsYCgj5np35auWhnE5wdk,15289
9
9
  analyser_hj3415/analyser/eval/red.py,sha256=Abf5HPsNWKnDF4cbZ8xhlNsMF6ljN_sShCAYyPAhCYs,12028
10
- analyser_hj3415/analyser/tsa/__init__.py,sha256=pg20ZQRABedTdaIoOr5t043RNKtJ7ji_WmnZrD1IhPg,147
10
+ analyser_hj3415/analyser/tsa/__init__.py,sha256=82IpOID0NUDgABs5sbw2USYYnuUVyt05szRdzl9h2MM,148
11
11
  analyser_hj3415/analyser/tsa/common.py,sha256=iRwk88zBtEIqzSmTQWmQIWiiqZ9gN7GLtDUa5rx8IGM,1918
12
- analyser_hj3415/analyser/tsa/lstm.py,sha256=kVAW8KeCwGhSgqfBkUsUWN6udY9Vztk7OfeC3p3wrTU,28790
13
- analyser_hj3415/analyser/tsa/prophet.py,sha256=2WPR7OJBPKYrl_uAzfcDdezJ7oWeQWlz-eU-yriuKlw,17098
14
- analyser_hj3415-4.2.8.dist-info/entry_points.txt,sha256=ZfjPnJuH8SzvhE9vftIPMBIofsc65IAWYOhqOC_L5ck,65
15
- analyser_hj3415-4.2.8.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
16
- analyser_hj3415-4.2.8.dist-info/METADATA,sha256=XeXOc0OtcQowr8WpNi8-qZbC1wlXSfsX-dB4T47Y63w,6811
17
- analyser_hj3415-4.2.8.dist-info/RECORD,,
12
+ analyser_hj3415/analyser/tsa/lstm.py,sha256=howngiVaEFKccYif6vrREm6skZiDzxazq44SdY_82yQ,28906
13
+ analyser_hj3415/analyser/tsa/myprophet.py,sha256=2WPR7OJBPKYrl_uAzfcDdezJ7oWeQWlz-eU-yriuKlw,17098
14
+ analyser_hj3415-4.3.1.dist-info/entry_points.txt,sha256=ZfjPnJuH8SzvhE9vftIPMBIofsc65IAWYOhqOC_L5ck,65
15
+ analyser_hj3415-4.3.1.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
16
+ analyser_hj3415-4.3.1.dist-info/METADATA,sha256=sc_X_j_jE_Tfu8NrZte6DBfbleIvGH2zd507wauH29k,6811
17
+ analyser_hj3415-4.3.1.dist-info/RECORD,,