Created
April 6, 2019 05:20
-
-
Save el0911/aba5060eeed9a36c3668635e4aa3e41c to your computer and use it in GitHub Desktop.
template code for a machine learning library in nide.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Savage{ | |
constructor(){ | |
console.log('savage model initailized!!'); | |
} | |
Linear_Regression ( data,label ){ | |
return { | |
a:'2', | |
b:'2' | |
} | |
} | |
K_Nearest_Neighbour (data,points){ | |
} | |
optimization (algorithm) { | |
return { | |
gradient_descent:()=>{ | |
} | |
} | |
} | |
}; | |
module.exports = Savage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment