Zaib Ali

Results 11 comments of Zaib Ali

invalid multiple actions masking on each step of an episode in PPO algorithm using stable_baselines3, in the case of 40 discrete actions and should choose next best action by implementing...

`#added rule that only applicable mutation are allowed invalid_actions = self.not_applicable_mutations() if action_index in invalid_actions: i=0 print("action changed to: " ,action_index) probs=self.calculate_probibity() for prob in probs[0]: if i in invalid_actions:...

Hi im working on custom env that takes some invalid action in some scenarios so in this case i want to restrict my agent to take invalid actions on specific...

invalid_actions = self.not_applicable_actions() if action_index in invalid_actions: i=0 print("action changed to: " ,action_index) probs=self.calculate_probibity() for prob in probs[0]: if i in invalid_actions: probs[0][i]=0.0 i+=1 action_index = np.argmax(probs) print("this next best...

> ``` > invalid_actions = self.not_applicable_actions() > if action_index in invalid_actions: > i=0 > print("action changed to: " ,action_index) > probs=self.calculate_probibity() > for prob in probs[0]: > if i in...

``` class MaskInvalidActions(gym.ActionWrapper): def __init__(self, env): super().__init__(env) self.invalid_actions def reset(self, **kwargs): return self.env.reset(**kwargs) def step(self, action): print("Action change") invalid_actions = self.env.not_actions() if action in invalid_actions: i=0 print("action changed to: "...

$settings1 = [ 'chart_title' => 'Blocked', 'chart_type' => 'line', 'report_type' => 'group_by_date', 'model' => 'App\ Model ', 'group_by_field' => 'created_at', "group_by_period" => "day", "aggregate_function" => "sum", 'conditions' => [ ['name'...

Actually I'm working on SQL and XSS payloads Storing data into database For SQL payloads it works fine For XSS count is not working properly