DataPredict™ [Release 2.6] (Mature + Maintenance Mode) - Machine Learning, Deep Learning And Reinforcement Learning Library - 45+ Models!

Hi, when I run this code this error comes up:

local LogisticRegression = MDLL.Models.LogisticRegression
local LogisticRegressionModel = LogisticRegression.new()
local featureMatrix = {

	{1, 0,  0},
	{1, 10, 2},
	{1, -3, -2},
	{1, -12, -22},
	{1, 2,  2},
	{1, 1,  1},
	{1,-11, -12},
	{1, 3,  3},
	{1, -2, -2},

}
local labelVectorLogistic = {

	{1},
	{1},
	{0},
	{0},
	{1},
	{1},
	{0},
	{1},
	{0}

}
LogisticRegressionModel:train(featureMatrix, labelVectorLogistic)
local testData = {

	{90, 90}

}
local predictedVector = LogisticRegressionModel:predict(testData)
print(predictedVector)
--#Error
 10:24:17.123  Iteration: 500		Cost: 0.058439104568566616  -  Server - BaseModel:149
  10:24:17.124  ServerScriptService.AqwamRobloxMatrixLibrary:231: Argument 1 and 2 are incompatible! (1, 2) and (3, 1)  -  Server - AqwamRobloxMatrixLibrary:231
  10:24:17.124  Stack Begin  -  Studio
  10:24:17.124  Script 'ServerScriptService.AqwamRobloxMatrixLibrary', Line 231 - function dotProduct  -  Studio - AqwamRobloxMatrixLibrary:231
  10:24:17.124  Script 'ServerScriptService.AqwamRobloxMachineAndDeepLearningLibrary.Models.LogisticRegression', Line 227 - function predict  -  Studio - LogisticRegression:227
  10:24:17.124  Script 'ServerScriptService.AI2', Line 36  -  Studio - AI2:36

Screenshot 2023-08-30 103141

[Edit:]
Solution:

local testData = {

	{90, 90,0}

}

But:
,I will give you a test data for you to use. The value of prediction should be 1."
It prints a table

2 Likes