File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
samples/csharp/getting-started/MatrixFactorization_ProductRecommendation/ProductRecommender Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ class Program
18
18
// 0 2
19
19
private static string BaseDataSetRelativePath = @"../../../Data" ;
20
20
private static string TrainingDataRelativePath = $ "{ BaseDataSetRelativePath } /Amazon0302.txt";
21
- private static string TrainingDataLocation = GetDataSetAbsolutePath ( TrainingDataRelativePath ) ;
21
+ private static string TrainingDataLocation = GetAbsolutePath ( TrainingDataRelativePath ) ;
22
22
23
23
private static string BaseModelRelativePath = @"../../../Model" ;
24
24
private static string ModelRelativePath = $ "{ BaseModelRelativePath } /model.zip";
25
- private static string ModelPath = GetDataSetAbsolutePath ( ModelRelativePath ) ;
25
+ private static string ModelPath = GetAbsolutePath ( ModelRelativePath ) ;
26
26
27
27
static void Main ( string [ ] args )
28
28
{
@@ -76,7 +76,7 @@ static void Main(string[] args)
76
76
Console . ReadKey ( ) ;
77
77
}
78
78
79
- public static string GetDataSetAbsolutePath ( string relativeDatasetPath )
79
+ public static string GetAbsolutePath ( string relativeDatasetPath )
80
80
{
81
81
FileInfo _dataRoot = new FileInfo ( typeof ( Program ) . Assembly . Location ) ;
82
82
string assemblyFolderPath = _dataRoot . Directory . FullName ;
You can’t perform that action at this time.
0 commit comments