Giskard-AI / giskard

🐢 Open-Source Evaluation & Testing for ML & LLM systems
https://docs.giskard.ai
Apache License 2.0
4.1k stars 270 forks source link

[GSK-989] doc related issues (xhr) #950

Closed rabah-khalek closed 1 year ago

rabah-khalek commented 1 year ago

rabah-khalek:

@kevinmessiaen :

print(f"Result: {passed}")print(f"F1: {results['f1'].passed} {results['f1'].metric}")print(f"DataQuality: {results['quality'].passed} {results['quality'].metric}")

From SyncLinear.com | GSK-989

rabah-khalek commented 1 year ago

@jmsquare : is there a way to enlarge "warnings" and "hints" on sphinx?

rabah-khalek commented 1 year ago

put:

In the case of binary classification, an array of probabilities   is also accepted. Make sure that the probability provided is for the first label provided in classification_labels.

next to classification_labels.

Stress on the fact that classification_labels and classification_threshold are relevant only for classification

use iris as example for snippets in model and dataset (https://rasbt.github.io/mlxtend/user_guide/data/iris_data/):


iris = datasets.load_iris()
df_iris = pd.DataFrame(iris.data,columns=iris.feature_names)

d = {0: 'setosa', 1: 'versicolor', 2: 'virginica'}

Classfication_labels: Type: dict or a list The mapping of your classification labels. It’s a dictionnary where the

If the keys are already human readable you can simply use put your classification labels as list of string

rabah-khalek commented 1 year ago

add tabs for each of:

in the guides and only highlight relevant parameters

andreybavt commented 1 year ago

@rabah-khalek-khalek is this card still in progress?

rabah-khalek commented 1 year ago

What needs to be implemented was already implemented here.