Commit 27a3d69a by Edoardo Sarti

aggregated maxprobhist

parent 15a855db
...@@ -2,9 +2,18 @@ ...@@ -2,9 +2,18 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 115, "execution_count": 1,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/edoardosarti/programs/anaconda3/lib/python3.8/site-packages/ete3-3.1.2-py3.7.egg/ete3/evol/parser/codemlparser.py:221: SyntaxWarning: \"is\" with a literal. Did you mean \"==\"?\n",
"/Users/edoardosarti/programs/anaconda3/lib/python3.8/site-packages/ete3-3.1.2-py3.7.egg/ete3/evol/parser/codemlparser.py:221: SyntaxWarning: \"is\" with a literal. Did you mean \"==\"?\n"
]
}
],
"source": [ "source": [
"from ete3 import Tree\n", "from ete3 import Tree\n",
"import numpy as np" "import numpy as np"
...@@ -12,7 +21,7 @@ ...@@ -12,7 +21,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 116, "execution_count": 2,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -70,7 +79,7 @@ ...@@ -70,7 +79,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 117, "execution_count": 3,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -165,7 +174,7 @@ ...@@ -165,7 +174,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 118, "execution_count": 4,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
...@@ -193,7 +202,7 @@ ...@@ -193,7 +202,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 139, "execution_count": 5,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
...@@ -203,21 +212,79 @@ ...@@ -203,21 +212,79 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 176, "execution_count": 36,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"-0.09275795723482448\n", "#### aggmaxprobhist ####\n",
"110\n", "Reference 0.000000 True\n",
"110 [10, 9, 8, 7, 12, 10, 7, 5] 0.9938352560874051\n" "Almost identical 0.000000 True\n",
"Identical sorting but not permutable 0.016301 False\n",
"noise 0.000000 True\n",
"Permutable 0.000000 True\n",
"non-proportional increment 0.000000 True\n",
"Random big numbers or zero 0.025459 False\n",
"max unbalance 0.146087 False\n",
"proportional increment 0.000000 True\n",
"\n",
"\n",
"--- Incremental noise on signal ---\n",
"0 0.000000 +/- 0.000000\n",
"1 0.000185 +/- 0.000440\n",
"2 0.001894 +/- 0.002282\n",
"3 0.005138 +/- 0.004323\n",
"4 0.010559 +/- 0.007702\n",
"5 0.012664 +/- 0.007561\n",
"6 0.015651 +/- 0.012095\n",
"7 0.020212 +/- 0.013827\n",
"8 0.026308 +/- 0.020254\n",
"9 0.029255 +/- 0.024522\n",
"10 0.031770 +/- 0.023523\n",
"\n",
"\n",
"--- Incremental random noise ---\n",
"0 0.000138 +/- 0.000000\n",
"1 0.025829 +/- 0.018906\n",
"2 0.033744 +/- 0.025267\n",
"3 0.028168 +/- 0.022969\n",
"4 0.028078 +/- 0.024013\n",
"5 0.029980 +/- 0.025617\n",
"6 0.028973 +/- 0.021527\n",
"7 0.028279 +/- 0.019776\n",
"8 0.028193 +/- 0.024633\n",
"9 0.029332 +/- 0.024630\n",
"10 0.025569 +/- 0.022864\n",
"\n",
"\n",
"--- Incremental unbalanced distribution ---\n",
"1 0.132130\n",
"2 0.138470\n",
"3 0.140850\n",
"4 0.142096\n",
"5 0.142863\n",
"6 0.143383\n",
"7 0.143759\n",
"8 0.144043\n",
"9 0.144265\n",
"10 0.144443\n",
"---\n",
"\n",
"\n",
"\n"
] ]
} }
], ],
"source": [ "source": [
"import math\n", "import math\n",
"import numpy as np\n",
"\n",
"def stable_sigmoid(x):\n",
" sig = np.where(x < 0, np.exp(x)/(1 + np.exp(x)), 1/(1 + np.exp(-x)))\n",
" return sig\n",
"\n",
"def divergence(histo1,histo2):# calcul la divergence\n", "def divergence(histo1,histo2):# calcul la divergence\n",
" v=0.0\n", " v=0.0\n",
" for i in range(len(histo1)):\n", " for i in range(len(histo1)):\n",
...@@ -272,52 +339,323 @@ ...@@ -272,52 +339,323 @@
" am = np.argmax([pears(h,h2) for h in ps])\n", " am = np.argmax([pears(h,h2) for h in ps])\n",
" return am, ps[am], pears(ps[am],h2)\n", " return am, ps[am], pears(ps[am],h2)\n",
"\n", "\n",
"def probhist(hh1, hh2):\n",
" #pseudocounts\n",
" h1 = [x+1 for x in hh1]\n",
" h2 = [x+1 for x in hh2]\n",
" \n",
" s1, s2 = sum(h1), sum(h2)\n",
" nh1, nh2 = [x/s1 for x in h1], [x/s2 for x in h2]\n",
" twonhs = list(zip(nh1,nh2))\n",
" twonhs = sorted(twonhs, key= lambda x:x[1])\n",
" twosortednhs = list(zip(sorted(nh1), sorted(nh2)))\n",
" \n",
" res = 0\n",
" for i in range(len(h1)):\n",
" #if twonhs[i][1] == 0:\n",
" # continue\n",
" rat = twonhs[i][0]/twonhs[i][1]\n",
" ratsort = twosortednhs[i][0]/twosortednhs[i][1]\n",
" res += rat*math.log((rat/ratsort), 2)\n",
" return res\n",
"\n",
"def probhist(hh1, hh2, symm=True):\n",
" #Pseudocounts\n",
" eps = 0.00001\n",
" h1 = [x+(max(hh1)-min(hh1)+eps)/100 for x in hh1]\n",
" h2 = [x+(max(hh2)-min(hh2)+eps)/100 for x in hh2]\n",
" \n",
" #Normalize histos\n",
" s1, s2 = sum(h1), sum(h2)\n",
" nh1, nh2 = [x/s1 for x in h1], [x/s2 for x in h2]\n",
" \n",
" #Couple histos and sort second\n",
" twonhs = list(zip(nh1,nh2))\n",
" twonhs = sorted(twonhs, key= lambda x:x[1])\n",
" \n",
" #Sort both histos and then couple\n",
" twosortednhs = list(zip(sorted(nh1), sorted(nh2)))\n",
" \n",
" # SUM P1/P2 log2(P1/P1') = SUM P1/P2 log2((P1/P2) / (P1'/P2')) because P2 = P2'\n",
" res = 0\n",
" for i in range(len(h1)):\n",
" res += abs(twonhs[i][0]/twonhs[i][1])*math.log((twonhs[i][0]/twosortednhs[i][0]), 2)\n",
"\n",
" if symm:\n",
" #Couple histos and sort first\n",
" twonhs = list(zip(nh1,nh2))\n",
" twonhs = sorted(twonhs, key= lambda x:x[0])\n",
" for i in range(len(h1)):\n",
" res += abs(twonhs[i][1]/twonhs[i][0])*math.log((twonhs[i][1]/twosortednhs[i][1]), 2)\n",
" return res/2\n",
"\n", "\n",
" return res\n",
"\n",
"\n",
"def probhist(hh1, hh2, symm=True):\n",
" def likelihood(doubleh, d):\n",
" diffs = np.zeros(len(doubleh)+1)\n",
" for i in range(len(doubleh)):\n",
" diffs[i] = abs(doubleh[i][0]-doubleh[i][1])\n",
" diffs[-1] = 10\n",
" return sum(diffs >= d)/(len(diffs))\n",
" \n",
" #NO Pseudocounts\n",
" eps = 0.00001\n",
" h1 = [x+(max(hh1)-min(hh1)+eps)/100 for x in hh1]\n",
" h2 = [x+(max(hh2)-min(hh2)+eps)/100 for x in hh2]\n",
" \n",
" #Normalize histos\n",
" s1, s2 = sum(h1), sum(h2)\n",
" nh1, nh2 = [x/s1 for x in h1], [x/s2 for x in h2]\n",
" \n",
" #Couple histos and sort second\n",
" twonhs = list(zip(nh1,nh2))\n",
" twonhs = sorted(twonhs, key= lambda x:x[1])\n",
" \n",
" #Sort both histos and then couple\n",
" twosortednhs = list(zip(sorted(nh1), sorted(nh2)))\n",
" \n",
" # SUM P1/P2 log2(P1/P1') = SUM P1/P2 log2((P1/P2) / (P1'/P2')) because P2 = P2'\n",
" res = 0\n",
" for i in range(len(h1)):\n",
" d = stable_sigmoid(abs(twonhs[i][0]-twonhs[i][1])-0.5)\n",
" ds = stable_sigmoid(abs(twosortednhs[i][0]-twosortednhs[i][1])-0.5)\n",
" res += d*math.log(d/ds, 2)\n",
"\n",
" return res\n",
"\n",
"\n",
"\n",
"\n",
"def probhist2(hh1, hh2):\n",
" def likelihood(doubleh, d):\n",
" diffs = np.zeros(len(doubleh)+1)\n",
" for i in range(len(doubleh)):\n",
" diffs[i] = abs(doubleh[i][0]-doubleh[i][1])\n",
" diffs[-1] = 10\n",
" return sum(diffs >= d)/(len(diffs))\n",
" \n",
" \n",
" #pseudocounts\n",
" h1 = [x+1 for x in hh1]\n",
" h2 = [x+1 for x in hh2]\n",
" \n",
" s1, s2 = sum(h1), sum(h2)\n",
" nh1, nh2 = [x/s1 for x in h1], [x/s2 for x in h2]\n",
" twonhs = list(zip(nh1,nh2))\n",
" twonhs = sorted(twonhs, key= lambda x:x[1])\n",
" twosortednhs = list(zip(sorted(nh1), sorted(nh2)))\n",
" \n",
" res = 0\n",
" for i in range(len(h1)):\n",
" res += likelihood(twosortednhs, twonhs[i][0]-twonhs[i][1])*math.log(likelihood(twosortednhs, twonhs[i][0]-twonhs[i][1]), 2)\n",
" return res\n",
"\n",
"def agg_probhist(h1, h2):\n",
" return probhist(agg_vector(h1), agg_vector(h2))\n",
"\n",
"def maxprobhist(h1, h2):\n",
" ps = permutations(h1)\n",
" am = np.argmin([probhist(h,h2) for h in ps])\n",
" return probhist(ps[am],h2)\n",
" #return am, ps[am], probhist(ps[am],h2) \n",
"\n",
"def maxprobhist2(h1, h2):\n",
" ps = permutations(h1)\n",
" am = np.argmin([probhist2(h,h2) for h in ps])\n",
" return probhist2(ps[am],h2)\n",
" #return am, ps[am], probhist2(ps[am],h2)\n",
"\n",
"def aggregated_permutations_old(h1):\n",
" l = len(h1)\n",
" h1list = [h1]\n",
" newh = [] # list of all the upper histos\n",
" while len(h1list[-1]) > 2:\n",
" for i, v in enumerate(h1list[-1]):\n",
" if i%2==0:\n",
" newh.append(v)\n",
" else:\n",
" newh[-1] += v\n",
" h1list.append(newh)\n",
" newh = [] \n",
" \n",
" print(\"LIST\", h1list)\n",
" ps = permutations(h1)\n",
" for i in range(1,len(h1list)):\n",
" indexlist = []\n",
" for j in range(int(len(h1)/(2**i))):\n",
" indexlist += [j]*2**i\n",
" psh = permutations(indexlist)\n",
" for ipsh in range(len(psh)):\n",
" uni = []\n",
" for kk in psh[ipsh]:\n",
" if kk not in uni:\n",
" uni.append(kk)\n",
" ps[ipsh] += [h1list[i][k] for k in uni]\n",
" return ps\n",
"\n",
"def agg_vector(h):\n",
" l = len(h)\n",
" hlist = [h]\n",
" newh = [] # list of all the upper histos\n",
" while len(hlist[-1]) > 2:\n",
" for i, v in enumerate(hlist[-1]):\n",
" if i%2==0:\n",
" newh.append(v)\n",
" else:\n",
" newh[-1] += v\n",
" hlist.append(newh)\n",
" newh = []\n",
" res = []\n",
" for hh in hlist:\n",
" res += hh\n",
" return res\n",
"\n",
"def aggregated_permutations(h1):\n",
" ps = permutations(h1)\n",
" for ips in range(len(ps)):\n",
" ps[ips] = agg_vector(ps[ips])\n",
" return ps\n",
" \n",
"\n",
"#print(aggregated_permutations([1,2,3,4,5,6,7,8]))\n",
"\n",
"\n",
"def aggmaxprobhist(h1, h2, allout=False):\n",
" aggps = aggregated_permutations(h1)\n",
" am = np.argmin([probhist(h,agg_vector(h2)) for h in aggps])\n",
" if allout:\n",
" return am, aggps[am], probhist(aggps[am],agg_vector(h2))\n",
" return probhist(aggps[am],agg_vector(h2))\n",
" #return am, aggps[am], probhist(aggps[am],agg_vector(h2))\n",
"\n",
"### TESTS\n",
"import numpy as np\n", "import numpy as np\n",
"import random\n", "import random\n",
"# ATTENTION!!\n", "\n",
"h1 = [10,9,8,7,12,10,7,5]\n", "def tests(f):\n",
"h1copy = h1[:]\n", " answ = []\n",
"h1 = [10,12,7,5,7,8,9,10]\n", " \n",
"h2 = [10,9,8,7,13,10,7,5]\n", " # Reference\n",
"print(pears(h1,h2))\n", " h1 = [10,9,8,7,12,10,7,5]\n",
"#organisehisto2(h1)\n", " answ.append((h1, True, 'Reference'))\n",
"#organisehisto2(h2)\n", " \n",
"ps = permutations(h1)\n", " # h1-h2 are similar (organisation problem) \n",
"print(ps.index(h1copy))\n", " h2 = [10,9,8,7,13,10,7,5]\n",
"am = np.argmax([pears(h,h2) for h in ps])\n", " answ.append((h2, True, 'Almost identical'))\n",
"print(am, ps[am], pears(ps[am],h2))\n" "\n",
" # h1-h3 are not similar (null hypothesis problem)\n",
" h3 = [10,5,8,7,12,10,7,9]\n",
" answ.append((h3, False, 'Identical sorting but not permutable'))\n",
" \n",
" # h1-h4 are similar (noise problem)\n",
" h4 = [11,8,7,8,11,9,8,6]\n",
" answ.append((h4, True, 'noise'))\n",
" \n",
" \n",
" # h1-h5 are similar (topology problem)\n",
" h5 = [12,10,7,5,10,9,8,7]\n",
" answ.append((h5, True, 'Permutable'))\n",
"\n",
" # h1-h6 are similar (non-proportional incrementation problem)\n",
" h6 = [x+100 for x in h1]\n",
" answ.append((h6, True, 'non-proportional increment'))\n",
"\n",
" # h1-h7 are not similar (null case)\n",
" h7 = [max(0,random.uniform(-1,1))*512 for x in h1]\n",
" answ.append((h7, False, 'Random big numbers or zero'))\n",
"\n",
" # h1-h8 are not similar (unbalance case)\n",
" h8 = [0, 0, 0, 0, 10000, 10000, 10000, 10000]\n",
" answ.append((h8, False, 'max unbalance'))\n",
" \n",
" # h1-h9 are similar (proportional incrementation problem)\n",
" h9 = [x*100 for x in h1]\n",
" answ.append((h9, True, 'proportional increment')) \n",
" \n",
" print(\"#### \" + f.__name__ + \" ####\")\n",
" for h, a, c in answ:\n",
" print(\"{0:50s} {1:20.6f} {2}\".format(c, f(h1, h), a))\n",
" print(\"\\n\") \n",
" \n",
" print(\"--- Incremental noise on signal ---\")\n",
" for magn in range(11):\n",
" sph = 0\n",
" sqsph = 0\n",
" for rep in range(100):\n",
" coef = magn/10\n",
" hr = [random.uniform(x-x*coef, x+x*coef) for x in h1]\n",
" ph = f(h1,hr)\n",
" sph += ph\n",
" sqsph += ph**2\n",
" #if ph > 50:\n",
" # print(h1, hr, magn, ph)\n",
" print(\"{0:<30d} {1:15.6f} +/- {2:10.6f}\".format(magn, sph/100, (sqsph/100 - (sph/100)**2)**0.5))\n",
" print(\"\\n\")\n",
" \n",
" print(\"--- Incremental random noise ---\")\n",
" for magn in range(11):\n",
" sph = 0\n",
" sqsph = 0\n",
" for rep in range(100):\n",
" hr = [random.random()*10*magn for x in h1]\n",
" ph = f(h1,hr)\n",
" sph += ph\n",
" sqsph += ph**2\n",
" #if ph > 50:\n",
" # print(h1, hr, magn, ph)\n",
" print(\"{0:<30d} {1:15.6f} +/- {2:10.6f}\".format(magn, sph/100, (sqsph/100 - (sph/100)**2)**0.5))\n",
" print(\"\\n\")\n",
" \n",
" print(\"--- Incremental unbalanced distribution ---\")\n",
" hrr = [0]*int(len(h1)/2) + [1]*int(len(h1)/2)\n",
" for magn in range(1,11):\n",
" hr = [1+x*10*magn for x in hrr]\n",
" print(\"{0:<30d} {1:15.6f}\".format(magn, f(h1,hr)))\n",
" print(\"---\")\n",
" print(\"\\n\\n\")\n",
" \n",
"#tests(probhist)\n",
"#tests(probhist2)\n",
"#tests(agg_probhist)\n",
"#tests(maxprobhist)\n",
"#tests(maxprobhist2)\n",
"tests(aggmaxprobhist)"
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 198, "execution_count": 21,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"histo70=genererhisto(\"results_djeser/CrFBA3_PV00274_0.7_k20.nhx\",2)\n", "histo70=genererhisto(\"results_djeser/CrFBA3_PV00274_0.7_k20.nhx\",3)\n",
"histo80=genererhisto(\"results_djeser/CrFBA3_PV00274_0.8_k20.nhx\",2)\n", "histo80=genererhisto(\"results_djeser/CrFBA3_PV00274_0.8_k20.nhx\",3)\n",
"histo90=genererhisto(\"results_djeser/CrFBA3_PV00274_0.9_k20.nhx\",2)" "histo90=genererhisto(\"results_djeser/CrFBA3_PV00274_0.9_k20.nhx\",3)\n",
"agghisto70 = agg_vector(histo70)\n",
"agghisto80 = agg_vector(histo80)\n",
"agghisto90 = agg_vector(histo90)"
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 199, "execution_count": 22,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"<BarContainer object of 8 artists>" "<BarContainer object of 16 artists>"
] ]
}, },
"execution_count": 199, "execution_count": 22,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
}, },
{ {
"data": { "data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXoAAAD8CAYAAAB5Pm/hAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAARt0lEQVR4nO3dfaxlVX3G8e8jIApiwHIhIzAZMEiCph3sDX0hEiq+oDWgTbBMWoKWdjABA7VJBZoUaUJiWl/6R6tmFAqmOIgilRhqodRKTao4AwgDA8qbMDBlrtAKVoMd/PWPuy8eh3vnnjkvnMOa7yc5OXuvs/c5v5nMfWbdddZeO1WFJKldL5l0AZKk8TLoJalxBr0kNc6gl6TGGfSS1DiDXpIat2zQJzksydeTbE5yV5Jzu/ZXJbkxyfe75wN6zrkgyX1J7k3ytnH+ASRJO5fl5tEnWQGsqKpbk+wHbATeBbwXeLKqPpLkfOCAqvpQkqOB9cCxwKuBfwVeW1XPju+PIUlayrI9+qraWlW3dttPA5uBQ4BTgCu6w65gPvzp2q+qqmeq6kHgPuZDX5I0AXvuysFJVgHHAN8GDq6qrTD/n0GSg7rDDgG+1XPalq5tSQceeGCtWrVqV0qRpN3exo0bf1hVM8sd13fQJ3kFcA1wXlU9lWTJQxdpe974UJK1wFqAlStXsmHDhn5LkSQBSX7Qz3F9zbpJshfzIX9lVX25a368G79fGMff1rVvAQ7rOf1Q4LEd37Oq1lXVbFXNzsws+x+SJGlA/cy6CXApsLmqPt7z0nXAGd32GcBXetpP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K/Q+ZS9oh28L5T62lzrofsPeDBysqo+MOs9sVXVdVW2sqk30/p99vqpGPgutqu8BjyW5oBvaAjw4wkizHQIuSXJG93e7hTHZ2TvLXmCquz8F3D3CLE+TZCvwfuCKqvrZqPMAVNU3q2pdVW3qfhYOA6/s/h2Og38FXg+Q5MXAs1ng1StXfLl3O2iOX+rgILBnmS51sBCXAm+jNyv+Wvfnj0cdagV4J3Bbkm8Avwv83Wjj9HSfJu4E7ge+Se/nZ2SnrSe5Hfgv4IIkh5NcDdwIXJbkYXpHf9w4Rtn+EfhNYF/3s/DPY5JrLJwk2y3A+d3hkXcAUwv9xOPlBySpQSt+5i5JOpHlLkkNstwlqUGWuyQ1yHKXpAZZ7pLUIMtdkhr0//yGKcRs2GlBAAAAAElFTkSuQmCC\n",
"text/plain": [ "text/plain": [
"<Figure size 432x288 with 1 Axes>" "<Figure size 432x288 with 1 Axes>"
] ]
...@@ -341,36 +679,37 @@ ...@@ -341,36 +679,37 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 200, "execution_count": 25,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"[37, 18, 37, 95, 53, 145, 42, 132]\n", "[6, 31, 5, 13, 13, 24, 34, 61, 2, 51, 83, 62, 14, 28, 86, 46]\n",
"[41, 62, 121, 82, 65, 174, 57, 60]\n", "[21, 20, 13, 49, 47, 74, 47, 35, 32, 33, 55, 119, 1, 56, 15, 45]\n",
"[70, 110, 68, 94, 74, 191, 65, 66]\n", "[19, 51, 46, 64, 22, 46, 42, 52, 34, 40, 66, 125, 19, 46, 19, 47]\n",
"(12, [18, 37, 95, 37, 53, 145, 42, 132], 0.7003169917083315)\n", "0.9696853876672236\n",
"(36, [37, 95, 18, 37, 53, 145, 42, 132], 0.6412731587069886)\n", "0.9560621703814548\n",
"(40, [82, 121, 41, 62, 65, 174, 57, 60], 0.9332447731538477)\n", "0.8697663960711315\n",
"0.5213979823684013\n", "0.9202896182752579\n",
"-62.17478453854025\n" "0.881861401180245\n",
"0.8245928573227957\n"
] ]
}, },
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"<matplotlib.collections.PathCollection at 0x7fa9023f8760>" "<matplotlib.collections.PathCollection at 0x7fd60f8add90>"
] ]
}, },
"execution_count": 200, "execution_count": 25,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
}, },
{ {
"data": { "data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXcAAAD4CAYAAAAXUaZHAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAASQUlEQVR4nO3db2xd933f8fdnkurSKTo5E51FlDBpnaLVTrMo44wsWTcvbkFvCyyhQAAFDSC0xowVRv8Eq9oIAWL0gVGjCtYVGLxBaD17W2BDy1TF6NAqnrPVT+oYdJREshPW2tzapJyIgaFuWDlVVr97wMOYpi9F8l7q/jl+vwDh3vs9515+aIsfHf3uuUepKiRJ7fJXBh1AkrT5LHdJaiHLXZJayHKXpBay3CWphbYOOgDAjh07as+ePYOOIUkj5fnnn/9eVY132jYU5b5nzx6mp6cHHUOSRkqSP11tm8syktRClrsktZDlLkktZLlLUgtZ7pLUQkNxtowkvdOcPjvH8TMzXLy8wM7tYxyd2s+hAxOb9vqWuyT12emzcxw7dY6Fq9cAmLu8wLFT5wA2reBdlpGkPjt+Zub7xb5k4eo1jp+Z2bSvYblLUp9dvLywoXk3LHdJ6rOd28c2NO+G5S5JfXZ0aj9j27a8ZTa2bQtHp/Zv2tfwDVVJ6rOlN009W0aSWubQgYlNLfOVXJaRpBay3CWphSx3SWohy12SWshyl6QWstwlqYUsd0lqIctdklrIcpekFlqz3JM8kuRSkvPLZh9M8mySryeZTnLHsm3HklxIMpNk6kYFlyStbj1H7o8Cd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OuKbl7AaOJdvHgD2tLiAivgv8dFFztbp2A8cj4mZEPAtMUDrmWdRYTVY1TkfE95Pt54ErwCBtdCyXqbGaLGqMiPhF8rI3eQTtdRyr1VhNJv9PLqcTw30QuFb2epLl/+dtpQC+JemCpP1J2z0RMQ2lv3jA3ZlVd7tqdbXb8f2wpKeSYZuFX9Mzr1HSJmAHpR5dWx7LRTVCGx1LST2SLgI3gDMR0XbHsUqN0EbHcTmdGO6q0NYu8zl3RcSbgHcDByS9NeuC6tBOx/eLwOuA7cA08NmkPdMaJb0KeAT4aET8fLldK7S1pM4KNbbVsYyI+YjYDmwAdkp6wzK7t1ONbXUcl9OJ4T4JbCx7vQGYyqiW20TEVPJ8A/g6pV/LrksaAEieb2RX4W2q1dU2xzcirid/wX4NfImXfs3NrEZJvZRC86sRcTJpbqtjWanGdjyWSV2zwOPA/bTZcaxUY7sex0o6Mdz/C9giabOklwN7gVMZ14SkV0p69cI28C7gaUq17Ut22wc8mk2FS1Sr6xSwV9IaSZuBLcD5DOpb+Au+4D2UjidkVKMkAV8GrkTE58reaptjWa3GdjqWkvolrU22+4B3Aj+gvY5jxRrb6TiuKMuzufU+gAcozQL4H+ATWdeT1PRaSmfLnwQuL9QF/BZwFriaPN+ZQW1fo/Qr5C1KPYwPLlcX8Ink2I4D786wxn8CLgFPUfrLM5Bxjb9H6Vftp4CLyeOBdjqWy9TYNscS+B1gLKnlaeCvkvZ2Oo7Vamyb47jSw8sPmJnlUCcOy5iZ2Qoc7mZmOeRwNzPLIYe7mVkOOdzNzHLI4W5mlkMOdzOzHPp/TIwZCKccQ9YAAAAASUVORK5CYII=\n",
"text/plain": [ "text/plain": [
"<Figure size 432x288 with 1 Axes>" "<Figure size 432x288 with 1 Axes>"
] ]
...@@ -385,43 +724,47 @@ ...@@ -385,43 +724,47 @@
"print(histo70)\n", "print(histo70)\n",
"print(histo80)\n", "print(histo80)\n",
"print(histo90)\n", "print(histo90)\n",
"print(maxpears(histo70, histo80))\n", "print(probhist(agghisto70, agghisto80))\n",
"print(maxpears(histo70, histo90))\n", "print(probhist(agghisto70, agghisto90))\n",
"print(maxpears(histo80, histo90))\n", "print(probhist(agghisto80, agghisto90))\n",
"print(pears(histo70, histo90))\n", "print(aggmaxprobhist(histo70, histo80))\n",
"print(divergence(histo70, histo90))\n", "print(aggmaxprobhist(histo70, histo90))\n",
"plt.scatter(maxpears(histo70, histo90)[1], histo90)" "print(aggmaxprobhist(histo80, histo90))\n",
"plt.scatter(aggmaxprobhist(histo70, histo90, allout=True)[1], agg_vector(histo90))"
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 207, "execution_count": 26,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"histo80=genererhisto(\"results_djeser/CrFBA3_PV00274_0.8_k3.nhx\",2)\n", "histo80=genererhisto(\"results_djeser/CrFBA3_PV00274_0.8_k3.nhx\",3)\n",
"histo90=genererhisto(\"results_djeser/CrFBA3_PV00274_0.9_k3.nhx\",2)\n", "histo90=genererhisto(\"results_djeser/CrFBA3_PV00274_0.9_k3.nhx\",3)\n",
"histo100=genererhisto(\"results_djeser/CrFBA3_PV00274_1.0_k3.nhx\",2)" "histo100=genererhisto(\"results_djeser/CrFBA3_PV00274_1.0_k3.nhx\",3)\n",
"agghisto80 = agg_vector(histo80)\n",
"agghisto90 = agg_vector(histo90)\n",
"agghisto100 = agg_vector(histo100)"
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 208, "execution_count": 27,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"<BarContainer object of 8 artists>" "<BarContainer object of 16 artists>"
] ]
}, },
"execution_count": 208, "execution_count": 27,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
}, },
{ {
"data": { "data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXoAAAD4CAYAAADiry33AAAAOXRFWHRTb2Z0d2FyZQBNY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Uz3wqtqv8HPJ7k3G7oIuAbM4zU7zHgVUme331tL2JO/tjb505gV/d4F/DpGWZ5hu4CPr8OXFxVP5h1HoCq+npVnVZVW7vvhWXgp7t/h/PgfwGvA0jyMuC5DHn2yuO+3Ls/0Kye6uAAcOsxOtXBMC4ELqO3VXxfd3vjrEMdB34ZuCnJ/cB24HdmG6en+23iU8C9wNfpff/M7LD1JDcDfwKcm2Q5yeXAdcDrkzxEb++PmVwBbYNsfwj8GLCv+1746JzkmgsbZNsLnNPtHnkLsGvY33g8/YAkNei433KXJK1nuUtSgyx3SWqQ5S5JDbLcJalBlrskNchyl6QG/T0eEhX1C1t3fgAAAABJRU5ErkJggg==\n",
"text/plain": [ "text/plain": [
"<Figure size 432x288 with 1 Axes>" "<Figure size 432x288 with 1 Axes>"
] ]
...@@ -441,32 +784,34 @@ ...@@ -441,32 +784,34 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 214, "execution_count": 29,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"1.0\n", "9.999900000999987e-06\n",
"-0.26855775573365004\n", "0.9898575573944928\n",
"-0.26855775573365004\n", "0.9898575573944928\n",
"(62, [34, 82, 140, 41, 109, 74, 120, 293], 0.8183076771228812)\n" "9.999900000999987e-06\n",
"0.9600077783559976\n",
"0.9600077783559976\n"
] ]
}, },
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"<matplotlib.collections.PathCollection at 0x7fa8b2fe8ac0>" "<matplotlib.collections.PathCollection at 0x7fd610d7fe80>"
] ]
}, },
"execution_count": 214, "execution_count": 29,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
}, },
{ {
"data": { "data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXkAAAD4CAYAAAAJmJb0AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0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MR3gJ8uaN5F8X822e1ASfvRiLgSEc8CFymOuyVExKWI+EF2/+fABYrfspXX8UREvJQ97Mz+BDkdj6QNwPuAh0uaczmWReRuPJJ+heIk77MAEfFyREzTwLHkLdyX/Pq+HLk9Ii5BMTCB27L23IxR0iZgO8XZbm7Hk5UxHgcuAycjIs/j+TTwEeCVkra8jgWKP2i/IemspH1ZWx7H8yZgCvinrGT2sKSbaeBY8hbuS359XwJyMUZJbwS+Anw4In622KFl2lpqPBExFxFvo/iNYTskvWWRw1t2PJLeD1yOiLPVvqRMW0uMpcTOiHg78B7gAUnvXOTYVh7PDRRLs/8YEduBX1Asw1Sy4rHkLdwb/vV9q+hFSesAstvLWXvLj1FSJ8Vg/0JEHM+aczueedmvyd8G7iWf49kJfEDScxRLlndL+jz5HAsAETGZ3V4GvkqxNJHH8YwD49lvhQBfphj2DRtL3sL9MWCLpM2SbgT2ACea3KflOgHsze7vBR4pad8j6SZJm4EtwJkm9K8sSaJYN7wQEZ8qeSqv4+mW1JXdLwDvAp4mh+OJiMGI2BARmyj+2zgdER8kh2MBkHSzpFvm7wPvBp4kh+OJiP8CXpDUmzXdAzxFI8fS7E+Ql/GJ83sprtD4IfCxZvenyj5/CbgEzFL8iXw/8GvAKeCZ7HZtyfEfy8Y3Bryn2f1fMJbfpfjr4X8Aj2d/3pvj8fwWMJqN50ng41l7LsdT0se7eG21TC7HQrFO/UT25/z8v/ccj+dtwEj2d20IWNPIsfgKVTOzBOWtLGNmZlVwuJuZJcjhbmaWIIe7mVmCHO5mZglyuJuZJcjhbmaWIIe7mVmC/h/jxKbhCg6kMgAAAABJRU5ErkJggg==\n",
"text/plain": [ "text/plain": [
"<Figure size 432x288 with 1 Axes>" "<Figure size 432x288 with 1 Axes>"
] ]
...@@ -478,19 +823,14 @@ ...@@ -478,19 +823,14 @@
} }
], ],
"source": [ "source": [
"print(pears(histo80, histo90))\n", "print(probhist(agghisto80, agghisto90))\n",
"print(pears(histo80, histo100))\n", "print(probhist(agghisto80, agghisto100))\n",
"print(pears(histo90, histo100))\n", "print(probhist(agghisto90, agghisto100))\n",
"print(maxpears(histo90, histo100))\n", "print(aggmaxprobhist(histo80, histo90))\n",
"plt.scatter(maxpears(histo90, histo100)[1], histo100)" "print(aggmaxprobhist(histo80, histo100))\n",
"print(aggmaxprobhist(histo90, histo100))\n",
"plt.scatter(aggmaxprobhist(histo90, histo100, allout=True)[1], agg_vector(histo100))"
] ]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
} }
], ],
"metadata": { "metadata": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment