@classmethod
def empty_cache(self, model_name: str, path=None, learn=None):
    '\n        deletes the cache file\n        '
    if (isNone(path) and isNone(learn)):
        print('path and learn cannot be None at the same time')
        return
    elif isNone(path):
        path = learn.path
    name = f'{model_name}_part_dep'
    folder = 'cache'
    path = (path / folder)
    files = (Path(f'{(path / name)}.pkl'), Path((path / 'pd_interm.pkl')))
    for file in files:
        if (not file.exists()):
            print(f'No chache file {file}')
        else:
            file.unlink()
deletes the cache file
@classmethod
def empty_cache(self, model_name: str, path=None, learn=None):
    '\n        \n        '
    if (isNone(path) and isNone(learn)):
        print('path and learn cannot be None at the same time')
        return
    elif isNone(path):
        path = learn.path
    name = f'{model_name}_part_dep'
    folder = 'cache'
    path = (path / folder)
    files = (Path(f'{(path / name)}.pkl'), Path((path / 'pd_interm.pkl')))
    for file in files:
        if (not file.exists()):
            print(f'No chache file {file}')
        else:
            file.unlink()