dotnet / machinelearning-samples

Samples for ML.NET, an open source and cross-platform machine learning framework for .NET.
https://dot.net/ml
MIT License
4.47k stars 2.68k forks source link

'MatrixFactorizationTrainer.Options' does not contain a definition for 'K' #1023

Closed khteh closed 5 months ago

khteh commented 5 months ago

https://github.com/dotnet/machinelearning-samples/tree/main/samples/csharp/getting-started/MatrixFactorization_ProductRecommendation

Where is the K param?

feiyun0112 commented 5 months ago

it rename to ApproximationRank

https://github.com/dotnet/machinelearning/blob/72cfdf611a510ba0570170a708ddcc1a1928f329/src/Microsoft.ML.Recommender/MatrixFactorizationTrainer.cs#L193