Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lambench/metrics/vishelper/metrics_calculations.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ def calculate_generalizability_downstream_score(self) -> tuple[dict, dict]:
) # drop models with missing domain results

# # Now aggregate all domains to get the final generalizability metrics for each model
return domain_results.to_dict(orient="index"), domain_results.mean(axis=1).to_dict()
return domain_results.to_dict(orient="index"), domain_results.mean(
axis=1
).to_dict()

def calculate_stability_results(self) -> dict[str, float]:
"""This calculates the stability score for a given LAM."""
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools", "wheel"]
requires = ["setuptools>=77.0.3", "wheel"]
build-backend = "setuptools.build_meta"

[project]
Expand All @@ -26,10 +26,11 @@ authors = [

description = "Benchmarking of Large Atomic Models"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE*"]
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]

Expand Down