From de311cfab414a8bf85dcf161673ad26ab963183f Mon Sep 17 00:00:00 2001 From: AqwamCreates Date: Sun, 22 Dec 2024 15:53:02 +0800 Subject: [PATCH] Updates --- src/LuaVersion/QuickSetups_CategoricalPolicy.lua | 2 +- src/RobloxVersion/QuickSetups/CategoricalPolicy.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LuaVersion/QuickSetups_CategoricalPolicy.lua b/src/LuaVersion/QuickSetups_CategoricalPolicy.lua index 4fd5067c..e68b510c 100644 --- a/src/LuaVersion/QuickSetups_CategoricalPolicy.lua +++ b/src/LuaVersion/QuickSetups_CategoricalPolicy.lua @@ -276,7 +276,7 @@ function CategoricalPolicyQuickSetup:reinforce(currentFeatureVector, rewardValue ExperienceReplay:run(function(storedPreviousFeatureVector, storedAction, storedRewardValue, storedCurrentFeatureVector) - return Model:update(storedPreviousFeatureVector, storedAction, storedRewardValue, storedCurrentFeatureVector) + return Model:categoricalUpdate(storedPreviousFeatureVector, storedAction, storedRewardValue, storedCurrentFeatureVector) end) diff --git a/src/RobloxVersion/QuickSetups/CategoricalPolicy.lua b/src/RobloxVersion/QuickSetups/CategoricalPolicy.lua index 0cfd645b..5b32bd4e 100644 --- a/src/RobloxVersion/QuickSetups/CategoricalPolicy.lua +++ b/src/RobloxVersion/QuickSetups/CategoricalPolicy.lua @@ -276,7 +276,7 @@ function CategoricalPolicyQuickSetup:reinforce(currentFeatureVector, rewardValue ExperienceReplay:run(function(storedPreviousFeatureVector, storedAction, storedRewardValue, storedCurrentFeatureVector) - return Model:update(storedPreviousFeatureVector, storedAction, storedRewardValue, storedCurrentFeatureVector) + return Model:categoricalUpdate(storedPreviousFeatureVector, storedAction, storedRewardValue, storedCurrentFeatureVector) end)