From c5ef5befc40a2d0e343dd7f98190e2adca120e7c Mon Sep 17 00:00:00 2001 From: hechth Date: Mon, 15 Jul 2024 13:49:36 +0200 Subject: [PATCH] added stats scirpts --- analysis/Python_scripts/stats.ipynb | 39 +++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 analysis/Python_scripts/stats.ipynb diff --git a/analysis/Python_scripts/stats.ipynb b/analysis/Python_scripts/stats.ipynb new file mode 100644 index 0000000..7a11ff9 --- /dev/null +++ b/analysis/Python_scripts/stats.ipynb @@ -0,0 +1,39 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from utils import *" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "scores = load_matchms_scores() " + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "avg_scores = scores[\"scores\"].mean()\n", + "avg_matches = scores[\"matches\"].mean()" + ] + } + ], + "metadata": { + "language_info": { + "name": "python" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +}