From 12cc1c68be5222e0f0c12a08607a9001c62e026d Mon Sep 17 00:00:00 2001 From: Ezra Lazuardy Date: Fri, 15 Nov 2024 04:18:47 +0700 Subject: [PATCH] feat: update --- src/tests.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/tests.py b/src/tests.py index a3b1044..18f5225 100644 --- a/src/tests.py +++ b/src/tests.py @@ -9,14 +9,16 @@ - lazuardy-tech """ +import os + import numpy import anfis import membershipfunction import mfderivs -# define the training_set.txt file path, please change it to your own path -training_set = "/Users/ezra/projects/lazuardy/oss/anfis/src/training_set.txt" +# define the training_set.txt file path +training_set = os.getcwd() + "/src/training_set.txt" ts = numpy.loadtxt(training_set, usecols=[1, 2, 3]) X = ts[:, 0:2]