sanvlr12 / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
0 stars 0 forks source link

Response from prediction API #138

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Hi,

I am looking to integrate prediction API as a recommendation engine for books 
on my web site. 

I was able to integrate prediction API. I can train my model and request 
prediction too.

My only problem is right now I only get single value in response from the API.  
My recommendation is based on the current selected book and its ratting, there 
should be multiple options that I can show as recommendation to the user. 

Right now for testing API I am just using test model with 5 rows to fetch and 
check the prediction.

My model contains the following data 

1.71,  "M", 1.74, 1.62 , "France" 
1.51,  "F", 1.61, 1.50 , "India" 
1.81,  "M", 1.82, 1.66 , "Norway"
1.62,  "M", 1.70, 1.60 , "Mail"
1.69,  "M", 1.74, 1.60 , "France"

For prediction  I am sending "M" as my string. I am expecting it to return 
1.71, 1.81, 1.62 and 1.69   right now I get a single value 1.62 as response.

Am I missing something here. Please let me know. Also please let me know if I 
should go with Regression or  Categorization model.  I would like to update my 
model with time from user inputs so I was thinking that I need to go with the 
Categorization model because only that will allows me to update the model later 
on dynamically. 

Regards, 
Neeraj Dev

Original issue reported on code.google.com by neeraj....@gmail.com on 6 Sep 2011 at 4:23

GoogleCodeExporter commented 9 years ago
Hi Neeraj,
This project is just for the .Net client library, it sounds like the issue you 
are having is with the service not the client library, can I suggest you have a 
look through their documentation at 
http://code.google.com/apis/predict/docs/developer-guide.html and if you do not 
find the answers there try the discusion forum at 
http://code.google.com/apis/predict/docs/general_discussion_forum.html or 
submit feedback/bug to that project at 
http://code.google.com/apis/predict/docs/feedback_and_discuss.html .

I'm sorry but as the client seems to be passing the messages between your code 
and this service sucessfuly I will close this bug as works as intended.

Thanks for taking the time to submit this feed back.

David.  

Original comment by davidwat...@google.com on 6 Sep 2011 at 10:40

GoogleCodeExporter commented 9 years ago

Original comment by davidwat...@google.com on 6 Sep 2011 at 10:43