This describes functionalities about API REST.
lightmlrestapi.mlapp.base_logging.BaseLogging (self, secret, folder = ‘.’, level = 20, encoding = ‘utf-8’, when = ‘d’)
Simplifies logging. Logging is encrypted with module pyjwt if secret is specified.
lightmlrestapi.mlapp.enumerate_parsed_logs (folder, secret, encoding = ‘utf-8’)
Goes through a list of logged files, reads and decrypts the content.
lightmlrestapi.mlapp.mlstorage.ZipStorage (self, folder)
Stores and restores zipped files.
lightmlrestapi.mlapp.mlstorage.MLStorage (self, folder, cache_size = 10)
lightmlrestapi.mlapp.MachineLearningPost (self, load_function, predict_function, secret = None, folder = ‘.’, log_features = True, log_prediction = True, load_params = None, ccall = ‘single’, version = None)
lightmlrestapi.mlapp.MLStoragePost (self, secret = None, folder = ‘.’, folder_storage = ‘.’, version = None)