Also, here’s some code that does the same thing that isn’t garbage:
const ml = require(‘ml-regression’);
const csv = require(‘csvtojson’);
const SLR = ml.SLR; // Simple Linear Regression
I gotta say, your code is pretty garbage. Could you not use global variables? Could you use promises? Could you have some consistency in your variable names (capital X but lower case y is dumb)? And you got the CSV column names with the wrong capitalization so it asks you “f(x) = NaN * x” — did you even test this? Why do you wrap parseFloat in a…
There are so many things wrong with this article. Starting with the title. People have found literally thousands of uses for blockchain related technology.
Cash isn’t costless, credit cards can track fraud disputes but only because their design is so vulnerable to fraud, bitcoin has escrow services just like paypal or any…