我正在研究使用 ML.Net 的推荐系统,目前我在创建模型时遇到了预测单个值的问题。以前没有发生过(使用相同的数据集时)。另一个问题可能是矩阵分解的负 R 平方值,但我不确定。
我也尝试修复 Visual Studio,但它什么也没做。
以下是日志:
(Microsoft.ML.ModelBuilder.Utils.Logger.Info) 2021-06-02 12:13:26.5086 调试 在 Microsoft.ML.ModelBuilder.AutoMLEngine 类中找不到方法“PredictRecommendationAsync/3”。原因: w System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务) w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务) w System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(任务任务)
w StreamJsonRpc.JsonRpc.d__941.MoveNext() --- End of stack trace from previous location where exception was thrown --- w System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) w Microsoft.ML.ModelBuilder.AutoMLServiceFactory.AutoMLServiceProxy.<PredictRecommendationAsync>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- w System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) w Microsoft.ML.ModelBuilder.TrainSession.<PredictRecommendationAsync>d__53.MoveNext() --- End of stack trace from previous location where exception was thrown --- w System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) w System.Runtime.CompilerServices.TaskAwaiter
1.GetResult()
w Microsoft.ML.ModelBuilder.ToolWindows.EvaluateTabControl.<TryItOutText_Click>d__5.MoveNext() (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)