Targets¶
Targets are products of Luigi tasks. These targets are checked for existance prior to running a tasks. This task is only run if any of the targets does not exist. A task also cannot exit with success when the target isn’t created after the task was run.
-
class
targets.numerai_submission.
SubmissionTarget
(path, public_id, secret)[source]¶ Implements a submission target to “output” predictions from luigi tasks on the numer.ai servers.
-
__init__
(path, public_id, secret)[source]¶ Creates a new SubmissionTarget.
Param: path (str): local path to the predictions csv file Param: public_id (str): public_id as reported by the numer.ai website when creating API credentials Param: secret (str): secret as reported by the numer.ai website when creating API credentials
-