You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-3Lines changed: 23 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ For more information on the library's API, please visit [API reference](https://
52
52
Let's classify records from well-known dataset - [Pima Indians Diabets Database](https://www.kaggle.com/uciml/pima-indians-diabetes-database)
53
53
via [Logistic regressor](https://github.com/gyrdym/ml_algo/blob/master/lib/src/classifier/logistic_regressor/logistic_regressor.dart)
54
54
55
-
Import all necessary packages. First, it's needed to ensure, if you have `ml_preprocessing` and `ml_dataframe`package
55
+
Import all necessary packages. First, it's needed to ensure if you have `ml_preprocessing` and `ml_dataframe`packages
56
56
in your dependencies:
57
57
58
58
````
@@ -77,8 +77,28 @@ read it (of course, you should provide a proper path to your downloaded file):
77
77
final samples = await fromCsv('datasets/pima_indians_diabetes_database.csv', headerExists: true);
78
78
````
79
79
80
-
*For flutter developers: please, read the official flutter.dev article [Read and write files](https://flutter.dev/docs/cookbook/persistence/reading-writing-files)
81
-
before manipulating with file system in order to build a correct path to your dataset*
80
+
#### For flutter developers
81
+
82
+
*Please, read the official flutter.dev article [Read and write files](https://flutter.dev/docs/cookbook/persistence/reading-writing-files)
83
+
before manipulating with the file system in order to build a correct path to your dataset.*
84
+
85
+
*Generally, you need to add `path_provider`
86
+
package to your dependencies:*
87
+
88
+
````
89
+
dependencies:
90
+
path_provider: ^1.6.24 # or find the actual version of the lib
91
+
````
92
+
93
+
*After that you need to write the following code (some parts of the code can be altered depending on the details of your app):*
0 commit comments