analyser_hj3415 3.0.1__tar.gz → 3.0.3__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (22) hide show
  1. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/PKG-INFO +1 -1
  2. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/cli.py +5 -4
  3. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/pyproject.toml +1 -1
  4. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/.gitignore +0 -0
  5. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/README.md +0 -0
  6. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/__init__.py +0 -0
  7. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/analyser/__init__.py +0 -0
  8. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/analyser/eval/__init__.py +0 -0
  9. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/analyser/eval/blue.py +0 -0
  10. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/analyser/eval/common.py +0 -0
  11. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/analyser/eval/growth.py +0 -0
  12. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/analyser/eval/mil.py +0 -0
  13. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/analyser/eval/red.py +0 -0
  14. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/analyser/score.py +0 -0
  15. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/analyser/tsa/__init__.py +0 -0
  16. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/analyser/tsa/lstm.py +0 -0
  17. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/analyser/tsa/prophet.py +0 -0
  18. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/workroom/__init__.py +0 -0
  19. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/workroom/mysklearn.py +0 -0
  20. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/workroom/mysklearn2.py +0 -0
  21. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/workroom/score.py +0 -0
  22. {analyser_hj3415-3.0.1 → analyser_hj3415-3.0.3}/analyser_hj3415/workroom/trash.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: analyser_hj3415
3
- Version: 3.0.1
3
+ Version: 3.0.3
4
4
  Summary: Stock analyser and database processing programs
5
5
  Requires-Python: >=3.6
6
6
  Description-Content-Type: text/markdown
@@ -152,16 +152,17 @@ def analyser_manager():
152
152
  mymongo.Logs.save('cli','INFO', 'run >> analyser prophet ranking')
153
153
 
154
154
  elif args.type == 'lstm':
155
- mylstm = tsa.MyLSTM
156
155
  if args.command == 'caching':
157
156
  if args.top:
158
- mylstm.caching_based_on_prophet_ranking(refresh=args.refresh, top=args.top)
157
+ tsa.MyLSTM.caching_based_on_prophet_ranking(refresh=args.refresh, top=args.top)
159
158
  else:
160
- mylstm.caching_based_on_prophet_ranking(refresh=args.refresh)
159
+ tsa.MyLSTM.caching_based_on_prophet_ranking(refresh=args.refresh)
161
160
  mymongo.Logs.save('cli','INFO', f'run >> analyser lstm caching / top={args.top if args.top else 20}')
162
161
  elif args.command == 'get':
163
162
  assert tools.is_6digit(args.code), "code 인자는 6자리 숫자이어야 합니다."
164
- result = mylstm(args.code).get_final_predictions(refresh=args.refresh)
163
+ mylstm = tsa.MyLSTM(args.code)
164
+ mylstm.initializing()
165
+ mylstm.get_final_predictions(refresh=args.refresh, num=5)
165
166
  mymongo.Logs.save('cli','INFO', f'run >> analyser lstm get {args.code}')
166
167
  else:
167
168
  parser.print_help()
@@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
5
5
 
6
6
  [project]
7
7
  name = "analyser_hj3415"
8
- version = "3.0.1"
8
+ version = "3.0.3"
9
9
  description = "Stock analyser and database processing programs"
10
10
  readme = "README.md"
11
11
  requires-python = ">=3.6"