@AutoService(value=Command.class) public class Predict extends java.lang.Object implements Command
Predict item ratings for a user.
| Constructor and Description |
|---|
Predict() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureArguments(net.sourceforge.argparse4j.inf.ArgumentParser parser)
Configure the argument parser for this command.
|
void |
execute(net.sourceforge.argparse4j.inf.Namespace opts)
Execute the command.
|
java.lang.String |
getHelp()
Get the command’s help.
|
java.lang.String |
getName()
Get the name of the command.
|
public java.lang.String getName()
CommandGet the name of the command.
public java.lang.String getHelp()
CommandGet the command’s help.
public void execute(net.sourceforge.argparse4j.inf.Namespace opts)
throws LenskitCommandException
CommandExecute the command.
execute in interface Commandopts - The command-line options.LenskitCommandExceptionpublic void configureArguments(net.sourceforge.argparse4j.inf.ArgumentParser parser)
CommandConfigure the argument parser for this command.
configureArguments in interface Commandparser - The argument parser into which the arguments should be configured. This will already be a subparser, the command is not responsible for creating that.