mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/SPATZ.git
synced 2025-12-16 17:28:04 +00:00
Added dummy metric
This commit is contained in:
11
demo.ipynb
11
demo.ipynb
@@ -171,6 +171,10 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"from spatz.metrics import Metric\n",
|
||||
"\n",
|
||||
"metric = Metric()\n",
|
||||
"\n",
|
||||
"logger = simulation.get_logger()\n",
|
||||
"\n",
|
||||
"# Set verbose to False to disable the progress bar\n",
|
||||
@@ -183,7 +187,12 @@
|
||||
" # Get the correct altitude data.\n",
|
||||
" alt = altitude()\n",
|
||||
"\n",
|
||||
" # TODO: Add your computation here."
|
||||
" pred_alt = ...\n",
|
||||
" metric(alt, pred_alt)\n",
|
||||
"\n",
|
||||
" # TODO: Add your computation here.\n",
|
||||
"\n",
|
||||
"print('Score was:', metric.get_score())"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user