Created
October 3, 2016 22:07
-
-
Save benoror/9307b900a58644eb6e2d7baebd6cee4f to your computer and use it in GitHub Desktop.
Briand endpoint (pseudocode)
This file contains hidden or 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
function predict_cd(options = {}) { | |
if(!options.cause) { | |
return Error("c'mon, you need at least a cause!"); | |
} | |
cause = options.cause; | |
// optional to increase % confidence | |
gender = options.gender || null; | |
age = options.age || null; | |
pet_name = options.pet_name || null; | |
// do your magic | |
diagnostic_nn.predict(cause, gender, age, pet_name, ...) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment