From 0232761ae7b156fee3eb86137d1070ce0ef867a6 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Tue, 15 Oct 2024 18:06:49 +0330 Subject: [PATCH] doc : minor edit in Document.ipynb installation section --- Document/Document.ipynb | 126 ++++++---------------------------------- 1 file changed, 17 insertions(+), 109 deletions(-) diff --git a/Document/Document.ipynb b/Document/Document.ipynb index 9c420ea7..f50aaaf9 100644 --- a/Document/Document.ipynb +++ b/Document/Document.ipynb @@ -321,7 +321,7 @@ "\n", "\n", "- Check [Python Packaging User Guide](https://packaging.python.org/installing/) \n", - "- Run `pip install pycm==4.1` (Need root access)" + "- Run `pip install pycm==4.1`" ] }, { @@ -330,7 +330,7 @@ "source": [ "### Source code\n", "- Download [Version 4.1](https://github.com/sepandhaghighi/pycm/archive/v4.1.zip) or [Latest Source](https://github.com/sepandhaghighi/pycm/archive/dev.zip)\n", - "- Run `pip install .` (Need root access)" + "- Run `pip install .`" ] }, { @@ -340,7 +340,7 @@ "### Conda\n", "\n", "- Check [Conda Managing Package](https://conda.io/docs/user-guide/tasks/manage-pkgs.html#installing-packages-from-anaconda-org)\n", - "- `conda install -c sepandhaghighi pycm` (Need root access)" + "- `conda install -c sepandhaghighi pycm`" ] }, { @@ -358,7 +358,7 @@ "- Download and install [Python3.x](https://www.python.org/downloads/) (>=3.6, 64/32 bit) \n", "\t- Select `Add to PATH` option\n", "\t- Select `Install pip` option\n", - "- Run `pip install pycm` or `pip3 install pycm` (Need root access)\n", + "- Run `pip install pycm` or `pip3 install pycm`\n", "- Configure Python interpreter\n", "```\n", ">> pyversion PYTHON_EXECUTABLE_FULL_PATH\n", @@ -2378,24 +2378,9 @@ }, { "cell_type": "code", - "execution_count": 66, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Keyring is skipped due to an exception: invalid syntax (core.py, line 48)\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Keyring is skipped due to an exception: invalid syntax (core.py, line 48)\n" - ] - } - ], + "outputs": [], "source": [ "import sys\n", "!{sys.executable} -m pip -q -q install matplotlib;\n", @@ -14955,14 +14940,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Input must be provided as a string." - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n" + "Input must be provided as a string.\n" ] } ], @@ -15042,14 +15020,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "This option is only available in vector mode." - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n" + "This option is only available in vector mode.\n" ] } ], @@ -15069,14 +15040,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Input must be an instance of pycm.ConfusionMatrix." - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n" + "Input must be an instance of pycm.ConfusionMatrix.\n" ] } ], @@ -15096,14 +15060,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "The number of classes must be at least 2." - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n" + "The number of classes must be at least 2.\n" ] } ], @@ -15206,14 +15163,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "`classes` must be provided as a list." - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n" + "`classes` must be provided as a list.\n" ] } ], @@ -15236,14 +15186,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "`classes` does not match the actual vector." - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n" + "`classes` does not match the actual vector.\n" ] } ], @@ -15289,14 +15232,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Probability vector elements must be numeric." - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n" + "Probability vector elements must be numeric.\n" ] } ], @@ -15319,14 +15255,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "`thresholds` must be provided as a list or a NumPy array." - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n" + "`thresholds` must be provided as a list or a NumPy array.\n" ] } ], @@ -15468,14 +15397,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Failed to extract classes from input. Input vectors should be a list of sets with unified types." - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n" + "Failed to extract classes from input. Input vectors should be a list of sets with unified types.\n" ] } ], @@ -15556,14 +15478,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Input vectors must have the same length." - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n" + "Input vectors must have the same length.\n" ] } ], @@ -15603,14 +15518,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "`classes` must contain unique labels with no duplicates." - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n" + "`classes` must contain unique labels with no duplicates.\n" ] } ],