Aug 14, 2022 This is a library contains Linear Regression class that predicts Y value for any given data contains X, Y row data. easy of use: Code: Copy Dim lr As LinearRegression lr.Initialize(File.DirAssets,"dm.csv",",",2,5,False) xui.MsgboxAsync(lr.predict(100), lr.Score) X: is independent variable (feature variable) Y: is dependent variable (target variable) I'll add later the rest of data science classes that will be the key of pure ML in B4X. Attachments DataScience-ver-1.0.zip DataScience-ver-1.0.zip 3.5 KB · Views: 494 datas_example.zip datas_example.zip 8.9 KB · Views: 476 dm.zip dm.zip 8.7 KB · Views: 472 Click to expand...
This is a library contains Linear Regression class that predicts Y value for any given data contains X, Y row data. easy of use: Code: Copy Dim lr As LinearRegression lr.Initialize(File.DirAssets,"dm.csv",",",2,5,False) xui.MsgboxAsync(lr.predict(100), lr.Score) X: is independent variable (feature variable) Y: is dependent variable (target variable) I'll add later the rest of data science classes that will be the key of pure ML in B4X.