analyser_hj3415 3.0.1__py3-none-any.whl → 3.0.3__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
analyser_hj3415/cli.py CHANGED
@@ -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()
@@ -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
@@ -1,5 +1,5 @@
1
1
  analyser_hj3415/__init__.py,sha256=huF0tm8fFC96sODN9TmVRmPhDizQ0yBTKNOw8miOBh0,448
2
- analyser_hj3415/cli.py,sha256=b1oK0_mt248eCQuavKh6R4irgtA9XxkSUFfAgLf8hAo,9204
2
+ analyser_hj3415/cli.py,sha256=RHMz1JYSVPVkWU6xdrZo-fdRB3tBW3oSC2XrpI8Q2nk,9248
3
3
  analyser_hj3415/analyser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  analyser_hj3415/analyser/score.py,sha256=cqTHXLBh38N9zlmNzChWZJ42O7gdXhjw_jVevOxDUo8,6420
5
5
  analyser_hj3415/analyser/eval/__init__.py,sha256=IP1d0Q3nOCAD3zK1qxrC685MkJQfUh-qaXc7xptTxk8,80
@@ -16,7 +16,7 @@ analyser_hj3415/workroom/mysklearn.py,sha256=wJXKz5MqqTzADdG2mqRMMzc_G9RzwYjj5_j
16
16
  analyser_hj3415/workroom/mysklearn2.py,sha256=1lIy6EWEQHkOzDS-av8U0zQH6DuCLKWMI73dnJx5KRs,1495
17
17
  analyser_hj3415/workroom/score.py,sha256=P6nHBJYmyhigGtT4qna4BmNtvt4B93b7SKyzdstJK24,17376
18
18
  analyser_hj3415/workroom/trash.py,sha256=zF-W0piqkGr66UP6-iybo9EXh2gO0RP6R1FnIpsGkl8,12262
19
- analyser_hj3415-3.0.1.dist-info/entry_points.txt,sha256=ZfjPnJuH8SzvhE9vftIPMBIofsc65IAWYOhqOC_L5ck,65
20
- analyser_hj3415-3.0.1.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
21
- analyser_hj3415-3.0.1.dist-info/METADATA,sha256=a1hvHhQURatp_A7dL52s5HKQ2KU8Ok6Q_-2AEHsgldQ,6776
22
- analyser_hj3415-3.0.1.dist-info/RECORD,,
19
+ analyser_hj3415-3.0.3.dist-info/entry_points.txt,sha256=ZfjPnJuH8SzvhE9vftIPMBIofsc65IAWYOhqOC_L5ck,65
20
+ analyser_hj3415-3.0.3.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
21
+ analyser_hj3415-3.0.3.dist-info/METADATA,sha256=UNXeyPwof0x0Xk0Jt9aGrxfWldUx1YqcmYXr7jfvvu8,6776
22
+ analyser_hj3415-3.0.3.dist-info/RECORD,,