<filename>src/generate_dataset/generate_dataset.py
import random

import numpy as np

from src.generate_dataset.args import argument_parser, load_args_settings
from src.generate_dataset.dataset_processing import generate_dataset, store_dataset

if __name__ == "__main__":
    args = argument_parser.parse_args()
    if args.use_save_args_settings:
        load_args_settings(args)
    random.seed(args.seed)
    np.random.seed(args.seed)
    X, y, w = generate_dataset(args)
    store_dataset(X, y, w, args)

<filename>src/generate_dataset/generate_dataset.py
import random

import numpy as np

from src.generate_dataset.args import argument_parser, load_args_settings
from src.generate_dataset.dataset_processing import generate_dataset, store_dataset

if __name__ == "__main__":
    args = argument_parser.parse_args()
    if args.use_save_args_settings:
        load_args_settings(args)
    random.seed(args.seed)
    np.random.seed(args.seed)
    X, y, w = generate_dataset(args)
    store_dataset(X, y, w, args)
