"
]
},
"execution_count": 94,
@@ -8110,7 +8110,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "C:\\Users\\Sepkjaer\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages\\pycm-4.0-py3.5.egg\\pycm\\pycm_obj.py:850: RuntimeWarning: The weight format is wrong, the result is for unweighted kappa.\n"
+ "C:\\Users\\Sepkjaer\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages\\pycm-4.1-py3.5.egg\\pycm\\cm.py:850: RuntimeWarning: Invalid weight format; the result is for unweighted kappa.\n"
]
},
{
@@ -12200,7 +12200,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "C:\\Users\\Sepkjaer\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages\\pycm-4.0-py3.5.egg\\pycm\\pycm_obj.py:873: RuntimeWarning: The weight format is wrong, the result is for unweighted alpha.\n"
+ "C:\\Users\\Sepkjaer\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages\\pycm-4.1-py3.5.egg\\pycm\\cm.py:873: RuntimeWarning: Invalid weight format; the result is for unweighted alpha.\n"
]
},
{
@@ -14630,7 +14630,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The type of input vectors is assumed to be a list or a NumPy array\n"
+ "Input vectors must be provided as a list or a NumPy array.\n"
]
}
],
@@ -14652,7 +14652,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Input vectors must have same length\n"
+ "Input vectors must have the same length.\n"
]
}
],
@@ -14672,7 +14672,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Input vectors are empty\n"
+ "Input vectors must not be empty.\n"
]
}
],
@@ -14692,7 +14692,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Input vectors must have same length\n"
+ "Input vectors must have the same length.\n"
]
}
],
@@ -14712,7 +14712,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Input confusion matrix format error\n"
+ "Invalid input confusion matrix format.\n"
]
}
],
@@ -14732,7 +14732,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Type of the input matrix classes is assumed be the same\n"
+ "All input matrix classes must be of the same type.\n"
]
}
],
@@ -14752,7 +14752,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Number of the classes is lower than 2\n"
+ "The number of classes must be at least 2.\n"
]
}
],
@@ -14772,7 +14772,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The input type is supposed to be dictionary but it's not!\n"
+ "Input must be provided as a dictionary.\n"
]
}
],
@@ -14792,7 +14792,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The domain of all ConfusionMatrix objects must be same! The sample size or the number of classes are different.\n"
+ "All ConfusionMatrix objects must have the same domain (same sample size and number of classes).\n"
]
}
],
@@ -14812,7 +14812,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The input is supposed to consist of pycm.ConfusionMatrix object but it's not!\n"
+ "Input must be a dictionary containing pycm.ConfusionMatrix objects.\n"
]
}
],
@@ -14832,7 +14832,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Lower than two confusion matrices is given for comparing. The minimum number of confusion matrix for comparing is 2.\n"
+ "At least 2 confusion matrices are required for comparison.\n"
]
}
],
@@ -14852,7 +14852,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The class_weight type must be dictionary and also must be specified for all of the classes.\n"
+ "`class_weight` must be a dictionary and specified for all classes.\n"
]
}
],
@@ -14875,7 +14875,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The class_benchmark_weight type must be dictionary and also must be specified for all of the class benchmarks.\n"
+ "`class_benchmark_weight` must be a dictionary and specified for all class benchmarks.\n"
]
}
],
@@ -14897,7 +14897,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The overall_benchmark_weight type must be dictionary and also must be specified for all of the overall benchmarks.\n"
+ "`overall_benchmark_weight` must be a dictionary and specified for all overall benchmarks.\n"
]
}
],
@@ -14919,8 +14919,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "CI calculation for this parameter is not supported on this version of pycm.\n",
- "Supported parameters : TPR,TNR,PPV,NPV,ACC,PLR,NLR,FPR,FNR,AUC,PRE,Kappa,Overall ACC\n"
+ "Confidence interval calculation for this parameter is not supported in this version of pycm.\n",
+ " Supported parameters are: TPR, TNR, PPV, NPV, ACC, PLR, NLR, FPR, FNR, AUC, PRE, Kappa, Overall ACC\n"
]
}
],
@@ -14940,7 +14940,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The input type is supposed to be string but it's not!\n"
+ "Input must be provided as a string.\n"
]
}
],
@@ -15000,7 +15000,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The weight type must be dictionary and also must be specified for all of the classes.\n"
+ "`weight` must be a dictionary and specified for all classes.\n"
]
}
],
@@ -15020,7 +15020,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "This option only works in vector mode\n"
+ "This option is only available in vector mode.\n"
]
}
],
@@ -15040,7 +15040,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The input type is supposed to be pycm.ConfusionMatrix object but it's not!\n"
+ "Input must be an instance of pycm.ConfusionMatrix.\n"
]
}
],
@@ -15060,7 +15060,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Number of the classes is lower than 2\n"
+ "The number of classes must be at least 2.\n"
]
}
],
@@ -15080,7 +15080,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The classes list isn't unique. It contains duplicated labels.\n"
+ "`classes` must contain unique labels with no duplicates.\n"
]
}
],
@@ -15100,7 +15100,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The type of input vectors is assumed to be a list or a NumPy array\n"
+ "Input vectors must be provided as a list or a NumPy array.\n"
]
}
],
@@ -15120,7 +15120,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Input vectors must have same length\n"
+ "Input vectors must have the same length.\n"
]
}
],
@@ -15140,7 +15140,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The sum of probability values must be one\n"
+ "The sum of the probability values must equal 1.\n"
]
}
],
@@ -15163,7 +15163,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The type of classes is assumed to be list\n"
+ "`classes` must be provided as a list.\n"
]
}
],
@@ -15186,7 +15186,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The classes don't match to actual_vector\n"
+ "`classes` does not match the actual vector.\n"
]
}
],
@@ -15209,7 +15209,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Number of the classes is lower than 2\n"
+ "The number of classes must be at least 2.\n"
]
}
],
@@ -15232,7 +15232,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The elements of the probability vector can only contain numeric values\n"
+ "Probability vector elements must be numeric.\n"
]
}
],
@@ -15255,7 +15255,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The type of thresholds is assumed to be list or NumPy array\n"
+ "`thresholds` must be provided as a list or a NumPy array.\n"
]
}
],
@@ -15279,7 +15279,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Number of the thresholds is lower than 2\n"
+ "The number of thresholds must be at least 2.\n"
]
}
],
@@ -15303,7 +15303,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The thresholds can only contain numeric values\n"
+ "`thresholds` must contain only numeric values.\n"
]
}
],
@@ -15327,7 +15327,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The classes list isn't unique. It contains duplicated labels.\n"
+ "`classes` must contain unique labels with no duplicates.\n"
]
}
],
@@ -15350,7 +15350,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Probability vector elements must have same length and equal to classes\n"
+ "All elements of the probability vector must have the same length and match the number of classes.\n"
]
}
],
@@ -15373,7 +15373,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The numeric integral method can only be selected between 'trapezoidal' and 'midpoint'!\n"
+ "The integral method must be either 'trapezoidal' or 'midpoint'.\n"
]
}
],
@@ -15397,7 +15397,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Class extraction from input failed. Input vectors should be a list of sets with unified types.\n"
+ "Failed to extract classes from input. Input vectors should be a list of sets with unified types.\n"
]
}
],
@@ -15417,7 +15417,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Given class name is not among problem's classes.\n"
+ "The specified class name is not among the confusion matrix's classes.\n"
]
}
],
@@ -15438,7 +15438,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Given index is out of vector's range.\n"
+ "Index is out of range for the given vector.\n"
]
}
],
@@ -15458,7 +15458,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The type of input vectors is assumed to be a list or a NumPy array\n"
+ "Input vectors must be provided as a list or a NumPy array.\n"
]
}
],
@@ -15478,7 +15478,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Input vectors must have same length\n"
+ "Input vectors must have the same length.\n"
]
}
],
@@ -15498,7 +15498,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Input vectors are empty\n"
+ "Input vectors must not be empty.\n"
]
}
],
@@ -15518,7 +15518,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "The classes list isn't unique. It contains duplicated labels.\n"
+ "`classes` must contain unique labels with no duplicates.\n"
]
}
],
diff --git a/Document/Document_files/cm1.html b/Document/Document_files/cm1.html
index 29c91105..d20d36a6 100644
--- a/Document/Document_files/cm1.html
+++ b/Document/Document_files/cm1.html
@@ -21,8 +21,7 @@ Dataset Type :
Balanced
Note 1 : Recommended statistics for this type of classification highlighted in aqua
-Note 2 : The recommender system assumes that the input is the result of classification over the whole data rather than just a part of it.
-If the confusion matrix is the result of test data classification, the recommendation is not valid.
+Note 2 : The recommendation system assumes the input is the result of classification over the entire dataset, not just a subset. If the confusion matrix is based on test data classification, the recommendation may not be valid.
Confusion Matrix :
@@ -787,6 +786,6 @@ Class Statistics :
Similarity index |
-Generated By PyCM Version 4.0
+Generated By PyCM Version 4.1