MCPcopy Create free account

hub / github.com/HCPLab-SYSU/Medical_DS / functions

Functions195 in github.com/HCPLab-SYSU/Medical_DS

Method__init__
(self, num_actions, dise_start, act_cardinality, slot_cardinality, dise_sym_mat, sym_dise_mat, sym_prio)
qlearning/dqn_prior.py:15
Method__init__
(self, input_shape, hidden_size, num_actions, relation_init, dise_start, act_cardinality, slot_cardinality, s
qlearning/dqn_prior.py:56
Method__init__
(self, input_shape, num_outputs, noisy=False, sigma_init=0.5, body=SimpleBody)
qlearning/dqn_prior.py:138
Method__init__
(self, input_shape, num_outputs, noisy=False, sigma_init=0.5, body=SimpleBody, atoms=51)
qlearning/dqn_prior.py:177
Method__init__
(self, input_shape, num_outputs, noisy=False, sigma_init=0.5, body=SimpleBody, atoms=51)
qlearning/dqn_prior.py:209
Method__init__
(self, input_shape, num_outputs, noisy=False, sigma_init=0.5, body=SimpleBody, quantiles=51)
qlearning/dqn_prior.py:252
Method__init__
(self, input_shape, num_outputs, noisy=False, sigma_init=0.5, body=SimpleBody, quantiles=51)
qlearning/dqn_prior.py:284
Method__init__
(self, input_shape, num_actions, noisy=False, sigma_init=0.5, gru_size=512, bidirectional=False,
qlearning/dqn_prior.py:330
Method__init__
(self, input_shape, num_actions)
qlearning/dqn_prior.py:373
Method__init__
(self, in_features, out_features, std_init=0.4, factorised_noise=True)
qlearning/layers.py:8
Method__init__
(self, input_shape, num_actions, noisy=False, sigma_init=0.5)
qlearning/network_bodies.py:38
Method__init__
Constructor shared by all user simulators
usersim/usersim.py:7
Method__init__
Constructor shared by all user simulators
usersim/usersim_test.py:10
Method__init__
Constructor shared by all user simulators
usersim/usersim_rule.py:22
Method__init__
(self)
agents/BaseAgent.py:10
Method__init__
(self, sym_dict=None, dise_dict=None, req_dise_sym_dict=None, dise_sym_num_dict=None, tran_ma
agents/agent.py:15
Method__init__
(self, sym_dict=None, dise_sym_dict=None, req_dise_sym_dict=None, dise_sym_num_dict=None, dis
agents/agent_dqn_prior.py:13
Method__len__
(self)
utils/ReplayMemory.py:24
Method__len__
(self)
utils/ReplayMemory.py:43
Method__len__
(self)
utils/ReplayMemory.py:96
Method__len__
(self)
utils/ReplayMemory.py:157
Method__len__
(self)
utils/ReplayMemory.py:336
Method__setitem__
(self, idx, val)
utils/data_structures.py:69
Function_thunk
()
utils/wrappers.py:41
Methodadd_nl_to_action
Add NL to User Dia_Act
usersim/usersim.py:39
Methodafter_update
(self)
utils/RolloutStorage.py:29
Methodclear
(self)
utils/ReplayMemory.py:66
Methodcompute_returns
(self, next_value, gamma)
utils/RolloutStorage.py:33
Functioneval
(simu_size, data_split, out=False)
train.py:223
Methodfeature_size
(self)
qlearning/network_bodies.py:30
Methodfeature_size
(self)
qlearning/network_bodies.py:53
Methodfeed_forward_generator
(self, advantages, num_mini_batch)
utils/RolloutStorage.py:47
Methodfind_prefixsum_idx
Find the highest index `i` in the array such that sum(arr[0] + arr[1] + ... + arr[i - i]) <= prefixsum if array values are probabi
utils/data_structures.py:98
Methodfinish_nstep
(self)
agents/agent.py:401
Methodforward
(self, state)
qlearning/dqn_prior.py:24
Methodforward
(self, x)
qlearning/dqn_prior.py:156
Methodforward
(self, x)
qlearning/dqn_prior.py:193
Methodforward
(self, x)
qlearning/dqn_prior.py:229
Methodforward
(self, x)
qlearning/dqn_prior.py:268
Methodforward
(self, x)
qlearning/dqn_prior.py:305
Methodforward
(self, x, hx=None)
qlearning/dqn_prior.py:348
Methodforward
(self, inputs)
qlearning/dqn_prior.py:397
Methodforward
(self, inp)
qlearning/layers.py:44
Methodforward
(self, x)
qlearning/network_bodies.py:22
Methodforward
(self, x)
qlearning/network_bodies.py:49
Methodget_max_next_state_action
(self, next_states)
agents/agent.py:398
Methodhuber
(self, x)
agents/BaseAgent.py:18
Methodinitialize_episode
Refresh state for new dialog
dialog_system/dialog_manager.py:27
Methodinitialize_episode
Initialize a new episode (dialog)
usersim/usersim.py:20
Methodinitialize_episode
Initialize a new episode (dialog) state['history_slots']: keeps all the informed_slots state['rest_slots']: keep all the slots (which
usersim/usersim_test.py:31
Methodinitialize_episode
Initialize a new episode. This function is called every time a new episode is run.
agents/agent_dqn_prior.py:58
Methodload_experience_replay_from_file
Load the experience replay pool from a file
agents/agent_dqn_prior.py:472
Methodload_replay
(self)
agents/BaseAgent.py:40
Methodload_w
(self)
agents/BaseAgent.py:26
Functionmake_env_a2c_atari
(env_id, seed, rank, log_dir)
utils/wrappers.py:40
Methodnext
Generate next User Action based on last System Action
usersim/usersim_test.py:119
Methodnext
Generate next User Action based on last System Action
usersim/usersim_rule.py:130
Methodobservation
(self, observation)
utils/wrappers.py:21
Methodobservation
(self, observation)
utils/wrappers.py:37
Functionplot
(folder, game, name, num_steps, bin_size=100, smooth=1)
utils/plot.py:114
Methodpredict
(self, x, sym_flag)
qlearning/dqn_prior.py:95
Methodpush
(self, transition)
utils/ReplayMemory.py:33
Methodpush
(self, transition)
utils/ReplayMemory.py:59
Methodpush
(self, transition)
utils/ReplayMemory.py:114
Methodpush
(self, transition)
utils/ReplayMemory.py:308
Methodregister_experience_replay_tuple
Register feedback from the environment, to be stored as future training data
agents/agent_dqn_prior.py:430
Methodreset_hx
(self)
agents/agent.py:408
Methodreset_parameters
(self)
qlearning/dqn_prior.py:78
Methodrule_policy_1
Rule Policy
agents/agent_dqn_prior.py:305
Methodsample
(self, batch_size)
utils/ReplayMemory.py:40
Methodsample
(self, batch_size)
utils/ReplayMemory.py:71
Methodsample
(self, batch_size)
utils/ReplayMemory.py:126
Methodsample
(self, batch_size)
utils/ReplayMemory.py:313
Methodsample_noise
(self)
qlearning/dqn_prior.py:167
Methodsample_noise
(self)
qlearning/dqn_prior.py:201
Methodsample_noise
(self)
qlearning/dqn_prior.py:242
Methodsample_noise
(self)
qlearning/dqn_prior.py:276
Methodsample_noise
(self)
qlearning/dqn_prior.py:318
Methodsample_noise
(self)
qlearning/dqn_prior.py:365
Methodsample_noise
(self)
qlearning/network_bodies.py:56
Methodsave_experience_replay_to_file
Save the experience replay pool to a file
agents/agent_dqn_prior.py:462
Methodsave_loss
(self, loss)
agents/BaseAgent.py:54
Functionsave_pickle
(a, path)
utils/utils.py:2
Methodsave_replay
(self)
agents/BaseAgent.py:37
Methodsave_reward
(self, reward)
agents/BaseAgent.py:57
Methodsave_sigma_param_magnitudes
(self)
agents/BaseAgent.py:45
Methodsave_w
(self)
agents/BaseAgent.py:22
Methodsearch_batch_action_mask_1
(self, Xs)
agents/agent_dqn_prior.py:192
Methodset_nlg_model
(self, nlg_model)
usersim/usersim.py:33
Methodset_nlu_model
(self, nlu_model)
usersim/usersim.py:36
Methodstate_to_action
DQN: Input state, output action
agents/agent_dqn_prior.py:79
Methodtrain
Train DQN with experience replay
agents/agent_dqn_prior.py:445
Methodupdate_priorities
(self, batch_indices, batch_priorities)
utils/ReplayMemory.py:92
Functionvisdom_plot
(viz, win, folder, game, name, num_steps, bin_size=100, smooth=1)
utils/plot.py:82
Functionwrap_pytorch
(env)
utils/wrappers.py:24
← previous101–195 of 195, ranked by callers