Skip to content

Commit

Permalink
docs: fix import usage (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
kingyue737 authored Nov 1, 2024
1 parent 6bf8ca2 commit 3e932b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Exponential Regression.
This calculates parameters A and B for the equation `y = A * e^(B * x)`.

```js
import ExponentialRegression from 'ml-regression-exponential';
import { ExponentialRegression } from 'ml-regression-exponential';

const x = [0, 1, 2, 3, 4];
const y = [1.5, 2.5, 3.5, 5.0, 7.5];
Expand Down

0 comments on commit 3e932b6

Please sign in to comment.