After you're done training and testing a neural network, how do you actually implement a user's inputs as the inputs for the network in R?
-
-
Answer:
Assuming you're using the nnet package, you can take a data frame of new examples (call it newdata) and call predict(network,newdata,type="raw"). That will generate a matrix containing in each row the output layer of network.
Ross Dempsey at Quora Visit the source
Other answers
Most trained models can be used by function: prediction(model,new_data,type="particular_type") However, since you've already tested, I doubt that it would be the real question here Please specify what exact step you're concerning here? Could it be one of these: How to develop user interface to gather data? How to synthesize new data gathered to be ready for the model? How to update trained model by new data? (in that case, just re-run the model)
Nguyen Colin Phuc
Related Q & A:
- How To Use the Graph API to Upload Photos to a user’s profile?Best solution by Stack Overflow
- How do I permanently block a user forever? I mean, find or enter the username, when the user isnt on my list?Best solution by Yahoo! Answers
- How can information systems affect a company’s bottom line (such as financial performance?Best solution by Yahoo! Answers
- How do I actually get a job in the video game industry?Best solution by Yahoo! Answers
- How do I search for a user?Best solution by Quora
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.