Skip to content

@abuiles /*sh1*
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
bash-3.2$ ./oauth-predict.sh movie_quotes/movie.txt "\"I want to drink rum all night in my boat\""
Unable to find a $JAVA_HOME at "/usr", continuing with system-provided Java...
{
"kind": "prediction#output",
"id": "movie_quotes/movie.txt",
"selfLink": "https://www.googleapis.com/prediction/v1.2/training/movie_quotes/movie.txt/predict",
"outputLabel": "Jack Sparrow",
"outputMulti": [
{
"label": "Tony Montana",
"score": 0.022444
},
{
"label": "Jack Sparrow",
"score": 0.417639
},
{
"label": "Patrick Bateman",
"score": 0.25665
},
{
"label": "Henry Hill",
"score": 0.095208
},
{
"label": "Mr. Pink",
"score": 0.079421
},
{
"label": "Mr. Brown",
"score": 0.007413
},
{
"label": "Mr. White",
"score": 0.05483
},
{
"label": "Mr. Blonde",
"score": 0.035682
},
{
"label": "Mr. Orange",
"score": 0.027745
},
{
"label": "Mr. Blue",
"score": 0.002968
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.