Skip to content

Commit 1431909

Browse files
Changed Method signature
1 parent 4e6a25a commit 1431909

File tree

1 file changed

+3
-3
lines changed
  • samples/csharp/getting-started/MatrixFactorization_ProductRecommendation/ProductRecommender

1 file changed

+3
-3
lines changed

samples/csharp/getting-started/MatrixFactorization_ProductRecommendation/ProductRecommender/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ class Program
1818
// 0 2
1919
private static string BaseDataSetRelativePath = @"../../../Data";
2020
private static string TrainingDataRelativePath = $"{BaseDataSetRelativePath}/Amazon0302.txt";
21-
private static string TrainingDataLocation = GetDataSetAbsolutePath(TrainingDataRelativePath);
21+
private static string TrainingDataLocation = GetAbsolutePath(TrainingDataRelativePath);
2222

2323
private static string BaseModelRelativePath = @"../../../Model";
2424
private static string ModelRelativePath = $"{BaseModelRelativePath}/model.zip";
25-
private static string ModelPath = GetDataSetAbsolutePath(ModelRelativePath);
25+
private static string ModelPath = GetAbsolutePath(ModelRelativePath);
2626

2727
static void Main(string[] args)
2828
{
@@ -76,7 +76,7 @@ static void Main(string[] args)
7676
Console.ReadKey();
7777
}
7878

79-
public static string GetDataSetAbsolutePath(string relativeDatasetPath)
79+
public static string GetAbsolutePath(string relativeDatasetPath)
8080
{
8181
FileInfo _dataRoot = new FileInfo(typeof(Program).Assembly.Location);
8282
string assemblyFolderPath = _dataRoot.Directory.FullName;

0 commit comments

Comments
 (0)