Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ceruleanacg/Personae
/ functions
Functions
244 in github.com/Ceruleanacg/Personae
⨍
Functions
244
◇
Types & classes
28
↓ 18 callers
Method
run
(self)
algorithm/RL/DDPG.py:69
↓ 17 callers
Method
plot
(self)
base/algorithm/model.py:158
↓ 10 callers
Method
save
(self, episode)
base/algorithm/model.py:171
↓ 8 callers
Method
add_fc
(x, units, activation=None)
base/algorithm/model.py:105
↓ 8 callers
Method
run
(self)
algorithm/RL/DoubleDQN.py:103
↓ 7 callers
Method
_init_saver
(self)
base/algorithm/model.py:61
↓ 7 callers
Method
_init_summary_writer
(self)
base/algorithm/model.py:65
↓ 6 callers
Method
_get_origin_stock_data
(self, code, date)
deprecated/stock_market.py:261
↓ 6 callers
Method
_update_reward
(self, action_code, action_status, position)
base/env/trader.py:182
↓ 6 callers
Method
_update_reward
(self, action_code, action_status, position)
deprecated/stock_market.py:458
↓ 6 callers
Method
run
(self)
algorithm/RL/DuelingDQN.py:95
↓ 5 callers
Method
_exist_position
(self, code)
base/env/trader.py:188
↓ 5 callers
Method
_position
(self, code)
base/env/trader.py:191
↓ 5 callers
Method
add_rnn
(layer_count, hidden_size, cell=rnn.BasicLSTMCell, activation=tf.tanh)
base/algorithm/model.py:95
↓ 5 callers
Method
forward
(self, stock_code, action_code)
base/env/market.py:289
↓ 5 callers
Function
generate_algorithm_logger
(model_name)
helper/data_logger.py:29
↓ 5 callers
Method
log_asset
(self, episode)
base/env/trader.py:165
↓ 5 callers
Method
reset
(self)
base/env/trader.py:148
↓ 5 callers
Method
restore
(self)
base/algorithm/model.py:58
↓ 5 callers
Method
update_status
(self, cur_price, next_price)
base/env/position.py:27
↓ 5 callers
Method
update_status
(self, cur_price, next_price)
deprecated/stock_market.py:516
↓ 4 callers
Method
_exist_position
(self, code)
deprecated/stock_market.py:486
↓ 4 callers
Method
_get_position
(self, code)
deprecated/stock_market.py:489
↓ 4 callers
Method
_get_scaled_stock_data_as_state
(self, date)
deprecated/stock_market.py:264
↓ 4 callers
Method
_origin_data
(self, code, date)
base/env/market.py:242
↓ 4 callers
Method
eval
(self)
base/algorithm/model.py:147
↓ 4 callers
Function
generate_market_logger
(model_name)
helper/data_logger.py:12
↓ 4 callers
Method
get_stock_code_and_action
(self, a, use_greedy=False, use_prob=False)
base/algorithm/model.py:188
↓ 4 callers
Method
run
(self)
algorithm/RL/PolicyGradient.py:82
↓ 3 callers
Method
__init__
(self, session, env, **options)
base/algorithm/model.py:13
↓ 3 callers
Method
eval_and_plot
(self)
base/algorithm/model.py:250
↓ 3 callers
Method
get_batch_data
(self, batch_size=32)
base/env/market.py:270
↓ 3 callers
Method
get_k_data
(cls, code, start, end)
base/model/document.py:67
↓ 3 callers
Method
save_if_need
(self)
base/model/document.py:51
↓ 2 callers
Method
__build_actor_nn
(self, state, scope, trainable=True)
algorithm/RL/DDPG.py:119
↓ 2 callers
Method
__build_critic
(state, action, scope, trainable=True)
algorithm/RL/DDPG.py:142
↓ 2 callers
Method
__build_critic_nn
(self, s, scope)
algorithm/RL/DoubleDQN.py:125
↓ 2 callers
Method
__build_critic_nn
(self, s, scope)
algorithm/RL/DuelingDQN.py:117
↓ 2 callers
Method
__init__
(self, env, a_space, s_space, **options)
deprecated/DDPG_v2.py:17
↓ 2 callers
Method
_scaled_data_as_state
(self, date)
base/env/market.py:246
↓ 2 callers
Method
_soft_update_nn
(self, nn_t, nn_e)
deprecated/DDPG_v2.py:104
↓ 2 callers
Method
exist_in_db
(cls, code)
base/model/document.py:71
↓ 2 callers
Method
forward_v1
(self, action_keys)
deprecated/stock_market.py:52
↓ 2 callers
Method
log_asset
(self, episode)
deprecated/stock_market.py:447
↓ 2 callers
Method
log_loss
(self, episode)
algorithm/RL/DDPG.py:114
↓ 2 callers
Method
predict
(self, a)
base/algorithm/model.py:87
↓ 2 callers
Method
remove_invalid_positions
(self)
deprecated/stock_market.py:444
↓ 2 callers
Method
reset
(self, mode='train')
deprecated/stock_market.py:94
↓ 2 callers
Method
reset_reward
(self)
deprecated/stock_market.py:441
↓ 2 callers
Method
to_dic
(self)
base/model/document.py:61
↓ 1 callers
Method
_calculate_reward_v2
(_, action_status, position)
base/env/trader.py:209
↓ 1 callers
Method
_get_next_info
(self)
deprecated/stock_market.py:274
↓ 1 callers
Method
_init_data
(self, start_date, end_date)
base/env/market.py:114
↓ 1 callers
Method
_init_data_frames
(self, start_date, end_date)
base/env/market.py:126
↓ 1 callers
Method
_init_data_indices
(self)
base/env/market.py:232
↓ 1 callers
Method
_init_env_data
(self)
base/env/market.py:161
↓ 1 callers
Method
_init_input
(self)
algorithm/SL/DualAttnRNN.py:32
↓ 1 callers
Method
_init_input
(self)
algorithm/SL/NaiveLSTM.py:32
↓ 1 callers
Method
_init_input
(self)
algorithm/SL/TreNet.py:32
↓ 1 callers
Method
_init_input
(self)
algorithm/RL/DDPG.py:33
↓ 1 callers
Method
_init_input
(self, *args)
algorithm/RL/DoubleDQN.py:32
↓ 1 callers
Method
_init_input
(self, *args)
algorithm/RL/DuelingDQN.py:32
↓ 1 callers
Method
_init_input
(self)
algorithm/RL/PolicyGradient.py:33
↓ 1 callers
Method
_init_nn
(self)
algorithm/SL/DualAttnRNN.py:36
↓ 1 callers
Method
_init_nn
(self)
algorithm/SL/NaiveLSTM.py:36
↓ 1 callers
Method
_init_nn
(self)
algorithm/SL/TreNet.py:37
↓ 1 callers
Method
_init_nn
(self)
algorithm/RL/DDPG.py:38
↓ 1 callers
Method
_init_nn
(self, *args)
algorithm/RL/DoubleDQN.py:37
↓ 1 callers
Method
_init_nn
(self, *args)
algorithm/RL/DuelingDQN.py:37
↓ 1 callers
Method
_init_nn
(self)
algorithm/RL/PolicyGradient.py:39
↓ 1 callers
Method
_init_nn
(self)
deprecated/DDPG_v2.py:27
↓ 1 callers
Method
_init_op
(self)
algorithm/SL/DualAttnRNN.py:58
↓ 1 callers
Method
_init_op
(self)
algorithm/SL/NaiveLSTM.py:44
↓ 1 callers
Method
_init_op
(self)
algorithm/SL/TreNet.py:48
↓ 1 callers
Method
_init_op
(self)
algorithm/RL/DDPG.py:48
↓ 1 callers
Method
_init_op
(self)
algorithm/RL/DoubleDQN.py:41
↓ 1 callers
Method
_init_op
(self)
algorithm/RL/DuelingDQN.py:41
↓ 1 callers
Method
_init_op
(self)
algorithm/RL/PolicyGradient.py:72
↓ 1 callers
Method
_init_op
(self)
deprecated/DDPG_v2.py:33
↓ 1 callers
Method
_init_options
(self, **options)
base/env/market.py:52
↓ 1 callers
Method
_init_parameters
(self, **options)
deprecated/stock_market.py:124
↓ 1 callers
Method
_init_sequence_data
(self)
base/env/market.py:188
↓ 1 callers
Method
_init_sequence_data
(self)
deprecated/stock_market.py:230
↓ 1 callers
Method
_init_series_data
(self)
base/env/market.py:167
↓ 1 callers
Method
_init_series_data
(self)
deprecated/stock_market.py:214
↓ 1 callers
Method
_init_stock_data_indices
(self)
deprecated/stock_market.py:254
↓ 1 callers
Method
_init_stock_env_data
(self)
deprecated/stock_market.py:208
↓ 1 callers
Method
_init_stock_frames_data
(self, start_date, end_date)
deprecated/stock_market.py:178
↓ 1 callers
Method
_init_stocks_data
(self, start_date, end_date)
deprecated/stock_market.py:165
↓ 1 callers
Method
_remove_invalid_codes
(self)
deprecated/stock_market.py:170
↓ 1 callers
Method
_reset_baseline
(self)
base/env/market.py:324
↓ 1 callers
Method
_reset_stocks_holding_baseline
(self)
deprecated/stock_market.py:298
↓ 1 callers
Method
_train_a
(self, s)
deprecated/DDPG_v2.py:88
↓ 1 callers
Method
_train_c
(self, q_eval, q_target)
deprecated/DDPG_v2.py:94
↓ 1 callers
Method
_update_current_profits_and_baseline
(self)
deprecated/stock_market.py:293
↓ 1 callers
Method
_update_profits_and_baseline
(self)
base/env/market.py:317
↓ 1 callers
Method
_validate_codes
(self)
base/env/market.py:119
↓ 1 callers
Method
action_by_code
(self, code)
base/env/trader.py:159
↓ 1 callers
Method
add
(self, buy_price, amount, next_price)
base/env/position.py:14
↓ 1 callers
Method
add
(self, buy_price, amount, next_price)
deprecated/stock_market.py:503
next →
1–100 of 244, ranked by callers