We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45c4305 commit 8163483Copy full SHA for 8163483
docs/docs/tutorial.md
@@ -8,7 +8,7 @@ Let's discover **Scikit.js in less than 5 minutes**.
8
9
## Getting Started
10
11
-Get started by **installing the library**.
+Get started by **installing the library as well as it's dependencies**.
12
13
```shell
14
npm install scikitjs @tensorflow/tfjs
@@ -25,10 +25,12 @@ yarn add scikitjs @tensorflow/tfjs
25
Build a simple Linear Regression
26
27
```js
28
+// import tensorflow and register it as the backend
29
import * as tf from '@tensorflow/tfjs'
30
import { LinearRegression, setBackend } from 'scikitjs'
31
setBackend(tf)
32
33
+// Perform a linear regression
34
let X = [
35
[2, 3],
36
[1, 4],
0 commit comments