Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
enfantbenidedieu committed Jul 2, 2023
1 parent 020dd5b commit 5bea130
Show file tree
Hide file tree
Showing 20 changed files with 5,519 additions and 259 deletions.
Binary file added data/jobrate.xlsx
Binary file not shown.
Binary file added data/mca_hcpc.xlsx
Binary file not shown.
Binary file added data/vote_clustering.xlsx
Binary file not shown.
74 changes: 74 additions & 0 deletions hcpc.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"# HCPC - MCA"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"array([1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 1, 2, 3, 3, 1, 1, 3, 3,\n",
" 1, 1, 3, 3, 1, 3, 1, 1, 2, 3, 3, 1, 3, 1, 1, 1, 3, 1, 1, 1, 1, 3,\n",
" 1, 3, 1, 3, 1, 3, 3, 3, 2, 1, 1, 3, 3, 3, 3, 3, 3, 2, 1, 3, 1, 3,\n",
" 3, 3, 3, 1, 1, 3, 1, 2, 3, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 3, 1,\n",
" 3, 1, 1, 1, 1, 2, 2, 1, 1, 1, 3, 2, 3, 1, 3, 1, 1, 1, 1, 3, 1, 3,\n",
" 1, 3, 1, 1, 1, 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1,\n",
" 3, 1, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1,\n",
" 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 3, 3, 1, 1, 1,\n",
" 1, 1, 1, 1, 1, 2, 1, 1, 3, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 3,\n",
" 2, 1, 3, 2, 3, 3, 1, 2, 3, 2, 1, 1, 2, 2, 1, 1, 3, 1, 1, 1, 1, 2,\n",
" 3, 2, 1, 3, 3, 1, 2, 1, 2, 1, 1, 1, 3, 3, 3, 1, 1, 3, 3, 3, 3, 1,\n",
" 3, 3, 1, 3, 1, 2, 2, 1, 3, 3, 3, 1, 1, 1, 1, 1, 3, 1, 2, 1, 1, 3,\n",
" 3, 1, 3, 3, 3, 3, 3, 2, 3, 3, 1, 1, 3, 3, 3, 3, 1, 1, 3, 1, 1, 3,\n",
" 2, 1, 1, 1, 1, 1, 1, 1, 3, 1, 2, 1, 2, 1], dtype=int64)"
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"\n",
"import os\n",
"os.chdir(\"d:\\\\Bureau\\\\PythonProject\\\\packages\\\\scientisttools\\\\data\\\\\")\n",
"\n",
"import pandas as pd\n",
"\n",
"cutree = pd.read_excel(\"d:/Bureau/PythonProject/packages/scientisttools/data/mca_hcpc.xlsx\")[\"clust\"].values\n",
"cutree"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.5"
},
"orig_nbformat": 4
},
"nbformat": 4,
"nbformat_minor": 2
}
Loading

0 comments on commit 5bea130

Please sign in to comment.