From 4cf6e8cd4cc544bd51747aa4bd4b42696ee1599f Mon Sep 17 00:00:00 2001 From: Yue JIN <40021217+kingyue737@users.noreply.github.com> Date: Fri, 1 Nov 2024 16:20:47 +0800 Subject: [PATCH] docs: fix import usage --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cadc39d..ea44d8f 100644 --- a/README.md +++ b/README.md @@ -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];