Code Monkey home page Code Monkey logo

q-learning-power-control's People

Contributors

farismismar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

q-learning-power-control's Issues

How to switch deep environment to tabular environment?

Hi, I had some trouble when I was planning to simulate Q-Learning Algorithm for VoLTE Closed Loop Power Control in Indoor Small Cells. In order to switch to tabular environment, I did the following:

  1. Change the agent class
from environment import radio_environment
#from DQNLearningAgent import DQNLearningAgent as QLearner # Deep with GPU and CPU fallback
from QLearningAgent import QLearningAgent as QLearner
  1. Call the tabular function
#    run_agent_fpa(env)
    run_agent_tabular(env)
#    run_agent_deep(env)

I went through the code, but I didn't find a way to switch environments:

> Ep. | TS | Recv. SINR (srv) | Recv. SINR (int) | Serv. Tx Pwr | Int. Tx Pwr | Reward 
> ------------------------------------------------------------------------------------------------------------
> [-311.94796062  325.77365607  617.88366191 -146.98785931  2.94720088  13.78845061]    
> Traceback (most recent call last):
>   File "main_modify.py", line 592, in <module>
>     run_agent_tabular(env)
>   File "main_modify.py", line 56, in run_agent_tabular
>     action = agent.begin_episode(observation)
>   File "/home/nemo/workspace/Q-Learning-Power-Control/voice/QLearningAgent.py", line 52, in begin_episode
>     self.state = observation + np.zeros(self.state_size, dtype=int)
> ValueError: operands could not be broadcast together with shapes (6,) (3,) 

Does anyone know what to do with it?

Code

Hi,

I am a beginner in the research field of DL and Communication and was looking forward towards your implementation of the paper "Deep Reinforcement Learning for Improving
Downlink mmWave Communication Performance" which mentions the link to this repository. Would be glad if you could give me a tentative timeline for the code that you would be putting in.

Cheers
Harsh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.