Skip to content

Commit

Permalink
references #4
Browse files Browse the repository at this point in the history
  • Loading branch information
prashanthellina committed Apr 17, 2014
1 parent 5169939 commit 7e4f99a
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,32 @@ class VWAPI(__builtin__.object)
| create(self, name, options=None)
| Creates a new VW model with @name and using @options
|
| destroy = wfn(self, vw, *args, **kwargs)
| destroy(self, vw)
| Destroy the specified VW model from both memory
| and disk permanently.
|
| predict = wfn(self, vw, *args, **kwargs)
| predict(self, vw, items)
| Perform prediction using @vw model on the provided @items.
| @items - a list of strings representing the input lines
| in the VW format
|
| returns: a list of response lines as returned by VW
|
| save = wfn(self, vw, *args, **kwargs)
| save(self, vw)
| Saves the model learnt so far
|
| show_options(self)
| Shows the allowed options and their default values
|
| shutdown(self)
| Stop the server
|
| train = wfn(self, vw, *args, **kwargs)
| train(self, vw, examples)
| Train the @vw model using @examples
| @examples - a list of strings representing example lines
| in the VW format
|
| returns: a list of response lines as returned by VW
|
| unload(self, vw)
| Unloads a VW model from memory. This does not
Expand Down

0 comments on commit 7e4f99a

Please sign in to comment.