From 2b6cecf078849b5a8913bb374c0d8ce7d9b05263 Mon Sep 17 00:00:00 2001 From: NeTT Date: Sat, 7 Sep 2024 09:17:54 +0530 Subject: [PATCH] add commands --- deno.jsonc | 4 +++- examples/sentiment-analysis/classifier.ts | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/deno.jsonc b/deno.jsonc index 5fd533e..2840807 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -40,7 +40,9 @@ "example:multiple-linear": "deno -A ./examples/multiple-linear/student.ts", "example:binary": "deno -A ./examples/classification/binary_iris.ts", "example:multiclass": "deno -A ./examples/classification/iris.ts", - "example:text-sentiment": "deno -A ./examples/sentiment-analysis/classifier.ts", + "example:sentiment-train": "deno -A ./examples/sentiment-analysis/classifier.ts", + "example:sentiment-test": "deno -A ./examples/sentiment-analysis/tester.ts", + "example:sentiment-try": "deno -A ./examples/sentiment-analysis/analyzer.ts", "example:text-spam": "deno -A ./examples/classification/spam.ts", "example:filters": "deno -A examples/filters/conv.ts ", "example:train": "deno -A examples/model/train.ts ", diff --git a/examples/sentiment-analysis/classifier.ts b/examples/sentiment-analysis/classifier.ts index 068d3d4..cc316d9 100644 --- a/examples/sentiment-analysis/classifier.ts +++ b/examples/sentiment-analysis/classifier.ts @@ -2,7 +2,6 @@ import { AdamOptimizer, Cost, CPU, - Dropout1DLayer, Init, setupBackend, tensor,