issues
search
LILY-QML
/
LLY-DML
LLY-DML is part of the LILY project and is a Quantum Machine Learning model. It uses so-called L-Gates. These gates are Machine Learning gates that modify their state based on an input to map to a desired state of an input.
https://www.lilyqml.de
2
stars
5
forks
source link
Class Reader Implementation of: Method create_train_file and move_json_file
#37
Closed
xleonplayz
closed
1 week ago
xleonplayz
commented
2 weeks ago
Method: create_train_file
Creates a
train.json
in the
var
directory.
Before creating it, checks if a
train.json
already exists; if so, returns error code
1199
.
In the
train.json
, the date and time it was created are at the top.
Method: move_json_file
First, checks if there is an
archive
folder in
var
; if not, creates one.
Then checks if there is a
train.json
; if not, returns
1188
.
Renames the JSON with today's date and time.
Then moves the JSON to the
archive
.
Method: create_train_file
train.json
in thevar
directory.train.json
already exists; if so, returns error code1199
.train.json
, the date and time it was created are at the top.Method: move_json_file
archive
folder invar
; if not, creates one.train.json
; if not, returns1188
.archive
.