Skip to main content

Time-Dependent Metrics to Assess Performance Prediction Systems

Installation


pip install assess_pps

Get started

# Importing our library

from assess_pps import metrics as m



# for working with data we need pandas

import pandas as pd



# implementing csv files

ectel = pd.read_csv("D:/path")  # put your link here

ectelsys2 = pd.read_csv("D:/path")



# We use the file ectel.csv for testing.

prediction_time = 35  # till which week we should search the overall stability value

ectel_temp = ectel.loc[ectel.weeknumber <= prediction_time]  # dataframe with all data till predicted time

S = ectel_temp['idUser'].unique()  # list with student indexes

Y = [0, 1, 2]  # list of classes

x = 10  # x  earliest times of correct predictions



# Stability 

stability = m.Stability(ectel_temp, S)

print("Stability: ", stability)



# Accuracy

accuracy = m.Accuracy(ectel_temp, S)

print("Accuracy: ", accuracy)



# Earliness 

earliness = m.Earliness_Total(S, Y, x, ectel_temp)

print("Earliness: ", earliness)



# ESS 

# for ESS we need to know stability and earliness

ESS = m.ESS(stability, earliness)

print("ESS of average earliness: ", ESS)



# EAS 

# for EAS we need to know accuracy and earliness

EAS = m.EAS(accuracy, earliness)

print("EAS of average earliness: ", EAS)

Metadata

Release files for assess-pps 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for assess-pps 0.1.1
File Size Uploaded Provenance
assess_pps-0.1.1.tar.gz 3.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for assess-pps 0.1.1
File Interpreter ABI Platform
assess_pps-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / assess_pps-0.1.1.tar.gz

Download URL assess_pps-0.1.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d55c7941d5d96d241e3f4bafe2b0a0460db8de6b1fa53a66cd4b4b0267ef9fa3
BLAKE2b-256 checksum
How to use checksums
3ea08f9cf2e481fd24d9e20bdc4307d39e32faa59a5606afdba0405f8d2bd2e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.5

Release files / assess_pps-0.1.1-py3-none-any.whl

Download URL assess_pps-0.1.1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77e3555463a8dfea8ea19c3b659bc131beb6572ee8c797f1d99e573a4b298d0c
BLAKE2b-256 checksum
How to use checksums
613f9ba61dd34a56a0caf0552f3dd056dfc75c6905a27b17d91dd709510f8a39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.5

Security for assess-pps 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page