Accounting GYM for Accountant Reinforcement Learning .会计强化学习GYM。
Project description
CPAGYM: Accounting Gym! for Accountant Reinforcement Learning .会计强化学习GYM。
Redefining Accounting! Developed by Bfsu Intelligent Accounting Team (c) 2023 Github
Install & Import 安装和导入
For detailed installation instructions, see the documentation.
pip install cpagym
import gymnasium as gym
import cpagym as cg
Accounting Envs 主要会计环境
- Moral_Hazard 道德风险
env = gym.make("Moral_Hazard-v1")
obs = env.reset()
n_steps = 10
for _ in range(n_steps):
# Random action
action = env.action_space.sample()
obs, reward, done, info = env.step(action)
print(obs,reward,done,info)
if done:
obs = env.reset()
- AsymmetricInfo 信息不对称
env = gym.make("AsymmetricInfo-v1")
obs = env.reset()
n_steps = 10
for _ in range(n_steps):
# Random action
action = env.action_space.sample()
obs, reward, done, info = env.step(action)
print(obs,reward,done,info)
if done:
obs = env.reset()
Check out: https://cpanlp.com/reinforcement
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cpagym-0.0.23.tar.gz
(8.5 kB
view hashes)
Built Distribution
cpagym-0.0.23-py3-none-any.whl
(10.8 kB
view hashes)