Skip to content

Commit

Permalink
doc : minor edit in Document.ipynb installation section
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Oct 15, 2024
1 parent 8d87424 commit 0232761
Showing 1 changed file with 17 additions and 109 deletions.
126 changes: 17 additions & 109 deletions Document/Document.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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`"
]
},
{
Expand All @@ -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 .`"
]
},
{
Expand All @@ -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`"
]
},
{
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"
]
}
],
Expand Down Expand Up @@ -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"
]
}
],
Expand All @@ -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"
]
}
],
Expand All @@ -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"
]
}
],
Expand Down Expand Up @@ -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"
]
}
],
Expand All @@ -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"
]
}
],
Expand Down Expand Up @@ -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"
]
}
],
Expand All @@ -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"
]
}
],
Expand Down Expand Up @@ -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"
]
}
],
Expand Down Expand Up @@ -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"
]
}
],
Expand Down Expand Up @@ -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"
]
}
],
Expand Down

0 comments on commit 0232761

Please sign in to comment.