Tags: openclimatefix/pvnet
Tags
Add quantile-quantile plot to wandb custom charts (#539) * store quantile losses in table to plot target quantile v. fraction below quantile in wandb using existing line plot function * added option to plot y=x using add_identity_line into existing wandb line plot function * changed test to quantile regression
Resume from ckpt path (#536) * optional ckpt_path added to trainer.fit( ... ) * ckpt_path added to config example. default is null. * test added at end of test_train_pvnet() to check that after training for one epoch, one checkpoint is saved * test added to check we can load and run pretrained model for one epoch. this is repeated and the two state_dicts and optimizer_states are compared against each other to check we get the same results * uv lock added, removed tests_matrix for updated ci workflow
Branch ci lint typecheck fix (#540) Address ruff errors and future CI issues. Changes: * Automatic ruff fixes - removed unnecessary pass, return, and brackets * SIM102 Use a single statement instead of nested statements * C419 Unnecessary list comprehension * TRY004 Prefer exception instead of ValueError * SIM118 key in dict instead of key in dict.keys() * PERF102 When using only the values of a dict use the method * DTZ011 datetime.datetime.now(timezone.utc) used isntead * PLC0206 Extracting value from dictionary without calling * C408 Unnecessary call (rewrite as a literal) - re-wrote dict() as { '' : .. } *LOG015 define logger=logging.getLogger(...) to avoid call on root logger * In pyproject.toml: ignore remaining errors TRY002 (create own exception), B008 (do not perform function typer.Argument) * To start CI workflows, also added uv lock and removed tests_matrix
Add scorecard section to scripts (#530) * Amend gitignore to ignore scorecard outputs but not the template Add .png and .pdf files to ignored petterns. Add exclusion for scorecard template .html file * Add uv.lock to gitignore * Add scorecard dependencies to pyproject * Add scorecard script and template * Replace user-configured variables with a yaml config * Update docstring with config instructions * Add comment to scorecard config * Mark scorecard config as example and add to .gitignore * Add usage comments * Add config to example usage docstring and fix typos
PreviousNext