Get Started. It's Free
or sign up with your email address
Dryer RL Code by Mind Map: Dryer RL Code

1. Environement

1.1. websocket.py

1.1.1. transformMes

1.1.2. get_dryer_data

1.1.3. on_message

1.1.4. websocket

1.1.5. socketio

1.2. endpoint.py

1.2.1. calculate_MC

1.2.2. store_weights

1.2.3. smoothing

1.3. datasource.py

1.4. env.py

1.4.1. librarires

1.4.2. class Env(gym.Env)

1.4.2.1. __init__

1.4.2.2. seed

1.4.2.3. reset

1.4.2.4. step

1.4.2.5. train

1.4.2.6. eval

2. Model

2.1. parameters.json

2.2. __init__()

2.3. agent.py

2.3.1. Libraries

2.3.2. Agent()

2.3.2.1. reset_noise()

2.3.2.2. act()

2.3.2.3. act_e_greedy()

2.3.2.4. learn()

2.3.2.5. update_target_net()

2.3.2.6. save()

2.3.2.7. evaluate_q()

2.3.2.8. train()

2.3.2.9. eval()

2.4. control_program.py

2.4.1. Libraries

2.4.2. define_action_mode()

2.4.3. time_sleep()

2.4.4. run_action()

2.5. control_setting.py

2.5.1. Libraries

2.5.2. list_action()

2.5.3. limit_list_action()

2.5.4. limit_list_action_index()

2.5.5. to_action_json()

2.5.6. idle_action_json()

2.5.7. check_idle_start()

2.5.8. activate_sprinkler()

2.5.9. control_sprinkler()

2.5.10. reset_dryer()

2.5.11. stop_heating_state()

2.5.12. safety_rules()

2.5.13. time_sleep()

2.5.14. drying()

2.6. memory.py

2.6.1. Libraries()

2.6.2. ReplayMemory()

2.6.2.1. __init__()

2.6.2.2. append()

2.6.2.3. sample()

2.6.2.4. update_priorities()

2.7. model.py

2.7.1. Libraries

2.7.2. DQN(nn.Module)

2.7.2.1. __init__()

2.7.2.2. forward()

2.7.2.3. reset_noise()

2.8. NoisyLinear.py

2.8.1. Libraries

2.8.2. NoisyLinear(nn.Module)

2.8.2.1. __init__()

2.8.2.2. reset_parameters()

2.8.2.3. _scale_noise()

2.8.2.4. reset_noise()

2.8.2.5. forward()

2.9. params_manager.py

2.9.1. ParamsManager(object)

2.9.1.1. __init__()

2.9.1.2. get_params()

2.9.1.3. get_env_params()

2.9.1.4. get_agent_params()

2.9.1.5. get_config_params()

2.9.1.6. get_memory_params()

2.9.1.7. get_datasource_params()

2.9.1.8. update_agent_params()

2.9.1.9. update_config_params()

2.9.1.10. update_env_params()

2.9.1.11. update_memory_params()

2.9.1.12. export_env_params()

2.9.1.13. export_agent_params()

2.10. SumTree.py

2.10.1. SumTree()

2.10.1.1. __init__()

2.10.1.2. update()

2.10.1.3. append()

2.10.1.4. get_leaf()

2.10.1.5. get()

2.10.1.6. total_priority()

2.11. test.py

2.11.1. Libraries

2.11.2. #Globals

2.11.3. test()

2.11.3.1. to-do list

2.11.4. _plot_line()

3. Results

4. MAIN.PY

4.1. Libraries

4.2. Initialize websocket

4.3. Get parameters

4.4. Resorce CPU/GPU

4.5. Initialize ENVIRONMENT

4.6. Initialize AGENT

4.7. Collecting data for EVALUATION

4.8. Collecting data for TRAINING

4.9. LEARNING from memory

4.10. If DONE, Eval & Test