mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-28 16:07:46 +00:00
be2c19307e
* Implemented model.py - Need to run within the RDAgent folder (relevant path) - Each time copy a template & insert code & run qlib & store result back to experiment * Create model.py * Create conf.yaml This is the sample conf.yaml to be copied each time. This has gone several times of iteration and is now working for both tabular and Time-Series data. * Create read_exp.py This is to read the results within Qlib * Create ReadMe.md * Update model.py * Create test_model.py A testing file that separates model code generation and running&feedback section. * move the template folder * help xisen finish the model runner * help xisen fix improve model feedback generation * delete debug file * rename readme.md --------- Co-authored-by: Xisen Wang <118058822+Xisen-Wang@users.noreply.github.com>
20 lines
546 B
Python
20 lines
546 B
Python
from __future__ import annotations
|
|
|
|
from pathlib import Path
|
|
|
|
from dotenv import load_dotenv
|
|
from pydantic_settings import BaseSettings
|
|
|
|
# make sure that env variable is loaded while calling Config()
|
|
load_dotenv(verbose=True, override=True)
|
|
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class RunnerSettings(BaseSettings):
|
|
runner_cache_result: bool = True # whether to cache the result of the docker execution
|
|
runner_cache_path: str = str(Path.cwd() / "runner_cache/") # the path to store the cache
|
|
|
|
|
|
RUNNER_SETTINGS = RunnerSettings()
|