Coder Social home page Coder Social logo

intelligentcontrol's Introduction

IntelligentControl

Intelligent control algorithm and simulation environments.(TO DO)

To see the articles, follow us on zhihu.com, here is the special column.

Algorithm:

1.Reinforcement learning
 (1)DDPG
 (2)DDPG+HER
 (3)PPO
 (4)SAC

2.Model predictive control
 (1)Daynamic matrix control
 (2)General Predictive Control

3.Iterative learning control

Environment:

1.Linear system

2.Nonlinear system

intelligentcontrol's People

Contributors

onewarmheart avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

Forkers

war3gu guesswin

intelligentcontrol's Issues

I think there are some small bugs in your code.

In train.py, your code is as follows:

PART II hindsight replay

for i, transition in enumerate(episode_cache):
    new_goals = generate_goals(i, episode_cache, args.HER_sample_num)
    for new_goal in new_goals:
        reward = calcu_reward(new_goal, state, action) 
        state, action, new_state = gene_new_sas(new_goal, transition)
        ram.add(state, action, reward, new_state)

But I think it should be like that:

PART II hindsight replay

for i, transition in enumerate(episode_cache):
    new_goals = generate_goals(i, episode_cache, args.HER_sample_num)
    for new_goal in new_goals:
        state = transition[0]
        action = transition[1]
        reward = calcu_reward(new_goal, state, action) 
        state, action, new_state = gene_new_sas(new_goal, transition) # 一个transition被换成了各种goals
        ram.add(state, action, reward, new_state)

Otherwise, this algorithm is not convergent. I have tried to train it.

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.