Skip to content

Commit 8163483

Browse files
committed
better tutorial docs
1 parent 45c4305 commit 8163483

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/docs/tutorial.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Let's discover **Scikit.js in less than 5 minutes**.
88

99
## Getting Started
1010

11-
Get started by **installing the library**.
11+
Get started by **installing the library as well as it's dependencies**.
1212

1313
```shell
1414
npm install scikitjs @tensorflow/tfjs
@@ -25,10 +25,12 @@ yarn add scikitjs @tensorflow/tfjs
2525
Build a simple Linear Regression
2626

2727
```js
28+
// import tensorflow and register it as the backend
2829
import * as tf from '@tensorflow/tfjs'
2930
import { LinearRegression, setBackend } from 'scikitjs'
3031
setBackend(tf)
3132

33+
// Perform a linear regression
3234
let X = [
3335
[2, 3],
3436
[1, 4],

0 commit comments

Comments
 (0)