File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
samples/csharp/end-to-end-apps/Recommendation-MovieRecommender/MovieRecommender_Model Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ class Program
21
21
private static string TrainingDataRelativePath = $ "{ BaseDataSetRelativepath } /ratings_train.csv";
22
22
private static string TestDataRelativePath = $ "{ BaseDataSetRelativepath } /ratings_test.csv";
23
23
24
- private static string TrainingDataLocation = GetDataSetAbsolutePath ( TrainingDataRelativePath ) ;
25
- private static string TestDataLocation = GetDataSetAbsolutePath ( TestDataRelativePath ) ;
26
- private static string ModelPath = GetDataSetAbsolutePath ( ModelRelativePath ) ;
24
+ private static string TrainingDataLocation = GetAbsolutePath ( TrainingDataRelativePath ) ;
25
+ private static string TestDataLocation = GetAbsolutePath ( TestDataRelativePath ) ;
26
+ private static string ModelPath = GetAbsolutePath ( ModelRelativePath ) ;
27
27
28
28
private static string userIdFeaturized = nameof ( userIdFeaturized ) ;
29
29
private static string movieIdFeaturized = nameof ( movieIdFeaturized ) ;
@@ -148,7 +148,7 @@ public static float Sigmoid(float x)
148
148
return ( float ) ( 100 / ( 1 + Math . Exp ( - x ) ) ) ;
149
149
}
150
150
151
- public static string GetDataSetAbsolutePath ( string relativeDatasetPath )
151
+ public static string GetAbsolutePath ( string relativeDatasetPath )
152
152
{
153
153
FileInfo _dataRoot = new FileInfo ( typeof ( Program ) . Assembly . Location ) ;
154
154
string assemblyFolderPath = _dataRoot . Directory . FullName ;
You can’t perform that action at this time.
0 commit comments