lab_7 #6
@ -195,13 +195,13 @@
|
|||||||
"#ЛИНГВИСТИЧЕСКАЯ ПЕР. СООТНОШЕНИЕ ПОЛОЖ./НЕГАТИВ. ОТЗЫВОВ\n",
|
"#ЛИНГВИСТИЧЕСКАЯ ПЕР. СООТНОШЕНИЕ ПОЛОЖ./НЕГАТИВ. ОТЗЫВОВ\n",
|
||||||
"#до 60% можно считать низким отношением позитивных к негативным\n",
|
"#до 60% можно считать низким отношением позитивных к негативным\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# pos[\"low\"] = fuzz.zmf(pos.universe, 0, 60)\n",
|
"pos[\"low\"] = fuzz.zmf(pos.universe, 0, 60)\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# #от 50 до 80 можно считать средним\n",
|
"#от 50 до 80 можно считать средним\n",
|
||||||
"# pos[\"avg\"] = fuzz.trimf(pos.universe, [50, 70, 80])\n",
|
"pos[\"avg\"] = fuzz.trimf(pos.universe, [50, 70, 80])\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# #от 75 можно считать высоким\n",
|
"#от 75 можно считать высоким\n",
|
||||||
"# pos[\"high\"] = fuzz.smf(pos.universe, 75, 100)\n",
|
"pos[\"high\"] = fuzz.smf(pos.universe, 75, 100)\n",
|
||||||
"\n",
|
"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"\n",
|
"\n",
|
||||||
@ -217,7 +217,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 31,
|
"execution_count": 33,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [
|
"outputs": [
|
||||||
{
|
{
|
||||||
@ -271,7 +271,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"conversionMethod": "pd.DataFrame",
|
"conversionMethod": "pd.DataFrame",
|
||||||
"ref": "b6864b03-4b3a-442d-9c1f-6251995181a1",
|
"ref": "ef5067fd-ef97-48d3-a20a-5506a12af29b",
|
||||||
"rows": [
|
"rows": [
|
||||||
[
|
[
|
||||||
"15251",
|
"15251",
|
||||||
@ -754,7 +754,7 @@
|
|||||||
"[10142 rows x 4 columns]"
|
"[10142 rows x 4 columns]"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"execution_count": 31,
|
"execution_count": 33,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"output_type": "execute_result"
|
"output_type": "execute_result"
|
||||||
}
|
}
|
||||||
@ -818,7 +818,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 32,
|
"execution_count": 34,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [
|
"outputs": [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user