You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is nondeterministic AccessViolation exception during C# Predict call with LAS and cover exploration turned on (I was not able to reproduce it after removing any of LAS/cover/C# property, but do not have intuition why it matters).
How to reproduce
static void CbTest()
{
string b64_model = null;
using (
var vw =
new VW.VowpalWabbit($"--cb_explore_adf --large_action_space --max_actions 2 --cover 5 --full_predictions"))
{
var test = new List<string>();
test.Add("shared | s_1");
for (int i = 0; i < 200; ++i)
{
test.Add("| a_" + i.ToString());
}
using (var coll = new VW.VowpalWabbitMultiLineExampleCollection(vw, null, test.Select(x => vw.ParseLine(x)).ToArray()))
{
var prediction = coll.Predict(VW.VowpalWabbitPredictionType.ActionProbabilities);
double sum = prediction.Select(x => x.Score).Sum();
Console.WriteLine(sum);
}
}
}
From time to time (but quite often), I am able to get this:
Version
9.5
OS
Windows
Language
C#
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
There is nondeterministic AccessViolation exception during C# Predict call with LAS and cover exploration turned on (I was not able to reproduce it after removing any of LAS/cover/C# property, but do not have intuition why it matters).
How to reproduce
From time to time (but quite often), I am able to get this:
Version
9.5
OS
Windows
Language
C#
Additional context
No response
The text was updated successfully, but these errors were encountered: