repo_name
stringlengths
6
67
path
stringlengths
5
185
copies
stringlengths
1
3
size
stringlengths
4
6
content
stringlengths
1.02k
962k
license
stringclasses
15 values
deapplegate/wtgpipeline
CRNitschke/StarStripper.py
1
14983
#! /usr/bin/env python import sys ; sys.path.append('/u/ki/awright/InstallingSoftware/pythons/') import imagetools from import_tools import * import numpy numpy.warnings.filterwarnings('ignore') #adam-tmp# warnings.simplefilter("ignore", DeprecationWarning) fl=sys.argv[-1] ending="" #fl='/nfs/slac/g/ki/ki18/anja/SUBARU/MACS0416-24/W-S-Z+_2010-11-04/SCIENCE/SUPA0125892_7OCF.fits' #crfl='/nfs/slac/g/ki/ki18/anja/SUBARU/eyes/CRNitschke_output/data_SCIENCE_cosmics/SEGMENTATION_BB_CRN-cosmics_MACS0416-24_W-S-Z+.SUPA0125892_7.fits' header=astropy.io.fits.open(fl)[0].header OBJECT=header['MYOBJ'] FILTER=header['FILTER'] CCDnum=header['IMAGEID'] flname=os.path.basename(fl).split('.')[0] if 'OCF' in fl: BASE=os.path.basename(fl).split('OCF')[0] else: BASE=flname OFB='%s_%s_%s' % (OBJECT,FILTER,BASE,) image=imagetools.GetImage(fl) compare_dir='/nfs/slac/g/ki/ki18/anja/SUBARU/eyes/CRNitschke_output/data_SCIENCE_compare/' plot_dir='/nfs/slac/g/ki/ki18/anja/SUBARU/eyes/CRNitschke_output/plot_SCIENCE_SS/' BBCRfl='/nfs/slac/g/ki/ki18/anja/SUBARU/eyes/CRNitschke_output/data_SCIENCE_cosmics/SEGMENTATION_BB_CRN-cosmics_%s_%s.%s%s.fits' % (OBJECT,FILTER,BASE,ending) CR_segfl='/nfs/slac/g/ki/ki18/anja/SUBARU/eyes/CRNitschke_output/data_SCIENCE_cosmics/SEGMENTATION_CRN-cosmics_%s_%s.%s%s.fits' % (OBJECT,FILTER,BASE,ending) CR_filtfl='/nfs/slac/g/ki/ki18/anja/SUBARU/eyes/CRNitschke_output/data_SCIENCE_cosmics/FILTERED_CRN-cosmics_%s_%s.%s%s.fits' % (OBJECT,FILTER,BASE,ending) #fl_original=compare_dir+'BBout_ORIGINAL_%s_%s.%s.fits' % (OBJECT,FILTER,BASE) fl_woblend=compare_dir+'BBout_WOblend_%s_%s.%s%s.fits' % (OBJECT,FILTER,BASE,ending) fl_revised=compare_dir+'BBrevised_*_BBCR_%s_%s.%s%s.fits' % (OBJECT,FILTER,BASE,ending) #fl_erase=compare_dir+'BB_ERASED_'+bthresh1_tag+'_BBCR_%s_%s.%s.fits' % (OBJECT,FILTER,BASE) #fl_revised=compare_dir+'BBrevised_'+bthresh1_tag+'_BBCR_%s_%s.%s.fits' % (OBJECT,FILTER,BASE) #im_erased=astropy.io.fits.open(fl_erased)[0].data #im_erased.max() BBCRseg=imagetools.GetImage(BBCRfl) BBCRseg=asarray(BBCRseg,dtype=int) crheader=astropy.io.fits.open(BBCRfl)[0].header SEEING=crheader['MYSEEING'] SEEING_str=('%.3f' % (SEEING)).replace('.','pt') OFB_SEEING=OFB.replace('SUPA',SEEING_str+'_SUPA') filtim=imagetools.GetImage(CR_filtfl) #put SEEING and FILTER dependent kmax cut in here: import os CONFIG=os.environ['config'] if CONFIG=="10_3": if FILTER=="W-C-RC": if SEEING<0.50: kmax=3.50 #based on GUESSING elif SEEING<0.60: kmax=2.85 #based on GUESSING elif SEEING<0.70: kmax=2.70 #based on MACS1226 data else: kmax=2.70 elif FILTER=="W-S-I+": if SEEING<0.50: kmax=3.50 #based on GUESSING elif SEEING<0.60: kmax=2.85 #based on GUESSING elif SEEING<0.77: kmax=2.70 #based on MACS1226 data elif SEEING<0.90: kmax=2.55 #based on MACS1226 data else: kmax=2.55 elif FILTER=="W-C-IC": if SEEING<0.50: kmax=3.50 #based on GUESSING elif SEEING<0.60: kmax=2.85 #based on GUESSING elif SEEING<0.80: kmax=2.70 #based (loosely) on MACS1226 data else: kmax=2.70 elif FILTER=="W-S-Z+": if SEEING<0.60: kmax=4.10 #based on MACS0416 data elif SEEING<0.70: kmax=3.30 #based on GUESSING elif SEEING<0.85: kmax=2.75 #based on MACS1226 data elif SEEING<1.2: kmax=2.55 #based (loosely) on MACS1226 data else: kmax=2.55 else: kmax=3.00 elif CONFIG=="10_2": if SEEING<0.50: kmax=4.10 #based on GUESSING elif SEEING<0.70: kmax=3.30 #based on GUESSING elif SEEING<1.00: kmax=2.85 #based on MACS1226 data else: kmax=2.85 else: raise Exception("SUBARU configuration isn't defined") ## get properties of the masks import skimage from skimage import measure cr_regs=skimage.measure.regionprops(label_image=BBCRseg, intensity_image=image) cr_labels=arange(BBCRseg.max(),dtype=int)+1 cr_e=asarray([cr_regs[i-1].eccentricity for i in cr_labels]) cr_diam=asarray([cr_regs[i-1].equivalent_diameter for i in cr_labels]) cr_solidity=asarray([cr_regs[i-1].solidity for i in cr_labels]) cr_max=asarray([cr_regs[i-1].max_intensity for i in cr_labels]) cr_mean=asarray([cr_regs[i-1].mean_intensity for i in cr_labels]) cr_area=asarray([cr_regs[i-1].area for i in cr_labels]) conn8=ones((3,3),dtype=bool) CRslices=scipy.ndimage.find_objects(BBCRseg) def cr_any_label(labels): boolim=zeros(BBCRseg.shape,dtype=bool) for l in labels: boolim+=BBCRseg==l return boolim ## see if skewness and kurtosis does anything def skew_kurt_2D(Z): h,w = np.shape(Z) x = range(w) y = range(h) X,Y = np.meshgrid(x,y) #Centroid (mean) cx = np.sum(Z*X)/np.sum(Z) cy = np.sum(Z*Y)/np.sum(Z) ###Standard deviation x2 = (range(w) - cx)**2 y2 = (range(h) - cy)**2 X2,Y2 = np.meshgrid(x2,y2) #Find the variance vx = np.sum(Z*X2)/np.sum(Z) vy = np.sum(Z*Y2)/np.sum(Z) #SD is the sqrt of the variance sx,sy = np.sqrt(vx),np.sqrt(vy) ###Skewness x3 = (range(w) - cx)**3 y3 = (range(h) - cy)**3 X3,Y3 = np.meshgrid(x3,y3) #Find the thid central moment m3x = np.sum(Z*X3)/np.sum(Z) m3y = np.sum(Z*Y3)/np.sum(Z) #Skewness is the third central moment divided by SD cubed skx = m3x/sx**3 sky = m3y/sy**3 ###Kurtosis x4 = (range(w) - cx)**4 y4 = (range(h) - cy)**4 X4,Y4 = np.meshgrid(x4,y4) #Find the fourth central moment m4x = np.sum(Z*X4)/np.sum(Z) m4y = np.sum(Z*Y4)/np.sum(Z) #Kurtosis is the fourth central moment divided by SD to the fourth power kx = m4x/sx**4 ky = m4y/sy**4 #Centroid x: cx #Centroid y: cy #StdDev x: sx #StdDev y: sy #Skewness x: skx #Skewness y: sky #Kurtosis x: kx #Kurtosis y: ky return skx,sky,kx,ky cr_skxs,cr_skys,cr_kxs,cr_kys=[],[],[],[] ## make the final cuts MaxInside8s=[] removed_labels=[] for i,sl in enumerate(CRslices): l=i+1 spots=BBCRseg[sl]==l patch=image[sl] max_pos_pt=scipy.ndimage.measurements.maximum_position(patch,spots) max_spot=zeros(patch.shape,dtype=bool) max_spot[max_pos_pt]=1 #now make sure max isn't on the edge and is in an open8 portion insides_spots=scipy.ndimage.binary_erosion(spots,conn4) open8_spots=scipy.ndimage.binary_opening(spots,conn8) MaxInside8=(max_spot*insides_spots*open8_spots).any() MaxInside8s.append(MaxInside8) #now get clipped eccentricity clip_spots=binary_propagation(max_spot,mask=spots) clip_spots=asarray(clip_spots,dtype=int16) try: reg=skimage.measure.regionprops(clip_spots)[0] except TypeError: if 1 in clip_spots.shape: cr_skxs.append(nan);cr_skys.append(nan);cr_kxs.append(nan);cr_kys.append(nan) continue e_clip=reg.eccentricity e_orig=cr_e[i] #now get skewness and kurtosis skx,sky,kx,ky=skew_kurt_2D(patch-patch.min()) cr_skxs.append(skx);cr_skys.append(sky);cr_kxs.append(kx);cr_kys.append(ky) if e_clip>e_orig: cr_e[i]=e_clip if e_clip>.8 and e_orig<.8: removed_labels.append(l) #######Xspots_starlike=cr_any_label(cr_labels[starlike]) #######Xspots_not_starlike=cr_any_label(cr_labels[logical_not(starlike)]) #######CLIPseg,CLIPseg_Nlabels=scipy.ndimage.label(Xspots_starlike,conn8) #######CLIPslices=scipy.ndimage.find_objects(CLIPseg) ########f=figure() ########skx,sky,kx,ky=skew_kurt_2D(sp);f.add_subplot(321);title('sp: skx=%.2f,sky=%.2f,kx=%.2f,ky=%.2f' % (skx,sky,kx,ky));imshow(sp,interpolation='nearest',origin='lower left') ########skx,sky,kx,ky=skew_kurt_2D(sp);f.add_subplot(322);title('sp: skx=%.2f,sky=%.2f,kx=%.2f,ky=%.2f' % (skx,sky,kx,ky));imshow(sp,interpolation='nearest',origin='lower left') ########skx,sky,kx,ky=skew_kurt_2D(p);f.add_subplot(323);title('p: skx=%.2f,sky=%.2f,kx=%.2f,ky=%.2f' % (skx,sky,kx,ky));imshow(p,interpolation='nearest',origin='lower left') ########skx,sky,kx,ky=skew_kurt_2D(pppp);f.add_subplot(324);title('pppp: skx=%.2f,sky=%.2f,kx=%.2f,ky=%.2f' % (skx,sky,kx,ky));imshow(pppp,interpolation='nearest',origin='lower left') ########skx,sky,kx,ky=skew_kurt_2D(pp);f.add_subplot(325);title('pp: skx=%.2f,sky=%.2f,kx=%.2f,ky=%.2f' % (skx,sky,kx,ky));imshow(pp,interpolation='nearest',origin='lower left') ########skx,sky,kx,ky=skew_kurt_2D(ppp);f.add_subplot(326);title('ppp: skx=%.2f,sky=%.2f,kx=%.2f,ky=%.2f' % (skx,sky,kx,ky));imshow(ppp,interpolation='nearest',origin='lower left') ########show() cr_skxs=asarray(cr_skxs).__abs__();cr_skys=asarray(cr_skys).__abs__();cr_kxs=asarray(cr_kxs).__abs__();cr_kys=asarray(cr_kys).__abs__() cr_kmax=asarray([max(ky,kx) for ky,kx in zip(cr_kys,cr_kxs)]) cr_skmax=asarray([max(sky,skx) for sky,skx in zip(cr_skys,cr_skxs)]) MaxInside8s=asarray(MaxInside8s) removed_labels=asarray(removed_labels) starlike=(cr_e<.8)*(cr_area>9)*(cr_area<50)*(cr_max<30000)*MaxInside8s*(cr_kmax<kmax)*(cr_skmax<.88) starlike_labels=cr_labels[starlike] Xspots_starlike=cr_any_label(starlike_labels) Xspots_not_starlike=cr_any_label(cr_labels[logical_not(starlike)]) ## save plots of star postage stamps and things that missed the cut #params=['e=%.2f , area=%i' % (cr_e[i],cr_area[i]) for i in cr_labels-1] #params=['skxy=%.2f/%.2f|kxy=%.2f/%.2f' % (cr_skxs[i],cr_skys[i],cr_kxs[i],cr_kys[i]) for i in cr_labels-1] params=['sk=%.2f|k=%.2f' % (cr_skmax[i],cr_kmax[i]) for i in cr_labels-1] import img_scale zmin,zmax,ziter=img_scale.range_from_zscale(image,contrast=.25) fig=imagetools.plotlabels(ll=starlike_labels,segments=BBCRseg,slices=CRslices,params=params,background=image,zscale=(zmin,zmax)) fig.suptitle('Possible Stars Picked from blocked_blender.2.2.py Masks\neccentricity<.8 & 9<area<50 & max intensity<30,000 & 3x3 inside mask shape') fig.savefig(plot_dir+'pltSS_Stars_'+OFB_SEEING) if len(removed_labels): fig=imagetools.plotlabels(ll=removed_labels,segments=BBCRseg,slices=CRslices,params=params,background=image,zscale=(zmin,zmax)) fig.suptitle('Not Starlike: eccentricity<.8 & when clipped eccentricity>.8') fig.savefig(plot_dir+'pltSS_NotStars-Clip_e_raise_'+OFB_SEEING) starlike_not8=(cr_e<.8)*(cr_area>5)*(cr_area<50)*(cr_max<30000)*logical_not(MaxInside8s)*(cr_kmax<kmax)*(cr_skmax<.88) if starlike_not8.any(): fig=imagetools.plotlabels(cr_labels[starlike_not8],segments=BBCRseg,slices=CRslices,params=params,background=image,zscale=(zmin,zmax)) fig.suptitle('Not Starlike: Would be starlike, but no conn8 in the shape') fig.savefig(plot_dir+'pltSS_NotStars-open8_'+OFB_SEEING) kmax_ul=5.0 starlike_k=(cr_e<.8)*(cr_area>9)*(cr_area<50)*(cr_max<30000)*MaxInside8s*(cr_kmax>kmax)*(cr_kmax<kmax_ul)*(cr_skmax<.88) if starlike_k.sum()>40: kmax_ul=4.1 starlike_k=(cr_e<.8)*(cr_area>9)*(cr_area<50)*(cr_max<30000)*MaxInside8s*(cr_kmax>kmax)*(cr_kmax<kmax_ul)*(cr_skmax<.88) if starlike_k.sum()>40: kmax_ul=max(kmax+.3,3.0) starlike_k=(cr_e<.8)*(cr_area>9)*(cr_area<50)*(cr_max<30000)*MaxInside8s*(cr_kmax>kmax)*(cr_kmax<kmax_ul)*(cr_skmax<.88) if starlike_k.any(): fig=imagetools.plotlabels(ll=cr_labels[starlike_k],segments=BBCRseg,slices=CRslices,params=params,background=image,zscale=(zmin,zmax)) fig.suptitle('Not Starlike: k>kmax=%.2f' % kmax) fig.savefig(plot_dir+'pltSS_NotStars-k_gt_kmax_'+OFB_SEEING) starlike_gt30000=(cr_e<.8)*(cr_area>9)*(cr_area<50)*MaxInside8s*(cr_max>30000)*(cr_kmax<kmax)*(cr_skmax<.88) if starlike_gt30000.any(): fig=imagetools.plotlabels(ll=cr_labels[starlike_gt30000],segments=BBCRseg,slices=CRslices,params=params,background=image,zscale=(zmin,zmax)) fig.suptitle('Not Starlike: Greater than 30,000') fig.savefig(plot_dir+'pltSS_NotStars-gt_than_30000_'+OFB_SEEING) starlike_skew_kurt=(cr_e<.8)*(cr_area>9)*(cr_area<50)*(cr_max<30000)*MaxInside8s*((cr_kmax>=kmax)+(cr_skmax>=.88)) if starlike_skew_kurt.any(): print 'skewness and kurtosis cut removed: ',starlike_skew_kurt.sum() fig=imagetools.plotlabels(ll=cr_labels[starlike_skew_kurt],segments=BBCRseg,slices=CRslices,params=params,background=image,zscale=(zmin,zmax)) fig.suptitle('Not Starlike: too skewed or large kurtosis') fig.savefig(plot_dir+'pltSS_NotStars-skew_kurt'+OFB_SEEING) #f=imagetools.ImageWithSpots([image,filtim],Xspots_starlike,name1='image',name2='filtered image',nameX='Possible Stars',ignore_scale=True,mode='box') #f.savefig(plot_dir+'pltSS_Star_Candidates-full_image_'+OFB_SEEING) ## Save KeepOrRM image and the final image with masks included KeepOrRM=zeros(Xspots_starlike.shape,dtype=int) KeepOrRM[Xspots_starlike]=-1 KeepOrRM[Xspots_not_starlike]=1 hdu=astropy.io.fits.PrimaryHDU(asarray(KeepOrRM,dtype=int)) hdu.header=crheader fl_KeepOrRM=BBCRfl.replace('SEGMENTATION_BB_CRN-cosmics','SEGMENTATION_KeepOrRM-starlike_cosmics') hdu.writeto(fl_KeepOrRM,overwrite=True) final_im=image.copy() final_im[Xspots_not_starlike]=0 hdu=astropy.io.fits.PrimaryHDU(asarray(final_im,dtype=float)) hdu.header=crheader fl_final=BBCRfl.replace('SEGMENTATION_BB_CRN-cosmics','StarRMout_KeepOrRM-purified_cosmics') hdu.writeto(fl_final,overwrite=True) files2check=[fl,fl_woblend,fl_revised,fl_KeepOrRM,fl_final] print '\nds9 -zscale -tile mode column '+' '.join(files2check)+' -zscale -lock frame image -lock crosshair image -geometry 2000x2000 &' ## plot star column in eccentricity vs. diameter space from matplotlib import collections fig, ax_d = subplots(figsize=(14,11)) ax_d.plot(cr_e, cr_diam, 'b.') ax_d.plot(cr_e[starlike], cr_diam[starlike], 'bo') star_e,star_diam,star_area=(cr_e[starlike], cr_diam[starlike], cr_area[starlike]) median_star_area=median(star_area) median_star_diam=median(star_diam) fwhm=SEEING/.202 #convert to pixels star_diam_fwhm_ratio=median_star_diam/fwhm fig.suptitle('Plot of eccentricity vs. effective diameter (blue) or vs. area (red) \n SEEING=%.2f" & FWHM Star = %.2f pixels & Median Diameter = %.2f & Ratio FWHM/Median(Diam)=%.2f' % (SEEING,fwhm,median_star_diam,star_diam_fwhm_ratio)) ax_d.set_xlabel('eccentricity') # Make the y-axis label and tick labels match the line color. ax_d.set_ylabel(r'Effective Diameter = $\sqrt{4/\pi \times area}$', color='b') for tl in ax_d.get_yticklabels(): tl.set_color('b') ax_a = ax_d.twinx() ax_a.plot(cr_e, cr_area, 'r.') ax_a.plot(cr_e[starlike], cr_area[starlike], 'ro') ax_a.set_ylabel('Area [pixels]', color='r') for tl in ax_a.get_yticklabels(): tl.set_color('r') collection_a = collections.BrokenBarHCollection(xranges=[(0,.8)],yrange=[9,50],facecolor='red', alpha=0.5) collection_d = collections.BrokenBarHCollection(xranges=[(0,.8)],yrange=[sqrt(4/pi*9),sqrt(4/pi*50)],facecolor='blue', alpha=0.5) ax_a.add_collection(collection_a) ax_d.add_collection(collection_d) fig.savefig(plot_dir+'pltSS_e_vs_diam_and_area_'+OFB_SEEING) ## print stats print "\nfor fl: %s \n\tSEEING=%.2f" % (fl,SEEING) CRseg_tot_num=BBCRseg.max() CRseg_removed_stars=starlike.sum() print "\t# CR masks started with: %s\n\t# CR masks finished with: %s\n\t# CR masks deleted/starlike: %s" % (CRseg_tot_num,CRseg_tot_num-CRseg_removed_stars,CRseg_removed_stars) print "\nBBSSCR_stats-SS",BASE,CRseg_removed_stars ## save SEGMENTATION_BBSS_CRN-cosmics (the new file that replaces SEGMENTATION_BB_CRN-cosmics in the pipeline) BBSSCRseg,BBSSCRseg_Nlabels=scipy.ndimage.label(Xspots_not_starlike,conn8) hdu=astropy.io.fits.PrimaryHDU(data=BBSSCRseg,header=crheader) BBSSCRfl=BBCRfl.replace('SEGMENTATION_BB_CRN-cosmics','SEGMENTATION_BBSS_CRN-cosmics') hdu.writeto(BBSSCRfl,overwrite=True)
mit
pylayers/pylayers
pylayers/em/openems/nf2ff.py
3
1578
import h5py import numpy as np import matplotlib.pyplot as plt f = h5py.File('nf2ff.h5','r') hdf_mesh = f['Mesh'] r = np.array(hdf_mesh['r']) theta = np.array(hdf_mesh['theta']) phi = np.array(hdf_mesh['phi']) nf2ff = f['nf2ff'] attrs = nf2ff.attrs.items() freq = attrs[0][1] Prad = attrs[1][1] Dmax = attrs[2][1] try: Eps_r = nf2ff['Eps_r'] except: Eps_r = np.ones(freq.shape) try: Mue_r = nf2ff['Mue_r'] except: Mue_r = np.ones(freq.shape) for k,f in enumerate(freq): Er_theta = np.array(nf2ff['E_theta']['FD']['f'+str(k)+'_real']) Ei_theta = np.array(nf2ff['E_theta']['FD']['f'+str(k)+'_imag']) Er_phi = np.array(nf2ff['E_phi']['FD']['f'+str(k)+'_real']) Ei_phi = np.array(nf2ff['E_phi']['FD']['f'+str(k)+'_imag']) E_theta = Er_theta+1j*Ei_theta E_phi = Er_phi+1j*Ei_phi E_norm = np.sqrt(E_theta*np.conj(E_theta)+E_phi*np.conj(E_phi)) P_rad = np.array(nf2ff['P_rad']['FD']['f'+str(k)]) plt.ion() plt.polar(theta,Er_theta[0,:],'r') plt.polar(theta,Ei_theta[0,:],'r') plt.polar(theta,Er_theta[1,:],'b') plt.polar(theta,Ei_theta[1,:],'b') plt.figure() plt.ion() plt.polar(theta,E_norm[0,:],'b') plt.polar(theta,E_norm[1,:],'r') plt.show() ## Calculation of right- and left-handed circular polarization ## adopted from ## 2012, Tim Pegg <teepegg@gmail.com> ## ##% Setup vectors for converting to LHCP and RHCP polarization senses #for k,f in enumerate(freq): # E_cprh[k] = (cos(phi)+1j*sin(phi))*(E_theta[k]+1j*E_phi[k])/np.sqrt(2); # E_cplh[k] = (cos(phi)-1j*sin(phi))*(E_theta[k]-1j*E_phi[k])/np.sqrt(2);
mit
akrherz/iem
htdocs/plotting/auto/scripts/p67.py
1
3664
"""Wind Speed by Temperature""" import datetime import calendar import matplotlib.patheffects as PathEffects import psycopg2.extras import pandas as pd from pyiem.util import get_autoplot_context, get_dbconn from pyiem.plot.use_agg import plt from pyiem.exceptions import NoDataFound def get_description(): """ Return a dict describing how to call this plotter """ desc = dict() desc["data"] = True desc["cache"] = 86400 desc[ "description" ] = """This plot displays the frequency of having a reported wind speed be above a given threshold by reported temperature and by month.""" desc["arguments"] = [ dict( type="zstation", name="zstation", default="DSM", network="IA_ASOS", label="Select Station:", ), dict( type="int", name="threshold", default=10, label="Wind Speed Threshold (knots)", ), dict(type="month", name="month", default="3", label="Select Month:"), ] return desc def plotter(fdict): """ Go """ pgconn = get_dbconn("asos") cursor = pgconn.cursor(cursor_factory=psycopg2.extras.DictCursor) ctx = get_autoplot_context(fdict, get_description()) station = ctx["zstation"] threshold = ctx["threshold"] month = ctx["month"] cursor.execute( """ WITH data as ( SELECT tmpf::int as t, sknt from alldata where station = %s and extract(month from valid) = %s and tmpf is not null and sknt >= 0 ) SELECT t, sum(case when sknt >= %s then 1 else 0 end), count(*) from data GROUP by t ORDER by t ASC """, (station, month, threshold), ) if cursor.rowcount == 0: raise NoDataFound("No Data was Found.") tmpf = [] events = [] total = [] hits = 0 cnt = 0 for row in cursor: if row[2] < 3: continue tmpf.append(row[0]) hits += row[1] cnt += row[2] events.append(row[1]) total.append(row[2]) df = pd.DataFrame( dict( tmpf=pd.Series(tmpf), events=pd.Series(events), total=pd.Series(total), ) ) (fig, ax) = plt.subplots(1, 1) ax.bar( tmpf, df["events"] / df["total"] * 100.0, width=1.1, ec="green", fc="green", ) avgval = hits / float(cnt) * 100.0 ax.axhline(avgval, lw=2, zorder=2) txt = ax.text( tmpf[10], avgval + 1, f"Average: {avgval:.1f}%", va="bottom", zorder=2, color="yellow", fontsize=14, ) txt.set_path_effects([PathEffects.withStroke(linewidth=2, foreground="k")]) ax.grid(zorder=11) ab = ctx["_nt"].sts[station]["archive_begin"] if ab is None: raise NoDataFound("Unknown station metadata.") ax.set_title( ( "%s [%s]\nFrequency of %s+ knot Wind Speeds by Temperature " "for %s (%s-%s)\n" "(must have 3+ hourly observations at the given temperature)" ) % ( ctx["_nt"].sts[station]["name"], station, threshold, calendar.month_name[month], ab.year, datetime.datetime.now().year, ), size=10, ) ax.set_ylabel("Frequency [%]") ax.set_ylim(0, 100) ax.set_xlim(min(tmpf) - 3, max(tmpf) + 3) ax.set_xlabel(r"Air Temperature $^\circ$F") ax.set_yticks([0, 5, 10, 25, 50, 75, 90, 95, 100]) return fig, df if __name__ == "__main__": plotter(dict())
mit
hlin117/scikit-learn
sklearn/tests/test_kernel_approximation.py
78
7586
import numpy as np from scipy.sparse import csr_matrix from sklearn.utils.testing import assert_array_equal, assert_equal, assert_true from sklearn.utils.testing import assert_not_equal from sklearn.utils.testing import assert_array_almost_equal, assert_raises from sklearn.utils.testing import assert_less_equal from sklearn.metrics.pairwise import kernel_metrics from sklearn.kernel_approximation import RBFSampler from sklearn.kernel_approximation import AdditiveChi2Sampler from sklearn.kernel_approximation import SkewedChi2Sampler from sklearn.kernel_approximation import Nystroem from sklearn.metrics.pairwise import polynomial_kernel, rbf_kernel # generate data rng = np.random.RandomState(0) X = rng.random_sample(size=(300, 50)) Y = rng.random_sample(size=(300, 50)) X /= X.sum(axis=1)[:, np.newaxis] Y /= Y.sum(axis=1)[:, np.newaxis] def test_additive_chi2_sampler(): # test that AdditiveChi2Sampler approximates kernel on random data # compute exact kernel # abbreviations for easier formula X_ = X[:, np.newaxis, :] Y_ = Y[np.newaxis, :, :] large_kernel = 2 * X_ * Y_ / (X_ + Y_) # reduce to n_samples_x x n_samples_y by summing over features kernel = (large_kernel.sum(axis=2)) # approximate kernel mapping transform = AdditiveChi2Sampler(sample_steps=3) X_trans = transform.fit_transform(X) Y_trans = transform.transform(Y) kernel_approx = np.dot(X_trans, Y_trans.T) assert_array_almost_equal(kernel, kernel_approx, 1) X_sp_trans = transform.fit_transform(csr_matrix(X)) Y_sp_trans = transform.transform(csr_matrix(Y)) assert_array_equal(X_trans, X_sp_trans.A) assert_array_equal(Y_trans, Y_sp_trans.A) # test error is raised on negative input Y_neg = Y.copy() Y_neg[0, 0] = -1 assert_raises(ValueError, transform.transform, Y_neg) # test error on invalid sample_steps transform = AdditiveChi2Sampler(sample_steps=4) assert_raises(ValueError, transform.fit, X) # test that the sample interval is set correctly sample_steps_available = [1, 2, 3] for sample_steps in sample_steps_available: # test that the sample_interval is initialized correctly transform = AdditiveChi2Sampler(sample_steps=sample_steps) assert_equal(transform.sample_interval, None) # test that the sample_interval is changed in the fit method transform.fit(X) assert_not_equal(transform.sample_interval_, None) # test that the sample_interval is set correctly sample_interval = 0.3 transform = AdditiveChi2Sampler(sample_steps=4, sample_interval=sample_interval) assert_equal(transform.sample_interval, sample_interval) transform.fit(X) assert_equal(transform.sample_interval_, sample_interval) def test_skewed_chi2_sampler(): # test that RBFSampler approximates kernel on random data # compute exact kernel c = 0.03 # abbreviations for easier formula X_c = (X + c)[:, np.newaxis, :] Y_c = (Y + c)[np.newaxis, :, :] # we do it in log-space in the hope that it's more stable # this array is n_samples_x x n_samples_y big x n_features log_kernel = ((np.log(X_c) / 2.) + (np.log(Y_c) / 2.) + np.log(2.) - np.log(X_c + Y_c)) # reduce to n_samples_x x n_samples_y by summing over features in log-space kernel = np.exp(log_kernel.sum(axis=2)) # approximate kernel mapping transform = SkewedChi2Sampler(skewedness=c, n_components=1000, random_state=42) X_trans = transform.fit_transform(X) Y_trans = transform.transform(Y) kernel_approx = np.dot(X_trans, Y_trans.T) assert_array_almost_equal(kernel, kernel_approx, 1) # test error is raised on negative input Y_neg = Y.copy() Y_neg[0, 0] = -1 assert_raises(ValueError, transform.transform, Y_neg) def test_rbf_sampler(): # test that RBFSampler approximates kernel on random data # compute exact kernel gamma = 10. kernel = rbf_kernel(X, Y, gamma=gamma) # approximate kernel mapping rbf_transform = RBFSampler(gamma=gamma, n_components=1000, random_state=42) X_trans = rbf_transform.fit_transform(X) Y_trans = rbf_transform.transform(Y) kernel_approx = np.dot(X_trans, Y_trans.T) error = kernel - kernel_approx assert_less_equal(np.abs(np.mean(error)), 0.01) # close to unbiased np.abs(error, out=error) assert_less_equal(np.max(error), 0.1) # nothing too far off assert_less_equal(np.mean(error), 0.05) # mean is fairly close def test_input_validation(): # Regression test: kernel approx. transformers should work on lists # No assertions; the old versions would simply crash X = [[1, 2], [3, 4], [5, 6]] AdditiveChi2Sampler().fit(X).transform(X) SkewedChi2Sampler().fit(X).transform(X) RBFSampler().fit(X).transform(X) X = csr_matrix(X) RBFSampler().fit(X).transform(X) def test_nystroem_approximation(): # some basic tests rnd = np.random.RandomState(0) X = rnd.uniform(size=(10, 4)) # With n_components = n_samples this is exact X_transformed = Nystroem(n_components=X.shape[0]).fit_transform(X) K = rbf_kernel(X) assert_array_almost_equal(np.dot(X_transformed, X_transformed.T), K) trans = Nystroem(n_components=2, random_state=rnd) X_transformed = trans.fit(X).transform(X) assert_equal(X_transformed.shape, (X.shape[0], 2)) # test callable kernel linear_kernel = lambda X, Y: np.dot(X, Y.T) trans = Nystroem(n_components=2, kernel=linear_kernel, random_state=rnd) X_transformed = trans.fit(X).transform(X) assert_equal(X_transformed.shape, (X.shape[0], 2)) # test that available kernels fit and transform kernels_available = kernel_metrics() for kern in kernels_available: trans = Nystroem(n_components=2, kernel=kern, random_state=rnd) X_transformed = trans.fit(X).transform(X) assert_equal(X_transformed.shape, (X.shape[0], 2)) def test_nystroem_singular_kernel(): # test that nystroem works with singular kernel matrix rng = np.random.RandomState(0) X = rng.rand(10, 20) X = np.vstack([X] * 2) # duplicate samples gamma = 100 N = Nystroem(gamma=gamma, n_components=X.shape[0]).fit(X) X_transformed = N.transform(X) K = rbf_kernel(X, gamma=gamma) assert_array_almost_equal(K, np.dot(X_transformed, X_transformed.T)) assert_true(np.all(np.isfinite(Y))) def test_nystroem_poly_kernel_params(): # Non-regression: Nystroem should pass other parameters beside gamma. rnd = np.random.RandomState(37) X = rnd.uniform(size=(10, 4)) K = polynomial_kernel(X, degree=3.1, coef0=.1) nystroem = Nystroem(kernel="polynomial", n_components=X.shape[0], degree=3.1, coef0=.1) X_transformed = nystroem.fit_transform(X) assert_array_almost_equal(np.dot(X_transformed, X_transformed.T), K) def test_nystroem_callable(): # Test Nystroem on a callable. rnd = np.random.RandomState(42) n_samples = 10 X = rnd.uniform(size=(n_samples, 4)) def logging_histogram_kernel(x, y, log): """Histogram kernel that writes to a log.""" log.append(1) return np.minimum(x, y).sum() kernel_log = [] X = list(X) # test input validation Nystroem(kernel=logging_histogram_kernel, n_components=(n_samples - 1), kernel_params={'log': kernel_log}).fit(X) assert_equal(len(kernel_log), n_samples * (n_samples - 1) / 2)
bsd-3-clause
stylianos-kampakis/scikit-learn
examples/bicluster/plot_spectral_biclustering.py
403
2011
""" ============================================= A demo of the Spectral Biclustering algorithm ============================================= This example demonstrates how to generate a checkerboard dataset and bicluster it using the Spectral Biclustering algorithm. The data is generated with the ``make_checkerboard`` function, then shuffled and passed to the Spectral Biclustering algorithm. The rows and columns of the shuffled matrix are rearranged to show the biclusters found by the algorithm. The outer product of the row and column label vectors shows a representation of the checkerboard structure. """ print(__doc__) # Author: Kemal Eren <kemal@kemaleren.com> # License: BSD 3 clause import numpy as np from matplotlib import pyplot as plt from sklearn.datasets import make_checkerboard from sklearn.datasets import samples_generator as sg from sklearn.cluster.bicluster import SpectralBiclustering from sklearn.metrics import consensus_score n_clusters = (4, 3) data, rows, columns = make_checkerboard( shape=(300, 300), n_clusters=n_clusters, noise=10, shuffle=False, random_state=0) plt.matshow(data, cmap=plt.cm.Blues) plt.title("Original dataset") data, row_idx, col_idx = sg._shuffle(data, random_state=0) plt.matshow(data, cmap=plt.cm.Blues) plt.title("Shuffled dataset") model = SpectralBiclustering(n_clusters=n_clusters, method='log', random_state=0) model.fit(data) score = consensus_score(model.biclusters_, (rows[:, row_idx], columns[:, col_idx])) print("consensus score: {:.1f}".format(score)) fit_data = data[np.argsort(model.row_labels_)] fit_data = fit_data[:, np.argsort(model.column_labels_)] plt.matshow(fit_data, cmap=plt.cm.Blues) plt.title("After biclustering; rearranged to show biclusters") plt.matshow(np.outer(np.sort(model.row_labels_) + 1, np.sort(model.column_labels_) + 1), cmap=plt.cm.Blues) plt.title("Checkerboard structure of rearranged data") plt.show()
bsd-3-clause
squilter/MAVProxy
MAVProxy/modules/lib/live_graph.py
3
2920
#!/usr/bin/env python """ MAVProxy realtime graphing module, partly based on the wx graphing demo by Eli Bendersky (eliben@gmail.com) http://eli.thegreenplace.net/files/prog_code/wx_mpl_dynamic_graph.py.txt """ from MAVProxy.modules.lib import mp_util class LiveGraph(): ''' a live graph object using wx and matplotlib All of the GUI work is done in a child process to provide some insulation from the parent mavproxy instance and prevent instability in the GCS New data is sent to the LiveGraph instance via a pipe ''' def __init__(self, fields, title='MAVProxy: LiveGraph', timespan=20.0, tickresolution=0.2, colors=[ 'red', 'green', 'blue', 'orange', 'olive', 'cyan', 'magenta', 'brown', 'dark green', 'violet', 'purple', 'grey', 'black']): import multiprocessing self.fields = fields self.colors = colors self.title = title self.timespan = timespan self.tickresolution = tickresolution self.values = [None]*len(self.fields) self.parent_pipe,self.child_pipe = multiprocessing.Pipe() self.close_graph = multiprocessing.Event() self.close_graph.clear() self.child = multiprocessing.Process(target=self.child_task) self.child.start() def child_task(self): '''child process - this holds all the GUI elements''' mp_util.child_close_fds() import matplotlib import wx_processguard from wx_loader import wx from live_graph_ui import GraphFrame matplotlib.use('WXAgg') app = wx.App(False) app.frame = GraphFrame(state=self) app.frame.Show() app.MainLoop() def add_values(self, values): '''add some data to the graph''' if self.child.is_alive(): self.parent_pipe.send(values) def close(self): '''close the graph''' self.close_graph.set() if self.is_alive(): self.child.join(2) def is_alive(self): '''check if graph is still going''' return self.child.is_alive() if __name__ == "__main__": # test the graph import time, math livegraph = LiveGraph(['sin(t)', 'cos(t)', 'sin(t+1)', 'cos(t+1)', 'sin(t+2)', 'cos(t+2)', 'cos(t+1)', 'sin(t+2)', 'cos(t+2)', 'x'], timespan=30, title='Graph Test') while livegraph.is_alive(): t = time.time() livegraph.add_values([math.sin(t), math.cos(t), math.sin(t+1), math.cos(t+1), math.sin(t+1), math.cos(t+1), math.sin(t+1), math.cos(t+1), math.sin(t+2), math.cos(t+2)]) time.sleep(0.05)
gpl-3.0
mjzmjz/swift
swift/common/middleware/x_profile/html_viewer.py
25
21039
# Copyright (c) 2010-2012 OpenStack, LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # implied. # See the License for the specific language governing permissions and # limitations under the License. import cgi import os import random import re import string import tempfile from swift import gettext_ as _ from exceptions import PLOTLIBNotInstalled, ODFLIBNotInstalled,\ NotFoundException, MethodNotAllowed, DataLoadFailure, ProfileException from profile_model import Stats2 PLOTLIB_INSTALLED = True try: import matplotlib # use agg backend for writing to file, not for rendering in a window. # otherwise some platform will complain "no display name and $DISPLAY # environment variable" matplotlib.use('agg') import matplotlib.pyplot as plt except ImportError: PLOTLIB_INSTALLED = False empty_description = """ The default profile of current process or the profile you requested is empty. <input type="submit" name="refresh" value="Refresh"/> """ profile_tmpl = """ <select name="profile"> <option value="current">current</option> <option value="all">all</option> ${profile_list} </select> """ sort_tmpl = """ <select name="sort"> <option value="time">time</option> <option value="cumulative">cumulative</option> <option value="calls">calls</option> <option value="pcalls">pcalls</option> <option value="name">name</option> <option value="file">file</option> <option value="module">module</option> <option value="line">line</option> <option value="nfl">nfl</option> <option value="stdname">stdname</option> </select> """ limit_tmpl = """ <select name="limit"> <option value="-1">all</option> <option value="0.1">10%</option> <option value="0.2">20%</option> <option value="0.3">30%</option> <option value="10">10</option> <option value="20">20</option> <option value="30">30</option> <option value="50">50</option> <option value="100">100</option> <option value="200">200</option> <option value="300">300</option> <option value="400">400</option> <option value="500">500</option> </select> """ fulldirs_tmpl = """ <input type="checkbox" name="fulldirs" value="1" ${fulldir_checked}/> """ mode_tmpl = """ <select name="mode"> <option value="stats">stats</option> <option value="callees">callees</option> <option value="callers">callers</option> </select> """ nfl_filter_tmpl = """ <input type="text" name="nfl_filter" value="${nfl_filter}" placeholder="filename part" /> """ formelements_tmpl = """ <div> <table> <tr> <td> <strong>Profile</strong> <td> <strong>Sort</strong> </td> <td> <strong>Limit</strong> </td> <td> <strong>Full Path</strong> </td> <td> <strong>Filter</strong> </td> <td> </td> <td> <strong>Plot Metric</strong> </td> <td> <strong>Plot Type</strong> <td> </td> <td> <strong>Format</strong> </td> <td> <td> </td> <td> </td> </tr> <tr> <td> ${profile} <td> ${sort} </td> <td> ${limit} </td> <td> ${fulldirs} </td> <td> ${nfl_filter} </td> <td> <input type="submit" name="query" value="query"/> </td> <td> <select name='metric'> <option value='nc'>call count</option> <option value='cc'>primitive call count</option> <option value='tt'>total time</option> <option value='ct'>cumulative time</option> </select> </td> <td> <select name='plottype'> <option value='bar'>bar</option> <option value='pie'>pie</option> </select> <td> <input type="submit" name="plot" value="plot"/> </td> <td> <select name='format'> <option value='default'>binary</option> <option value='json'>json</option> <option value='csv'>csv</option> <option value='ods'>ODF.ods</option> </select> </td> <td> <input type="submit" name="download" value="download"/> </td> <td> <input type="submit" name="clear" value="clear"/> </td> </tr> </table> </div> """ index_tmpl = """ <html> <head> <title>profile results</title> <style> <!-- tr.normal { background-color: #ffffff } tr.hover { background-color: #88eeee } //--> </style> </head> <body> <form action="${action}" method="POST"> <div class="form-text"> ${description} </div> <hr /> ${formelements} </form> <pre> ${profilehtml} </pre> </body> </html> """ class HTMLViewer(object): format_dict = {'default': 'application/octet-stream', 'json': 'application/json', 'csv': 'text/csv', 'ods': 'application/vnd.oasis.opendocument.spreadsheet', 'python': 'text/html'} def __init__(self, app_path, profile_module, profile_log): self.app_path = app_path self.profile_module = profile_module self.profile_log = profile_log def _get_param(self, query_dict, key, default=None, multiple=False): value = query_dict.get(key, default) if value is None or value == '': return default if multiple: return value if isinstance(value, list): return eval(value[0]) if isinstance(default, int) else value[0] else: return value def render(self, url, method, path_entry, query_dict, clear_callback): plot = self._get_param(query_dict, 'plot', None) download = self._get_param(query_dict, 'download', None) clear = self._get_param(query_dict, 'clear', None) action = plot or download or clear profile_id = self._get_param(query_dict, 'profile', 'current') sort = self._get_param(query_dict, 'sort', 'time') limit = self._get_param(query_dict, 'limit', -1) fulldirs = self._get_param(query_dict, 'fulldirs', 0) nfl_filter = self._get_param(query_dict, 'nfl_filter', '').strip() metric_selected = self._get_param(query_dict, 'metric', 'cc') plot_type = self._get_param(query_dict, 'plottype', 'bar') download_format = self._get_param(query_dict, 'format', 'default') content = '' # GET /__profile, POST /__profile if len(path_entry) == 2 and method in ['GET', 'POST']: log_files = self.profile_log.get_logfiles(profile_id) if action == 'plot': content, headers = self.plot(log_files, sort, limit, nfl_filter, metric_selected, plot_type) elif action == 'download': content, headers = self.download(log_files, sort, limit, nfl_filter, download_format) else: if action == 'clear': self.profile_log.clear(profile_id) clear_callback and clear_callback() content, headers = self.index_page(log_files, sort, limit, fulldirs, nfl_filter, profile_id, url) # GET /__profile__/all # GET /__profile__/current # GET /__profile__/profile_id # GET /__profile__/profile_id/ # GET /__profile__/profile_id/account.py:50(GETorHEAD) # GET /__profile__/profile_id/swift/proxy/controllers # /account.py:50(GETorHEAD) # with QUERY_STRING: ?format=[default|json|csv|ods] elif len(path_entry) > 2 and method == 'GET': profile_id = path_entry[2] log_files = self.profile_log.get_logfiles(profile_id) pids = self.profile_log.get_all_pids() # return all profiles in a json format by default. # GET /__profile__/ if profile_id == '': content = '{"profile_ids": ["' + '","'.join(pids) + '"]}' headers = [('content-type', self.format_dict['json'])] else: if len(path_entry) > 3 and path_entry[3] != '': nfl_filter = '/'.join(path_entry[3:]) if path_entry[-1].find(':0') == -1: nfl_filter = '/' + nfl_filter content, headers = self.download(log_files, sort, -1, nfl_filter, download_format) headers.append(('Access-Control-Allow-Origin', '*')) else: raise MethodNotAllowed(_('method %s is not allowed.') % method) return content, headers def index_page(self, log_files=None, sort='time', limit=-1, fulldirs=0, nfl_filter='', profile_id='current', url='#'): headers = [('content-type', 'text/html')] if len(log_files) == 0: return empty_description, headers try: stats = Stats2(*log_files) except (IOError, ValueError): raise DataLoadFailure(_('Can not load profile data from %s.') % log_files) if not fulldirs: stats.strip_dirs() stats.sort_stats(sort) nfl_filter_esc =\ nfl_filter.replace('(', '\(').replace(')', '\)') amount = [nfl_filter_esc, limit] if nfl_filter_esc else [limit] profile_html = self.generate_stats_html(stats, self.app_path, profile_id, *amount) description = "Profiling information is generated by using\ '%s' profiler." % self.profile_module sort_repl = '<option value="%s">' % sort sort_selected = '<option value="%s" selected>' % sort sort = sort_tmpl.replace(sort_repl, sort_selected) plist = ''.join(['<option value="%s">%s</option>' % (p, p) for p in self.profile_log.get_all_pids()]) profile_element = string.Template(profile_tmpl).substitute( {'profile_list': plist}) profile_repl = '<option value="%s">' % profile_id profile_selected = '<option value="%s" selected>' % profile_id profile_element = profile_element.replace(profile_repl, profile_selected) limit_repl = '<option value="%s">' % limit limit_selected = '<option value="%s" selected>' % limit limit = limit_tmpl.replace(limit_repl, limit_selected) fulldirs_checked = 'checked' if fulldirs else '' fulldirs_element = string.Template(fulldirs_tmpl).substitute( {'fulldir_checked': fulldirs_checked}) nfl_filter_element = string.Template(nfl_filter_tmpl).\ substitute({'nfl_filter': nfl_filter}) form_elements = string.Template(formelements_tmpl).substitute( {'description': description, 'action': url, 'profile': profile_element, 'sort': sort, 'limit': limit, 'fulldirs': fulldirs_element, 'nfl_filter': nfl_filter_element, } ) content = string.Template(index_tmpl).substitute( {'formelements': form_elements, 'action': url, 'description': description, 'profilehtml': profile_html, }) return content, headers def download(self, log_files, sort='time', limit=-1, nfl_filter='', output_format='default'): if len(log_files) == 0: raise NotFoundException(_('no log file found')) try: nfl_esc = nfl_filter.replace('(', '\(').replace(')', '\)') # remove the slash that is intentionally added in the URL # to avoid failure of filtering stats data. if nfl_esc.startswith('/'): nfl_esc = nfl_esc[1:] stats = Stats2(*log_files) stats.sort_stats(sort) if output_format == 'python': data = self.format_source_code(nfl_filter) elif output_format == 'json': data = stats.to_json(nfl_esc, limit) elif output_format == 'csv': data = stats.to_csv(nfl_esc, limit) elif output_format == 'ods': data = stats.to_ods(nfl_esc, limit) else: data = stats.print_stats() return data, [('content-type', self.format_dict[output_format])] except ODFLIBNotInstalled as ex: raise ex except Exception as ex: raise ProfileException(_('Data download error: %s') % ex) def plot(self, log_files, sort='time', limit=10, nfl_filter='', metric_selected='cc', plot_type='bar'): if not PLOTLIB_INSTALLED: raise PLOTLIBNotInstalled(_('python-matplotlib not installed.')) if len(log_files) == 0: raise NotFoundException(_('no log file found')) try: stats = Stats2(*log_files) stats.sort_stats(sort) stats_dict = stats.stats __, func_list = stats.get_print_list([nfl_filter, limit]) nfls = [] performance = [] names = {'nc': 'Total Call Count', 'cc': 'Primitive Call Count', 'tt': 'Total Time', 'ct': 'Cumulative Time'} for func in func_list: cc, nc, tt, ct, __ = stats_dict[func] metric = {'cc': cc, 'nc': nc, 'tt': tt, 'ct': ct} nfls.append(func[2]) performance.append(metric[metric_selected]) y_pos = range(len(nfls)) error = [random.random() for __ in y_pos] plt.clf() if plot_type == 'pie': plt.pie(x=performance, explode=None, labels=nfls, autopct='%1.1f%%') else: plt.barh(y_pos, performance, xerr=error, align='center', alpha=0.4) plt.yticks(y_pos, nfls) plt.xlabel(names[metric_selected]) plt.title('Profile Statistics (by %s)' % names[metric_selected]) # plt.gcf().tight_layout(pad=1.2) with tempfile.TemporaryFile() as profile_img: plt.savefig(profile_img, format='png', dpi=300) profile_img.seek(0) data = profile_img.read() return data, [('content-type', 'image/jpg')] except Exception as ex: raise ProfileException(_('plotting results failed due to %s') % ex) def format_source_code(self, nfl): nfls = re.split('[:()]', nfl) file_path = nfls[0] try: lineno = int(nfls[1]) except (TypeError, ValueError, IndexError): lineno = 0 # for security reason, this need to be fixed. if not file_path.endswith('.py'): return _('The file type are forbidden to access!') try: data = [] i = 0 with open(file_path) as f: lines = f.readlines() max_width = str(len(str(len(lines)))) fmt = '<span id="L%d" rel="#L%d">%' + max_width\ + 'd|<code>%s</code></span>' for line in lines: l = cgi.escape(line, quote=None) i = i + 1 if i == lineno: fmt2 = '<span id="L%d" style="background-color: \ rgb(127,255,127)">%' + max_width +\ 'd|<code>%s</code></span>' data.append(fmt2 % (i, i, l)) else: data.append(fmt % (i, i, i, l)) data = ''.join(data) except Exception: return _('Can not access the file %s.') % file_path return '<pre>%s</pre>' % data def generate_stats_html(self, stats, app_path, profile_id, *selection): html = [] for filename in stats.files: html.append('<p>%s</p>' % filename) try: for func in stats.top_level: html.append('<p>%s</p>' % func[2]) html.append('%s function calls' % stats.total_calls) if stats.total_calls != stats.prim_calls: html.append("(%d primitive calls)" % stats.prim_calls) html.append('in %.3f seconds' % stats.total_tt) if stats.fcn_list: stat_list = stats.fcn_list[:] msg = "<p>Ordered by: %s</p>" % stats.sort_type else: stat_list = stats.stats.keys() msg = '<p>Random listing order was used</p>' for sel in selection: stat_list, msg = stats.eval_print_amount(sel, stat_list, msg) html.append(msg) html.append('<table style="border-width: 1px">') if stat_list: html.append('<tr><th>#</th><th>Call Count</th>\ <th>Total Time</th><th>Time/Call</th>\ <th>Cumulative Time</th>\ <th>Cumulative Time/Call</th>\ <th>Filename:Lineno(Function)</th>\ <th>JSON</th>\ </tr>') count = 0 for func in stat_list: count = count + 1 html.append('<tr onMouseOver="this.className=\'hover\'"\ onMouseOut="this.className=\'normal\'">\ <td>%d)</td>' % count) cc, nc, tt, ct, __ = stats.stats[func] c = str(nc) if nc != cc: c = c + '/' + str(cc) html.append('<td>%s</td>' % c) html.append('<td>%f</td>' % tt) if nc == 0: html.append('<td>-</td>') else: html.append('<td>%f</td>' % (float(tt) / nc)) html.append('<td>%f</td>' % ct) if cc == 0: html.append('<td>-</td>') else: html.append('<td>%f</td>' % (float(ct) / cc)) nfls = cgi.escape(stats.func_std_string(func)) if nfls.split(':')[0] not in ['', 'profile'] and\ os.path.isfile(nfls.split(':')[0]): html.append('<td><a href="%s/%s%s?format=python#L%d">\ %s</a></td>' % (app_path, profile_id, nfls, func[1], nfls)) else: html.append('<td>%s</td>' % nfls) if not nfls.startswith('/'): nfls = '/' + nfls html.append('<td><a href="%s/%s%s?format=json">\ --></a></td></tr>' % (app_path, profile_id, nfls)) except Exception as ex: html.append("Exception:" % ex.message) return ''.join(html)
apache-2.0
nowls/gnuradio
gr-digital/examples/example_costas.py
49
5316
#!/usr/bin/env python # # Copyright 2011-2013 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # GNU Radio is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Radio; see the file COPYING. If not, write to # the Free Software Foundation, Inc., 51 Franklin Street, # Boston, MA 02110-1301, USA. # from gnuradio import gr, digital, filter from gnuradio import blocks from gnuradio import channels from gnuradio import eng_notation from gnuradio.eng_option import eng_option from optparse import OptionParser import sys try: import scipy except ImportError: print "Error: could not import scipy (http://www.scipy.org/)" sys.exit(1) try: import pylab except ImportError: print "Error: could not import pylab (http://matplotlib.sourceforge.net/)" sys.exit(1) class example_costas(gr.top_block): def __init__(self, N, sps, rolloff, ntaps, bw, noise, foffset, toffset, poffset): gr.top_block.__init__(self) rrc_taps = filter.firdes.root_raised_cosine( sps, sps, 1.0, rolloff, ntaps) data = 2.0*scipy.random.randint(0, 2, N) - 1.0 data = scipy.exp(1j*poffset) * data self.src = blocks.vector_source_c(data.tolist(), False) self.rrc = filter.interp_fir_filter_ccf(sps, rrc_taps) self.chn = channels.channel_model(noise, foffset, toffset) self.cst = digital.costas_loop_cc(bw, 2) self.vsnk_src = blocks.vector_sink_c() self.vsnk_cst = blocks.vector_sink_c() self.vsnk_frq = blocks.vector_sink_f() self.connect(self.src, self.rrc, self.chn, self.cst, self.vsnk_cst) self.connect(self.rrc, self.vsnk_src) self.connect((self.cst,1), self.vsnk_frq) def main(): parser = OptionParser(option_class=eng_option, conflict_handler="resolve") parser.add_option("-N", "--nsamples", type="int", default=2000, help="Set the number of samples to process [default=%default]") parser.add_option("-S", "--sps", type="int", default=4, help="Set the samples per symbol [default=%default]") parser.add_option("-r", "--rolloff", type="eng_float", default=0.35, help="Set the rolloff factor [default=%default]") parser.add_option("-W", "--bandwidth", type="eng_float", default=2*scipy.pi/100.0, help="Set the loop bandwidth [default=%default]") parser.add_option("-n", "--ntaps", type="int", default=45, help="Set the number of taps in the filters [default=%default]") parser.add_option("", "--noise", type="eng_float", default=0.0, help="Set the simulation noise voltage [default=%default]") parser.add_option("-f", "--foffset", type="eng_float", default=0.0, help="Set the simulation's normalized frequency offset (in Hz) [default=%default]") parser.add_option("-t", "--toffset", type="eng_float", default=1.0, help="Set the simulation's timing offset [default=%default]") parser.add_option("-p", "--poffset", type="eng_float", default=0.707, help="Set the simulation's phase offset [default=%default]") (options, args) = parser.parse_args () # Adjust N for the interpolation by sps options.nsamples = options.nsamples // options.sps # Set up the program-under-test put = example_costas(options.nsamples, options.sps, options.rolloff, options.ntaps, options.bandwidth, options.noise, options.foffset, options.toffset, options.poffset) put.run() data_src = scipy.array(put.vsnk_src.data()) # Convert the FLL's LO frequency from rads/sec to Hz data_frq = scipy.array(put.vsnk_frq.data()) / (2.0*scipy.pi) # adjust this to align with the data. data_cst = scipy.array(3*[0,]+list(put.vsnk_cst.data())) # Plot the Costas loop's LO frequency f1 = pylab.figure(1, figsize=(12,10), facecolor='w') s1 = f1.add_subplot(2,2,1) s1.plot(data_frq) s1.set_title("Costas LO") s1.set_xlabel("Samples") s1.set_ylabel("Frequency (normalized Hz)") # Plot the IQ symbols s3 = f1.add_subplot(2,2,2) s3.plot(data_src.real, data_src.imag, "o") s3.plot(data_cst.real, data_cst.imag, "rx") s3.set_title("IQ") s3.set_xlabel("Real part") s3.set_ylabel("Imag part") s3.set_xlim([-2, 2]) s3.set_ylim([-2, 2]) # Plot the symbols in time s4 = f1.add_subplot(2,2,3) s4.set_position([0.125, 0.05, 0.775, 0.4]) s4.plot(data_src.real, "o-") s4.plot(data_cst.real, "rx-") s4.set_title("Symbols") s4.set_xlabel("Samples") s4.set_ylabel("Real Part of Signals") pylab.show() if __name__ == "__main__": try: main() except KeyboardInterrupt: pass
gpl-3.0
xuleiboy1234/autoTitle
tensorflow/tensorflow/examples/learn/iris.py
29
2313
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Example of DNNClassifier for Iris plant dataset.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np from sklearn import datasets from sklearn import metrics from sklearn import model_selection import tensorflow as tf X_FEATURE = 'x' # Name of the input feature. def main(unused_argv): # Load dataset. iris = datasets.load_iris() x_train, x_test, y_train, y_test = model_selection.train_test_split( iris.data, iris.target, test_size=0.2, random_state=42) # Build 3 layer DNN with 10, 20, 10 units respectively. feature_columns = [ tf.feature_column.numeric_column( X_FEATURE, shape=np.array(x_train).shape[1:])] classifier = tf.estimator.DNNClassifier( feature_columns=feature_columns, hidden_units=[10, 20, 10], n_classes=3) # Train. train_input_fn = tf.estimator.inputs.numpy_input_fn( x={X_FEATURE: x_train}, y=y_train, num_epochs=None, shuffle=True) classifier.train(input_fn=train_input_fn, steps=200) # Predict. test_input_fn = tf.estimator.inputs.numpy_input_fn( x={X_FEATURE: x_test}, y=y_test, num_epochs=1, shuffle=False) predictions = classifier.predict(input_fn=test_input_fn) y_predicted = np.array(list(p['class_ids'] for p in predictions)) y_predicted = y_predicted.reshape(np.array(y_test).shape) # Score with sklearn. score = metrics.accuracy_score(y_test, y_predicted) print('Accuracy (sklearn): {0:f}'.format(score)) # Score with tensorflow. scores = classifier.evaluate(input_fn=test_input_fn) print('Accuracy (tensorflow): {0:f}'.format(scores['accuracy'])) if __name__ == '__main__': tf.app.run()
mit
silgon/rlpy
rlpy/Representations/LocalBases.py
4
7162
""" Representations which use local bases function (e.g. kernels) distributed in the statespace according to some scheme (e.g. grid, random, on previous samples) """ from .Representation import Representation import numpy as np from rlpy.Tools.GeneralTools import addNewElementForAllActions import matplotlib.pyplot as plt try: from kernels import batch except ImportError: from slow_kernels import batch print "C-Extensions for kernels not available, expect slow runtime" __copyright__ = "Copyright 2013, RLPy http://acl.mit.edu/RLPy" __credits__ = ["Alborz Geramifard", "Robert H. Klein", "Christoph Dann", "William Dabney", "Jonathan P. How"] __license__ = "BSD 3-Clause" class LocalBases(Representation): """ abstract base class for representations that use local basis functions """ #: centers of bases centers = None #: widths of bases widths = None def __init__(self, domain, kernel, normalization=False, seed=1, **kwargs): """ :param domain: domain to learn on. :param kernel: function handle to use for kernel function evaluations. :param normalization: (Boolean) If true, normalize feature vector so that sum( phi(s) ) = 1. Associates a kernel function with each """ self.kernel = batch[kernel.__name__] self.normalization = normalization self.centers = np.zeros((0, domain.statespace_limits.shape[0])) self.widths = np.zeros((0, domain.statespace_limits.shape[0])) super(LocalBases, self).__init__(domain, seed=seed) def phi_nonTerminal(self, s): v = self.kernel(s, self.centers, self.widths) if self.normalization and not v.sum() == 0.: # normalize such that each vector has a l1 norm of 1 v /= v.sum() return v def plot_2d_feature_centers(self, d1=None, d2=None): """ :param d1: 1 (of 2 possible) indices of dimensions to plot; ignore all others, purely visual. :param d2: 1 (of 2 possible) indices of dimensions to plot; ignore all others, purely visual. Phe centers of all features in dimension d1 and d2. If no dimensions are specified, the first two continuous dimensions are shown. """ if d1 is None and d2 is None: # just take the first two dimensions d1, d2 = self.domain.continuous_dims[:2] plt.figure("Feature Dimensions {} and {}".format(d1, d2)) for i in xrange(self.centers.shape[0]): plt.plot([self.centers[i, d1]], [self.centers[i, d2]], "r", marker="x") plt.draw() class NonparametricLocalBases(LocalBases): def __init__(self, domain, kernel, max_similarity=0.9, resolution=5, **kwargs): """ :param domain: domain to learn on. :param kernel: function handle to use for kernel function evaluations. :param max_similarity: threshold to allow feature to be added to representation. Larger max_similarity makes it \"easier\" to add more features by permitting larger values of phi(s) before discarding. (An existing feature function in phi() with large value at phi(s) implies that it is very representative of the true function at *s*. i.e., the value of a feature in phi(s) is inversely related to the \"similarity\" of a potential new feature. :param resolution: to be used by the ``kernel()`` function, see parent. Determines *width* of basis functions, eg sigma in Gaussian basis. """ self.max_similarity = max_similarity self.common_width = (domain.statespace_limits[:, 1] - domain.statespace_limits[:, 0]) / resolution self.features_num = 0 super( NonparametricLocalBases, self).__init__( domain, kernel, **kwargs) def pre_discover(self, s, terminal, a, sn, terminaln): norm = self.normalization expanded = 0 self.normalization = False if not terminal: phi_s = self.phi_nonTerminal(s) if np.all(phi_s < self.max_similarity): self._add_feature(s) expanded += 1 if not terminaln: phi_s = self.phi_nonTerminal(sn) if np.all(phi_s < self.max_similarity): self._add_feature(sn) expanded += 1 self.normalization = norm return expanded def _add_feature(self, center): self.features_num += 1 self.centers = np.vstack((self.centers, center)) self.widths = np.vstack((self.widths, self.common_width)) # TODO if normalized, use Q estimate for center to fill weight_vec new = np.zeros((self.domain.actions_num, 1)) self.weight_vec = addNewElementForAllActions( self.weight_vec, self.domain.actions_num, new) class RandomLocalBases(LocalBases): def __init__(self, domain, kernel, num=100, resolution_min=5, resolution_max=None, seed=1, **kwargs): """ :param domain: domain to learn on. :param kernel: function handle to use for kernel function evaluations. :param num: Fixed number of feature (kernel) functions to use in EACH dimension. (for a total of features_num=numDims * num) :param resolution_min: resolution selected uniform random, lower bound. :param resolution_max: resolution selected uniform random, upper bound. :param seed: the random seed to use when scattering basis functions. Randomly scatter ``num`` feature functions throughout the domain, with sigma / noise parameter selected uniform random between ``resolution_min`` and ``resolution_max``. NOTE these are sensitive to the choice of coordinate (scale with coordinate units). """ self.features_num = num self.dim_widths = (domain.statespace_limits[:, 1] - domain.statespace_limits[:, 0]) self.resolution_max = resolution_max self.resolution_min = resolution_min super( RandomLocalBases, self).__init__( domain, kernel, seed=seed, **kwargs) self.centers = np.zeros((num, len(self.dim_widths))) self.widths = np.zeros((num, len(self.dim_widths))) self.init_randomization() def init_randomization(self): for i in xrange(self.features_num): for d in xrange(len(self.dim_widths)): self.centers[i, d] = self.random_state.uniform( self.domain.statespace_limits[d, 0], self.domain.statespace_limits[d, 1]) self.widths[i, d] = self.random_state.uniform( self.dim_widths[d] / self.resolution_max, self.dim_widths[d] / self.resolution_min)
bsd-3-clause
mcanthony/nupic
external/linux32/lib/python2.6/site-packages/matplotlib/offsetbox.py
69
17728
""" The OffsetBox is a simple container artist. The child artist are meant to be drawn at a relative position to its parent. The [VH]Packer, DrawingArea and TextArea are derived from the OffsetBox. The [VH]Packer automatically adjust the relative postisions of their children, which should be instances of the OffsetBox. This is used to align similar artists together, e.g., in legend. The DrawingArea can contain any Artist as a child. The DrawingArea has a fixed width and height. The position of children relative to the parent is fixed. The TextArea is contains a single Text instance. The width and height of the TextArea instance is the width and height of the its child text. """ import matplotlib.transforms as mtransforms import matplotlib.artist as martist import matplotlib.text as mtext import numpy as np from matplotlib.patches import bbox_artist as mbbox_artist DEBUG=False # for debuging use def bbox_artist(*args, **kwargs): if DEBUG: mbbox_artist(*args, **kwargs) # _get_packed_offsets() and _get_aligned_offsets() are coded assuming # that we are packing boxes horizontally. But same function will be # used with vertical packing. def _get_packed_offsets(wd_list, total, sep, mode="fixed"): """ Geiven a list of (width, xdescent) of each boxes, calculate the total width and the x-offset positions of each items according to *mode*. xdescent is analagous to the usual descent, but along the x-direction. xdescent values are currently ignored. *wd_list* : list of (width, xdescent) of boxes to be packed. *sep* : spacing between boxes *total* : Intended total length. None if not used. *mode* : packing mode. 'fixed', 'expand', or 'equal'. """ w_list, d_list = zip(*wd_list) # d_list is currently not used. if mode == "fixed": offsets_ = np.add.accumulate([0]+[w + sep for w in w_list]) offsets = offsets_[:-1] if total is None: total = offsets_[-1] - sep return total, offsets elif mode == "expand": sep = (total - sum(w_list))/(len(w_list)-1.) offsets_ = np.add.accumulate([0]+[w + sep for w in w_list]) offsets = offsets_[:-1] return total, offsets elif mode == "equal": maxh = max(w_list) if total is None: total = (maxh+sep)*len(w_list) else: sep = float(total)/(len(w_list)) - maxh offsets = np.array([(maxh+sep)*i for i in range(len(w_list))]) return total, offsets else: raise ValueError("Unknown mode : %s" % (mode,)) def _get_aligned_offsets(hd_list, height, align="baseline"): """ Geiven a list of (height, descent) of each boxes, align the boxes with *align* and calculate the y-offsets of each boxes. total width and the offset positions of each items according to *mode*. xdescent is analagous to the usual descent, but along the x-direction. xdescent values are currently ignored. *hd_list* : list of (width, xdescent) of boxes to be aligned. *sep* : spacing between boxes *height* : Intended total length. None if not used. *align* : align mode. 'baseline', 'top', 'bottom', or 'center'. """ if height is None: height = max([h for h, d in hd_list]) if align == "baseline": height_descent = max([h-d for h, d in hd_list]) descent = max([d for h, d in hd_list]) height = height_descent + descent offsets = [0. for h, d in hd_list] elif align in ["left","top"]: descent=0. offsets = [d for h, d in hd_list] elif align in ["right","bottom"]: descent=0. offsets = [height-h+d for h, d in hd_list] elif align == "center": descent=0. offsets = [(height-h)*.5+d for h, d in hd_list] else: raise ValueError("Unknown Align mode : %s" % (align,)) return height, descent, offsets class OffsetBox(martist.Artist): """ The OffsetBox is a simple container artist. The child artist are meant to be drawn at a relative position to its parent. """ def __init__(self, *args, **kwargs): super(OffsetBox, self).__init__(*args, **kwargs) self._children = [] self._offset = (0, 0) def set_figure(self, fig): """ Set the figure accepts a class:`~matplotlib.figure.Figure` instance """ martist.Artist.set_figure(self, fig) for c in self.get_children(): c.set_figure(fig) def set_offset(self, xy): """ Set the offset accepts x, y, tuple, or a callable object. """ self._offset = xy def get_offset(self, width, height, xdescent, ydescent): """ Get the offset accepts extent of the box """ if callable(self._offset): return self._offset(width, height, xdescent, ydescent) else: return self._offset def set_width(self, width): """ Set the width accepts float """ self.width = width def set_height(self, height): """ Set the height accepts float """ self.height = height def get_children(self): """ Return a list of artists it contains. """ return self._children def get_extent_offsets(self, renderer): raise Exception("") def get_extent(self, renderer): """ Return with, height, xdescent, ydescent of box """ w, h, xd, yd, offsets = self.get_extent_offsets(renderer) return w, h, xd, yd def get_window_extent(self, renderer): ''' get the bounding box in display space. ''' w, h, xd, yd, offsets = self.get_extent_offsets(renderer) px, py = self.get_offset(w, h, xd, yd) return mtransforms.Bbox.from_bounds(px-xd, py-yd, w, h) def draw(self, renderer): """ Update the location of children if necessary and draw them to the given *renderer*. """ width, height, xdescent, ydescent, offsets = self.get_extent_offsets(renderer) px, py = self.get_offset(width, height, xdescent, ydescent) for c, (ox, oy) in zip(self.get_children(), offsets): c.set_offset((px+ox, py+oy)) c.draw(renderer) bbox_artist(self, renderer, fill=False, props=dict(pad=0.)) class PackerBase(OffsetBox): def __init__(self, pad=None, sep=None, width=None, height=None, align=None, mode=None, children=None): """ *pad* : boundary pad *sep* : spacing between items *width*, *height* : width and height of the container box. calculated if None. *align* : alignment of boxes *mode* : packing mode """ super(PackerBase, self).__init__() self.height = height self.width = width self.sep = sep self.pad = pad self.mode = mode self.align = align self._children = children class VPacker(PackerBase): """ The VPacker has its children packed vertically. It automatically adjust the relative postisions of children in the drawing time. """ def __init__(self, pad=None, sep=None, width=None, height=None, align="baseline", mode="fixed", children=None): """ *pad* : boundary pad *sep* : spacing between items *width*, *height* : width and height of the container box. calculated if None. *align* : alignment of boxes *mode* : packing mode """ super(VPacker, self).__init__(pad, sep, width, height, align, mode, children) def get_extent_offsets(self, renderer): """ update offset of childrens and return the extents of the box """ whd_list = [c.get_extent(renderer) for c in self.get_children()] whd_list = [(w, h, xd, (h-yd)) for w, h, xd, yd in whd_list] wd_list = [(w, xd) for w, h, xd, yd in whd_list] width, xdescent, xoffsets = _get_aligned_offsets(wd_list, self.width, self.align) pack_list = [(h, yd) for w,h,xd,yd in whd_list] height, yoffsets_ = _get_packed_offsets(pack_list, self.height, self.sep, self.mode) yoffsets = yoffsets_ + [yd for w,h,xd,yd in whd_list] ydescent = height - yoffsets[0] yoffsets = height - yoffsets #w, h, xd, h_yd = whd_list[-1] yoffsets = yoffsets - ydescent return width + 2*self.pad, height + 2*self.pad, \ xdescent+self.pad, ydescent+self.pad, \ zip(xoffsets, yoffsets) class HPacker(PackerBase): """ The HPacker has its children packed horizontally. It automatically adjust the relative postisions of children in the drawing time. """ def __init__(self, pad=None, sep=None, width=None, height=None, align="baseline", mode="fixed", children=None): """ *pad* : boundary pad *sep* : spacing between items *width*, *height* : width and height of the container box. calculated if None. *align* : alignment of boxes *mode* : packing mode """ super(HPacker, self).__init__(pad, sep, width, height, align, mode, children) def get_extent_offsets(self, renderer): """ update offset of childrens and return the extents of the box """ whd_list = [c.get_extent(renderer) for c in self.get_children()] if self.height is None: height_descent = max([h-yd for w,h,xd,yd in whd_list]) ydescent = max([yd for w,h,xd,yd in whd_list]) height = height_descent + ydescent else: height = self.height - 2*self._pad # width w/o pad hd_list = [(h, yd) for w, h, xd, yd in whd_list] height, ydescent, yoffsets = _get_aligned_offsets(hd_list, self.height, self.align) pack_list = [(w, xd) for w,h,xd,yd in whd_list] width, xoffsets_ = _get_packed_offsets(pack_list, self.width, self.sep, self.mode) xoffsets = xoffsets_ + [xd for w,h,xd,yd in whd_list] xdescent=whd_list[0][2] xoffsets = xoffsets - xdescent return width + 2*self.pad, height + 2*self.pad, \ xdescent + self.pad, ydescent + self.pad, \ zip(xoffsets, yoffsets) class DrawingArea(OffsetBox): """ The DrawingArea can contain any Artist as a child. The DrawingArea has a fixed width and height. The position of children relative to the parent is fixed. """ def __init__(self, width, height, xdescent=0., ydescent=0., clip=True): """ *width*, *height* : width and height of the container box. *xdescent*, *ydescent* : descent of the box in x- and y-direction. """ super(DrawingArea, self).__init__() self.width = width self.height = height self.xdescent = xdescent self.ydescent = ydescent self.offset_transform = mtransforms.Affine2D() self.offset_transform.clear() self.offset_transform.translate(0, 0) def get_transform(self): """ Return the :class:`~matplotlib.transforms.Transform` applied to the children """ return self.offset_transform def set_transform(self, t): """ set_transform is ignored. """ pass def set_offset(self, xy): """ set offset of the container. Accept : tuple of x,y cooridnate in disokay units. """ self._offset = xy self.offset_transform.clear() self.offset_transform.translate(xy[0], xy[1]) def get_offset(self): """ return offset of the container. """ return self._offset def get_window_extent(self, renderer): ''' get the bounding box in display space. ''' w, h, xd, yd = self.get_extent(renderer) ox, oy = self.get_offset() #w, h, xd, yd) return mtransforms.Bbox.from_bounds(ox-xd, oy-yd, w, h) def get_extent(self, renderer): """ Return with, height, xdescent, ydescent of box """ return self.width, self.height, self.xdescent, self.ydescent def add_artist(self, a): 'Add any :class:`~matplotlib.artist.Artist` to the container box' self._children.append(a) a.set_transform(self.get_transform()) def draw(self, renderer): """ Draw the children """ for c in self._children: c.draw(renderer) bbox_artist(self, renderer, fill=False, props=dict(pad=0.)) class TextArea(OffsetBox): """ The TextArea is contains a single Text instance. The text is placed at (0,0) with baseline+left alignment. The width and height of the TextArea instance is the width and height of the its child text. """ def __init__(self, s, textprops=None, multilinebaseline=None, minimumdescent=True, ): """ *s* : a string to be displayed. *textprops* : property dictionary for the text *multilinebaseline* : If True, baseline for multiline text is adjusted so that it is (approximatedly) center-aligned with singleline text. *minimumdescent* : If True, the box has a minimum descent of "p". """ if textprops is None: textprops = {} if not textprops.has_key("va"): textprops["va"]="baseline" self._text = mtext.Text(0, 0, s, **textprops) OffsetBox.__init__(self) self._children = [self._text] self.offset_transform = mtransforms.Affine2D() self.offset_transform.clear() self.offset_transform.translate(0, 0) self._baseline_transform = mtransforms.Affine2D() self._text.set_transform(self.offset_transform+self._baseline_transform) self._multilinebaseline = multilinebaseline self._minimumdescent = minimumdescent def set_multilinebaseline(self, t): """ Set multilinebaseline . If True, baseline for multiline text is adjusted so that it is (approximatedly) center-aligned with singleline text. """ self._multilinebaseline = t def get_multilinebaseline(self): """ get multilinebaseline . """ return self._multilinebaseline def set_minimumdescent(self, t): """ Set minimumdescent . If True, extent of the single line text is adjusted so that it has minimum descent of "p" """ self._minimumdescent = t def get_minimumdescent(self): """ get minimumdescent. """ return self._minimumdescent def set_transform(self, t): """ set_transform is ignored. """ pass def set_offset(self, xy): """ set offset of the container. Accept : tuple of x,y cooridnate in disokay units. """ self._offset = xy self.offset_transform.clear() self.offset_transform.translate(xy[0], xy[1]) def get_offset(self): """ return offset of the container. """ return self._offset def get_window_extent(self, renderer): ''' get the bounding box in display space. ''' w, h, xd, yd = self.get_extent(renderer) ox, oy = self.get_offset() #w, h, xd, yd) return mtransforms.Bbox.from_bounds(ox-xd, oy-yd, w, h) def get_extent(self, renderer): clean_line, ismath = self._text.is_math_text(self._text._text) _, h_, d_ = renderer.get_text_width_height_descent( "lp", self._text._fontproperties, ismath=False) bbox, info = self._text._get_layout(renderer) w, h = bbox.width, bbox.height line = info[0][0] # first line _, hh, dd = renderer.get_text_width_height_descent( clean_line, self._text._fontproperties, ismath=ismath) self._baseline_transform.clear() if len(info) > 1 and self._multilinebaseline: # multi line d = h-(hh-dd) # the baseline of the first line d_new = 0.5 * h - 0.5 * (h_ - d_) self._baseline_transform.translate(0, d - d_new) d = d_new else: # single line h_d = max(h_ - d_, h-dd) if self.get_minimumdescent(): ## to have a minimum descent, #i.e., "l" and "p" have same ## descents. d = max(dd, d_) else: d = dd h = h_d + d return w, h, 0., d def draw(self, renderer): """ Draw the children """ self._text.draw(renderer) bbox_artist(self, renderer, fill=False, props=dict(pad=0.))
agpl-3.0
ahoyosid/scikit-learn
sklearn/tests/test_common.py
7
7677
""" General tests for all estimators in sklearn. """ # Authors: Andreas Mueller <amueller@ais.uni-bonn.de> # Gael Varoquaux gael.varoquaux@normalesup.org # License: BSD 3 clause from __future__ import print_function import os import warnings import sys import pkgutil from sklearn.externals.six import PY3 from sklearn.utils.testing import assert_false, clean_warning_registry from sklearn.utils.testing import all_estimators from sklearn.utils.testing import assert_greater from sklearn.utils.testing import assert_in from sklearn.utils.testing import ignore_warnings import sklearn from sklearn.cluster.bicluster import BiclusterMixin from sklearn.linear_model.base import LinearClassifierMixin from sklearn.utils.estimator_checks import ( _yield_all_checks, CROSS_DECOMPOSITION, check_parameters_default_constructible, check_class_weight_auto_linear_classifier, check_transformer_n_iter, check_non_transformer_estimators_n_iter, check_get_params_invariance) def test_all_estimator_no_base_class(): # test that all_estimators doesn't find abstract classes. for name, Estimator in all_estimators(): msg = ("Base estimators such as {0} should not be included" " in all_estimators").format(name) assert_false(name.lower().startswith('base'), msg=msg) def test_all_estimators(): # Test that estimators are default-constructible, clonable # and have working repr. estimators = all_estimators(include_meta_estimators=True) # Meta sanity-check to make sure that the estimator introspection runs # properly assert_greater(len(estimators), 0) for name, Estimator in estimators: # some can just not be sensibly default constructed yield check_parameters_default_constructible, name, Estimator def test_non_meta_estimators(): # input validation etc for non-meta estimators estimators = all_estimators() for name, Estimator in estimators: if issubclass(Estimator, BiclusterMixin): continue if name.endswith("HMM") or name.startswith("_"): continue for check in _yield_all_checks(name, Estimator): yield check, name, Estimator def test_configure(): # Smoke test the 'configure' step of setup, this tests all the # 'configure' functions in the setup.pys in the scikit cwd = os.getcwd() setup_path = os.path.abspath(os.path.join(sklearn.__path__[0], '..')) setup_filename = os.path.join(setup_path, 'setup.py') if not os.path.exists(setup_filename): return try: os.chdir(setup_path) old_argv = sys.argv sys.argv = ['setup.py', 'config'] clean_warning_registry() with warnings.catch_warnings(): # The configuration spits out warnings when not finding # Blas/Atlas development headers warnings.simplefilter('ignore', UserWarning) if PY3: with open('setup.py') as f: exec(f.read(), dict(__name__='__main__')) else: execfile('setup.py', dict(__name__='__main__')) finally: sys.argv = old_argv os.chdir(cwd) def test_class_weight_auto_linear_classifiers(): classifiers = all_estimators(type_filter='classifier') clean_warning_registry() with warnings.catch_warnings(record=True): linear_classifiers = [ (name, clazz) for name, clazz in classifiers if 'class_weight' in clazz().get_params().keys() and issubclass(clazz, LinearClassifierMixin)] for name, Classifier in linear_classifiers: if name == "LogisticRegressionCV": # Contrary to RidgeClassifierCV, LogisticRegressionCV use actual # CV folds and fit a model for each CV iteration before averaging # the coef. Therefore it is expected to not behave exactly as the # other linear model. continue yield check_class_weight_auto_linear_classifier, name, Classifier @ignore_warnings def test_import_all_consistency(): # Smoke test to check that any name in a __all__ list is actually defined # in the namespace of the module or package. pkgs = pkgutil.walk_packages(path=sklearn.__path__, prefix='sklearn.', onerror=lambda _: None) submods = [modname for _, modname, _ in pkgs] for modname in submods + ['sklearn']: if ".tests." in modname: continue package = __import__(modname, fromlist="dummy") for name in getattr(package, '__all__', ()): if getattr(package, name, None) is None: raise AttributeError( "Module '{0}' has no attribute '{1}'".format( modname, name)) def test_root_import_all_completeness(): EXCEPTIONS = ('utils', 'tests', 'base', 'setup') for _, modname, _ in pkgutil.walk_packages(path=sklearn.__path__, onerror=lambda _: None): if '.' in modname or modname.startswith('_') or modname in EXCEPTIONS: continue assert_in(modname, sklearn.__all__) def test_non_transformer_estimators_n_iter(): # Test that all estimators of type which are non-transformer # and which have an attribute of max_iter, return the attribute # of n_iter atleast 1. for est_type in ['regressor', 'classifier', 'cluster']: regressors = all_estimators(type_filter=est_type) for name, Estimator in regressors: # LassoLars stops early for the default alpha=1.0 for # the iris dataset. if name == 'LassoLars': estimator = Estimator(alpha=0.) else: estimator = Estimator() if hasattr(estimator, "max_iter"): # These models are dependent on external solvers like # libsvm and accessing the iter parameter is non-trivial. if name in (['Ridge', 'SVR', 'NuSVR', 'NuSVC', 'RidgeClassifier', 'SVC', 'RandomizedLasso', 'LogisticRegressionCV']): continue # Tested in test_transformer_n_iter below elif (name in CROSS_DECOMPOSITION or name in ['LinearSVC', 'LogisticRegression']): continue else: # Multitask models related to ENet cannot handle # if y is mono-output. yield (check_non_transformer_estimators_n_iter, name, estimator, 'Multi' in name) def test_transformer_n_iter(): transformers = all_estimators(type_filter='transformer') for name, Estimator in transformers: estimator = Estimator() # Dependent on external solvers and hence accessing the iter # param is non-trivial. external_solver = ['Isomap', 'KernelPCA', 'LocallyLinearEmbedding', 'RandomizedLasso', 'LogisticRegressionCV'] if hasattr(estimator, "max_iter") and name not in external_solver: yield check_transformer_n_iter, name, estimator def test_get_params_invariance(): # Test for estimators that support get_params, that # get_params(deep=False) is a subset of get_params(deep=True) # Related to issue #4465 estimators = all_estimators(include_meta_estimators=False, include_other=True) for name, Estimator in estimators: if hasattr(Estimator, 'get_params'): yield check_get_params_invariance, name, Estimator
bsd-3-clause
rsivapr/scikit-learn
sklearn/neighbors/graph.py
10
2847
"""Nearest Neighbors graph functions""" # Author: Jake Vanderplas <vanderplas@astro.washington.edu> # # License: BSD 3 clause (C) INRIA, University of Amsterdam from .base import KNeighborsMixin, RadiusNeighborsMixin from .unsupervised import NearestNeighbors def kneighbors_graph(X, n_neighbors, mode='connectivity'): """Computes the (weighted) graph of k-Neighbors for points in X Parameters ---------- X : array-like or BallTree, shape = [n_samples, n_features] Sample data, in the form of a numpy array or a precomputed :class:`BallTree`. n_neighbors : int Number of neighbors for each sample. mode : {'connectivity', 'distance'}, optional Type of returned matrix: 'connectivity' will return the connectivity matrix with ones and zeros, in 'distance' the edges are Euclidean distance between points. Returns ------- A : sparse matrix in CSR format, shape = [n_samples, n_samples] A[i, j] is assigned the weight of edge that connects i to j. Examples -------- >>> X = [[0], [3], [1]] >>> from sklearn.neighbors import kneighbors_graph >>> A = kneighbors_graph(X, 2) >>> A.todense() matrix([[ 1., 0., 1.], [ 0., 1., 1.], [ 1., 0., 1.]]) See also -------- radius_neighbors_graph """ if not isinstance(X, KNeighborsMixin): X = NearestNeighbors(n_neighbors).fit(X) return X.kneighbors_graph(X._fit_X, n_neighbors, mode=mode) def radius_neighbors_graph(X, radius, mode='connectivity'): """Computes the (weighted) graph of Neighbors for points in X Neighborhoods are restricted the points at a distance lower than radius. Parameters ---------- X : array-like or BallTree, shape = [n_samples, n_features] Sample data, in the form of a numpy array or a precomputed :class:`BallTree`. radius : float Radius of neighborhoods. mode : {'connectivity', 'distance'}, optional Type of returned matrix: 'connectivity' will return the connectivity matrix with ones and zeros, in 'distance' the edges are Euclidean distance between points. Returns ------- A : sparse matrix in CSR format, shape = [n_samples, n_samples] A[i, j] is assigned the weight of edge that connects i to j. Examples -------- >>> X = [[0], [3], [1]] >>> from sklearn.neighbors import radius_neighbors_graph >>> A = radius_neighbors_graph(X, 1.5) >>> A.todense() matrix([[ 1., 0., 1.], [ 0., 1., 0.], [ 1., 0., 1.]]) See also -------- kneighbors_graph """ if not isinstance(X, RadiusNeighborsMixin): X = NearestNeighbors(radius=radius).fit(X) return X.radius_neighbors_graph(X._fit_X, radius, mode)
bsd-3-clause
dsm054/pandas
asv_bench/benchmarks/plotting.py
3
1454
import numpy as np from pandas import DataFrame, Series, DatetimeIndex, date_range try: from pandas.plotting import andrews_curves except ImportError: from pandas.tools.plotting import andrews_curves import matplotlib matplotlib.use('Agg') class Plotting(object): def setup(self): self.s = Series(np.random.randn(1000000)) self.df = DataFrame({'col': self.s}) def time_series_plot(self): self.s.plot() def time_frame_plot(self): self.df.plot() class TimeseriesPlotting(object): def setup(self): N = 2000 M = 5 idx = date_range('1/1/1975', periods=N) self.df = DataFrame(np.random.randn(N, M), index=idx) idx_irregular = DatetimeIndex(np.concatenate((idx.values[0:10], idx.values[12:]))) self.df2 = DataFrame(np.random.randn(len(idx_irregular), M), index=idx_irregular) def time_plot_regular(self): self.df.plot() def time_plot_regular_compat(self): self.df.plot(x_compat=True) def time_plot_irregular(self): self.df2.plot() class Misc(object): def setup(self): N = 500 M = 10 self.df = DataFrame(np.random.randn(N, M)) self.df['Name'] = ["A"] * N def time_plot_andrews_curves(self): andrews_curves(self.df, "Name") from .pandas_vb_common import setup # noqa: F401
bsd-3-clause
yunque/librosa
librosa/core/spectrum.py
1
25275
#!/usr/bin/env python # -*- coding: utf-8 -*- '''Utilities for spectral processing''' import numpy as np import scipy.fftpack as fft import scipy import scipy.signal import six from . import time_frequency from .. import cache from .. import util from ..util.exceptions import ParameterError __all__ = ['stft', 'istft', 'magphase', 'ifgram', 'phase_vocoder', 'logamplitude', 'perceptual_weighting'] @cache def stft(y, n_fft=2048, hop_length=None, win_length=None, window=None, center=True, dtype=np.complex64): """Short-time Fourier transform (STFT) Returns a complex-valued matrix D such that `np.abs(D[f, t])` is the magnitude of frequency bin `f` at frame `t` `np.angle(D[f, t])` is the phase of frequency bin `f` at frame `t` Parameters ---------- y : np.ndarray [shape=(n,)], real-valued the input signal (audio time series) n_fft : int > 0 [scalar] FFT window size hop_length : int > 0 [scalar] number audio of frames between STFT columns. If unspecified, defaults `win_length / 4`. win_length : int <= n_fft [scalar] Each frame of audio is windowed by `window()`. The window will be of length `win_length` and then padded with zeros to match `n_fft`. If unspecified, defaults to ``win_length = n_fft``. window : None, function, np.ndarray [shape=(n_fft,)] - None (default): use an asymmetric Hann window - a window function, such as `scipy.signal.hanning` - a vector or array of length `n_fft` center : boolean - If `True`, the signal `y` is padded so that frame `D[:, t]` is centered at `y[t * hop_length]`. - If `False`, then `D[:, t]` begins at `y[t * hop_length]` dtype : numeric type Complex numeric type for `D`. Default is 64-bit complex. Returns ------- D : np.ndarray [shape=(1 + n_fft/2, t), dtype=dtype] STFT matrix Raises ------ ParameterError If `window` is supplied as a vector of length `n_fft`. See Also -------- istft : Inverse STFT ifgram : Instantaneous frequency spectrogram Examples -------- >>> y, sr = librosa.load(librosa.util.example_audio_file()) >>> D = librosa.stft(y) >>> D array([[ 2.576e-03 -0.000e+00j, 4.327e-02 -0.000e+00j, ..., 3.189e-04 -0.000e+00j, -5.961e-06 -0.000e+00j], [ 2.441e-03 +2.884e-19j, 5.145e-02 -5.076e-03j, ..., -3.885e-04 -7.253e-05j, 7.334e-05 +3.868e-04j], ..., [ -7.120e-06 -1.029e-19j, -1.951e-09 -3.568e-06j, ..., -4.912e-07 -1.487e-07j, 4.438e-06 -1.448e-05j], [ 7.136e-06 -0.000e+00j, 3.561e-06 -0.000e+00j, ..., -5.144e-07 -0.000e+00j, -1.514e-05 -0.000e+00j]], dtype=complex64) Use left-aligned frames, instead of centered frames >>> D_left = librosa.stft(y, center=False) Use a shorter hop length >>> D_short = librosa.stft(y, hop_length=64) Display a spectrogram >>> import matplotlib.pyplot as plt >>> librosa.display.specshow(librosa.logamplitude(np.abs(D)**2, ... ref_power=np.max), ... y_axis='log', x_axis='time') >>> plt.title('Power spectrogram') >>> plt.colorbar(format='%+2.0f dB') >>> plt.tight_layout() """ # By default, use the entire frame if win_length is None: win_length = n_fft # Set the default hop, if it's not already specified if hop_length is None: hop_length = int(win_length / 4) if window is None: # Default is an asymmetric Hann window fft_window = scipy.signal.hann(win_length, sym=False) elif six.callable(window): # User supplied a window function fft_window = window(win_length) else: # User supplied a window vector. # Make sure it's an array: fft_window = np.asarray(window) # validate length compatibility if fft_window.size != n_fft: raise ParameterError('Size mismatch between n_fft and len(window)') # Pad the window out to n_fft size fft_window = util.pad_center(fft_window, n_fft) # Reshape so that the window can be broadcast fft_window = fft_window.reshape((-1, 1)) # Pad the time series so that frames are centered if center: util.valid_audio(y) y = np.pad(y, int(n_fft // 2), mode='reflect') # Window the time series. y_frames = util.frame(y, frame_length=n_fft, hop_length=hop_length) # Pre-allocate the STFT matrix stft_matrix = np.empty((int(1 + n_fft // 2), y_frames.shape[1]), dtype=dtype, order='F') # how many columns can we fit within MAX_MEM_BLOCK? n_columns = int(util.MAX_MEM_BLOCK / (stft_matrix.shape[0] * stft_matrix.itemsize)) for bl_s in range(0, stft_matrix.shape[1], n_columns): bl_t = min(bl_s + n_columns, stft_matrix.shape[1]) # RFFT and Conjugate here to match phase from DPWE code stft_matrix[:, bl_s:bl_t] = fft.fft(fft_window * y_frames[:, bl_s:bl_t], axis=0)[:stft_matrix.shape[0]].conj() return stft_matrix @cache def istft(stft_matrix, hop_length=None, win_length=None, window=None, center=True, dtype=np.float32): """ Inverse short-time Fourier transform (ISTFT). Converts a complex-valued spectrogram `stft_matrix` to time-series `y` by minimizing the mean squared error between `stft_matrix` and STFT of `y` as described in [1]_. In general, window function, hop length and other parameters should be same as in stft, which mostly leads to perfect reconstruction of a signal from unmodified `stft_matrix`. .. [1] D. W. Griffin and J. S. Lim, "Signal estimation from modified short-time Fourier transform," IEEE Trans. ASSP, vol.32, no.2, pp.236–243, Apr. 1984. Parameters ---------- stft_matrix : np.ndarray [shape=(1 + n_fft/2, t)] STFT matrix from `stft` hop_length : int > 0 [scalar] Number of frames between STFT columns. If unspecified, defaults to `win_length / 4`. win_length : int <= n_fft = 2 * (stft_matrix.shape[0] - 1) When reconstructing the time series, each frame is windowed and each sample is normalized by the sum of squared window according to the `window` function (see below). If unspecified, defaults to `n_fft`. window : None, function, np.ndarray [shape=(n_fft,)] - None (default): use an asymmetric Hann window - a window function, such as `scipy.signal.hanning` - a user-specified window vector of length `n_fft` center : boolean - If `True`, `D` is assumed to have centered frames. - If `False`, `D` is assumed to have left-aligned frames. dtype : numeric type Real numeric type for `y`. Default is 32-bit float. Returns ------- y : np.ndarray [shape=(n,)] time domain signal reconstructed from `stft_matrix` Raises ------ ParameterError If `window` is supplied as a vector of length `n_fft` See Also -------- stft : Short-time Fourier Transform Examples -------- >>> y, sr = librosa.load(librosa.util.example_audio_file()) >>> D = librosa.stft(y) >>> y_hat = librosa.istft(D) >>> y_hat array([ -4.812e-06, -4.267e-06, ..., 6.271e-06, 2.827e-07], dtype=float32) """ n_fft = 2 * (stft_matrix.shape[0] - 1) # By default, use the entire frame if win_length is None: win_length = n_fft # Set the default hop, if it's not already specified if hop_length is None: hop_length = int(win_length / 4) if window is None: # Default is an asymmetric Hann window. ifft_window = scipy.signal.hann(win_length, sym=False) elif six.callable(window): # User supplied a windowing function ifft_window = window(win_length) else: # User supplied a window vector. # Make it into an array ifft_window = np.asarray(window) # Verify that the shape matches if ifft_window.size != n_fft: raise ParameterError('Size mismatch between n_fft and window size') # Pad out to match n_fft ifft_window = util.pad_center(ifft_window, n_fft) n_frames = stft_matrix.shape[1] expected_signal_len = n_fft + hop_length * (n_frames - 1) y = np.zeros(expected_signal_len, dtype=dtype) ifft_window_sum = np.zeros(expected_signal_len, dtype=dtype) ifft_window_square = ifft_window * ifft_window for i in range(n_frames): sample = i * hop_length spec = stft_matrix[:, i].flatten() spec = np.concatenate((spec.conj(), spec[-2:0:-1]), 0) ytmp = ifft_window * fft.ifft(spec).real y[sample:(sample + n_fft)] = y[sample:(sample + n_fft)] + ytmp ifft_window_sum[sample:(sample + n_fft)] += ifft_window_square # Normalize by sum of squared window approx_nonzero_indices = ifft_window_sum > util.SMALL_FLOAT y[approx_nonzero_indices] /= ifft_window_sum[approx_nonzero_indices] if center: y = y[int(n_fft // 2):-int(n_fft // 2)] return y def ifgram(y, sr=22050, n_fft=2048, hop_length=None, win_length=None, norm=False, center=True, ref_power=1e-6, clip=True, dtype=np.complex64): '''Compute the instantaneous frequency (as a proportion of the sampling rate) obtained as the time-derivative of the phase of the complex spectrum as described by [1]_. Calculates regular STFT as a side effect. .. [1] Abe, Toshihiko, Takao Kobayashi, and Satoshi Imai. "Harmonics tracking and pitch extraction based on instantaneous frequency." International Conference on Acoustics, Speech, and Signal Processing, ICASSP-95., Vol. 1. IEEE, 1995. Parameters ---------- y : np.ndarray [shape=(n,)] audio time series sr : number > 0 [scalar] sampling rate of `y` n_fft : int > 0 [scalar] FFT window size hop_length : int > 0 [scalar] hop length, number samples between subsequent frames. If not supplied, defaults to `win_length / 4`. win_length : int > 0, <= n_fft Window length. Defaults to `n_fft`. See `stft` for details. norm : bool Normalize the STFT. center : boolean - If `True`, the signal `y` is padded so that frame `D[:, t]` (and `if_gram`) is centered at `y[t * hop_length]`. - If `False`, then `D[:, t]` at `y[t * hop_length]` ref_power : float >= 0 or callable Minimum power threshold for estimating instantaneous frequency. Any bin with `np.abs(D[f, t])**2 < ref_power` will receive the default frequency estimate. If callable, the threshold is set to `ref_power(np.abs(D)**2)`. clip : boolean - If `True`, clip estimated frequencies to the range `[0, 0.5 * sr]`. - If `False`, estimated frequencies can be negative or exceed `0.5 * sr`. dtype : numeric type Complex numeric type for `D`. Default is 64-bit complex. Returns ------- if_gram : np.ndarray [shape=(1 + n_fft/2, t), dtype=real] Instantaneous frequency spectrogram: `if_gram[f, t]` is the frequency at bin `f`, time `t` D : np.ndarray [shape=(1 + n_fft/2, t), dtype=complex] Short-time Fourier transform See Also -------- stft : Short-time Fourier Transform Examples -------- >>> y, sr = librosa.load(librosa.util.example_audio_file()) >>> frequencies, D = librosa.ifgram(y, sr=sr) >>> frequencies array([[ 0.000e+00, 0.000e+00, ..., 0.000e+00, 0.000e+00], [ 3.150e+01, 3.070e+01, ..., 1.077e+01, 1.077e+01], ..., [ 1.101e+04, 1.101e+04, ..., 1.101e+04, 1.101e+04], [ 1.102e+04, 1.102e+04, ..., 1.102e+04, 1.102e+04]]) ''' if win_length is None: win_length = n_fft if hop_length is None: hop_length = int(win_length // 4) # Construct a padded hann window window = util.pad_center(scipy.signal.hann(win_length, sym=False), n_fft) # Window for discrete differentiation freq_angular = np.linspace(0, 2 * np.pi, n_fft, endpoint=False) d_window = np.sin(-freq_angular) * np.pi / n_fft stft_matrix = stft(y, n_fft=n_fft, hop_length=hop_length, window=window, center=center, dtype=dtype) diff_stft = stft(y, n_fft=n_fft, hop_length=hop_length, window=d_window, center=center, dtype=dtype).conj() # Compute power normalization. Suppress zeros. mag, phase = magphase(stft_matrix) if six.callable(ref_power): ref_power = ref_power(mag**2) elif ref_power < 0: raise ParameterError('ref_power must be non-negative or callable.') # Pylint does not correctly infer the type here, but it's correct. # pylint: disable=maybe-no-member freq_angular = freq_angular.reshape((-1, 1)) bin_offset = (phase * diff_stft).imag / mag bin_offset[mag < ref_power**0.5] = 0 if_gram = freq_angular[:n_fft//2 + 1] + bin_offset if norm: stft_matrix = stft_matrix * 2.0 / window.sum() if clip: np.clip(if_gram, 0, np.pi, out=if_gram) if_gram *= float(sr) * 0.5 / np.pi return if_gram, stft_matrix def magphase(D): """Separate a complex-valued spectrogram D into its magnitude (S) and phase (P) components, so that `D = S * P`. Parameters ---------- D : np.ndarray [shape=(d, t), dtype=complex] complex-valued spectrogram Returns ------- D_mag : np.ndarray [shape=(d, t), dtype=real] magnitude of `D` D_phase : np.ndarray [shape=(d, t), dtype=complex] `exp(1.j * phi)` where `phi` is the phase of `D` Examples -------- >>> y, sr = librosa.load(librosa.util.example_audio_file()) >>> D = librosa.stft(y) >>> magnitude, phase = librosa.magphase(D) >>> magnitude array([[ 2.524e-03, 4.329e-02, ..., 3.217e-04, 3.520e-05], [ 2.645e-03, 5.152e-02, ..., 3.283e-04, 3.432e-04], ..., [ 1.966e-05, 9.828e-06, ..., 3.164e-07, 9.370e-06], [ 1.966e-05, 9.830e-06, ..., 3.161e-07, 9.366e-06]], dtype=float32) >>> phase array([[ 1.000e+00 +0.000e+00j, 1.000e+00 +0.000e+00j, ..., -1.000e+00 +8.742e-08j, -1.000e+00 +8.742e-08j], [ 1.000e+00 +1.615e-16j, 9.950e-01 -1.001e-01j, ..., 9.794e-01 +2.017e-01j, 1.492e-02 -9.999e-01j], ..., [ 1.000e+00 -5.609e-15j, -5.081e-04 +1.000e+00j, ..., -9.549e-01 -2.970e-01j, 2.938e-01 -9.559e-01j], [ -1.000e+00 +8.742e-08j, -1.000e+00 +8.742e-08j, ..., -1.000e+00 +8.742e-08j, -1.000e+00 +8.742e-08j]], dtype=complex64) Or get the phase angle (in radians) >>> np.angle(phase) array([[ 0.000e+00, 0.000e+00, ..., 3.142e+00, 3.142e+00], [ 1.615e-16, -1.003e-01, ..., 2.031e-01, -1.556e+00], ..., [ -5.609e-15, 1.571e+00, ..., -2.840e+00, -1.273e+00], [ 3.142e+00, 3.142e+00, ..., 3.142e+00, 3.142e+00]], dtype=float32) """ mag = np.abs(D) phase = np.exp(1.j * np.angle(D)) return mag, phase @cache def phase_vocoder(D, rate, hop_length=None): """Phase vocoder. Given an STFT matrix D, speed up by a factor of `rate` Based on the implementation provided by [1]_. .. [1] Ellis, D. P. W. "A phase vocoder in Matlab." Columbia University, 2002. http://www.ee.columbia.edu/~dpwe/resources/matlab/pvoc/ Examples -------- >>> # Play at double speed >>> y, sr = librosa.load(librosa.util.example_audio_file()) >>> D = librosa.stft(y, n_fft=2048, hop_length=512) >>> D_fast = librosa.phase_vocoder(D, 2.0, hop_length=512) >>> y_fast = librosa.istft(D_fast, hop_length=512) >>> # Or play at 1/3 speed >>> y, sr = librosa.load(librosa.util.example_audio_file()) >>> D = librosa.stft(y, n_fft=2048, hop_length=512) >>> D_slow = librosa.phase_vocoder(D, 1./3, hop_length=512) >>> y_slow = librosa.istft(D_slow, hop_length=512) Parameters ---------- D : np.ndarray [shape=(d, t), dtype=complex] STFT matrix rate : float > 0 [scalar] Speed-up factor: `rate > 1` is faster, `rate < 1` is slower. hop_length : int > 0 [scalar] or None The number of samples between successive columns of `D`. If None, defaults to `n_fft/4 = (D.shape[0]-1)/2` Returns ------- D_stretched : np.ndarray [shape=(d, t / rate), dtype=complex] time-stretched STFT """ n_fft = 2 * (D.shape[0] - 1) if hop_length is None: hop_length = int(n_fft // 4) time_steps = np.arange(0, D.shape[1], rate, dtype=np.float) # Create an empty output array d_stretch = np.zeros((D.shape[0], len(time_steps)), D.dtype, order='F') # Expected phase advance in each bin phi_advance = np.linspace(0, np.pi * hop_length, D.shape[0]) # Phase accumulator; initialize to the first sample phase_acc = np.angle(D[:, 0]) # Pad 0 columns to simplify boundary logic D = np.pad(D, [(0, 0), (0, 2)], mode='constant') for (t, step) in enumerate(time_steps): columns = D[:, int(step):int(step + 2)] # Weighting for linear magnitude interpolation alpha = np.mod(step, 1.0) mag = ((1.0 - alpha) * np.abs(columns[:, 0]) + alpha * np.abs(columns[:, 1])) # Store to output array d_stretch[:, t] = mag * np.exp(1.j * phase_acc) # Compute phase advance dphase = (np.angle(columns[:, 1]) - np.angle(columns[:, 0]) - phi_advance) # Wrap to -pi:pi range dphase = dphase - 2.0 * np.pi * np.round(dphase / (2.0 * np.pi)) # Accumulate phase phase_acc += phi_advance + dphase return d_stretch @cache def logamplitude(S, ref_power=1.0, amin=1e-10, top_db=80.0): """Log-scale the amplitude of a spectrogram. Parameters ---------- S : np.ndarray [shape=(d, t)] input spectrogram ref_power : scalar or function If scalar, `log(abs(S))` is compared to `log(ref_power)`. If a function, `log(abs(S))` is compared to `log(ref_power(abs(S)))`. This is primarily useful for comparing to the maximum value of `S`. amin : float > 0[scalar] minimum amplitude threshold for `abs(S)` and `ref_power` top_db : float >= 0 [scalar] threshold log amplitude at top_db below the peak: ``max(log(S)) - top_db`` Returns ------- log_S : np.ndarray [shape=(d, t)] ``log_S ~= 10 * log10(S) - 10 * log10(abs(ref_power))`` See Also -------- perceptual_weighting Examples -------- Get a power spectrogram from a waveform ``y`` >>> y, sr = librosa.load(librosa.util.example_audio_file()) >>> S = np.abs(librosa.stft(y)) >>> librosa.logamplitude(S**2) array([[-33.293, -27.32 , ..., -33.293, -33.293], [-33.293, -25.723, ..., -33.293, -33.293], ..., [-33.293, -33.293, ..., -33.293, -33.293], [-33.293, -33.293, ..., -33.293, -33.293]], dtype=float32) Compute dB relative to peak power >>> librosa.logamplitude(S**2, ref_power=np.max) array([[-80. , -74.027, ..., -80. , -80. ], [-80. , -72.431, ..., -80. , -80. ], ..., [-80. , -80. , ..., -80. , -80. ], [-80. , -80. , ..., -80. , -80. ]], dtype=float32) Or compare to median power >>> librosa.logamplitude(S**2, ref_power=np.median) array([[-0.189, 5.784, ..., -0.189, -0.189], [-0.189, 7.381, ..., -0.189, -0.189], ..., [-0.189, -0.189, ..., -0.189, -0.189], [-0.189, -0.189, ..., -0.189, -0.189]], dtype=float32) And plot the results >>> import matplotlib.pyplot as plt >>> plt.figure() >>> plt.subplot(2, 1, 1) >>> librosa.display.specshow(S**2, sr=sr, y_axis='log', x_axis='time') >>> plt.colorbar() >>> plt.title('Power spectrogram') >>> plt.subplot(2, 1, 2) >>> librosa.display.specshow(librosa.logamplitude(S**2, ref_power=np.max), ... sr=sr, y_axis='log', x_axis='time') >>> plt.colorbar(format='%+2.0f dB') >>> plt.title('Log-Power spectrogram') >>> plt.tight_layout() """ if amin <= 0: raise ParameterError('amin must be strictly positive') magnitude = np.abs(S) if six.callable(ref_power): # User supplied a function to calculate reference power __ref = ref_power(magnitude) else: __ref = np.abs(ref_power) log_spec = 10.0 * np.log10(np.maximum(amin, magnitude)) log_spec -= 10.0 * np.log10(np.maximum(amin, __ref)) if top_db is not None: if top_db < 0: raise ParameterError('top_db must be non-negative positive') log_spec = np.maximum(log_spec, log_spec.max() - top_db) return log_spec @cache def perceptual_weighting(S, frequencies, **kwargs): '''Perceptual weighting of a power spectrogram: `S_p[f] = A_weighting(f) + 10*log(S[f] / ref_power)` Parameters ---------- S : np.ndarray [shape=(d, t)] Power spectrogram frequencies : np.ndarray [shape=(d,)] Center frequency for each row of `S` kwargs : additional keyword arguments Additional keyword arguments to `logamplitude`. Returns ------- S_p : np.ndarray [shape=(d, t)] perceptually weighted version of `S` See Also -------- logamplitude Examples -------- Re-weight a CQT power spectrum, using peak power as reference >>> y, sr = librosa.load(librosa.util.example_audio_file()) >>> CQT = librosa.cqt(y, sr=sr, fmin=librosa.note_to_hz('A1')) >>> freqs = librosa.cqt_frequencies(CQT.shape[0], ... fmin=librosa.note_to_hz('A1')) >>> perceptual_CQT = librosa.perceptual_weighting(CQT**2, ... freqs, ... ref_power=np.max) >>> perceptual_CQT array([[ -80.076, -80.049, ..., -104.735, -104.735], [ -78.344, -78.555, ..., -103.725, -103.725], ..., [ -76.272, -76.272, ..., -76.272, -76.272], [ -76.485, -76.485, ..., -76.485, -76.485]]) >>> import matplotlib.pyplot as plt >>> plt.figure() >>> plt.subplot(2, 1, 1) >>> librosa.display.specshow(librosa.logamplitude(CQT**2, ... ref_power=np.max), ... fmin=librosa.note_to_hz('A1'), ... y_axis='cqt_hz', ... x_axis='time') >>> plt.title('Log CQT power') >>> plt.colorbar(format='%+2.0f dB') >>> plt.subplot(2, 1, 2) >>> librosa.display.specshow(perceptual_CQT, y_axis='cqt_hz', ... fmin=librosa.note_to_hz('A1'), ... x_axis='time') >>> plt.title('Perceptually weighted log CQT') >>> plt.colorbar(format='%+2.0f dB') >>> plt.tight_layout() ''' offset = time_frequency.A_weighting(frequencies).reshape((-1, 1)) return offset + logamplitude(S, **kwargs) @cache def _spectrogram(y=None, S=None, n_fft=2048, hop_length=512, power=1): '''Helper function to retrieve a magnitude spectrogram. This is primarily used in feature extraction functions that can operate on either audio time-series or spectrogram input. Parameters ---------- y : None or np.ndarray [ndim=1] If provided, an audio time series S : None or np.ndarray Spectrogram input, optional n_fft : int > 0 STFT window size hop_length : int > 0 STFT hop length power : float > 0 Exponent for the magnitude spectrogram, e.g., 1 for energy, 2 for power, etc. Returns ------- S_out : np.ndarray [dtype=np.float32] - If `S` is provided as input, then `S_out == S` - Else, `S_out = |stft(y, n_fft=n_fft, hop_length=hop_length)|**power` n_fft : int > 0 - If `S` is provided, then `n_fft` is inferred from `S` - Else, copied from input ''' if S is not None: # Infer n_fft from spectrogram shape n_fft = 2 * (S.shape[0] - 1) else: # Otherwise, compute a magnitude spectrogram from input S = np.abs(stft(y, n_fft=n_fft, hop_length=hop_length))**power return S, n_fft
isc
preghenella/AliPhysics
PWGPP/FieldParam/fitsol.py
39
8343
#!/usr/bin/env python debug = True # enable trace def trace(x): global debug if debug: print(x) trace("loading...") from itertools import combinations, combinations_with_replacement from glob import glob from math import * import operator from os.path import basename import matplotlib.pyplot as plt import numpy as np import pandas as pd import sklearn.linear_model import sklearn.feature_selection import datetime def prec_from_pathname(path): if '2k' in path: return 0.002 elif '5k' in path: return 0.005 else: raise AssertionError('Unknown field strengh: %s' % path) # ['x', 'y', 'z', 'xx', 'xy', 'xz', 'yy', ...] def combinatrial_vars(vars_str='xyz', length=3): term_list = [] for l in range(length): term_list.extend([''.join(v) for v in combinations_with_replacement(list(vars_str), 1 + l)]) return term_list # product :: a#* => [a] -> a def product(xs): return reduce(operator.mul, xs, 1) # foldl in Haskell # (XYZ, "xx") -> XX def term(dataframe, vars_str): return product(map(lambda x: dataframe[x], list(vars_str))) # (f(X), Y) -> (max deviation, max%, avg dev, avg%) def deviation_stat(fX, Y, prec=0.005): dev = np.abs(fX - Y) (max_dev, avg_dev) = (dev.max(axis=0), dev.mean(axis=0)) (max_pct, avg_pct) = (max_dev / prec * 100, avg_dev / prec * 100) return (max_dev, max_pct, avg_dev, avg_pct) # IO Df def load_samples(path, cylindrical_axis=True, absolute_axis=True, genvars=[]): sample_cols = ['x', 'y', 'z', 'Bx', 'By', 'Bz'] df = pd.read_csv(path, sep=' ', names=sample_cols) if cylindrical_axis: df['r'] = np.sqrt(df.x**2 + df.y**2) df['p'] = np.arctan2(df.y, df.x) df['Bt'] = np.sqrt(df.Bx**2 + df.By**2) df['Bpsi'] = np.arctan2(df.By, df.Bx) - np.arctan2(df.y, df.x) df['Br'] = df.Bt * np.cos(df.Bpsi) df['Bp'] = df.Bt * np.sin(df.Bpsi) if absolute_axis: df['X'] = np.abs(df.x) df['Y'] = np.abs(df.y) df['Z'] = np.abs(df.z) for var in genvars: df[var] = term(df, var) return df def choose(vars, df1, df2): X1 = df1.loc[:, vars].as_matrix() X2 = df2.loc[:, vars].as_matrix() return (X1, X2) # IO () def run_analysis_for_all_fields(): sample_set = glob("dat_z22/*2k*.sample.dat") test_set = glob("dat_z22/*2k*.test.dat") #print(sample_set, test_set) assert(len(sample_set) == len(test_set) and len(sample_set) > 0) result = pd.DataFrame() for i, sample_file in enumerate(sample_set): trace("run_analysis('%s', '%s')" % (sample_file, test_set[i])) df = run_analysis(sample_file, test_set[i]) result = result.append(df, ignore_index=True) write_header(result) def run_analysis(sample_file = 'dat_z22/tpc2k-z0-q2.sample.dat', test_file = 'dat_z22/tpc2k-z0-q2.test.dat'): global precision, df, test, lr, la, xvars_full, xvars, yvars, X, Y, Xtest, Ytest, ana_result precision = prec_from_pathname(sample_file) assert(precision == prec_from_pathname(test_file)) xvars_full = combinatrial_vars('xyz', 3)[3:] # variables except x, y, z upto 3 dims trace("reading training samples... " + sample_file) df = load_samples(sample_file, genvars=xvars_full) trace("reading test samples..." + test_file) test = load_samples(test_file, genvars=xvars_full) trace("linear regression fit...") lr = sklearn.linear_model.LinearRegression() #ri = sklearn.linear_model.RidgeCV() #la = sklearn.linear_model.LassoCV() fs = sklearn.feature_selection.RFE(lr, 1, verbose=0) #xvars = ['x','y','z','xx','yy','zz','xy','yz','xz','xzz','yzz'] #xvars = ["xx", "yy", "zz", 'x', 'y', 'z', 'xzz', 'yzz'] #xvars = ['xxxr', 'xrrX', 'zzrX', 'p', 'xyrr', 'xzzr', 'xrrY', 'xzrX', 'xxxz', 'xzzr'] #xvars=['x', 'xzz', 'xyz', 'yz', 'yy', 'zz', 'xy', 'xx', 'z', 'y', 'xz', 'yzz'] yvars = ['Bx', 'By', 'Bz'] #yvars = ['Bz'] (Y, Ytest) = choose(yvars, df, test) #(Y, Ytest) = (df['Bz'], test['Bz']) xvars = combinatrial_vars('xyz', 3) # use all terms upto 3rd power (X, Xtest) = choose(xvars, df, test) for y in yvars: fs.fit(X, df[y]) res = pd.DataFrame({ "term": xvars, "rank": fs.ranking_ }) trace(y) trace(res.sort_values(by = "rank")) #xvars=list(res.sort_values(by="rank")[:26]['term']) lr.fit(X, Y) trace(', '.join(yvars) + " = 1 + " + ' + '.join(xvars)) test_dev = deviation_stat(lr.predict(Xtest), Ytest, prec=precision) #for i in range(len(yvars)): # arr = [lr.intercept_[i]] + lr.coef_[i] # arr = [ str(x) for x in arr ] # print(yvars[i] + " = { " + ', '.join(arr) + " }") # print("deviation stat [test]: max %.2e (%.1f%%) avg %.2e (%.1f%%)" % # ( test_dev[0][i], test_dev[1][i], test_dev[2][i], test_dev[3][i] )) (sample_score, test_score) = (lr.score(X, Y), lr.score(Xtest, Ytest)) trace("linear regression R^2 [train data]: %.8f" % sample_score) trace("linear regression R^2 [test data] : %.8f" % test_score) return pd.DataFrame( { "xvars": [xvars], "yvars": [yvars], "max_dev": [test_dev[0]], "max%": [test_dev[1]], "avg_dev": [test_dev[2]], "avg%": [test_dev[3]], "sample_score": [sample_score], "score": [test_score], "coeffs": [lr.coef_], "intercept": [lr.intercept_], "sample_file": [sample_file], "test_file": [test_file], "precision": [precision], "volume_id": [volume_id_from_path(sample_file)] }) def volume_id_from_path(path): return basename(path)\ .replace('.sample.dat', '')\ .replace('-', '_') def get_location_by_volume_id(id): if 'its' in id: r_bin = 0 if 'tpc' in id: r_bin = 1 if 'tof' in id: r_bin = 2 if 'tofext' in id: r_bin = 3 if 'cal' in id: r_bin = 4 z_bin = int(id.split('_')[1][1:]) # "tofext2k_z0_q4" -> 0 if 'q1' in id: quadrant = 0 if 'q2' in id: quadrant = 1 if 'q3' in id: quadrant = 2 if 'q4' in id: quadrant = 3 return r_bin, z_bin, quadrant def write_header(result): #result.to_csv("magfield_params.csv") #result.to_html("magfield_params.html") print("# This file was generated from sysid.py at " + str(datetime.datetime.today())) print("# " + ', '.join(result.iloc[0].yvars) + " = 1 + " + ' + '.join(result.iloc[0].xvars)) print("# barrel r: 0 < its < 80 < tpc < 250 < tof < 400 < tofext < 423 < cal < 500") print("# barrel z: -550 < z < 550") print("# phi: 0 < q1 < 0.5pi < q2 < pi < q3 < 1.5pi < q4 < 2pi") print("# header: Rbin Zbin Quadrant Nval_per_compoment(=20)") print("# data: Nval_per_compoment x floats") #print("# R^2: coefficient of determination in multiple linear regression. [0,1]") print("") for index, row in result.iterrows(): #print("// ** %s - R^2 %s" % (row.volume_id, row.score)) print("#" + row.volume_id) r_bin, z_bin, quadrant = get_location_by_volume_id(row.volume_id) print("%s %s %s 20" % (r_bin, z_bin, quadrant)) for i, yvar in enumerate(row.yvars): name = row.volume_id #+ '_' + yvar.lower() print("# precision: tgt %.2e max %.2e (%.1f%%) avg %.2e (%.1f%%)" % (row['precision'], row['max_dev'][i], row['max%'][i], row['avg_dev'][i], row['avg%'][i])) coef = [row['intercept'][i]] + list(row['coeffs'][i]) arr = [ "%.5e" % x for x in coef ] body = ' '.join(arr) #decl = "const double[] %s = { %s };\n" % (name, body) #print(decl) print(body) print("") #write_header(run_analysis()) run_analysis_for_all_fields() #for i in range(10): # for xvars in combinations(xvars_full, i+1): #(X, Xtest) = choose(xvars, df, test) #lr.fit(X, Y) #ri.fit(X, Y) #la.fit(X, Y) #fs.fit(X, Y) #print xvars #(sample_score, test_score) = (lr.score(X, Y), lr.score(Xtest, Ytest)) #print("linear R^2[sample] %.8f" % sample_score) #print("linear R^2[test] %.8f" % test_score) #(sample_score2, test_score2) = (la.score(X, Y), la.score(Xtest, Ytest)) #print("lasso R^2[sample] %.8f" % sample_score2) #print("lasso R^2[test] %.8f" % test_score2) #print(la.coef_) #for i in range(len(yvars)): # print(yvars[i]) # print(pd.DataFrame({"Name": xvars, "Params": lr.coef_[i]}).sort_values(by='Params')) # print("+ %e" % lr.intercept_[i]) #sample_dev = deviation_stat(lr.predict(X), Y, prec=precision) #test_dev = deviation_stat(lr.predict(Xtest), Ytest, prec=precision) #test_dev2 = deviation_stat(la.predict(Xtest), Ytest, prec=precision) #print("[sample] max %.2e (%.1f%%) avg %.2e (%.1f%%)" % sample_dev) #print("[test] max %.2e (%.1f%%) avg %.2e (%.1f%%)" % test_dev ) #print("lasso [test] max %.2e (%.1f%%) avg %.2e (%.1f%%)" % test_dev2 )
bsd-3-clause
AtsushiSakai/PythonRobotics
PathPlanning/AStar/a_star_searching_from_two_side.py
1
13901
""" A* algorithm Author: Weicent randomly generate obstacles, start and goal point searching path from start and end simultaneously """ import numpy as np import matplotlib.pyplot as plt import math show_animation = True class Node: """node with properties of g, h, coordinate and parent node""" def __init__(self, G=0, H=0, coordinate=None, parent=None): self.G = G self.H = H self.F = G + H self.parent = parent self.coordinate = coordinate def reset_f(self): self.F = self.G + self.H def hcost(node_coordinate, goal): dx = abs(node_coordinate[0] - goal[0]) dy = abs(node_coordinate[1] - goal[1]) hcost = dx + dy return hcost def gcost(fixed_node, update_node_coordinate): dx = abs(fixed_node.coordinate[0] - update_node_coordinate[0]) dy = abs(fixed_node.coordinate[1] - update_node_coordinate[1]) gc = math.hypot(dx, dy) # gc = move from fixed_node to update_node gcost = fixed_node.G + gc # gcost = move from start point to update_node return gcost def boundary_and_obstacles(start, goal, top_vertex, bottom_vertex, obs_number): """ :param start: start coordinate :param goal: goal coordinate :param top_vertex: top right vertex coordinate of boundary :param bottom_vertex: bottom left vertex coordinate of boundary :param obs_number: number of obstacles generated in the map :return: boundary_obstacle array, obstacle list """ # below can be merged into a rectangle boundary ay = list(range(bottom_vertex[1], top_vertex[1])) ax = [bottom_vertex[0]] * len(ay) cy = ay cx = [top_vertex[0]] * len(cy) bx = list(range(bottom_vertex[0] + 1, top_vertex[0])) by = [bottom_vertex[1]] * len(bx) dx = [bottom_vertex[0]] + bx + [top_vertex[0]] dy = [top_vertex[1]] * len(dx) # generate random obstacles ob_x = np.random.randint(bottom_vertex[0] + 1, top_vertex[0], obs_number).tolist() ob_y = np.random.randint(bottom_vertex[1] + 1, top_vertex[1], obs_number).tolist() # x y coordinate in certain order for boundary x = ax + bx + cx + dx y = ay + by + cy + dy obstacle = np.vstack((ob_x, ob_y)).T.tolist() # remove start and goal coordinate in obstacle list obstacle = [coor for coor in obstacle if coor != start and coor != goal] obs_array = np.array(obstacle) bound = np.vstack((x, y)).T bound_obs = np.vstack((bound, obs_array)) return bound_obs, obstacle def find_neighbor(node, ob, closed): # generate neighbors in certain condition ob_list = ob.tolist() neighbor: list = [] for x in range(node.coordinate[0] - 1, node.coordinate[0] + 2): for y in range(node.coordinate[1] - 1, node.coordinate[1] + 2): if [x, y] not in ob_list: # find all possible neighbor nodes neighbor.append([x, y]) # remove node violate the motion rule # 1. remove node.coordinate itself neighbor.remove(node.coordinate) # 2. remove neighbor nodes who cross through two diagonal # positioned obstacles since there is no enough space for # robot to go through two diagonal positioned obstacles # top bottom left right neighbors of node top_nei = [node.coordinate[0], node.coordinate[1] + 1] bottom_nei = [node.coordinate[0], node.coordinate[1] - 1] left_nei = [node.coordinate[0] - 1, node.coordinate[1]] right_nei = [node.coordinate[0] + 1, node.coordinate[1]] # neighbors in four vertex lt_nei = [node.coordinate[0] - 1, node.coordinate[1] + 1] rt_nei = [node.coordinate[0] + 1, node.coordinate[1] + 1] lb_nei = [node.coordinate[0] - 1, node.coordinate[1] - 1] rb_nei = [node.coordinate[0] + 1, node.coordinate[1] - 1] # remove the unnecessary neighbors if top_nei and left_nei in ob_list and lt_nei in neighbor: neighbor.remove(lt_nei) if top_nei and right_nei in ob_list and rt_nei in neighbor: neighbor.remove(rt_nei) if bottom_nei and left_nei in ob_list and lb_nei in neighbor: neighbor.remove(lb_nei) if bottom_nei and right_nei in ob_list and rb_nei in neighbor: neighbor.remove(rb_nei) neighbor = [x for x in neighbor if x not in closed] return neighbor def find_node_index(coordinate, node_list): # find node index in the node list via its coordinate ind = 0 for node in node_list: if node.coordinate == coordinate: target_node = node ind = node_list.index(target_node) break return ind def find_path(open_list, closed_list, goal, obstacle): # searching for the path, update open and closed list # obstacle = obstacle and boundary flag = len(open_list) for i in range(flag): node = open_list[0] open_coordinate_list = [node.coordinate for node in open_list] closed_coordinate_list = [node.coordinate for node in closed_list] temp = find_neighbor(node, obstacle, closed_coordinate_list) for element in temp: if element in closed_list: continue elif element in open_coordinate_list: # if node in open list, update g value ind = open_coordinate_list.index(element) new_g = gcost(node, element) if new_g <= open_list[ind].G: open_list[ind].G = new_g open_list[ind].reset_f() open_list[ind].parent = node else: # new coordinate, create corresponding node ele_node = Node(coordinate=element, parent=node, G=gcost(node, element), H=hcost(element, goal)) open_list.append(ele_node) open_list.remove(node) closed_list.append(node) open_list.sort(key=lambda x: x.F) return open_list, closed_list def node_to_coordinate(node_list): # convert node list into coordinate list and array coordinate_list = [node.coordinate for node in node_list] return coordinate_list def check_node_coincide(close_ls1, closed_ls2): """ :param close_ls1: node closed list for searching from start :param closed_ls2: node closed list for searching from end :return: intersect node list for above two """ # check if node in close_ls1 intersect with node in closed_ls2 cl1 = node_to_coordinate(close_ls1) cl2 = node_to_coordinate(closed_ls2) intersect_ls = [node for node in cl1 if node in cl2] return intersect_ls def find_surrounding(coordinate, obstacle): # find obstacles around node, help to draw the borderline boundary: list = [] for x in range(coordinate[0] - 1, coordinate[0] + 2): for y in range(coordinate[1] - 1, coordinate[1] + 2): if [x, y] in obstacle: boundary.append([x, y]) return boundary def get_border_line(node_closed_ls, obstacle): # if no path, find border line which confine goal or robot border: list = [] coordinate_closed_ls = node_to_coordinate(node_closed_ls) for coordinate in coordinate_closed_ls: temp = find_surrounding(coordinate, obstacle) border = border + temp border_ary = np.array(border) return border_ary def get_path(org_list, goal_list, coordinate): # get path from start to end path_org: list = [] path_goal: list = [] ind = find_node_index(coordinate, org_list) node = org_list[ind] while node != org_list[0]: path_org.append(node.coordinate) node = node.parent path_org.append(org_list[0].coordinate) ind = find_node_index(coordinate, goal_list) node = goal_list[ind] while node != goal_list[0]: path_goal.append(node.coordinate) node = node.parent path_goal.append(goal_list[0].coordinate) path_org.reverse() path = path_org + path_goal path = np.array(path) return path def random_coordinate(bottom_vertex, top_vertex): # generate random coordinates inside maze coordinate = [np.random.randint(bottom_vertex[0] + 1, top_vertex[0]), np.random.randint(bottom_vertex[1] + 1, top_vertex[1])] return coordinate def draw(close_origin, close_goal, start, end, bound): # plot the map if not close_goal.tolist(): # ensure the close_goal not empty # in case of the obstacle number is really large (>4500), the # origin is very likely blocked at the first search, and then # the program is over and the searching from goal to origin # will not start, which remain the closed_list for goal == [] # in order to plot the map, add the end coordinate to array close_goal = np.array([end]) plt.cla() plt.gcf().set_size_inches(11, 9, forward=True) plt.axis('equal') plt.plot(close_origin[:, 0], close_origin[:, 1], 'oy') plt.plot(close_goal[:, 0], close_goal[:, 1], 'og') plt.plot(bound[:, 0], bound[:, 1], 'sk') plt.plot(end[0], end[1], '*b', label='Goal') plt.plot(start[0], start[1], '^b', label='Origin') plt.legend() plt.pause(0.0001) def draw_control(org_closed, goal_closed, flag, start, end, bound, obstacle): """ control the plot process, evaluate if the searching finished flag == 0 : draw the searching process and plot path flag == 1 or 2 : start or end is blocked, draw the border line """ stop_loop = 0 # stop sign for the searching org_closed_ls = node_to_coordinate(org_closed) org_array = np.array(org_closed_ls) goal_closed_ls = node_to_coordinate(goal_closed) goal_array = np.array(goal_closed_ls) path = None if show_animation: # draw the searching process draw(org_array, goal_array, start, end, bound) if flag == 0: node_intersect = check_node_coincide(org_closed, goal_closed) if node_intersect: # a path is find path = get_path(org_closed, goal_closed, node_intersect[0]) stop_loop = 1 print('Path is find!') if show_animation: # draw the path plt.plot(path[:, 0], path[:, 1], '-r') plt.title('Robot Arrived', size=20, loc='center') plt.pause(0.01) plt.show() elif flag == 1: # start point blocked first stop_loop = 1 print('There is no path to the goal! Start point is blocked!') elif flag == 2: # end point blocked first stop_loop = 1 print('There is no path to the goal! End point is blocked!') if show_animation: # blocked case, draw the border line info = 'There is no path to the goal!' \ ' Robot&Goal are split by border' \ ' shown in red \'x\'!' if flag == 1: border = get_border_line(org_closed, obstacle) plt.plot(border[:, 0], border[:, 1], 'xr') plt.title(info, size=14, loc='center') plt.pause(0.01) plt.show() elif flag == 2: border = get_border_line(goal_closed, obstacle) plt.plot(border[:, 0], border[:, 1], 'xr') plt.title(info, size=14, loc='center') plt.pause(0.01) plt.show() return stop_loop, path def searching_control(start, end, bound, obstacle): """manage the searching process, start searching from two side""" # initial origin node and end node origin = Node(coordinate=start, H=hcost(start, end)) goal = Node(coordinate=end, H=hcost(end, start)) # list for searching from origin to goal origin_open: list = [origin] origin_close: list = [] # list for searching from goal to origin goal_open = [goal] goal_close: list = [] # initial target target_goal = end # flag = 0 (not blocked) 1 (start point blocked) 2 (end point blocked) flag = 0 # init flag path = None while True: # searching from start to end origin_open, origin_close = \ find_path(origin_open, origin_close, target_goal, bound) if not origin_open: # no path condition flag = 1 # origin node is blocked draw_control(origin_close, goal_close, flag, start, end, bound, obstacle) break # update target for searching from end to start target_origin = min(origin_open, key=lambda x: x.F).coordinate # searching from end to start goal_open, goal_close = \ find_path(goal_open, goal_close, target_origin, bound) if not goal_open: # no path condition flag = 2 # goal is blocked draw_control(origin_close, goal_close, flag, start, end, bound, obstacle) break # update target for searching from start to end target_goal = min(goal_open, key=lambda x: x.F).coordinate # continue searching, draw the process stop_sign, path = draw_control(origin_close, goal_close, flag, start, end, bound, obstacle) if stop_sign: break return path def main(obstacle_number=1500): print(__file__ + ' start!') top_vertex = [60, 60] # top right vertex of boundary bottom_vertex = [0, 0] # bottom left vertex of boundary # generate start and goal point randomly start = random_coordinate(bottom_vertex, top_vertex) end = random_coordinate(bottom_vertex, top_vertex) # generate boundary and obstacles bound, obstacle = boundary_and_obstacles(start, end, top_vertex, bottom_vertex, obstacle_number) path = searching_control(start, end, bound, obstacle) if not show_animation: print(path) if __name__ == '__main__': main(obstacle_number=1500)
mit
ricardobergamo/dataGAL
views/bmh.py
1
2726
#!/usr/bin/env python from flask import render_template from sqlalchemy import func import pandas as pd from manager import app from models.bmh import * from models.datagal import Regional, Laboratorio @app.route('/bmh/painel') def bmh_painel(): requisicao = Requisicao.get() exames = Exames.get() exame_status = BmhExameStatus.get() exame_liberado = ExameLiberado.get() laboratorio = Laboratorio.get_mod('Biologia Médica') total_laboratorios = APP_Session.query(func.sum(Regional.laboratorio)).scalar() return render_template('bmh/bmh_painel.html', requisicao=requisicao, exames=exames, exame_status=exame_status, exame_liberado=exame_liberado, laboratorio=laboratorio, total_laboratorios=total_laboratorios) def getNC(ano): tb = RequisicaoNaoConformidade nc_dic = APP_Session.query(tb, tb.requisicao, tb.ano, tb.codigo, tb.nao_conformidade).order_by(tb.nao_conformidade).filter( tb.ano == ano).all() nc = pd.DataFrame(data=nc_dic, columns=['id', 'req', 'ano', 'codigo', 'motivo']) return nc def totalNC(): tb = RequisicaoNaoConformidade nc_ano = APP_Session.query(tb, tb.requisicao, tb.ano, tb.codigo, tb.nao_conformidade).order_by(tb.ano).all() mot = pd.DataFrame(data=nc_ano, columns=['ID', 'Req', 'Ano', 'Codigo', 'Motivo']) ano = mot.groupby(mot.Ano).size() return ano @app.route('/bmh/exames') def bmh_exames(): exames = Exames.get() exame_status = BmhExameStatus.get() exame_naoconf = APP_Session.query(ExameNaoConformidade).order_by(ExameNaoConformidade.exames.desc()).all() naoconf_total = APP_Session.query(func.sum(ExameNaoConformidade.exames)).scalar() a2015 = getNC(2015) a2015_lista = a2015.groupby(a2015.codigo).size().sort_values(ascending=False) a2015_total = a2015.id.count() a2016 = getNC(2016) a2016_lista = a2016.groupby(a2016.codigo).size().sort_values(ascending=False) a2016_total = a2016.id.count() nc_total = totalNC() return render_template('bmh/bmh_exames.html', exames=exames, exame_status=exame_status, exame_naoconf=exame_naoconf, naoconf_total=naoconf_total, a2015=a2015, a2015_lista=a2015_lista, a2015_total=a2015_total, a2016=a2016, a2016_lista=a2016_lista, a2016_total=a2016_total, nc_total=nc_total) @app.route('/bmh/liberados') def bmh_liberados(): exames = Exames.get() exame_liberado = ExameLiberado.get() return render_template('bmh/bmh_liberados.html', exames=exames, exame_liberado=exame_liberado)
gpl-3.0
louispotok/pandas
pandas/tests/indexes/timedeltas/test_construction.py
3
3568
import pytest import numpy as np from datetime import timedelta import pandas as pd import pandas.util.testing as tm from pandas import TimedeltaIndex, timedelta_range, to_timedelta class TestTimedeltaIndex(object): def test_construction_base_constructor(self): arr = [pd.Timedelta('1 days'), pd.NaT, pd.Timedelta('3 days')] tm.assert_index_equal(pd.Index(arr), pd.TimedeltaIndex(arr)) tm.assert_index_equal(pd.Index(np.array(arr)), pd.TimedeltaIndex(np.array(arr))) arr = [np.nan, pd.NaT, pd.Timedelta('1 days')] tm.assert_index_equal(pd.Index(arr), pd.TimedeltaIndex(arr)) tm.assert_index_equal(pd.Index(np.array(arr)), pd.TimedeltaIndex(np.array(arr))) def test_constructor(self): expected = TimedeltaIndex(['1 days', '1 days 00:00:05', '2 days', '2 days 00:00:02', '0 days 00:00:03']) result = TimedeltaIndex(['1 days', '1 days, 00:00:05', np.timedelta64( 2, 'D'), timedelta(days=2, seconds=2), pd.offsets.Second(3)]) tm.assert_index_equal(result, expected) # unicode result = TimedeltaIndex([u'1 days', '1 days, 00:00:05', np.timedelta64( 2, 'D'), timedelta(days=2, seconds=2), pd.offsets.Second(3)]) expected = TimedeltaIndex(['0 days 00:00:00', '0 days 00:00:01', '0 days 00:00:02']) tm.assert_index_equal(TimedeltaIndex(range(3), unit='s'), expected) expected = TimedeltaIndex(['0 days 00:00:00', '0 days 00:00:05', '0 days 00:00:09']) tm.assert_index_equal(TimedeltaIndex([0, 5, 9], unit='s'), expected) expected = TimedeltaIndex( ['0 days 00:00:00.400', '0 days 00:00:00.450', '0 days 00:00:01.200']) tm.assert_index_equal(TimedeltaIndex([400, 450, 1200], unit='ms'), expected) def test_constructor_coverage(self): rng = timedelta_range('1 days', periods=10.5) exp = timedelta_range('1 days', periods=10) tm.assert_index_equal(rng, exp) msg = 'periods must be a number, got foo' with tm.assert_raises_regex(TypeError, msg): TimedeltaIndex(start='1 days', periods='foo', freq='D') pytest.raises(ValueError, TimedeltaIndex, start='1 days', end='10 days') pytest.raises(ValueError, TimedeltaIndex, '1 days') # generator expression gen = (timedelta(i) for i in range(10)) result = TimedeltaIndex(gen) expected = TimedeltaIndex([timedelta(i) for i in range(10)]) tm.assert_index_equal(result, expected) # NumPy string array strings = np.array(['1 days', '2 days', '3 days']) result = TimedeltaIndex(strings) expected = to_timedelta([1, 2, 3], unit='d') tm.assert_index_equal(result, expected) from_ints = TimedeltaIndex(expected.asi8) tm.assert_index_equal(from_ints, expected) # non-conforming freq pytest.raises(ValueError, TimedeltaIndex, ['1 days', '2 days', '4 days'], freq='D') pytest.raises(ValueError, TimedeltaIndex, periods=10, freq='D') def test_constructor_name(self): idx = TimedeltaIndex(start='1 days', periods=1, freq='D', name='TEST') assert idx.name == 'TEST' # GH10025 idx2 = TimedeltaIndex(idx, name='something else') assert idx2.name == 'something else'
bsd-3-clause
openeemeter/eemeter
eemeter/visualization.py
1
4111
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Copyright 2014-2019 OpenEEmeter contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ import numpy as np import pandas as pd from .features import ( merge_features, compute_usage_per_day_feature, compute_temperature_features, ) __all__ = ("plot_energy_signature", "plot_time_series") def plot_time_series(meter_data, temperature_data, **kwargs): """Plot meter and temperature data in dual-axes time series. Parameters ---------- meter_data : :any:`pandas.DataFrame` A :any:`pandas.DatetimeIndex`-indexed DataFrame of meter data with the column ``value``. temperature_data : :any:`pandas.Series` A :any:`pandas.DatetimeIndex`-indexed Series of temperature data. **kwargs Arbitrary keyword arguments to pass to :any:`plt.subplots <matplotlib.pyplot.subplots>` Returns ------- axes : :any:`tuple` of :any:`matplotlib.axes.Axes` Tuple of ``(ax_meter_data, ax_temperature_data)``. """ # TODO(philngo): include image in docs. try: import matplotlib.pyplot as plt except ImportError: # pragma: no cover raise ImportError("matplotlib is required for plotting.") default_kwargs = {"figsize": (16, 4)} default_kwargs.update(kwargs) fig, ax1 = plt.subplots(**default_kwargs) ax1.plot( meter_data.index, meter_data.value, color="C0", label="Energy Use", drawstyle="steps-post", ) ax1.set_ylabel("Energy Use") ax2 = ax1.twinx() ax2.plot( temperature_data.index, temperature_data, color="C1", label="Temperature", alpha=0.8, ) ax2.set_ylabel("Temperature") fig.legend() return ax1, ax2 def plot_energy_signature( meter_data, temperature_data, temp_col=None, ax=None, title=None, figsize=None, **kwargs ): """Plot meter and temperature data in energy signature. Parameters ---------- meter_data : :any:`pandas.DataFrame` A :any:`pandas.DatetimeIndex`-indexed DataFrame of meter data with the column ``value``. temperature_data : :any:`pandas.Series` A :any:`pandas.DatetimeIndex`-indexed Series of temperature data. temp_col : :any:`str`, default ``'temperature_mean'`` The name of the temperature column. ax : :any:`matplotlib.axes.Axes` The axis on which to plot. title : :any:`str`, optional Chart title. figsize : :any:`tuple`, optional (width, height) of chart. **kwargs Arbitrary keyword arguments to pass to :any:`matplotlib.axes.Axes.scatter`. Returns ------- ax : :any:`matplotlib.axes.Axes` Matplotlib axes. """ try: import matplotlib.pyplot as plt except ImportError: # pragma: no cover raise ImportError("matplotlib is required for plotting.") # format data temperature_mean = compute_temperature_features(meter_data.index, temperature_data) usage_per_day = compute_usage_per_day_feature(meter_data, series_name="meter_value") df = merge_features([usage_per_day, temperature_mean.temperature_mean]) if figsize is None: figsize = (10, 4) if ax is None: fig, ax = plt.subplots(figsize=figsize) if temp_col is None: temp_col = "temperature_mean" ax.scatter(df[temp_col], df.meter_value, **kwargs) ax.set_xlabel("Temperature") ax.set_ylabel("Energy Use per Day") if title is not None: ax.set_title(title) return ax
apache-2.0
michellab/Sire
wrapper/Tools/Plot.py
2
2857
import matplotlib matplotlib.use('TkAgg') from matplotlib import pyplot from Sire.Maths import Histogram, HistogramValue from Sire.Analysis import DataPoint def _plotHistogram(histogram): x = [] y = [] for value in list(histogram.values()): x.append(value.minimum()) y.append(0) x.append(value.minimum()) y.append(value.value()) x.append(value.maximum()) y.append(value.value()) x.append(value.maximum()) y.append(0) pyplot.errorbar(x, y) def _plotDataPoint(point): x = [point.x()] y = [point.y()] if point.hasErrorRange(): xerr = [point.xMinError()] yerr = [point.yMinError()] pyplot.errorbar(x, y, yerr, xerr) xerr = [point.xMaxError()] yerr = [point.yMaxError()] pyplot.errorbar(x, y, yerr, xerr) elif point.hasError(): xerr = [point.xError()] yerr = [point.yError()] pyplot.errorbar(x, y, yerr, xerr) else: pyplot.errorbar(x, y) def _tryPlotHistValues(points): x = [] y = [] for point in points: if not isinstance(point, HistogramValue): return False x.append(point.middle()) y.append(point.value()) pyplot.errorbar(x,y) return True def _tryPlotDataPoints(points): x = [] y = [] xminerr = [] xmaxerr = [] yminerr = [] ymaxerr = [] has_error_range = False has_error = False for point in points: if not isinstance(point, DataPoint): return False x.append(point.x()) y.append(point.y()) if point.hasErrorRange(): has_error_range = True xminerr.append( point.xMinError() ) xmaxerr.append( point.xMaxError() ) yminerr.append( point.yMinError() ) ymaxerr.append( point.yMaxError() ) elif point.hasError(): has_error = True xminerr.append( point.xError() ) xmaxerr.append( point.xError() ) yminerr.append( point.yError() ) ymaxerr.append( point.yError() ) else: xminerr.append(0) xmaxerr.append(0) yminerr.append(0) ymaxerr.append(0) if has_error_range: pyplot.errorbar(x, y, ymaxerr, xmaxerr) pyplot.errorbar(x, y, yminerr, xminerr) elif has_error: pyplot.errorbar(x, y, ymaxerr, xmaxerr) else: pyplot.errorbar(x, y) return True def _plot(graph): if isinstance(graph, Histogram): _plotHistogram(graph) elif isinstance(graph, DataPoint): _plotDataPoint(graph) elif not _tryPlotDataPoints(graph): if not _tryPlotHistValues(graph): for item in graph: _plot(item) def plot(graph): _plot(graph) pyplot.show()
gpl-2.0
jrversteegh/softsailor
softsailor/polars.py
1
8539
""" Polars module Contains classes for dealing with boat polars """ __author__ = "J.R. Versteegh" __copyright__ = "Copyright 2011, J.R. Versteegh" __contact__ = "j.r.versteegh@gmail.com" __version__ = "0.1" __license__ = "GPLv3, No Warranty. See 'LICENSE'" import os import math import numpy as np from urllib2 import urlopen from scipy import interpolate import matplotlib as mpl import matplotlib.pyplot as plt from .classes import Object from .utils import * _pi = math.pi _minpi = -math.pi _twopi = 2 * math.pi def to_float(value): try: return float(value) except TypeError: result = [] for v in value: try: result.append(float(v)) except ValueError: # Conversion failed, ignore pass return np.array(result) def from_knots(value): return np.array(value) * (1.852 / 3.6) def to_knots(value): return np.array(value) * (3.6 / 1.852) def from_degs(value): return np.array(value) * (_pi / 180.0) def to_degs(value): return np.array(value) * (180.0 / _pi) class Polars(Object): def __init__(self, *args, **kwargs): super(Polars, self).__init__(*args, **kwargs) try: self._smoothing = kwargs['smoothing'] except KeyError: self._smoothing = None try: self._degree = kwargs['degree'] except KeyError: self._degree = None try: self._filename = kwargs['filename'] self.load_from_file() except KeyError: self._filename = 'noname.txt' try: wind_speeds = kwargs['wind_speeds'] wind_angles = kwargs['wind_angles'] boat_speeds = kwargs['boat_speeds'] except KeyError: wind_speeds = np.linspace(0, 50, 11) wind_angles = np.linspace(0, np.pi, 19) boat_speed = np.sqrt(wind_speeds) * np.sqrt(1.3 * wind_angles[:,np.newaxis]) self._from_data(wind_speeds, wind_angles, boat_speeds) def _from_data(self, wind_speeds, wind_angles, boat_speeds): self._mesh = np.meshgrid(wind_speeds, wind_angles) self._data = np.array(boat_speeds).reshape(self._mesh[0].shape) self._update_interpolation(self._smoothing, self._degree) def _update_interpolation(self, smoothing=None, degree=None): if degree is None: degree = 3 if smoothing: s = max(len(self._mesh[0][0,:]), len(self._mesh[1][:,0])) else: s = 0 self._evaluator = interpolate.RectBivariateSpline( self._mesh[1][:,0], self._mesh[0][0,:], self._data, kx=degree, ky=degree, s=s, ) def save_to_file(self, filename=None): ''' Save polars to file in optsail polar data format: - Header line with wind speeds - Header line with wind angles - Number of angles data lines with boatspeed at each wind speed ''' if not filename: filename = self._filename with open(filename, "w") as f: f.write('# Wind speeds\n') for speed in self.wind_speeds: f.write(' %.2f' % to_knots(speed)) f.write('\n') f.write('# Wind angles\n') for angle in self.wind_angles: f.write(' %.2f' % to_degs(angle)) f.write('\n') f.write('# Boat speeds\n') for r in self.data: for c in r: f.write(' %.2f' % to_knots(c)) f.write('\n') def load_from_file(self, filename=None): ''' Load polars from file. Currently three formats are supported: 1. Header line with wind speeds. Data line starting with angle followed by boat speeds 2. Header line with windspeeds and header line with angles. Data lines with boat speeds 3. Data lines with wind speed followed by pairs of angle and boat speed Angles are expected in degrees and speeds in knots ''' if not filename: filename = self._filename self._filename = filename wind_speeds = [] wind_angles = [] boat_speeds = [] transpose = True no_header = False f = urlopen(filename) for line in f: # Replace comma's and semicolons with spaces line = line.replace(',', ' ') line = line.replace(';', ' ') # Strip whitespace and line ends line = line.strip() # Skip empty lines and comments if not line or line[0] == '#' or line[0] == '!' or line[:3] == 'pol': continue values = to_float(line.split()) if len(values) == 0: continue if len(wind_speeds) == 0: if np.all(values == np.sort(values)): wind_speeds = from_knots(values) continue else: no_header = True if no_header: wind_speeds.append(from_knots(values[0])) wind_angles = from_degs(values[1::2]) boat_speeds.append(from_knots(values[2::2])) transpose = True continue if len(values) == (len(wind_speeds) + 1): transpose = False wind_angles.append(from_degs(values[0])) boat_speeds.append(from_knots(values[1:])) continue if len(wind_angles) == 0: wind_angles = from_degs(values) else: if len(values) == len(wind_speeds): transpose = False else: # Fill out incomplete lines with last value if transpose: while len(values) < len(wind_angles): np.append(values, values[-1]) else: while len(values) < len(wind_speeds): np.append(values, values[-1]) boat_speeds.append(from_knots(values)) boat_speeds = np.array(boat_speeds) if transpose: boat_speeds = boat_speeds.transpose() self._from_data(wind_speeds, wind_angles, boat_speeds) @property def mesh(self): return self._mesh @property def data(self): return self._data @property def wind_angles(self): return self._mesh[1][:,0] @property def wind_speeds(self): return self._mesh[0][0,:] def get(self, angles, windspeed=None): if windspeed is None: angles, windspeed = angles angles = np.fabs(angles) result = self._evaluator(angles, windspeed) return result.transpose()[0] def _plot(self, merge): if not merge: plt.clf() max_boat_speed = 0. max_wind_speed = 30. pp = plt.subplot(111, polar=True) knot_wind_speeds = to_knots(self.wind_speeds) max_wind_speed = min(max_wind_speed, knot_wind_speeds[-1]) nm = mpl.colors.Normalize(vmin=0., vmax=max_wind_speed) cm = mpl.cm.get_cmap() sm = mpl.cm.ScalarMappable(norm=nm, cmap=cm) # Hack to set the colormap using the scatter function plt.scatter([], [], c=np.array([[]]), vmin=0., vmax=max_wind_speed) for i, w in enumerate(self.wind_speeds): clr = sm.to_rgba(knot_wind_speeds[i]) knot_boat_speeds = to_knots(self._data[:,i]) max_boat_speed = max(max_boat_speed, max(knot_boat_speeds)) plt.plot(self.wind_angles, knot_boat_speeds, color=clr) pp.set_rmax(max_boat_speed) angles = list(range(-165,181,15)) pp.set_thetagrids(angles) pp.set_theta_direction(-1) pp.set_theta_zero_location('N') plt.title('Polars') plt.colorbar() def save_plot(self, filename=None, merge=False): if filename is None: filename = os.path.splitext(self._filename)[0] + '.png' self._plot(merge) plt.savefig(filename) def plot(self, merge=False): self._plot(merge) plt.show() def optimal_ranges(self, wind_speed): vmgu = 0 vmgd = 0 angles = from_degs([d for d in range(181)]) speeds = self.get(angles, wind_speed)
gpl-3.0
hennersz/pySpace
basemap/examples/plotsst.py
8
1770
from mpl_toolkits.basemap import Basemap from netCDF4 import Dataset, date2index import numpy as np import matplotlib.pyplot as plt from datetime import datetime date = datetime(2007,12,15,0) # date to plot. # open dataset. dataset = \ Dataset('http://www.ncdc.noaa.gov/thredds/dodsC/OISST-V2-AVHRR_agg') timevar = dataset.variables['time'] timeindex = date2index(date,timevar) # find time index for desired date. # read sst. Will automatically create a masked array using # missing_value variable attribute. 'squeeze out' singleton dimensions. sst = dataset.variables['sst'][timeindex,:].squeeze() # read ice. ice = dataset.variables['ice'][timeindex,:].squeeze() # read lats and lons (representing centers of grid boxes). lats = dataset.variables['lat'][:] lons = dataset.variables['lon'][:] lons, lats = np.meshgrid(lons,lats) # create figure, axes instances. fig = plt.figure() ax = fig.add_axes([0.05,0.05,0.9,0.9]) # create Basemap instance. # coastlines not used, so resolution set to None to skip # continent processing (this speeds things up a bit) m = Basemap(projection='kav7',lon_0=0,resolution=None) # draw line around map projection limb. # color background of map projection region. # missing values over land will show up this color. m.drawmapboundary(fill_color='0.3') # plot sst, then ice with pcolor im1 = m.pcolormesh(lons,lats,sst,shading='flat',cmap=plt.cm.jet,latlon=True) im2 = m.pcolormesh(lons,lats,ice,shading='flat',cmap=plt.cm.gist_gray,latlon=True) # draw parallels and meridians, but don't bother labelling them. m.drawparallels(np.arange(-90.,99.,30.)) m.drawmeridians(np.arange(-180.,180.,60.)) # add colorbar cb = m.colorbar(im1,"bottom", size="5%", pad="2%") # add a title. ax.set_title('SST and ICE analysis for %s'%date) plt.show()
gpl-3.0
DSSG-paratransit/main_repo
Access_Analysis_Project/Scripts/4moDeadheadResultsToCsvParalleled.py
1
961533
import multiprocessing as mp import numpy as np import pandas as pd import os def findZeroes(row, numRows): os.system(['clear', 'cls'][os.name == 'nt']) print row print str(float(row.name) / numRows * 100) + '%' + ' done' busRun = data[(data['ServiceDate'] == row[0]) & (data['Run'] == row[1])] if sum(busRun.NumOn) <= 0: return(False) return(True) print 'Creating lists...' cost = [2460.0, 3218.4444444444443, 3120.0, 3003.0, 3416.4444444444443, 3180.1111111111113, 3891.714285714286, 2970.3, 3091.777777777778, 5820.6, 4086.4285714285716, 4714.285714285715, 3334.0, 3227.222222222222, 4422.857142857143, 2765.4545454545455, 3187.5555555555557, 4536.0, 3414.75, 2880.0, 3336.777777777778, 3957.1428571428573, 3200.8888888888887, 2914.2, 3046.1666666666665, 2600.0, 2777.8571428571427, 2672.7272727272725, 2955.9, 2400.0, 3041.9, 3825.0, 2972.8, 3018.8, 3729.0, 3398.8333333333335, 3162.0, 3296.1111111111113, 4815.0, 2799.6363636363635, 4170.5, 4277.142857142857, 4637.142857142857, 3694.375, 2455.0, 2652.3636363636365, 3249.6666666666665, 3678.0, 3373.3333333333335, 3792.625, 2962.0, 3018.0, 2848.4285714285716, 3206.6666666666665, 2940.7, 4628.571428571428, 4342.0, 3870.5, 2916.846153846154, 4146.0, 5230.571428571428, 4066.8888888888887, 3489.818181818182, 4280.222222222223, 3414.5454545454545, 4235.888888888889, 3867.3333333333335, 4066.777777777778, 4253.333333333333, 5271.571428571428, 3870.0, 3732.0, 3788.1, 6797.0, 3870.0, 4653.5, 4222.777777777777, 3660.2, 4520.0, 5358.857142857143, 4413.888888888889, 4284.7, 4351.0, 3622.909090909091, 4935.0, 3856.3636363636365, 11702.0, 3807.2727272727275, 4133.333333333333, 4560.0, 4412.0, 4845.75, 4570.25, 4717.0, 3181.4444444444443, 3091.0, 3780.6, 2792.7272727272725, 2848.2727272727275, 2897.909090909091, 3288.3333333333335, 2576.6153846153848, 2446.0, 2682.0, 2276.8571428571427, 1984.2666666666667, 2432.3076923076924, 2812.3636363636365, 2715.3636363636365, 2178.8571428571427, 2825.4545454545455, 1940.7333333333333, 2701.0, 2218.714285714286, 2503.1666666666665, 1848.75, 2475.0, 2665.0, 2076.0714285714284, 2426.0, 3206.8, 1980.0, 3240.0, 3608.75, 2192.3076923076924, 2550.0, 2916.0, 3099.4, 3600.6666666666665, 3360.6, 2665.714285714286, 2178.8888888888887, 2673.6666666666665, 3290.0, 1971.642857142857, 3650.0, 2071.25, 4935.0, 2469.6923076923076, 2298.4615384615386, 2738.181818181818, 5579.25, 3476.0, 2535.0, 2226.6666666666665, 3900.0, 4057.6, 3010.5, 2618.181818181818, 2450.0, 2597.1428571428573, 5330.0, 5078.0, 3046.8, 3200.3333333333335, 4867.5, 3153.3333333333335, 2025.0, 2653.4166666666665, 2336.3571428571427, 4215.0, 3340.7272727272725, 4033.4444444444443, 2220.0, 1602.0, 2565.0, 2442.5555555555557, 3245.4545454545455, 3916.714285714286, 3218.181818181818, 2565.4285714285716, 3485.909090909091, 3352.5, 8433.0, 3700.0, 2884.6153846153848, 2138.75, 3077.1, 3100.0, 3607.5, 4994.0, 2378.75, 3562.5, 3198.0, 4673.333333333333, 2499.5454545454545, 3132.0, 2853.909090909091, 3284.5555555555557, 2781.4285714285716, 2726.8333333333335, 3005.8333333333335, 3198.0, 3373.3333333333335, 3346.6666666666665, 2371.5, 2900.0, 4352.555555555556, 2323.3076923076924, 2366.5555555555557, 2605.0, 2442.714285714286, 2588.5714285714284, 2634.5454545454545, 3644.25, 3525.0, 2117.1428571428573, 2442.8571428571427, 2233.777777777778, 2820.0, 4230.75, 2361.176470588235, 2062.625, 4609.5, 4035.0, 4508.571428571428, 3745.625, 3078.0, 3112.6, 2725.714285714286, 3936.1428571428573, 3953.3333333333335, 2465.4545454545455, 2084.6, 3152.7272727272725, 2558.181818181818, 2625.0, 4860.333333333333, 3724.625, 2261.5384615384614, 4298.666666666667, 14807.0, 3054.0, 4900.333333333333, 3179.1428571428573, 28153.090909090908, 5453.571428571428, 3130.0, 4798.5, 2547.2727272727275, 2910.0, 3006.090909090909, 4028.8571428571427, 5360.0, 4165.714285714285, 4380.0, 2745.0, 2551.3571428571427, 3922.5, 2898.4615384615386, 2754.5454545454545, 4200.0, 2554.285714285714, 2228.0, 4566.0, 3670.0, 2903.25, 3816.0, 2719.1428571428573, 3260.8333333333335, 5050.0, 2428.5333333333333, 3276.090909090909, 3294.5454545454545, 2972.7272727272725, 2948.0, 3532.6363636363635, 2963.0, 5723.833333333333, 2798.5714285714284, 3573.25, 3870.0, 3023.0, 3819.2, 2689.090909090909, 2296.3636363636365, 3300.090909090909, 2769.3846153846152, 3510.0, 2925.0, 4328.571428571428, 3186.4, 2325.0, 3260.0, 2820.0, 2958.0, 2678.5714285714284, 3594.5454545454545, 3750.2, 3072.6666666666665, 3426.6666666666665, 3323.9166666666665, 2690.769230769231, 3262.5, 4680.0, 4371.428571428572, 3501.818181818182, 3085.0, 3502.5, 2400.1666666666665, 2916.923076923077, 3228.6666666666665, 3266.6666666666665, 4080.0, 4100.111111111111, 3114.5454545454545, 3862.5, 2687.1428571428573, 4266.666666666667, 2787.5, 2989.7272727272725, 3372.777777777778, 3024.0, 4350.0, 3030.0, 3727.8, 2710.0, 3720.0, 2605.0, 4162.0, 4080.0, 3810.0, 4500.0, 2628.0, 2880.0, 2525.4545454545455, 3100.5555555555557, 1989.2307692307693, 2723.076923076923, 3250.0, 2843.076923076923, 2986.1, 2764.9, 4416.0, 3126.6666666666665, 3042.8333333333335, 3720.0, 4350.0, 3030.0, 2347.785714285714, 2914.285714285714, 3915.0, 3282.8333333333335, 2772.0, 3054.0, 3253.3333333333335, 2858.181818181818, 4132.5, 2870.0, 2700.0, 3201.777777777778, 2355.2, 2683.6363636363635, 2727.2727272727275, 2864.1428571428573, 2346.076923076923, 2524.3636363636365, 3327.2727272727275, 3633.8888888888887, 4028.5714285714284, 2958.0, 3300.0, 4640.75, 2657.1428571428573, 3218.181818181818, 2525.0, 3862.5, 2408.5714285714284, 4465.714285714285, 3300.0, 3462.0, 5030.0, 3810.0, 3622.5, 3877.5, 3060.0, 4260.0, 3629.1666666666665, 3522.8571428571427, 3540.0, 3815.5, 2957.1428571428573, 2857.5, 2152.1428571428573, 4329.285714285715, 3180.0, 4538.857142857143, 3050.0, 3192.0, 3890.25, 3757.5, 4140.285714285715, 3396.0, 2657.1428571428573, 3450.0, 3675.0, 2330.769230769231, 3612.0, 3050.0, 2732.7272727272725, 2442.8571428571427, 2968.3846153846152, 3023.076923076923, 2790.0, 2000.0, 2582.6666666666665, 3940.5, 3200.0, 5295.0, 3870.0, 3329.6666666666665, 3378.0, 3766.5714285714284, 3815.0, 6260.0, 3096.0, 2855.4166666666665, 2900.0, 3140.0, 4800.0, 5440.0, 4425.0, 4799.0, 4040.285714285714, 4555.8, 4245.0, 3607.5, 2536.0, 2754.5454545454545, 2880.0, 2610.0, 3337.5, 2284.6153846153848, 3429.1428571428573, 3301.3333333333335, 3346.6666666666665, 4584.0, 3170.0, 2730.0, 3333.3333333333335, 2629.090909090909, 2639.285714285714, 3330.0, 3437.714285714286, 3510.0, 2880.1666666666665, 3154.1666666666665, 2982.0, 4863.5, 2900.0, 6150.0, 5960.0, 3080.0, 2657.1428571428573, 5840.0, 4457.0, 3819.2, 4380.0, 2890.0, 3126.0, 4333.333333333333, 2597.1428571428573, 4020.0, 3474.5454545454545, 3452.7272727272725, 4071.75, 4146.666666666667, 3306.090909090909, 2639.214285714286, 2948.5714285714284, 3119.9166666666665, 4200.0, 3255.0, 4851.625, 2700.0, 3420.0, 3852.0, 2446.076923076923, 3924.0, 3313.5555555555557, 3664.2727272727275, 3096.0, 3852.0, 3150.0, 2920.0, 3386.3333333333335, 4257.8, 4513.333333333333, 7240.0, 3510.0, 3732.0, 4534.285714285715, 3350.0, 3552.0, 2708.5714285714284, 3385.2, 3041.0, 3220.0, 2940.0, 2798.0, 3360.0, 4410.0, 4246.666666666667, 3784.5, 3548.8, 3450.0, 2845.6923076923076, 3150.0, 3576.6, 3553.3333333333335, 4200.0, 4966.75, 2512.0, 3996.0, 3409.0, 2829.230769230769, 3120.0, 2742.8571428571427, 4297.625, 5691.666666666667, 2875.3846153846152, 2610.4285714285716, 4393.333333333333, 3145.0, 3708.0, 3525.0, 3876.0, 3036.0, 3885.0, 3080.0, 3433.4, 4650.0, 2931.076923076923, 4186.666666666667, 5092.857142857143, 3666.0, 4725.0, 2545.0, 2238.75, 3815.2, 3930.0, 3600.0, 3796.3636363636365, 2875.714285714286, 3610.6363636363635, 3523.6363636363635, 2700.0, 3222.9166666666665, 2630.769230769231, 4302.888888888889, 3372.0, 3096.923076923077, 2934.6363636363635, 3234.0, 3530.0, 2828.5714285714284, 3102.8571428571427, 3180.0, 2485.714285714286, 3401.7272727272725, 3078.4615384615386, 2010.3333333333333, 3367.6363636363635, 3855.8, 3025.0, 4890.333333333333, 3906.0, 3019.230769230769, 3086.6666666666665, 3866.75, 2795.9285714285716, 3496.3636363636365, 4080.0, 3504.0, 5095.75, 3960.2, 5844.0, 3936.2, 3266.8888888888887, 4980.0, 4857.5, 4702.5, 3825.5, 4234.285714285715, 3819.5, 3414.5454545454545, 6780.4, 3804.6, 3960.0, 3310.0, 3240.0, 2930.0, 4044.0, 3280.0, 3341.5384615384614, 4103.6, 3450.0, 2212.5, 3050.1666666666665, 3112.6363636363635, 3202.5555555555557, 2575.9166666666665, 4626.0, 4297.375, 3004.6153846153848, 3792.5, 4616.444444444444, 4425.0, 4100.111111111111, 4313.666666666667, 3973.3333333333335, 2523.1875, 3080.0, 2837.3846153846152, 5406.666666666667, 3912.0, 2265.0, 2177.125, 3793.0, 3583.4, 2695.714285714286, 3474.5454545454545, 3265.8, 3133.846153846154, 4242.857142857143, 4103.7, 4752.333333333333, 4384.0, 2742.8571428571427, 4002.8571428571427, 4605.0, 3341.6666666666665, 5300.333333333333, 3980.3, 3446.6666666666665, 2661.818181818182, 3254.0, 2530.0, 3756.3636363636365, 2780.0, 2088.0, 3465.4545454545455, 2805.0, 2905.0, 3756.0, 4482.857142857143, 3445.0, 3392.7272727272725, 3372.0, 3780.0, 4145.666666666667, 2391.4285714285716, 4320.0, 3384.0, 3140.0, 4725.0, 2747.1428571428573, 3786.1666666666665, 3260.0, 3520.0, 3480.0, 3917.1428571428573, 3602.4, 3126.0, 4459.25, 4650.166666666667, 5680.0, 4830.0, 7335.0, 4311.142857142857, 3141.818181818182, 4052.5555555555557, 2695.6666666666665, 2889.769230769231, 3320.0, 3005.4, 4113.333333333333, 3600.0, 3512.7272727272725, 2850.0, 2751.4285714285716, 5468.571428571428, 2676.5714285714284, 2704.9285714285716, 3777.8, 4044.0, 3196.5833333333335, 3150.0, 2526.285714285714, 3180.0, 5448.0, 3730.909090909091, 3241.4, 3547.5, 4355.888888888889, 3975.0, 3036.923076923077, 2833.3333333333335, 4170.0, 4971.428571428572, 4380.2, 3680.5, 2837.1428571428573, 3403.6666666666665, 3712.5, 4485.0, 3213.3333333333335, 4704.0, 4860.0, 3828.0, 3945.0, 3696.0, 2742.8571428571427, 2674.0, 2530.0, 3808.5, 4178.6, 4022.2, 4550.0, 2731.4285714285716, 5175.0, 3900.0, 3528.0, 2871.4285714285716, 5103.428571428572, 4050.0, 3533.5714285714284, 3470.0, 3575.0, 10560.333333333334, 3502.2, 4443.75, 5333.25, 5813.0, 2188.1111111111113, 2291.25, 3305.3333333333335, 3624.0, 3261.818181818182, 2825.0, 3461.3636363636365, 3004.6153846153848, 5320.0, 3807.4545454545455, 3300.0, 3840.0, 3842.5555555555557, 4725.0, 3446.6666666666665, 3170.0, 3326.0, 2188.235294117647, 1996.0, 2657.1428571428573, 2677.090909090909, 5107.0, 2628.0, 2750.0, 2357.1428571428573, 2605.0, 4455.0, 2910.0, 3570.0, 3762.0, 4973.428571428572, 5101.666666666667, 4185.0, 4470.0, 1846.0, 3766.6666666666665, 2906.6666666666665, 3010.0, 2373.75, 4620.0, 3312.0, 3654.0, 2821.0, 3355.3333333333335, 2861.5384615384614, 2746.153846153846, 3360.0, 2452.0, 3993.3333333333335, 3866.6666666666665, 4251.428571428572, 4297.5, 3180.0, 3655.4, 3332.7272727272725, 3055.0, 3005.0, 3048.0, 4185.0, 3026.3, 4517.142857142857, 2755.714285714286, 4172.166666666667, 3790.0, 2785.0, 2248.375, 3098.7272727272725, 2400.0, 2242.5, 2334.25, 2592.8571428571427, 4030.0, 3556.3636363636365, 2995.3846153846152, 3588.0, 2949.230769230769, 4223.555555555556, 3129.0, 3492.4, 3261.818181818182, 3225.0, 3018.0, 3400.0, 3817.5, 4186.25, 2506.153846153846, 3053.3333333333335, 3400.0, 3629.3, 4750.0, 3353.3333333333335, 2125.0, 3420.0, 3245.0, 3235.0, 3030.0, 4133.333333333333, 4512.0, 3750.0, 2958.0, 3615.4, 2166.6666666666665, 2648.5714285714284, 2944.090909090909, 2303.076923076923, 3210.0, 3487.75, 4286.666666666667, 3171.4285714285716, 4866.833333333333, 3030.0, 3866.6666666666665, 3547.5, 3078.4615384615386, 4251.428571428572, 3712.5, 2988.0, 2286.769230769231, 3042.923076923077, 3036.0, 3200.0, 2809.090909090909, 3942.0, 3302.6666666666665, 4156.0, 2503.6363636363635, 4491.428571428572, 4277.142857142857, 3282.0, 3960.0, 3523.1, 2036.6666666666667, 3140.0, 3242.75, 4276.625, 2780.0, 2896.5, 3720.0, 2646.909090909091, 2952.6, 3712.5, 3728.5714285714284, 4251.2, 3061.25, 4760.333333333333, 3260.0, 4245.0, 3798.0, 4357.25, 4125.0, 3084.0, 3030.076923076923, 3750.4444444444443, 3669.1428571428573, 3775.6, 4908.0, 5220.0, 3212.7272727272725, 4851.428571428572, 4755.0, 6597.666666666667, 3713.5714285714284, 3557.8333333333335, 4178.428571428572, 4014.6, 4236.0, 3700.25, 3018.4615384615386, 4172.875, 4554.8, 3294.5454545454545, 2796.923076923077, 2820.0, 3788.0, 4308.0, 2700.0, 3080.0, 3075.0, 2648.0, 2837.3636363636365, 3873.1, 4053.777777777778, 3453.3333333333335, 3270.0, 3005.4545454545455, 2669.1666666666665, 3416.818181818182, 3671.7, 3162.0, 4065.0, 4312.5, 3561.4545454545455, 6060.0, 3732.5, 2606.6666666666665, 3993.75, 3789.8, 2550.9166666666665, 2057.1428571428573, 2221.133333333333, 2229.230769230769, 2535.3333333333335, 2808.090909090909, 1980.0, 2400.714285714286, 2616.3333333333335, 1864.2857142857142, 2074.285714285714, 3333.3333333333335, 2376.0, 2513.5833333333335, 2296.2, 2558.181818181818, 3026.6363636363635, 2265.3333333333335, 1856.25, 3172.8888888888887, 3675.25, 3720.0, 2646.75, 2465.0, 2465.4545454545455, 2293.846153846154, 3347.222222222222, 2243.076923076923, 2794.4545454545455, 2689.090909090909, 2838.0, 2700.0, 2945.4545454545455, 2659.090909090909, 2590.0, 2404.6153846153848, 2500.0, 2788.0, 3240.0, 2370.6153846153848, 2430.0833333333335, 4080.0, 2863.6363636363635, 3637.625, 2710.5454545454545, 3260.0, 2365.0, 2400.0833333333335, 2353.846153846154, 4830.0, 2629.090909090909, 2813.5555555555557, 2386.3846153846152, 2727.2727272727275, 2880.0, 3400.0, 2002.75, 2952.0, 2525.0, 1964.0666666666666, 1983.235294117647, 2239.6153846153848, 1845.0625, 3673.3333333333335, 3448.875, 2066.214285714286, 2525.0, 1912.5, 3206.6666666666665, 2694.5454545454545, 3280.1111111111113, 2425.0, 5820.4, 2605.0, 2596.818181818182, 2237.4285714285716, 2363.076923076923, 2710.0, 2727.6363636363635, 2673.6666666666665, 2809.090909090909, 2345.3846153846152, 2782.2727272727275, 3299.1, 2390.8571428571427, 2260.0, 2936.3, 3444.6666666666665, 2961.818181818182, 2793.090909090909, 3291.222222222222, 3282.0, 2255.6153846153848, 2795.6363636363635, 4132.714285714285, 2536.3636363636365, 1818.9375, 3292.5, 2951.7272727272725, 2300.5714285714284, 2770.0833333333335, 2798.181818181818, 2743.6363636363635, 2598.6666666666665, 2566.6666666666665, 2765.7272727272725, 2790.0, 3519.0, 3249.3333333333335, 2550.8333333333335, 3442.8888888888887, 3570.5, 2841.818181818182, 2536.4545454545455, 3056.181818181818, 2918.181818181818, 3674.2, 2779.3, 2590.0, 3399.9, 4510.6, 2433.75, 2521.5714285714284, 2640.0, 2195.0, 3328.8333333333335, 2315.5, 2506.6666666666665, 2619.5, 2402.6153846153848, 3386.6666666666665, 2657.1428571428573, 2733.5714285714284, 3511.5555555555557, 2665.5833333333335, 3045.0, 2347.9411764705883, 2970.0, 3433.3333333333335, 2142.8571428571427, 3520.0, 3044.909090909091, 3403.6363636363635, 3924.0, 4240.571428571428, 3474.5454545454545, 3168.8, 3447.2727272727275, 3354.818181818182, 2802.8571428571427, 3390.0, 4171.7, 3917.125, 3329.181818181818, 3186.0, 4765.0, 4170.0, 2525.0, 3370.3333333333335, 5450.0, 4241.666666666667, 3645.0, 3302.0, 3242.6363636363635, 5767.2, 2549.9166666666665, 3398.181818181818, 5300.0, 6221.666666666667, 2690.090909090909, 3434.222222222222, 2953.846153846154, 3852.0, 3667.3333333333335, 6210.0, 2815.3846153846152, 3518.181818181818, 5700.0, 4527.5, 3400.0, 4750.333333333333, 2541.3846153846152, 5047.5, 3662.6363636363635, 4198.666666666667, 4122.428571428572, 3587.8888888888887, 4987.5, 3940.6, 3627.2727272727275, 3611.818181818182, 3663.4545454545455, 3187.0833333333335, 3480.0, 2875.3846153846152, 4685.375, 2375.294117647059, 2405.0, 4320.8, 4612.75, 3810.0, 3565.2727272727275, 3205.0, 2823.9285714285716, 3001.8333333333335, 3766.6666666666665, 3474.5555555555557, 4113.0, 4534.444444444444, 2304.705882352941, 4552.5, 3900.0, 3600.0, 3170.8, 3426.2, 5260.166666666667, 6534.4, 4157.142857142857, 5810.0, 5320.0, 3831.4285714285716, 3168.0, 3201.4444444444443, 3120.0, 4570.0, 3333.3333333333335, 4871.5, 4572.0, 3114.0, 3072.0, 2164.285714285714, 2838.4615384615386, 3620.6, 3390.0, 3381.2, 3150.0, 2212.5, 3842.125, 3750.25, 2945.909090909091, 3670.0, 2464.6153846153848, 2754.5454545454545, 4240.75, 2943.4285714285716, 3864.0, 3447.6, 3285.1111111111113, 3303.6, 2694.5454545454545, 4171.571428571428, 2177.1428571428573, 4308.0, 3810.0, 2929.090909090909, 3270.0, 3354.0, 5846.0, 3160.1, 2265.0, 4217.142857142857, 3230.0, 4050.0, 2832.0, 2766.75, 5121.5, 4350.0, 3967.5, 3570.0, 4760.0, 4950.0, 3120.0, 2988.777777777778, 2013.3333333333333, 3523.5714285714284, 3301.1, 4530.0, 4135.5, 2127.2727272727275, 4100.0, 3036.0, 3411.4285714285716, 3140.0, 4710.0, 3531.4285714285716, 2184.0, 3957.6666666666665, 3740.0, 2535.0, 2790.0, 2540.3333333333335, 2500.0, 6180.0, 3042.9, 1860.0, 3370.0, 2103.0, 3728.5714285714284, 2472.0, 1893.3333333333333, 1910.0, 2650.0, 2887.4545454545455, 2430.0, 2083.6363636363635, 2700.0, 3277.25, 3876.6, 3855.0, 3840.0, 3560.0, 3800.0, 4410.0, 4440.0, 4170.0, 2604.0, 2280.0, 4579.166666666667, 2222.6666666666665, 3150.0, 3135.0, 4830.0, 3793.6, 2484.0, 3140.0, 2210.769230769231, 4160.0, 1823.076923076923, 3307.4, 1577.142857142857, 2596.3636363636365, 2883.0, 2470.3846153846152, 3100.0, 2209.8571428571427, 3300.0, 4080.0, 2160.0, 2370.0, 3628.5, 3020.0, 3109.0, 2700.0, 1828.857142857143, 3959.8571428571427, 3740.0, 3514.0, 4575.0, 2306.6666666666665, 2219.3333333333335, 3000.0, 3384.0, 3545.0, 2917.5, 3617.0, 2350.909090909091, 3445.714285714286, 2760.0, 2880.0, 3155.8333333333335, 2265.0, 3370.0, 1956.5, 1700.0, 3120.0, 4000.0, 1954.2857142857142, 1110.0, 3646.6666666666665, 2520.0, 5000.0, 2535.0, 5010.0, 3000.0, 3654.0, 1770.0, 2340.0, 3045.0, 1488.0, 2120.0, 2742.8571428571427, 2050.0, 4110.125, 3810.0, 5180.0, 8970.0, 2825.2, 1123.25, 2705.4545454545455, 4920.0, 3090.0, 3180.0, 3274.5, 2618.181818181818, 4020.0, 2720.0, 2940.0, 2866.6666666666665, 2932.5, 5420.0, 3480.0, 2476.6666666666665, 4260.0, 4008.0, 4280.666666666667, 2717.6666666666665, 4282.5, 2497.4285714285716, 4315.0, 2449.090909090909, 3675.0, 4785.0, 3794.0, 2095.0, 3100.0, 1776.0, 1080.0, 1938.0833333333333, 5589.0, 3396.0, 2733.3333333333335, 3075.0, 2760.0, 2520.0, 2907.4285714285716, 2070.0, 4056.2, 2450.777777777778, 2198.181818181818, 3622.777777777778, 1489.090909090909, 2708.5714285714284, 1920.0, 3400.0, 1757.142857142857, 1830.0, 3114.0, 2512.5, 1410.0, 3240.0, 2745.0, 3660.0, 3150.0, 3615.0, 1884.0, 2360.0, 2091.4285714285716, 2955.0, 5204.333333333333, 2652.0, 2347.222222222222, 2880.0, 3518.5, 3266.6, 3525.4, 2670.0, 3060.0, 2921.5384615384614, 2754.5454545454545, 2950.909090909091, 3300.0, 2790.0, 4236.0, 3525.0, 3922.4444444444443, 2707.4545454545455, 4487.888888888889, 2144.0, 3145.0, 3295.625, 3412.5, 2951.6, 3136.3636363636365, 2160.0, 5150.0, 2796.0, 2968.3636363636365, 3857.1428571428573, 3192.0, 2705.4545454545455, 2738.076923076923, 2884.6153846153848, 2593.5, 2514.5454545454545, 3031.2, 3140.818181818182, 3405.909090909091, 3156.0, 3030.0, 2905.0, 5085.2, 2925.2727272727275, 4200.0, 2228.5714285714284, 2640.0, 2703.5, 2700.0, 3186.6666666666665, 3050.0, 2100.0, 3620.0, 2410.0, 2246.5625, 4800.0, 2497.5, 2801.1, 2720.0, 2940.0, 5220.0, 3468.0, 3030.0, 4052.1428571428573, 3882.8571428571427, 4086.6666666666665, 3516.3, 3657.1428571428573, 2748.2727272727275, 2413.1428571428573, 3537.1428571428573, 3390.5, 3403.5833333333335, 4110.0, 2589.3846153846152, 3786.4444444444443, 2560.0, 3006.6666666666665, 4290.9, 3049.090909090909, 3100.0, 3144.0, 2511.4285714285716, 2828.5714285714284, 2322.3529411764707, 3150.0, 3037.5, 2357.1428571428573, 2612.3076923076924, 3171.769230769231, 3600.0, 2750.0, 3548.5714285714284, 3580.0, 2584.5714285714284, 2640.0, 3277.4444444444443, 2544.25, 3080.0, 4430.0, 4835.666666666667, 3407.3333333333335, 4850.0, 2700.0, 3646.3, 3675.0, 2834.181818181818, 3211.8, 2374.285714285714, 3233.5, 3481.2, 3933.3333333333335, 3136.4444444444443, 2900.2, 2496.0, 7180.0, 3187.1428571428573, 4658.142857142857, 3637.5, 2021.6315789473683, 2247.866666666667, 2940.0, 2225.0, 4899.714285714285, 4080.0, 2500.0, 4190.833333333333, 2812.5, 2087.625, 4123.125, 4941.5, 3208.1111111111113, 3027.8571428571427, 2614.214285714286, 2998.125, 2350.0, 3604.5, 5364.0, 3756.5454545454545, 2766.6666666666665, 3144.0, 3109.3333333333335, 2085.4736842105262, 3591.125, 3114.0, 2201.5384615384614, 2572.3333333333335, 4034.0, 3027.5, 2602.3076923076924, 3532.4444444444443, 3103.6363636363635, 2342.1111111111113, 3100.0, 4150.285714285715, 2607.3, 3140.076923076923, 1665.6666666666667, 3060.0, 2265.769230769231, 3286.6666666666665, 3160.0, 3406.6666666666665, 4392.0, 2760.0, 3186.6666666666665, 2764.6, 3408.0, 2733.3333333333335, 3586.6666666666665, 2454.5454545454545, 2256.0, 2762.9166666666665, 3366.6666666666665, 2421.4285714285716, 3330.0, 2982.0, 3480.0, 2312.235294117647, 3785.6666666666665, 4176.0, 2644.6363636363635, 3001.8888888888887, 2833.6363636363635, 2425.0, 3036.1, 3054.2, 2820.0, 4292.714285714285, 3147.625, 2875.2727272727275, 3946.285714285714, 2410.909090909091, 2790.0, 3283.0, 1817.142857142857, 3462.0, 3700.0, 2232.8571428571427, 3784.75, 2350.0, 2475.0, 3682.5, 2740.0, 3831.4285714285716, 1866.6666666666667, 2350.0, 2520.0, 2436.2727272727275, 3360.0, 3133.3333333333335, 2781.818181818182, 3420.0, 2465.4545454545455, 2400.0, 3170.4545454545455, 2990.0, 3050.0, 2392.5, 2941.2727272727275, 5244.4, 3180.5454545454545, 3797.1428571428573, 2100.0, 3401.6363636363635, 2933.3333333333335, 4037.1428571428573, 4037.1428571428573, 2522.8333333333335, 2466.769230769231, 2692.25, 2745.4166666666665, 4310.0, 3083.0, 3166.6666666666665, 5260.0, 2640.0, 2991.4285714285716, 2850.0, 3738.777777777778, 3272.1666666666665, 4170.0, 2770.777777777778, 3048.6, 2988.0, 2455.0, 2933.6666666666665, 2001.7333333333333, 2784.0, 4345.714285714285, 3001.2727272727275, 2970.4444444444443, 3311.8888888888887, 3191.0, 3847.5, 3606.6666666666665, 5210.0, 3544.0, 4352.375, 2766.6666666666665, 2806.6666666666665, 2770.909090909091, 3200.0, 3450.0, 4119.142857142857, 2466.0, 2187.230769230769, 3502.5, 4396.0, 3133.3333333333335, 3596.125, 2623.6363636363635, 3709.75, 4076.875, 2898.0, 3720.0, 2910.0, 2665.714285714286, 3658.8, 4050.0, 3079.8, 2781.818181818182, 2623.6363636363635, 3641.25, 3238.0, 2487.2727272727275, 2910.0, 2748.0, 2745.0, 2940.0, 2603.6363636363635, 2748.0, 3746.1111111111113, 2743.0, 2618.181818181818, 2640.3, 3032.1428571428573, 4200.0, 7127.5, 3084.2, 2845.9, 4178.75, 3600.0, 4800.0, 3555.25, 1950.0, 2790.0, 2580.0, 2484.0, 2952.0, 2901.818181818182, 2411.25, 4057.5, 4435.0, 3320.0, 3696.5, 3200.0, 2873.7272727272725, 2092.0, 4572.0, 3201.1, 2720.0, 3076.8888888888887, 3675.0, 3059.875, 3203.2, 2237.1428571428573, 4337.142857142857, 3060.0, 4251.428571428572, 4035.0, 4562.375, 2778.0, 3285.0, 4428.0, 2971.5, 2600.0, 3113.3333333333335, 2634.5454545454545, 3804.375, 2781.818181818182, 2560.0, 4910.0, 3495.0, 2850.0, 2790.125, 4700.666666666667, 3192.0, 4230.875, 3075.0, 2945.0, 2632.0, 3801.5, 2700.2, 3370.8888888888887, 3100.222222222222, 2789.769230769231, 4027.8, 2537.1428571428573, 2860.0, 3709.181818181818, 2880.6363636363635, 2945.3333333333335, 3080.0, 3613.3333333333335, 2172.4444444444443, 2950.4, 2754.5454545454545, 4740.0, 3144.0, 2525.818181818182, 1953.3333333333333, 4473.333333333333, 2483.1428571428573, 4260.0, 2907.2727272727275, 2607.2727272727275, 2031.5, 4250.0, 5560.0, 2229.230769230769, 2776.3636363636365, 3969.4, 2460.2, 2562.8571428571427, 4234.285714285715, 4033.4444444444443, 3125.0833333333335, 3592.5, 3340.0, 3062.75, 2612.7272727272725, 2582.714285714286, 3828.0, 3091.0, 3321.4, 2496.625, 4500.0, 1957.8947368421052, 3267.7272727272725, 3720.0, 3017.5, 2565.0, 3624.2, 4837.625, 2800.0, 3829.4285714285716, 2716.818181818182, 3425.0, 3300.0, 3233.9166666666665, 3113.3333333333335, 3444.0, 2416.3636363636365, 2276.470588235294, 3035.0, 2593.846153846154, 2993.3333333333335, 2893.846153846154, 2070.0, 3409.090909090909, 1926.0, 4122.857142857143, 2837.3846153846152, 3060.2727272727275, 3342.285714285714, 3030.0, 2622.0, 1826.6666666666667, 4020.0, 4018.8333333333335, 2227.0625, 2089.529411764706, 2903.2727272727275, 3223.8, 4757.285714285715, 2653.6, 5358.0, 4661.0, 1972.5, 2841.818181818182, 3577.0, 3126.6666666666665, 2362.5, 3157.5, 3396.0, 12022.0, 2640.0, 2836.3636363636365, 4531.0, 3485.4545454545455, 3064.0, 3306.6666666666665, 3267.4444444444443, 2367.230769230769, 5684.0, 4388.571428571428, 4050.0, 4200.0, 2539.923076923077, 2528.0, 2764.6923076923076, 2862.0, 2760.0, 2340.0, 6100.333333333333, 3694.25, 3106.4285714285716, 3150.0, 8551.75, 4261.6, 3750.0, 1800.0, 2063.5384615384614, 4950.333333333333, 2172.0, 2585.4545454545455, 3487.75, 4050.0, 4380.571428571428, 1495.923076923077, 5252.0, 3712.5, 3480.0, 4500.0, 4575.0, 2430.0, 3221.090909090909, 3542.4444444444443, 2950.909090909091, 3612.2, 3045.3636363636365, 2491.1428571428573, 3962.75, 1641.4285714285713, 3642.8571428571427, 2900.0, 2588.5714285714284, 2351.25, 2780.0, 2710.0, 7754.75, 3092.818181818182, 3150.0, 10500.0, 3334.25, 2351.6666666666665, 4600.0, 3614.25, 4720.0, 1728.0, 2425.0, 3100.777777777778, 5099.0, 3045.5, 2286.6666666666665, 2845.0, 3273.3333333333335, 2724.0, 5320.666666666667, 2700.0, 2400.0, 3325.714285714286, 3371.4285714285716, 2843.7272727272725, 5520.0, 3195.0, 3002.8, 4204.0, 3366.0, 3030.0, 6300.0, 2271.4285714285716, 3730.0, 2651.7, 1613.7142857142858, 2741.4166666666665, 3264.4, 2296.6363636363635, 2211.4285714285716, 2140.1666666666665, 3171.4285714285716, 4086.2, 2256.5, 2999.1111111111113, 2265.0, 3456.0, 3685.714285714286, 5147.5, 2570.0, 2980.0, 2026.5714285714287, 1460.0, 2204.5714285714284, 2713.8, 2809.909090909091, 2675.0, 3902.8, 2232.4, 2940.0, 3532.3333333333335, 4275.0, 3540.0, 2051.222222222222, 3712.0, 4740.0, 2865.0, 2730.0, 2650.285714285714, 1530.4285714285713, 2307.7, 5005.0, 3200.0, 3200.0, 3885.3333333333335, 2372.25, 19863.0, 3330.375, 2995.3846153846152, 2675.0, 2625.0, 3760.0, 2838.1666666666665, 2721.818181818182, 3360.0, 3667.7272727272725, 4250.0, 4752.0, 2177.9285714285716, 1607.8333333333333, 2547.2727272727275, 7165.666666666667, 2638.714285714286, 1912.8666666666666, 3060.0, 5608.333333333333, 2809.090909090909, 2439.8125, 2926.5714285714284, 3572.7272727272725, 3032.5, 2732.7272727272725, 2649.25, 4045.8571428571427, 2813.153846153846, 2910.6, 3079.25, 2623.818181818182, 2560.0, 2624.181818181818, 3840.0, 2815.3846153846152, 2008.0, 3125.3333333333335, 3600.0, 2940.9, 2472.5833333333335, 3034.5, 3072.0, 4103.875, 1527.0, 2271.6470588235293, 3810.0, 3562.5, 4856.333333333333, 3436.6363636363635, 2700.0, 2721.818181818182, 3065.5, 3560.0, 3985.714285714286, 2631.4285714285716, 1984.6, 3200.0, 3051.4285714285716, 3042.0, 2328.0, 2721.4285714285716, 3338.222222222222, 3280.0, 2428.846153846154, 3900.0, 1881.0, 3470.0, 3672.6666666666665, 3320.0, 4829.666666666667, 2782.0, 4803.0, 2898.0, 3941.125, 7259.8, 3007.5, 2801.7272727272725, 2910.1, 3420.0, 2033.5, 2899.5384615384614, 3214.285714285714, 2743.0, 3090.0, 3156.0, 3300.0, 4254.333333333333, 3444.0, 3670.0, 2647.285714285714, 1654.2857142857142, 3047.076923076923, 4345.0, 3238.75, 2602.285714285714, 4414.5, 2465.4166666666665, 5190.0, 2905.7, 3223.5555555555557, 3932.2, 3677.714285714286, 2349.230769230769, 2805.0, 5416.2, 2986.0, 2600.0, 3480.0, 2455.2727272727275, 5700.0, 2230.0, 3776.875, 3372.0, 2620.0, 2700.0, 2452.0, 3840.0, 2795.8333333333335, 2862.0, 5150.666666666667, 3570.0, 4050.0, 3667.4, 3302.0833333333335, 4500.0, 3558.0, 5493.6, 2946.6666666666665, 3266.6666666666665, 3248.2, 3446.6666666666665, 3253.3333333333335, 5424.0, 5443.5, 2552.7272727272725, 3025.1666666666665, 3332.909090909091, 3774.0, 3195.0, 2394.9411764705883, 2340.25, 2458.4, 3666.2, 3330.0, 2253.75, 2792.3076923076924, 1956.85, 2604.0, 2412.0, 3056.4166666666665, 3110.0, 2712.8, 2742.8571428571427, 3042.0833333333335, 3838.2, 2796.923076923077, 2322.3529411764707, 2501.2, 2567.1428571428573, 2280.0, 2636.4285714285716, 2504.0, 2223.529411764706, 2364.0, 2362.5, 2344.25, 2492.6, 3252.181818181818, 2592.0, 2045.1666666666667, 2381.9375, 2325.5625, 2695.714285714286, 2661.4285714285716, 3425.0, 2194.5555555555557, 2138.823529411765, 2324.0, 3175.0, 2787.769230769231, 1842.0, 2949.230769230769, 2956.3636363636365, 2817.0, 1929.4736842105262, 2195.294117647059, 3025.0, 2765.6153846153848, 2777.230769230769, 2384.0666666666666, 2258.5, 2512.0, 2135.6470588235293, 1879.0526315789473, 2645.9333333333334, 2735.285714285714, 3072.3333333333335, 3225.0, 1946.4736842105262, 2213.9411764705883, 1935.421052631579, 2547.2, 2600.9285714285716, 2026.7777777777778, 2746.5, 2790.0, 2806.153846153846, 2528.0, 1758.142857142857, 2480.375, 2742.8571428571427, 2833.846153846154, 3624.0, 1867.2105263157894, 2248.235294117647, 2410.0, 2610.0, 3163.8333333333335, 1663.6363636363637, 2396.625, 3155.0, 2033.2631578947369, 2808.4615384615386, 1926.0, 2485.3333333333335, 3768.0, 3567.2727272727275, 2818.6923076923076, 1894.842105263158, 2237.6470588235293, 2670.0, 2802.8571428571427, 2448.866666666667, 3744.0, 3465.909090909091, 2231.4375, 3900.8, 3144.1666666666665, 2760.5714285714284, 2711.9285714285716, 3209.5833333333335, 3679.4, 2554.0, 2790.6923076923076, 4984.75, 3864.8, 2807.3571428571427, 3445.5, 2043.157894736842, 3714.0, 3005.0, 2412.125, 2383.5625, 2743.214285714286, 3041.769230769231, 4129.444444444444, 2420.0666666666666, 2260.705882352941, 3165.3333333333335, 4066.3, 2665.714285714286, 3375.818181818182, 2618.5714285714284, 3198.8333333333335, 2366.25, 2262.3529411764707, 3744.0, 4082.777777777778, 2524.0, 2982.3076923076924, 2244.705882352941, 2907.6923076923076, 3481.090909090909, 2651.0666666666666, 2282.3529411764707, 2025.0526315789473, 3370.5454545454545, 3032.3076923076924, 3590.6, 2693.6428571428573, 3469.090909090909, 3955.1, 3496.3636363636365, 3256.3636363636365, 2832.266666666667, 3543.909090909091, 4035.181818181818, 3190.0, 3060.0, 3085.0, 2763.266666666667, 4090.777777777778, 3215.0, 3087.6923076923076, 2544.0, 2614.1875, 2564.0, 3018.153846153846, 3399.2727272727275, 2950.076923076923, 2918.846153846154, 3023.5384615384614, 3302.3333333333335, 3252.75, 2403.75, 3145.0, 4616.125, 3636.2727272727275, 3220.0, 3605.0, 3023.076923076923, 3272.909090909091, 2875.5384615384614, 2889.769230769231, 2629.6666666666665, 3916.0, 3212.5, 2518.133333333333, 2861.923076923077, 2432.6875, 3246.5833333333335, 3508.3636363636365, 4080.0, 2824.6153846153848, 2732.0, 2795.3076923076924, 2883.3571428571427, 3709.090909090909, 3174.6666666666665, 3630.2, 2826.769230769231, 3064.3333333333335, 3135.8333333333335, 3114.75, 3274.3333333333335, 3634.8, 2589.4666666666667, 3362.0833333333335, 3300.0, 3480.0, 3051.0714285714284, 2632.0, 2990.769230769231, 3013.846153846154, 2976.923076923077, 2249.75, 3083.076923076923, 2612.0, 2792.3846153846152, 3165.0, 2845.714285714286, 3168.0, 3267.4166666666665, 2350.0588235294117, 3316.3636363636365, 2592.0, 2441.9375, 3340.909090909091, 2622.8571428571427, 2447.266666666667, 3458.6363636363635, 3387.2727272727275, 3123.4166666666665, 3374.2727272727275, 3244.75, 3116.3333333333335, 3098.5714285714284, 2444.866666666667, 3327.2727272727275, 2832.1428571428573, 3162.0, 2751.4285714285716, 2829.230769230769, 3476.0, 3431.181818181818, 3098.923076923077, 3161.75, 2976.9166666666665, 3061.5, 2725.714285714286, 2856.923076923077, 3281.4166666666665, 2769.230769230769, 3294.4545454545455, 3465.818181818182, 2373.0625, 3305.230769230769, 2759.8571428571427, 2549.4, 3486.9, 2204.235294117647, 3355.0, 3743.181818181818, 2730.714285714286, 3255.0, 3162.25, 3689.909090909091, 3592.0, 3387.2727272727275, 3176.9166666666665, 2672.6666666666665, 3748.6363636363635, 3523.6363636363635, 2884.6153846153848, 3068.230769230769, 2976.923076923077, 3482.0, 3437.0, 3561.818181818182, 3903.6, 2743.6428571428573, 3727.3, 2961.9166666666665, 3398.181818181818, 3215.0, 2886.214285714286, 3665.6363636363635, 2594.0, 2628.230769230769, 3578.181818181818, 2884.076923076923, 3245.3333333333335, 2564.0, 2512.0, 3000.0, 3179.1666666666665, 3499.5454545454545, 3365.0, 2191.764705882353, 2907.6923076923076, 2528.0666666666666, 4170.333333333333, 3135.6666666666665, 2153.3333333333335, 3015.769230769231, 2934.3076923076924, 3753.0, 2403.75, 2265.8125, 2456.0, 4004.777777777778, 3738.0, 2667.4285714285716, 3740.5, 2520.0, 2981.5384615384614, 4032.0, 2452.266666666667, 2709.214285714286, 2935.3846153846152, 2801.5384615384614, 2692.6428571428573, 3055.6923076923076, 3002.6923076923076, 3080.0, 2952.6153846153848, 2967.3076923076924, 2445.75, 2790.9285714285716, 2764.6153846153848, 3352.3636363636365, 2756.5714285714284, 2165.823529411765, 2867.3846153846152, 2709.714285714286, 2526.266666666667, 1983.5555555555557, 2460.0, 3078.9166666666665, 2597.0, 3130.0, 2761.3076923076924, 2682.8571428571427, 2734.285714285714, 3036.923076923077, 2721.4285714285716, 2672.0, 1973.6842105263158, 2570.6666666666665, 3126.25, 3427.090909090909, 2875.3846153846152, 3627.4, 4128.0, 2780.6153846153848, 3721.3, 2569.0625, 4525.625, 3507.2727272727275, 1880.2, 3480.0, 2917.6923076923076, 3645.0, 4009.3, 2289.25, 2629.4, 2992.846153846154, 3554.818181818182, 3345.0, 1957.8947368421052, 2704.285714285714, 2851.4285714285716, 4296.888888888889, 2527.5, 2465.9333333333334, 2678.5714285714284, 3444.2727272727275, 3512.7272727272725, 2838.3571428571427, 2262.3529411764707, 2342.5625, 4800.0, 3209.25, 1738.8095238095239, 2903.076923076923, 3215.0, 4032.0, 2773.6923076923076, 2120.277777777778, 2336.25, 3594.5454545454545, 3670.7272727272725, 2986.153846153846, 1893.0, 2888.5714285714284, 2730.0, 3515.3636363636365, 3375.0, 1846.3636363636363, 3987.5555555555557, 3245.9166666666665, 2635.714285714286, 3310.818181818182, 3056.25, 3604.090909090909, 2649.285714285714, 3470.7272727272725, 5089.285714285715, 4486.666666666667, 2326.5, 3498.2, 3631.7, 3351.9166666666665, 3096.6153846153848, 2953.846153846154, 2519.5625, 3460.181818181818, 3316.3636363636365, 2620.0, 3095.0, 2913.3571428571427, 2239.705882352941, 3666.8, 3251.25, 2676.5, 2841.153846153846, 2768.0714285714284, 3839.5, 2325.294117647059, 2441.25, 2134.8333333333335, 3585.2727272727275, 3264.285714285714, 1993.842105263158, 2352.266666666667, 2865.5384615384614, 2449.0, 2990.0, 2550.6666666666665, 3354.5454545454545, 3333.6363636363635, 3171.0, 2481.5333333333333, 3067.5384615384614, 2811.3571428571427, 3991.5555555555557, 3836.0, 3417.181818181818, 4058.777777777778, 2774.6923076923076, 3586.7, 3786.0, 3245.0, 2762.3571428571427, 2972.3076923076924, 3132.3333333333335, 2637.714285714286, 2592.8571428571427, 2858.3333333333335, 3405.818181818182, 3032.0, 2926.153846153846, 3449.6363636363635, 3080.0, 3324.909090909091, 2880.0, 2828.3076923076924, 4064.6, 2981.4615384615386, 2750.285714285714, 2760.6428571428573, 2469.733333333333, 3486.0, 2460.0666666666666, 4263.625, 2609.714285714286, 4306.666666666667, 2402.8, 2962.846153846154, 2522.9333333333334, 2131.6470588235293, 2812.230769230769, 2468.133333333333, 2484.733333333333, 3069.5833333333335, 2388.75, 2528.5714285714284, 2718.714285714286, 3120.0, 2889.0, 2584.285714285714, 2631.9285714285716, 2771.4285714285716, 3786.0, 5742.666666666667, 2510.0, 2618.181818181818, 2235.3846153846152, 2275.3846153846152, 4229.428571428572, 2958.0, 2238.5384615384614, 2160.0, 2233.846153846154, 2232.4615384615386, 1946.2857142857142, 2193.0, 2388.076923076923, 1852.5, 2349.6923076923076, 2700.909090909091, 2550.0, 1721.2941176470588, 1856.875, 2363.4615384615386, 2284.6153846153848, 2570.0, 2700.090909090909, 1988.5714285714287, 3682.5, 2612.7272727272725, 2766.7272727272725, 2664.4545454545455, 1633.388888888889, 2321.5384615384614, 2721.818181818182, 2281.3846153846152, 2910.1, 2511.9166666666665, 2402.153846153846, 2629.090909090909, 2510.0, 2988.0, 2247.6923076923076, 2409.230769230769, 3206.6666666666665, 2743.6363636363635, 2485.0, 1940.0666666666666, 3103.2, 2924.8, 2470.0, 2671.181818181818, 2064.8823529411766, 2376.923076923077, 3380.0, 2335.3846153846152, 2333.846153846154, 2604.0, 2530.4166666666665, 2515.0833333333335, 2591.181818181818, 2988.0, 3333.3333333333335, 2475.0833333333335, 2700.0, 2970.1, 2976.0, 2495.0, 2104.285714285714, 3157.5, 3300.1111111111113, 2672.7272727272725, 4072.0, 2296.076923076923, 2455.0, 2716.3636363636365, 2970.0, 3293.4444444444443, 2061.4285714285716, 3324.0, 3018.0, 2940.4, 3712.5, 3053.7, 2560.0, 3712.625, 3145.7, 3968.5714285714284, 2210.0, 2785.4545454545455, 3233.3333333333335, 2331.230769230769, 3366.6666666666665, 2626.4166666666665, 3977.285714285714, 3386.6666666666665, 3680.0, 3566.6666666666665, 2543.0833333333335, 3910.3333333333335, 3063.5, 3715.0, 3033.8, 2422.0833333333335, 2664.9166666666665, 2515.0, 2831.7272727272725, 2843.7, 2234.3846153846152, 4045.714285714286, 2928.0, 3024.0, 3267.5555555555557, 2400.0, 2852.3076923076924, 2562.8571428571427, 3859.375, 3333.3333333333335, 2625.0, 3105.9, 3090.8, 2946.090909090909, 3021.0, 3078.0, 2825.4545454545455, 3705.875, 3402.1111111111113, 2162.0714285714284, 2615.0, 2957.8, 3464.222222222222, 3456.3333333333335, 2754.5454545454545, 3138.0, 2228.5714285714284, 3065.2, 2554.4166666666665, 3048.8, 3603.5555555555557, 3030.1, 2891.2727272727275, 3413.3333333333335, 2755.2727272727275, 2625.0, 2207.3571428571427, 3864.25, 3121.2, 2918.181818181818, 2050.4285714285716, 3974.25, 1992.5625, 2180.3333333333335, 4226.714285714285, 3218.181818181818, 3825.5, 2700.3636363636365, 3090.9, 3404.0, 2550.0, 3120.0, 2475.0, 2836.3636363636365, 4251.0, 3030.0, 3407.3333333333335, 2060.0, 3150.4, 4710.333333333333, 2584.6153846153848, 2910.1, 3592.625, 3600.0, 2902.3333333333335, 2730.0, 2536.4545454545455, 2922.1, 3254.5833333333335, 2238.5384615384614, 2569.090909090909, 2400.1666666666665, 3369.625, 2886.0, 2754.1, 2874.2, 2633.4444444444443, 3738.0, 2464.0, 3051.2, 3460.0, 2727.1111111111113, 3050.75, 2325.0833333333335, 3552.1666666666665, 2645.6363636363635, 3157.6666666666665, 3547.2727272727275, 2954.7, 2380.0833333333335, 3193.4444444444443, 2576.1666666666665, 2982.8, 2910.1, 2593.0, 2425.1666666666665, 2778.2, 3300.0, 2643.4545454545455, 2910.1, 2910.1, 2451.25, 3862.5, 2931.3, 3637.625, 3294.3333333333335, 3340.0, 3900.0, 2645.5454545454545, 3015.125, 3657.625, 1729.1764705882354, 2121.5, 2465.0833333333335, 2395.0833333333335, 2457.0833333333335, 3108.0, 2970.0, 2607.5555555555557, 2470.3333333333335, 2425.0833333333335, 3562.75, 2450.1666666666665, 2689.181818181818, 2386.6923076923076, 2450.1666666666665, 2683.818181818182, 2700.090909090909, 2596.4545454545455, 2499.4545454545455, 3563.625, 2790.2, 2806.777777777778, 2195.5714285714284, 2784.1, 2400.0833333333335, 2886.0, 2475.0833333333335, 2224.6923076923076, 3057.714285714286, 2620.4545454545455, 4800.166666666667, 2700.090909090909, 2708.4545454545455, 3206.777777777778, 2164.285714285714, 3340.0, 2104.5, 1976.357142857143, 2213.6923076923076, 2525.0, 2910.1, 1956.0, 1901.25, 2012.0, 2415.6153846153848, 2665.090909090909, 2464.0, 2076.0, 2918.181818181818, 2754.5454545454545, 2303.076923076923, 1948.0, 1938.75, 2545.0, 2535.0, 2276.75, 2048.0, 2238.5384615384614, 2064.0, 2224.6153846153848, 1796.4705882352941, 2028.0, 2068.0, 2427.6923076923076, 3652.5, 1980.0, 1948.0, 2008.4666666666667, 2754.5454545454545, 2229.230769230769, 2151.4285714285716, 2000.0, 2056.0, 2376.923076923077, 3727.5, 2008.0, 4763.5, 1897.5, 2060.0, 2970.0, 1818.8125, 2130.0, 2172.8571428571427, 2003.2142857142858, 2453.5833333333335, 2332.6153846153848, 2395.9166666666665, 2942.6, 2774.4545454545455, 1973.25, 1981.7333333333333, 2909.9, 2136.0, 2655.1666666666665, 2471.25, 1988.0, 3018.3, 2202.8571428571427, 2880.8, 3114.9, 2141.0, 2943.3, 3338.6666666666665, 2970.0, 2317.846153846154, 2224.285714285714, 2194.5714285714284, 1838.8235294117646, 2982.0, 2535.0, 2376.846153846154, 2654.181818181818, 2511.5833333333335, 3722.75, 3286.6666666666665, 2238.5384615384614, 2678.2727272727275, 1758.5625, 2194.285714285714, 2884.6153846153848, 2120.0, 2595.1428571428573, 2516.3333333333335, 2238.5384615384614, 2423.0, 2469.230769230769, 2557.0, 2104.285714285714, 2700.0, 2654.909090909091, 2600.8, 2510.0, 2905.5, 2251.3571428571427, 2976.923076923077, 2620.0, 2576.5333333333333, 2535.0, 2705.0, 3366.6666666666665, 2785.714285714286, 2345.0625, 2109.4285714285716, 1815.3529411764705, 2530.0, 2946.3076923076924, 2224.6153846153848, 2707.5, 2212.5, 3434.222222222222, 2383.5625, 2433.6153846153848, 2841.090909090909, 2052.0, 2987.5384615384614, 2419.0, 2103.3333333333335, 2809.090909090909, 2007.1875, 2575.0, 2083.3333333333335, 2885.3076923076924, 2400.0, 2231.1428571428573, 2688.9285714285716, 2768.5714285714284, 2614.285714285714, 2197.9285714285716, 2060.0, 3333.3636363636365, 2716.3636363636365, 3125.0, 3985.714285714286, 4131.428571428572, 2815.3846153846152, 2812.3846153846152, 3000.5833333333335, 2765.4545454545455, 3078.0, 2907.6923076923076, 2746.153846153846, 2838.0, 3727.5, 2381.4166666666665, 3220.0, 3166.6666666666665, 2678.5714285714284, 3615.0, 2266.153846153846, 3366.6666666666665, 2940.0, 3400.0, 2928.0, 2778.4615384615386, 2754.5454545454545, 3126.777777777778, 3298.0, 3303.5555555555557, 2940.4615384615386, 2671.818181818182, 3532.5, 2694.5454545454545, 2645.5454545454545, 2980.0833333333335, 3335.909090909091, 2211.8571428571427, 2664.3571428571427, 2755.2727272727275, 3120.0, 2792.3846153846152, 2700.3333333333335, 2760.909090909091, 2833.2727272727275, 2572.714285714286, 2520.0, 2236.923076923077, 2749.090909090909, 2803.285714285714, 2975.0, 1978.764705882353, 2939.1, 2178.3571428571427, 17436.5, 2330.769230769231, 3090.0, 2728.090909090909, 2490.0, 3062.0, 2164.6428571428573, 2478.25, 2863.6363636363635, 2580.25, 3048.0, 2328.6923076923076, 3146.8888888888887, 2101.1428571428573, 2381.3076923076924, 2961.0, 2400.0, 3036.0, 2082.285714285714, 2445.6666666666665, 2798.181818181818, 1790.8235294117646, 2747.5454545454545, 2589.3333333333335, 2530.0, 2311.3076923076924, 2012.0, 3102.4, 2901.818181818182, 2044.2857142857142, 2280.153846153846, 2850.1, 2716.3636363636365, 2252.3076923076924, 1976.2857142857142, 2270.769230769231, 3420.1666666666665, 1826.25, 3326.6666666666665, 1690.0, 2440.0, 3133.3333333333335, 2008.0, 2905.3, 1876.9375, 2450.0, 2742.0, 2125.714285714286, 2113.5714285714284, 2558.0, 2912.8, 1993.0, 2229.3076923076924, 1826.25, 2080.1428571428573, 1924.6, 2910.1, 2183.076923076923, 2425.0833333333335, 2645.5454545454545, 2197.0, 2988.0, 2525.0, 1957.5, 3393.3333333333335, 2923.4, 2565.0, 2211.5, 2023.4, 2381.5384615384614, 2456.3333333333335, 2032.3333333333333, 2988.0, 2521.5833333333335, 2177.1428571428573, 3420.0, 2275.6153846153848, 2689.090909090909, 2565.0, 2758.3636363636365, 2458.75, 2275.923076923077, 2520.0, 1910.5263157894738, 3185.25, 2953.7, 2230.3571428571427, 2455.0, 1923.75, 2072.0, 2832.0, 2530.0, 2770.909090909091, 1672.2272727272727, 2349.230769230769, 3035.6, 2048.0, 2543.75, 2271.4285714285716, 2572.25, 2645.4545454545455, 2335.3846153846152, 2190.0, 2224.285714285714, 2830.909090909091, 2841.818181818182, 2304.3846153846152, 2020.0, 2789.2727272727275, 3764.75, 2229.230769230769, 2244.3846153846152, 2432.4166666666665, 2654.090909090909, 3390.125, 3615.125, 3090.4, 2282.230769230769, 2262.6153846153848, 2498.1666666666665, 2838.181818181818, 3266.8888888888887, 2664.818181818182, 2011.7142857142858, 2475.4166666666665, 2606.5454545454545, 2530.0, 2378.923076923077, 2255.076923076923, 3047.2, 2690.6666666666665, 2727.2727272727275, 3279.1111111111113, 1672.9411764705883, 2585.0, 2732.7272727272725, 2068.4666666666667, 3000.0, 2168.8571428571427, 3420.0, 2411.6923076923076, 2820.0, 1972.0, 1772.8235294117646, 2836.3636363636365, 3637.625, 2638.3636363636365, 2407.0833333333335, 1957.6, 2745.2727272727275, 3834.375, 2712.1, 2425.0833333333335, 2164.285714285714, 3180.0, 3606.6666666666665, 3233.4444444444443, 2946.0, 1804.5, 3024.0, 3269.6666666666665, 2971.7, 2910.1, 3321.5555555555557, 3348.4444444444443, 2440.0, 2080.3571428571427, 1885.9333333333334, 3667.5, 2940.4545454545455, 2976.0, 2078.6428571428573, 1738.2941176470588, 2879.9, 3132.0, 2874.1, 2675.0, 2238.5384615384614, 3322.4444444444443, 2552.7272727272725, 2390.0, 2123.3529411764707, 2130.0, 2699.6363636363635, 2932.6, 2303.076923076923, 3042.0, 2256.4615384615386, 2702.0, 2231.3846153846152, 2631.0, 2425.0833333333335, 2898.0, 4727.666666666667, 4047.375, 2687.3636363636365, 2489.0, 2922.0, 2727.2727272727275, 2792.7272727272725, 2698.3636363636365, 3265.2727272727275, 2525.75, 2891.5454545454545, 2844.0, 2036.842105263158, 2470.6666666666665, 3825.0, 2727.2727272727275, 2550.25, 1790.0, 2065.9285714285716, 2705.4545454545455, 2425.4166666666665, 2634.25, 2031.5333333333333, 3271.1111111111113, 2455.0, 2535.0, 2673.7272727272725, 2224.6153846153848, 3600.0, 2665.0, 2240.6923076923076, 2505.0, 2238.5384615384614, 2668.818181818182, 3361.0, 3233.3333333333335, 2874.1, 2220.0, 3635.0, 2795.090909090909, 3514.1111111111113, 2689.2727272727275, 2293.846153846154, 3032.0, 2645.5, 3262.3333333333335, 3027.2, 2781.818181818182, 3637.625, 3637.625, 2676.2727272727275, 2482.3333333333335, 2885.4545454545455, 2961.818181818182, 3137.4, 2784.0, 2651.4545454545455, 2135.0714285714284, 2169.3846153846152, 3635.1111111111113, 3060.0, 2732.7272727272725, 1912.0666666666666, 2513.5, 2520.0, 2358.4615384615386, 3221.3333333333335, 2743.6363636363635, 2910.1, 2252.3076923076924, 2405.1666666666665, 2976.0, 3162.0, 2910.1, 2892.1, 3210.6, 2988.0, 3637.625, 2749.090909090909, 2944.8, 2775.2727272727275, 2970.0, 3826.0, 2605.181818181818, 3757.5, 1993.5333333333333, 4139.714285714285, 3078.0, 3076.1, 3220.0, 2526.6666666666665, 2002.642857142857, 3780.0, 3555.0, 3193.7, 2260.5384615384614, 1971.4285714285713, 3637.625, 3660.5, 3500.5555555555557, 1952.0, 1920.0, 2733.4545454545455, 3857.125, 3300.0, 2248.0, 2273.230769230769, 3406.6666666666665, 2940.0, 3355.8888888888887, 2258.5714285714284, 2014.2857142857142, 3096.8, 3240.3333333333335, 3750.0, 3368.4444444444443, 3246.777777777778, 4169.0, 3642.875, 3300.0, 2738.181818181818, 2925.2, 4200.333333333333, 2760.0, 3414.5555555555557, 2520.0, 3600.0, 3010.7, 3380.0, 2813.818181818182, 2843.0, 3022.75, 3060.0, 2882.7, 3792.0, 3228.6666666666665, 3373.3333333333335, 2994.0, 3407.4444444444443, 2907.6, 3342.0, 3637.75, 2645.5454545454545, 2877.9, 2729.090909090909, 2934.0, 3325.0, 2530.909090909091, 2705.4545454545455, 2988.0, 3185.2, 2623.818181818182, 3260.0, 2703.5714285714284, 4005.0, 3453.3333333333335, 3456.4444444444443, 3241.6666666666665, 2720.909090909091, 3282.8888888888887, 2548.25, 3166.3333333333335, 3305.3333333333335, 2937.5, 3452.4444444444443, 2627.9166666666665, 2740.818181818182, 3212.1111111111113, 3900.0, 2262.8571428571427, 2747.181818181818, 3293.3333333333335, 3736.625, 2892.1, 2188.0, 2369.230769230769, 3675.125, 3332.0, 4440.0, 2525.0, 2672.818181818182, 5110.0, 3280.4444444444443, 3956.125, 2316.923076923077, 2712.3333333333335, 3439.5555555555557, 2969.8, 4361.857142857143, 2570.0, 2828.6363636363635, 4200.142857142857, 3735.0, 2892.090909090909, 3155.4444444444443, 2943.0, 3671.25, 3113.3333333333335, 2278.3076923076924, 2880.4545454545455, 3695.875, 4524.2, 3640.875, 3772.5, 4035.714285714286, 3000.0, 2495.0, 3637.625, 2686.090909090909, 3204.4444444444443, 2575.909090909091, 2441.6, 3053.5, 3759.5, 2536.4545454545455, 2922.3, 3240.0, 4369.857142857143, 3435.777777777778, 2382.076923076923, 2923.6363636363635, 2655.7272727272725, 3279.1111111111113, 3375.1111111111113, 2300.0, 2820.0, 2969.8, 3030.0, 2885.3, 3420.777777777778, 3637.625, 3013.3, 3353.3333333333335, 2926.3, 2674.0, 3316.5555555555557, 3339.5555555555557, 4033.4444444444443, 3300.0, 2470.4166666666665, 3260.0, 3213.5555555555557, 2904.1, 3364.3333333333335, 2713.5833333333335, 2686.5, 3313.4444444444443, 2940.0, 3074.3, 2774.0, 2745.8, 4520.142857142857, 3382.222222222222, 2825.6363636363635, 3378.777777777778, 3504.777777777778, 3764.375, 3710.375, 2115.6428571428573, 2837.2727272727275, 3398.3333333333335, 2760.0, 4939.666666666667, 2480.1666666666665, 2992.5555555555557, 3018.0, 3735.0, 3114.9, 2262.8571428571427, 2425.0833333333335, 4233.333333333333, 3637.625, 3748.875, 2432.3076923076924, 3233.4444444444443, 2588.5714285714284, 2746.153846153846, 2820.4615384615386, 2183.769230769231, 3127.222222222222, 1939.0526315789473, 3158.0833333333335, 3260.0, 3493.3333333333335, 2700.4545454545455, 2978.3, 2702.6153846153848, 4269.1, 2970.0, 3009.4, 3630.4, 2237.6470588235293, 3151.5, 3622.75, 3002.7, 2275.6153846153848, 2913.5, 2940.0, 3300.0, 3265.0, 1980.6666666666667, 3842.75, 3702.375, 2885.4545454545455, 2130.1428571428573, 2515.5833333333335, 3012.2, 3233.4444444444443, 2698.909090909091, 2425.1666666666665, 2061.5714285714284, 2500.1666666666665, 2678.3636363636365, 2477.75, 2892.2, 3233.4444444444443, 2773.1, 2860.5, 2327.125, 4033.4444444444443, 2215.3846153846152, 2955.1, 2689.6363636363635, 3150.0, 3153.4444444444443, 3049.3, 2606.8333333333335, 3326.3333333333335, 2618.181818181818, 3190.0, 3700.375, 3106.3, 2770.181818181818, 2815.181818181818, 2844.0, 3000.0, 3012.0, 2554.285714285714, 2448.0, 2820.0, 2644.6428571428573, 2290.0, 2828.0, 2472.4666666666667, 2445.9333333333334, 2905.0, 2658.214285714286, 2492.6666666666665, 3864.1, 3937.5555555555557, 2336.25, 2224.3529411764707, 2685.0714285714284, 2870.769230769231, 2584.285714285714, 2592.8, 2601.266666666667, 3127.1666666666665, 2995.1666666666665, 2536.0, 3230.0, 2325.0, 2556.0666666666666, 2833.846153846154, 2764.285714285714, 2678.5714285714284, 2929.714285714286, 2618.6428571428573, 3105.0, 2866.3846153846152, 3286.6363636363635, 2363.6875, 2893.846153846154, 2084.5, 2577.214285714286, 2814.3076923076924, 2317.214285714286, 2688.1428571428573, 3031.9166666666665, 2460.0, 2440.5333333333333, 2480.0, 2849.0, 3061.5833333333335, 3951.4, 2829.230769230769, 2528.5714285714284, 2302.5, 2965.769230769231, 2562.133333333333, 3305.4545454545455, 2933.3846153846152, 2535.0, 2055.5, 2330.75, 2661.4285714285716, 3490.909090909091, 2614.285714285714, 2433.75, 2188.235294117647, 2464.0, 2362.5, 3744.2, 2160.6666666666665, 2850.0, 2973.923076923077, 2097.6111111111113, 2227.0588235294117, 2059.0, 2540.0, 3130.0, 2165.222222222222, 2212.9411764705883, 2536.0, 2555.4285714285716, 2283.529411764706, 2610.4666666666667, 1925.7368421052631, 2193.3333333333335, 2306.25, 2777.1428571428573, 1770.0, 2679.0714285714284, 3500.909090909091, 2595.5714285714284, 2446.6875, 1845.25, 2343.75, 3924.0, 2153.8823529411766, 3061.0, 1870.9, 2364.3125, 4180.0, 1904.6315789473683, 3876.0, 2420.0666666666666, 2387.25, 3915.1111111111113, 2206.529411764706, 2930.769230769231, 1617.409090909091, 2680.8571428571427, 3040.0, 1788.3, 3316.3636363636365, 1728.6190476190477, 2480.6, 3020.8333333333335, 1920.0, 2818.6153846153848, 1913.6842105263158, 2638.0, 2852.3076923076924, 1524.72, 2622.8571428571427, 1794.0, 2344.4375, 2678.5714285714284, 1785.857142857143, 2665.714285714286, 2426.133333333333, 2225.0588235294117, 2942.4615384615386, 2005.2631578947369, 2884.923076923077, 2420.0666666666666, 2736.1428571428573, 1897.25, 2037.0, 2847.6923076923076, 2592.9285714285716, 2495.3333333333335, 3753.3333333333335, 2911.923076923077, 2132.5555555555557, 2592.9285714285716, 2811.8571428571427, 2248.235294117647, 2794.153846153846, 2488.0, 3004.6153846153848, 3245.0, 2517.266666666667, 3067.3333333333335, 2578.8, 2833.5384615384614, 3244.0833333333335, 2500.4, 2777.1428571428573, 3110.0, 2450.0, 3135.0, 3176.5, 2412.9333333333334, 2420.0666666666666, 2793.1428571428573, 3185.0, 2665.0, 2640.0, 3322.2727272727275, 2336.5, 2810.769230769231, 2420.0, 2569.6666666666665, 2645.6363636363635, 2559.5833333333335, 3806.875, 2067.9285714285716, 2013.6, 2149.8571428571427, 2511.0, 2634.5454545454545, 2057.214285714286, 2910.1, 2248.846153846154, 2310.0, 1788.8125, 2062.2, 2284.285714285714, 3018.1, 2862.2, 1957.8666666666666, 2270.769230769231, 2037.2857142857142, 2451.230769230769, 1775.421052631579, 2596.3636363636365, 2542.5, 2377.3846153846152, 2781.818181818182, 1698.0555555555557, 2344.6153846153848, 2280.769230769231, 1941.625, 2316.923076923077, 2200.0714285714284, 2657.7272727272725, 2397.4615384615386, 1833.6875, 2040.0, 2092.0, 1810.1875, 2168.9285714285716, 2358.4615384615386, 2600.0, 1839.6470588235295, 2684.5454545454545, 3488.4444444444443, 2415.0833333333335, 2078.6428571428573, 3439.4444444444443, 2738.181818181818, 2910.1, 2295.5384615384614, 2168.5714285714284, 3328.4444444444443, 3196.9, 2367.6923076923076, 1693.3333333333333, 2144.5714285714284, 2123.714285714286, 3130.8, 1734.5555555555557, 2422.285714285714, 3216.0, 3467.5555555555557, 1895.2941176470588, 3316.1111111111113, 2235.769230769231, 2910.1, 2305.0833333333335, 2020.2, 2247.6923076923076, 2048.5714285714284, 4217.142857142857, 3700.125, 2940.0, 2330.769230769231, 2884.6153846153848, 2937.6, 3295.9, 1984.0, 2480.0, 2240.0, 2525.3333333333335, 3243.8, 2476.4545454545455, 2348.0, 2525.6666666666665, 3138.0, 2138.5714285714284, 2078.6428571428573, 2020.0, 2549.769230769231, 2150.764705882353, 1845.0, 2775.8571428571427, 2741.181818181818, 3474.0, 2004.0, 2089.714285714286, 2487.6923076923076, 4302.857142857143, 2922.0, 2082.714285714286, 2771.3636363636365, 3446.6666666666665, 2220.153846153846, 2091.4285714285716, 2673.2727272727275, 2892.1, 2914.3, 2705.0, 2575.0, 2496.2727272727275, 3441.1111111111113, 2078.5714285714284, 2645.4545454545455, 2316.923076923077, 2558.4545454545455, 3120.0, 2306.25, 3440.0, 2224.285714285714, 2357.8571428571427, 2290.076923076923, 3583.1111111111113, 2141.6, 3982.125, 2781.818181818182, 2095.5, 3369.6666666666665, 1932.0, 3903.5, 2985.090909090909, 2756.181818181818, 3795.0, 1827.5, 2896.7272727272725, 2620.0, 2957.3636363636365, 3860.8888888888887, 3589.625, 2353.846153846154, 3030.0, 3822.625, 2779.181818181818, 2142.8571428571427, 3587.0, 2180.1428571428573, 3487.5, 3246.6666666666665, 3003.0, 2650.909090909091, 2512.0, 2505.6666666666665, 2270.769230769231, 2385.0, 2237.4, 2460.0, 2244.3076923076924, 2441.5384615384614, 4120.333333333333, 2490.0, 1782.3529411764705, 2782.090909090909, 3146.8888888888887, 2503.6875, 2121.4285714285716, 2979.9, 2450.0, 2672.3636363636365, 3037.5, 2466.8, 2307.6923076923076, 3204.0, 2379.3076923076924, 2100.0, 1888.235294117647, 2616.818181818182, 3054.0, 2112.8571428571427, 2190.0, 2613.090909090909, 2390.0, 2314.9375, 2033.3333333333333, 2607.2727272727275, 3638.625, 3172.5555555555557, 2520.0, 2381.5384615384614, 3562.625, 2437.3076923076924, 2855.153846153846, 1915.0833333333333, 1878.875, 2087.3846153846152, 2630.0, 2635.714285714286, 3170.0, 2776.5454545454545, 4546.571428571428, 3380.6, 3360.0, 3033.3, 2575.0, 3847.375, 2667.2727272727275, 3054.0833333333335, 3313.777777777778, 2472.0833333333335, 2774.6363636363635, 2718.2727272727275, 2494.3333333333335, 2185.714285714286, 3184.5, 4094.25, 3438.5555555555557, 1906.2631578947369, 2061.1428571428573, 2978.1, 4629.571428571428, 2223.153846153846, 2645.2727272727275, 2197.0, 2105.714285714286, 3301.0, 2755.3846153846152, 3147.1, 2103.4285714285716, 2431.1666666666665, 4157.428571428572, 2944.7, 2787.3636363636365, 2531.6666666666665, 2971.4, 3391.777777777778, 3400.0, 4210.714285714285, 2808.4545454545455, 2768.181818181818, 3073.7, 2705.4545454545455, 3137.0, 2530.0, 4465.714285714285, 3155.2, 3855.375, 3393.3333333333335, 3303.3333333333335, 2650.0, 2224.285714285714, 2764.6363636363635, 2686.8333333333335, 2990.6, 3639.375, 3433.3333333333335, 2910.1, 3473.3333333333335, 3036.6, 2373.3076923076924, 2728.181818181818, 2974.5, 2534.0833333333335, 2688.181818181818, 3326.6666666666665, 2775.4545454545455, 3310.222222222222, 2947.8, 2513.0833333333335, 3746.375, 2758.090909090909, 2689.090909090909, 3406.3333333333335, 3850.375, 3624.0, 3393.222222222222, 3489.8888888888887, 3406.6666666666665, 2465.5, 2810.0, 2886.2, 18902.0, 3761.1111111111113, 2485.909090909091, 2620.0, 3233.3333333333335, 3333.3333333333335, 2727.2727272727275, 2490.2727272727275, 2634.2727272727275, 3002.1, 3592.625, 2897.8, 2910.1, 3024.8, 2257.5384615384614, 2443.3333333333335, 2285.0, 3711.625, 2934.0, 2030.5, 3578.375, 2668.818181818182, 2427.8333333333335, 2103.5, 2330.4166666666665, 2883.3, 2500.0, 2498.3333333333335, 2525.4166666666665, 2433.9166666666665, 3213.4444444444443, 2590.909090909091, 1880.0, 2588.2727272727275, 3479.375, 4137.285714285715, 2464.6153846153848, 2130.0, 4457.142857142857, 4318.428571428572, 4012.5, 3832.375, 3062.2, 3213.5833333333335, 2330.769230769231, 3306.2, 3096.0, 3520.0, 3114.0, 2514.3333333333335, 4073.4285714285716, 3643.0, 1956.6666666666667, 3039.6, 3710.875, 2303.6153846153848, 2343.0, 2335.3846153846152, 4161.571428571428, 2268.846153846154, 2934.5, 3336.0, 2460.0, 3712.875, 3637.625, 2656.9166666666665, 2852.7272727272725, 2992.5454545454545, 2973.909090909091, 3387.5555555555557, 3230.4444444444443, 2322.214285714286, 4548.857142857143, 3393.3333333333335, 4405.714285714285, 3346.6666666666665, 3157.9, 2727.2727272727275, 3446.6666666666665, 3825.75, 3365.777777777778, 4584.5, 2994.0, 2585.0, 2268.153846153846, 2462.714285714286, 3310.5555555555557, 2936.8, 2822.7272727272725, 2207.1428571428573, 2984.3, 2687.25, 2194.285714285714, 2723.2727272727275, 4063.125, 3282.1, 2672.7272727272725, 2659.8333333333335, 2896.4, 3334.0, 2480.0, 2059.5, 2585.4166666666665, 4170.5, 2438.0, 3373.3333333333335, 2759.5, 2425.0833333333335, 3055.0, 3423.4444444444443, 3195.125, 3266.6666666666665, 3260.8888888888887, 3150.0, 2738.181818181818, 2565.0, 3013.1, 2390.769230769231, 2982.0, 2390.0833333333335, 2948.6, 2246.076923076923, 2890.4545454545455, 2965.2, 2535.0, 3267.6666666666665, 2040.0, 2453.6666666666665, 2432.3076923076924, 2656.090909090909, 2431.230769230769, 4431.428571428572, 3536.625, 1924.0, 2736.0, 3012.0, 3398.181818181818, 2669.0, 2450.9166666666665, 3495.0, 2695.714285714286, 2972.3076923076924, 2710.1428571428573, 2496.9333333333334, 3451.5, 2574.4, 2872.230769230769, 2386.9375, 2575.266666666667, 2752.285714285714, 2368.764705882353, 2298.625, 2524.0666666666666, 2717.1428571428573, 3175.4166666666665, 2451.125, 2747.8571428571427, 2688.5333333333333, 3160.0, 2997.923076923077, 2781.714285714286, 2640.0, 2853.6923076923076, 3005.846153846154, 4019.0, 3625.0, 2348.0, 2723.1428571428573, 3156.6666666666665, 2299.125, 2850.3571428571427, 2891.6153846153848, 2315.294117647059, 2688.785714285714, 2227.529411764706, 2551.5333333333333, 2517.0, 2211.9411764705883, 3104.0, 2510.0, 2558.6, 2553.733333333333, 2468.5714285714284, 2678.5714285714284, 2705.0714285714284, 2777.1428571428573, 2607.0714285714284, 1827.0, 3414.5454545454545, 2156.9411764705883, 2845.714285714286, 2652.8571428571427, 3210.0, 2325.0, 3012.9166666666665, 1955.2631578947369, 2623.9285714285716, 3385.9166666666665, 2356.4375, 2504.0, 2097.6470588235293, 2755.8571428571427, 2410.5882352941176, 2568.0, 2621.9333333333334, 1893.2, 2366.5625, 2173.9444444444443, 1905.0, 2657.1428571428573, 2400.0, 2659.214285714286, 2433.75, 1580.2916666666667, 3225.0, 2134.7368421052633, 2521.733333333333, 2442.75, 1989.4736842105262, 2815.3846153846152, 2076.6666666666665, 2600.0, 2583.2, 1983.157894736842, 2678.5714285714284, 3671.5, 3942.5, 2309.764705882353, 2450.0, 2593.9285714285716, 2709.6153846153848, 2265.0, 2322.875, 2404.5625, 3448.75, 2631.4285714285716, 2614.285714285714, 2489.4375, 3008.6, 2460.0, 3284.909090909091, 2907.6923076923076, 2435.625, 2935.3846153846152, 2277.294117647059, 3051.75, 3217.0833333333335, 2336.470588235294, 2520.133333333333, 2520.0, 2635.714285714286, 3600.0, 2680.3571428571427, 2725.714285714286, 2721.4285714285716, 2372.0, 2742.076923076923, 3246.9166666666665, 2708.5714285714284, 1670.304347826087, 2202.235294117647, 2597.785714285714, 1973.6842105263158, 2481.6666666666665, 1734.909090909091, 2973.4166666666665, 2657.1428571428573, 2072.764705882353, 2217.705882352941, 2332.5, 3858.0, 2964.230769230769, 2269.4117647058824, 2464.0, 2223.529411764706, 2631.1428571428573, 2982.153846153846, 2515.0666666666666, 3165.0, 3188.75, 3147.4545454545455, 2486.4375, 2800.714285714286, 3255.818181818182, 2687.1428571428573, 3933.4, 3029.0, 2448.266666666667, 2262.3529411764707, 2592.8, 2523.4666666666667, 3324.5833333333335, 2508.0666666666666, 3107.1666666666665, 2447.875, 2592.8571428571427, 2640.0, 2308.235294117647, 2040.2777777777778, 2072.277777777778, 2262.1875, 2688.4, 3700.0, 2885.230769230769, 2323.3333333333335, 2820.5384615384614, 2808.0, 2602.714285714286, 2700.0, 2734.285714285714, 3030.0, 3240.0, 2540.0, 2173.8823529411766, 2978.769230769231, 2028.1666666666667, 2436.5333333333333, 2381.25, 3302.3333333333335, 2953.923076923077, 3393.4444444444443, 3636.0, 2364.125, 2552.0, 2325.0, 3269.0, 4166.666666666667, 3048.153846153846, 2500.0, 2216.470588235294, 2358.75, 2388.75, 2703.9333333333334, 1926.3157894736842, 2648.5714285714284, 2313.8125, 2300.8125, 2696.3571428571427, 2364.0, 2792.3846153846152, 2573.785714285714, 2043.9444444444443, 3381.818181818182, 2209.4117647058824, 2838.4615384615386, 2747.1428571428573, 2556.0, 2723.0, 1973.6842105263158, 2544.0, 3316.3636363636365, 2819.6923076923076, 2451.133333333333, 2283.75, 2907.6923076923076, 2420.0, 2407.5, 2772.8571428571427, 2875.3846153846152, 3000.5384615384614, 2743.285714285714, 3546.090909090909, 2257.0, 2665.8571428571427, 2881.6153846153848, 2755.3846153846152, 3114.8333333333335, 2582.1428571428573, 3350.0, 2524.0, 2135.294117647059, 2430.8, 2701.1428571428573, 3939.6, 2687.6428571428573, 2258.470588235294, 2484.4, 2632.214285714286, 3540.0, 2116.6666666666665, 2145.3888888888887, 2671.5714285714284, 2530.3571428571427, 3200.0, 2232.4375, 2437.5, 2880.5384615384614, 2328.0, 3261.8333333333335, 2182.5625, 2785.714285714286, 3650.8, 2635.714285714286, 3119.6666666666665, 2586.0714285714284, 3198.4166666666665, 3185.0, 4868.25, 2631.4285714285716, 2556.866666666667, 3161.6923076923076, 2829.9285714285716, 4466.125, 2793.230769230769, 3316.3636363636365, 2712.6666666666665, 2668.3333333333335, 2444.0, 1923.7368421052631, 2930.769230769231, 2785.714285714286, 3252.5, 3134.8333333333335, 2395.375, 1889.578947368421, 2629.8, 2944.769230769231, 2972.3076923076924, 2086.8333333333335, 1910.578947368421, 3437.818181818182, 2828.5714285714284, 2792.769230769231, 2240.0, 1916.3684210526317, 3232.0833333333335, 2938.3076923076924, 2769.785714285714, 2170.3888888888887, 2268.8125, 2692.0, 2676.714285714286, 2491.2, 2690.769230769231, 3130.6666666666665, 2565.3333333333335, 2598.733333333333, 2460.0, 2064.705882352941, 4246.666666666667, 2871.4285714285716, 3272.7272727272725, 1867.2857142857142, 3208.0833333333335, 2163.3333333333335, 2852.3076923076924, 2473.625, 2104.684210526316, 2712.8571428571427, 2858.5714285714284, 3110.0, 2628.0666666666666, 2028.0, 2484.0, 2564.0, 2851.6153846153848, 2116.6666666666665, 1815.05, 3846.0, 2368.470588235294, 2441.5333333333333, 2317.4375, 2073.0, 6139.5, 2899.0, 2281.1176470588234, 1947.0, 3738.818181818182, 2294.1176470588234, 3845.6, 2289.9411764705883, 1835.0454545454545, 3640.909090909091, 2287.0588235294117, 3343.4545454545455, 2648.5714285714284, 3512.818181818182, 2151.3333333333335, 3111.25, 2732.076923076923, 3529.090909090909, 2619.214285714286, 2339.1875, 4360.444444444444, 2514.5333333333333, 2806.153846153846, 2597.0, 2488.0, 3225.5454545454545, 2564.214285714286, 3487.75, 2202.3529411764707, 2472.0, 2460.4, 2815.3846153846152, 2437.5, 2404.0666666666666, 2596.0, 3273.3333333333335, 2172.9411764705883, 2751.5714285714284, 2630.8, 3578.1, 2377.5, 2827.230769230769, 2610.0, 2332.5, 2369.1875, 2958.4615384615386, 2463.3333333333335, 3170.0, 2579.5714285714284, 2807.1428571428573, 2484.0, 2805.8571428571427, 1934.5263157894738, 3069.5384615384614, 2764.285714285714, 2230.5882352941176, 3027.6923076923076, 3030.6666666666665, 2841.4285714285716, 3101.0833333333335, 2325.0, 2681.133333333333, 4294.666666666667, 3210.0, 3125.0, 3009.230769230769, 3317.6666666666665, 3598.3636363636365, 3304.3846153846152, 3135.0, 3440.0, 2619.4285714285716, 2909.6923076923076, 2553.6, 3245.6666666666665, 3063.923076923077, 3072.3076923076924, 3457.3636363636365, 2637.9333333333334, 2592.0, 3509.6363636363635, 4786.0, 3514.2727272727275, 2928.923076923077, 13455.5, 3965.6, 2992.6923076923076, 3418.0, 2664.0, 2829.230769230769, 3585.7272727272725, 2696.5454545454545, 2790.8, 3000.0, 2371.25, 2198.5714285714284, 2266.6923076923076, 3346.6666666666665, 3500.0, 2254.285714285714, 2172.8571428571427, 2409.6923076923076, 3136.6, 2080.0, 2315.0, 2292.8571428571427, 2614.6666666666665, 2582.5833333333335, 2104.5714285714284, 2624.153846153846, 2226.214285714286, 3048.0, 2468.8333333333335, 2700.0833333333335, 2404.6153846153848, 2335.3846153846152, 3002.1, 2694.5454545454545, 2420.9166666666665, 2013.75, 2607.6923076923076, 3476.222222222222, 2495.0, 2669.4615384615386, 2432.230769230769, 2583.0, 3222.0, 2335.3846153846152, 1991.5882352941176, 2235.5833333333335, 3283.4444444444443, 2478.4615384615386, 2423.076923076923, 2355.0833333333335, 1878.75, 3481.777777777778, 2525.5454545454545, 2617.5, 2308.5, 2217.076923076923, 2249.714285714286, 2668.4166666666665, 1974.1, 2910.0, 1893.75, 2792.7272727272725, 2378.230769230769, 2287.153846153846, 1960.0, 1758.75, 2224.5384615384614, 3065.4545454545455, 2595.0, 2444.0, 2610.0, 1980.0, 3240.0, 2412.5, 2330.769230769231, 2552.3076923076924, 2600.0, 3240.8, 2846.909090909091, 2603.1666666666665, 1980.4117647058824, 2280.285714285714, 2353.846153846154, 5160.4, 2169.3076923076924, 2010.0, 2765.0, 3082.9, 2781.818181818182, 2215.714285714286, 2921.4, 2686.0, 2774.6363636363635, 2228.846153846154, 2134.285714285714, 3426.1111111111113, 2995.8, 3147.2727272727275, 1697.6470588235295, 2880.2, 2563.6363636363635, 2417.1666666666665, 2516.3846153846152, 2052.8571428571427, 2600.0, 2413.846153846154, 2084.9285714285716, 2416.3846153846152, 2022.8666666666666, 2121.4285714285716, 3002.0, 2437.5, 2701.3333333333335, 1792.5, 2293.846153846154, 2851.6, 2026.2, 2841.5, 1856.25, 2431.1666666666665, 2933.9, 2078.6428571428573, 2624.5833333333335, 2525.0, 2360.153846153846, 2325.6153846153848, 1940.0666666666666, 3089.909090909091, 2168.5714285714284, 2245.0, 2670.2727272727275, 2126.9285714285716, 2696.818181818182, 1828.8125, 2455.75, 2445.6666666666665, 2238.5384615384614, 2358.4615384615386, 2160.0, 2298.4615384615386, 2682.7272727272725, 2826.0, 2247.230769230769, 3226.6666666666665, 2607.2727272727275, 7154.25, 2556.1666666666665, 2982.4545454545455, 2910.0, 4508.571428571428, 2672.7272727272725, 2725.0, 3000.0, 3675.0, 3084.0, 3090.0, 2645.5454545454545, 2645.4545454545455, 2629.090909090909, 2727.2727272727275, 3533.3333333333335, 2952.0, 2781.818181818182, 2574.5454545454545, 2500.0, 2781.818181818182, 2941.4, 2700.0, 2407.0833333333335, 2435.0, 2475.0, 2600.0, 2814.5454545454545, 2798.181818181818, 1690.5882352941176, 2893.2, 3471.222222222222, 2351.3076923076924, 2520.0, 2445.25, 2656.4545454545455, 3500.0, 2671.5833333333335, 2509.714285714286, 2029.4666666666667, 2594.4545454545455, 3842.875, 1905.9333333333334, 2216.0714285714284, 2285.846153846154, 2618.5454545454545, 3169.5, 2002.4, 3227.7272727272725, 2167.3571428571427, 3632.5, 2902.5454545454545, 2057.714285714286, 2783.181818181818, 1844.0, 3243.8888888888887, 3439.222222222222, 2179.5714285714284, 2355.0, 2293.846153846154, 3074.3, 3132.0, 2164.285714285714, 2401.230769230769, 1922.0, 2290.6923076923076, 2916.0, 2229.4615384615386, 3132.1, 2706.909090909091, 2290.769230769231, 2358.6153846153848, 1844.0, 2220.0, 2147.1428571428573, 2680.3636363636365, 2682.181818181818, 2360.0, 2250.6428571428573, 1725.0555555555557, 2982.0, 2425.0833333333335, 2112.294117647059, 3239.1111111111113, 3015.2, 2602.0833333333335, 2689.090909090909, 2299.5384615384614, 3115.1, 2958.8, 3771.875, 2675.0, 2645.5454545454545, 2763.090909090909, 2471.769230769231, 2965.4, 3168.0, 2473.5833333333335, 3505.6666666666665, 3124.8, 2825.4545454545455, 2449.6153846153848, 2814.5454545454545, 3945.0, 2792.7272727272725, 2732.7272727272725, 3072.0, 2465.75, 3134.1111111111113, 2856.0, 3120.0, 2743.6363636363635, 3030.0, 2442.3333333333335, 2958.0, 4052.375, 3842.75, 2771.818181818182, 3206.777777777778, 2528.153846153846, 4671.857142857143, 3580.0, 3294.5555555555557, 2885.4545454545455, 3312.8, 3149.5, 4132.5, 2913.909090909091, 2977.0, 3561.6, 3630.0, 3201.1, 2788.0, 3426.222222222222, 3560.0, 2534.846153846154, 2370.0, 3735.5, 3551.25, 2206.6153846153848, 2981.818181818182, 3610.3333333333335, 3194.1, 2830.4, 3143.8, 3209.1111111111113, 2580.0, 2574.5833333333335, 3027.1, 3744.222222222222, 2297.1428571428573, 2190.0, 2920.8, 3847.5, 3018.0, 2375.3076923076924, 3104.2, 3141.3, 3500.0, 3054.0, 2263.769230769231, 2904.0, 2820.0, 2721.818181818182, 2860.75, 2211.4285714285716, 2545.0, 3090.0, 3346.6666666666665, 4240.285714285715, 2535.0, 2452.0833333333335, 2103.5, 3637.5, 2728.2727272727275, 2491.1666666666665, 3787.5, 3174.5454545454545, 3100.0, 3750.625, 2716.3636363636365, 3132.0, 2550.0, 2540.0, 7541.5, 3168.0, 2473.846153846154, 2640.0, 2238.5384615384614, 2754.5454545454545, 2295.230769230769, 2615.4545454545455, 2194.5384615384614, 2781.818181818182, 2281.4615384615386, 2060.5384615384614, 2435.5, 2381.5384615384614, 2555.0, 2254.285714285714, 2625.0, 2212.076923076923, 3090.0, 2020.0, 3308.222222222222, 3454.75, 2078.6428571428573, 2770.909090909091, 2080.0666666666666, 3313.3333333333335, 2077.5, 2078.5714285714284, 4305.142857142857, 3200.0, 2036.9285714285713, 3400.222222222222, 3400.0, 2141.5384615384614, 2700.0, 3007.2, 2238.5384615384614, 3656.375, 3210.0, 4182.857142857143, 2982.0, 3408.8888888888887, 4637.142857142857, 3266.6666666666665, 3531.090909090909, 2290.230769230769, 2789.181818181818, 3946.714285714286, 3192.0, 3270.777777777778, 2929.090909090909, 2687.4166666666665, 3862.5, 4157.285714285715, 3001.8, 2563.733333333333, 2578.3333333333335, 3394.625, 3065.4, 2807.181818181818, 2445.0, 2224.6153846153848, 3074.222222222222, 5180.0, 3209.8888888888887, 2545.8333333333335, 2122.214285714286, 3246.6666666666665, 2285.153846153846, 3637.5, 4344.857142857143, 3007.5, 2013.5625, 4134.285714285715, 2555.0, 3345.8, 2555.5833333333335, 4012.5, 3765.5, 2450.0, 3195.8888888888887, 2432.3076923076924, 3120.0, 2413.769230769231, 2316.0, 2690.4166666666665, 2363.923076923077, 2976.0, 3113.1, 2477.5, 2547.2727272727275, 2860.6363636363635, 3254.3333333333335, 3465.8888888888887, 3506.6666666666665, 3443.3333333333335, 2060.0, 3990.75, 3478.222222222222, 2845.181818181818, 3289.4444444444443, 2716.0, 2581.5833333333335, 3373.3333333333335, 3385.1111111111113, 2766.090909090909, 2088.6, 3346.6666666666665, 2918.181818181818, 2220.0, 3127.8, 3340.4444444444443, 2645.5454545454545, 3213.3333333333335, 2052.8571428571427, 2800.0, 2087.1428571428573, 2943.5, 2183.153846153846, 2754.5454545454545, 4371.428571428572, 2228.0, 2809.090909090909, 2640.0, 2124.714285714286, 3654.125, 3098.9, 3110.3, 2353.846153846154, 2674.090909090909, 3450.0, 2261.5384615384614, 2419.8333333333335, 2489.8333333333335, 2442.0, 2668.6363636363635, 2047.857142857143, 1948.8, 4433.285714285715, 19037.0, 3244.1111111111113, 2519.3333333333335, 2264.3076923076924, 2934.0, 2809.090909090909, 3060.0, 2015.5, 2399.9166666666665, 4167.285714285715, 2142.8571428571427, 2710.909090909091, 2213.3333333333335, 2005.2142857142858, 3225.0, 2490.0, 3250.1, 2061.5714285714284, 2390.769230769231, 3093.4444444444443, 3131.4444444444443, 2215.3846153846152, 3367.8888888888887, 3195.1111111111113, 2921.6363636363635, 2946.3, 2144.214285714286, 3169.8888888888887, 2296.846153846154, 3011.5454545454545, 2380.0, 3293.3333333333335, 3108.0, 2679.090909090909, 2431.5, 3266.6666666666665, 3846.75, 2612.7272727272725, 8499.0, 3226.6666666666665, 2322.3846153846152, 3049.5, 2531.25, 2836.2, 3079.5, 2178.0714285714284, 2883.5, 2465.6363636363635, 2916.0, 3676.25, 2425.0833333333335, 2951.6, 3264.5555555555557, 2701.3333333333335, 2910.0, 2679.0, 3618.0, 2727.2727272727275, 2551.8333333333335, 2615.0, 2457.153846153846, 2515.0, 3252.0, 3213.3333333333335, 2770.909090909091, 3027.2727272727275, 2611.75, 3119.0, 3641.875, 3070.9, 2475.9166666666665, 2575.9166666666665, 3822.375, 2994.0, 2195.6428571428573, 2675.3636363636365, 2880.0, 3070.0, 3155.1111111111113, 2103.9333333333334, 2700.0, 3778.375, 3755.125, 2940.0, 2440.0833333333335, 2598.909090909091, 2782.6666666666665, 3138.7, 5236.8, 2621.4545454545455, 2880.2, 1871.5294117647059, 3126.222222222222, 3817.5, 2837.3636363636365, 3238.6666666666665, 1642.578947368421, 2623.818181818182, 3180.1111111111113, 2605.0, 1717.2777777777778, 2431.75, 2706.090909090909, 2910.1, 2995.0, 1545.1, 2659.2, 3200.0, 2308.4615384615386, 2940.6, 1733.3333333333333, 2596.3333333333335, 2910.1, 2783.2727272727275, 1586.2, 2970.1, 3576.4285714285716, 2440.923076923077, 3031.3, 1800.8235294117646, 2400.0, 3174.6, 3266.6666666666665, 2910.1, 1972.5, 2904.4, 3353.3333333333335, 2883.6666666666665, 2960.1111111111113, 1530.25, 1960.0, 2060.5333333333333, 2635.090909090909, 1875.1875, 2087.4, 2749.4545454545455, 2962.181818181818, 3068.777777777778, 3146.3, 3360.222222222222, 3761.1111111111113, 2825.4545454545455, 3943.8571428571427, 3102.0, 3472.1, 5150.0, 2722.3636363636365, 3507.777777777778, 2678.5714285714284, 4242.857142857143, 3212.5555555555557, 4201.857142857143, 3566.6666666666665, 2670.9166666666665, 2918.181818181818, 3024.0, 3957.0, 3559.3333333333335, 2802.5, 2706.75, 4071.4285714285716, 3178.7, 3084.4, 3087.2727272727275, 4087.5, 2828.4166666666665, 2220.0, 2836.818181818182, 2224.6153846153848, 2577.1666666666665, 2976.0, 2890.8, 2052.8571428571427, 2570.769230769231, 2437.076923076923, 2150.0, 2104.285714285714, 2727.909090909091, 2241.769230769231, 2541.818181818182, 2381.5384615384614, 2913.1111111111113, 2376.923076923077, 2937.6, 2754.5454545454545, 2824.4166666666665, 3500.0, 2600.0, 2731.090909090909, 2475.5, 2610.0, 2860.1111111111113, 3506.6666666666665, 2886.0, 2340.0, 2790.0, 2841.818181818182, 2046.8, 2445.0, 2425.0, 2646.0, 2210.769230769231, 1920.0, 2136.2, 2550.0, 2666.5454545454545, 2721.818181818182, 2866.777777777778, 2357.1666666666665, 2700.2727272727275, 2565.25, 3261.222222222222, 2803.8, 4022.875, 2530.0, 3500.0, 2874.090909090909, 2645.4545454545455, 2700.4545454545455, 2700.0, 2631.6666666666665, 3126.7, 4140.142857142857, 3401.5555555555557, 2515.3636363636365, 3622.5, 2647.5454545454545, 3030.0, 2910.1, 2600.0, 3243.222222222222, 3788.0, 2280.0, 2701.090909090909, 2382.0, 3300.5555555555557, 2766.3636363636365, 2814.5454545454545, 2908.7, 2650.0, 3854.222222222222, 3525.75, 3272.222222222222, 2821.3, 2960.7, 2301.0833333333335, 3433.3333333333335, 2730.7272727272725, 3078.0, 2495.0, 4037.625, 2565.818181818182, 4390.0, 2657.7272727272725, 4192.285714285715, 2892.6363636363635, 2487.6923076923076, 3002.8, 3800.4444444444443, 3435.25, 2944.3, 2726.818181818182, 4013.125, 2908.0, 2816.2727272727275, 2758.3636363636365, 3645.625, 3096.8, 3630.0, 2880.1, 2950.909090909091, 3105.0, 2627.5, 2674.5454545454545, 2910.8, 2307.6923076923076, 2418.1666666666665, 2411.75, 3114.0, 2910.0, 4238.142857142857, 3366.5555555555557, 3235.5555555555557, 2371.923076923077, 2515.3846153846152, 3194.2, 2501.5384615384614, 2639.3636363636365, 3417.777777777778, 2251.8571428571427, 2763.6666666666665, 3600.25, 2580.0, 3379.5555555555557, 3141.1666666666665, 3097.7, 2964.7, 2197.3846153846152, 2409.9166666666665, 3620.0, 2967.818181818182, 3120.8, 2882.6, 2353.846153846154, 4553.428571428572, 2494.153846153846, 2620.0, 3396.0, 2772.0, 2618.2727272727275, 2653.5833333333335, 3022.1, 3331.7, 2650.0, 3409.8888888888887, 2991.4, 3216.0, 3357.222222222222, 3298.875, 3294.0, 2686.0, 2772.5454545454545, 2863.909090909091, 2947.6, 2874.5454545454545, 3750.0, 2852.5, 2615.4285714285716, 4785.0, 2436.0, 2657.1428571428573, 2328.9375, 3342.0, 3076.3333333333335, 2928.153846153846, 2954.3846153846152, 3985.5555555555557, 2289.3125, 2353.5625, 2205.8823529411766, 3058.4166666666665, 2083.5555555555557, 3360.3636363636365, 2445.6, 3972.0, 2295.0, 3080.0, 2209.4117647058824, 2408.8, 3595.5, 7260.2, 2833.846153846154, 2720.1428571428573, 4329.333333333333, 3360.0, 3365.4545454545455, 2629.0666666666666, 3327.2727272727275, 2930.769230769231, 4057.777777777778, 2782.1428571428573, 2121.4285714285716, 1858.8823529411766, 2642.5833333333335, 3100.8, 2130.0, 1901.25, 2667.6363636363635, 2475.6666666666665, 2321.5384615384614, 2016.6875, 2270.769230769231, 2260.3076923076924, 2103.714285714286, 2006.8666666666666, 2142.6153846153848, 2247.6923076923076, 1907.4375, 2809.090909090909, 2844.2, 2016.0, 1842.25, 2310.6923076923076, 2498.3076923076924, 1888.0, 2557.25, 2833.5454545454545, 2042.9285714285713, 2100.0, 2293.5384615384614, 2438.0, 2321.5384615384614, 2095.0, 2643.4545454545455, 2957.909090909091, 2293.4615384615386, 2261.5384615384614, 1786.4705882352941, 2332.0, 2156.8571428571427, 2858.9, 3614.6666666666665, 3849.625, 3426.9, 4897.666666666667, 3563.6666666666665, 2728.1666666666665, 3686.6666666666665, 2650.909090909091, 4012.5, 2781.818181818182, 3579.25, 3459.6666666666665, 4880.0, 3313.3333333333335, 2880.0, 4371.428571428572, 3217.8888888888887, 3321.0, 3154.0833333333335, 4673.857142857143, 2944.4, 3120.0, 3540.0, 1925.5333333333333, 3150.0, 3287.5555555555557, 2624.5833333333335, 2770.909090909091, 2074.5714285714284, 2489.3333333333335, 2280.0, 2210.769230769231, 1951.1333333333334, 2428.076923076923, 2677.4545454545455, 3413.3333333333335, 2142.266666666667, 2472.6923076923076, 2529.25, 2409.230769230769, 2425.0, 2815.5454545454545, 2675.0, 2910.1, 3546.9, 2395.6153846153848, 2283.214285714286, 2381.5384615384614, 2551.1666666666665, 2565.0, 3508.6666666666665, 2052.8571428571427, 2084.6, 2039.6666666666667, 2585.4545454545455, 2086.5333333333333, 2160.0, 1864.3125, 2074.785714285714, 2068.0, 2864.2, 1895.875, 2264.909090909091, 2374.4615384615386, 2561.0, 2386.153846153846, 2454.6363636363635, 2520.0, 3272.5555555555557, 2597.4166666666665, 3286.6666666666665, 3531.5, 3036.0, 3991.285714285714, 3380.0, 2958.0, 3319.6, 3111.818181818182, 2650.909090909091, 3036.6, 3521.777777777778, 5180.0, 3280.4444444444443, 3571.3333333333335, 3417.0, 2391.8333333333335, 2424.5, 2025.3529411764705, 2515.0, 1821.5714285714287, 2087.1428571428573, 2160.0, 2078.5714285714284, 1960.7333333333333, 2578.6363636363635, 1911.4285714285713, 2324.0, 1862.4285714285713, 2016.2666666666667, 1630.0, 2523.1666666666665, 1983.5714285714287, 2247.6923076923076, 1936.4666666666667, 2384.9285714285716, 2077.0666666666666, 2415.0, 2415.0833333333335, 2074.285714285714, 2059.6428571428573, 2976.0, 2697.181818181818, 1982.2666666666667, 1896.0, 2062.9285714285716, 2104.285714285714, 2330.769230769231, 2267.230769230769, 2091.4285714285716, 2242.230769230769, 2310.6153846153848, 1930.7333333333333, 2189.214285714286, 1725.0, 2550.0, 2346.5, 3412.1111111111113, 2555.5833333333335, 2207.8571428571427, 2950.1, 2260.3076923076924, 3700.875, 2591.4166666666665, 3665.375, 2689.818181818182, 3273.1111111111113, 1738.0, 2225.4615384615386, 2894.1, 2456.8333333333335, 3585.0, 2607.2727272727275, 2977.0, 2465.0, 2245.0, 2092.6428571428573, 2443.25, 3199.1111111111113, 2890.8, 3313.6666666666665, 2257.769230769231, 2684.0, 2897.1, 2418.0833333333335, 2825.8, 2616.6363636363635, 2609.3636363636365, 2403.4166666666665, 3275.1111111111113, 2911.6, 2639.3636363636365, 3102.0, 3743.625, 3720.0, 3393.3333333333335, 3260.777777777778, 2570.2727272727275, 3624.5, 2267.846153846154, 3030.0, 2929.9, 2919.6, 2685.090909090909, 2970.2, 2636.6363636363635, 2684.5454545454545, 3600.125, 3153.6666666666665, 2603.4545454545455, 3150.222222222222, 2440.0, 3821.25, 2763.7272727272725, 3006.0, 2950.9, 3859.0, 3506.6666666666665, 2499.3333333333335, 3827.0, 3018.2, 3416.6666666666665, 3054.0, 3286.6666666666665, 2995.2, 3629.25, 3438.0, 3108.0, 3297.0, 2952.0, 2769.6363636363635, 3440.0, 3847.25, 2813.3636363636365, 3255.0, 2150.923076923077, 2480.0, 2921.090909090909, 3330.0, 3274.3333333333335, 2253.3076923076924, 3210.777777777778, 2721.3, 3832.5, 2892.0, 2335.3846153846152, 2415.0, 2820.0, 3156.0, 2760.0, 5015.0, 2191.1428571428573, 3732.875, 5090.0, 2385.0, 1980.0, 2322.5384615384614, 2319.153846153846, 3802.5, 2795.3636363636365, 1920.0, 2655.0, 1999.857142857143, 3090.0, 2307.6923076923076, 2565.0, 3114.7, 2814.5454545454545, 2665.0, 2952.0, 1813.3529411764705, 3847.5, 3112.3333333333335, 3030.0, 2453.5833333333335, 2535.0, 3446.6666666666665, 2600.0, 2241.4285714285716, 2177.1428571428573, 2540.0, 3384.1111111111113, 3680.0, 2550.0, 2335.6428571428573, 3742.5, 2569.090909090909, 2998.8, 2254.285714285714, 2910.1, 2090.285714285714, 2721.818181818182, 2947.9, 2451.4166666666665, 2223.769230769231, 2224.6923076923076, 2665.0, 2439.0833333333335, 2576.6363636363635, 2112.8571428571427, 2939.8, 2018.642857142857, 2097.5, 2622.2727272727275, 1988.0, 2226.3076923076924, 2238.6153846153848, 2253.769230769231, 2461.5, 2490.0, 2465.8333333333335, 2205.076923076923, 2430.0, 2590.909090909091, 2349.230769230769, 2098.1428571428573, 2126.285714285714, 2540.0, 2880.2, 2281.923076923077, 2238.5384615384614, 2298.4615384615386, 2547.2727272727275, 2117.1428571428573, 1923.3333333333333, 2440.0, 2091.4285714285716, 1923.8666666666666, 2421.9166666666665, 2104.1428571428573, 1846.625, 2475.0, 2279.0, 1760.2380952380952, 2429.5833333333335, 2238.5384615384614, 2115.4285714285716, 3265.0, 2764.285714285714, 2501.0, 2558.5714285714284, 2470.8, 2498.866666666667, 3630.1, 2420.0666666666666, 3229.090909090909, 2507.733333333333, 3105.0, 3190.0, 2468.0666666666666, 3013.846153846154, 2862.0, 2764.285714285714, 2160.0, 2548.5333333333333, 3058.769230769231, 2450.5, 3100.0, 2400.0, 2103.3333333333335, 3073.846153846154, 2410.25, 2792.5714285714284, 2592.9285714285716, 2100.0, 2941.5384615384614, 2121.176470588235, 2420.0666666666666, 2117.705882352941, 2667.090909090909, 1983.157894736842, 2773.0, 2428.0, 2295.0, 2464.0, 2578.785714285714, 3175.0, 2547.6923076923076, 2829.076923076923, 2944.6153846153848, 2391.4285714285716, 2253.75, 2710.0, 2691.4285714285716, 2798.6153846153848, 2265.0, 4215.5, 2810.3333333333335, 2789.4615384615386, 1906.6666666666667, 2097.1428571428573, 2563.285714285714, 2650.0, 2795.153846153846, 2657.1428571428573, 2261.5, 3200.0, 2205.0, 2940.0, 2265.875, 2672.1428571428573, 2316.5, 2865.3333333333335, 1961.3157894736842, 2440.1428571428573, 2212.8333333333335, 2370.875, 4215.25, 2100.0, 1846.3333333333333, 2293.8333333333335, 2401.1428571428573, 2810.1666666666665, 2385.0, 1994.5555555555557, 2109.4444444444443, 2664.0, 2678.5714285714284, 1812.0, 2062.5, 2203.1428571428573, 2641.8571428571427, 2170.176470588235, 1664.8181818181818, 1900.0, 2190.0, 2643.714285714286, 2190.25, 2182.5, 2137.625, 1800.2222222222222, 2451.5714285714284, 2443.0, 2041.111111111111, 2332.1428571428573, 2664.4285714285716, 2810.3333333333335, 2448.0, 3369.2, 2408.8571428571427, 3240.0, 1903.888888888889, 2661.285714285714, 2442.8571428571427, 2053.3333333333335, 2850.0, 1800.1, 2300.0, 2920.0, 1812.0, 3060.0, 2691.4285714285716, 2414.6666666666665, 3420.2, 2040.0, 2365.714285714286, 2272.5, 2810.1666666666665, 2980.8333333333335, 2060.0, 2348.5714285714284, 2235.0, 1686.1, 2984.8333333333335, 1776.0, 1900.111111111111, 2000.0, 2480.1666666666665, 2535.0, 2126.125, 2950.0, 1800.0, 2355.5625, 2285.5, 1827.3, 2271.4285714285716, 2443.0, 2440.0, 2160.625, 2197.5, 2434.285714285714, 2700.1666666666665, 2142.3529411764707, 2425.714285714286, 1848.0, 2530.0, 2817.0, 5620.666666666667, 1647.2727272727273, 2180.25, 3230.3333333333335, 3697.0, 2799.0, 1560.0, 2250.0, 2676.8571428571427, 3428.2, 2774.0, 1950.0, 2443.0, 2445.8571428571427, 2032.5, 3405.0, 1710.4, 2452.5, 2250.0, 3038.1666666666665, 3156.4, 1733.3333333333333, 2571.4285714285716, 2309.5714285714284, 2160.0, 3353.3333333333335, 2107.625, 2122.125, 2706.1428571428573, 2516.4285714285716, 2453.125, 1941.625, 2304.0, 2181.75, 2560.0, 2720.0, 2098.25, 1795.4, 2558.5714285714284, 2582.8571428571427, 3151.8333333333335, 2107.75, 2048.6666666666665, 2154.0, 2950.0, 2880.0, 2700.0, 2040.0, 2064.0, 2400.0, 2245.714285714286, 4215.5, 2175.0, 4275.5, 4365.0, 2928.0, 2212.5, 2362.5, 2066.6666666666665, 2242.5, 3553.6, 2556.2, 2175.0, 2960.8333333333335, 2451.4285714285716, 4560.0, 2408.8571428571427, 2314.285714285714, 2554.285714285714, 2545.714285714286, 3458.0, 2500.0, 2485.714285714286, 2175.0, 2235.0, 3660.0, 2408.714285714286, 1620.0, 2066.6666666666665, 2271.4285714285716, 4665.0, 1965.111111111111, 2900.0, 2139.125, 2900.0, 3000.0, 1966.6666666666667, 2000.0, 2211.285714285714, 3012.3333333333335, 2528.5714285714284, 1933.3333333333333, 2137.625, 2494.285714285714, 4140.0, 2137.5, 2528.5714285714284, 2562.8571428571427, 2228.5714285714284, 3975.5, 5620.666666666667, 2913.6666666666665, 3529.0, 3769.0, 3360.2, 2942.8, 2665.714285714286, 2922.8571428571427, 3420.0, 2946.0, 2700.0, 2850.1666666666665, 3663.2, 5780.0, 2900.6666666666665, 2901.1666666666665, 2190.625, 2502.8571428571427, 3537.5, 4227.75, 2550.0, 2093.6666666666665, 3532.0, 2614.285714285714, 3151.6666666666665, 2280.0, 2250.0, 2804.6666666666665, 2501.4285714285716, 2940.0, 2547.1428571428573, 3722.2, 3250.0, 3360.0, 2897.6666666666665, 3468.0, 3552.4, 3600.5, 3420.2, 2357.1428571428573, 2363.5, 2880.0, 4275.25, 2546.1666666666665, 2213.0, 2251.0, 3816.0, 3120.2, 2442.8571428571427, 4215.5, 2242.5, 3305.4, 2962.0, 2800.0, 3010.0, 2511.4285714285716, 3050.0, 2437.5, 2485.714285714286, 2895.0, 2408.8571428571427, 1954.6666666666667, 2571.4285714285716, 2408.714285714286, 2955.0, 2237.3333333333335, 4293.25, 2787.1666666666665, 2710.0, 2408.8571428571427, 2614.714285714286, 2928.1666666666665, 4820.0, 2408.714285714286, 2780.3333333333335, 2040.111111111111, 3050.0, 3396.0, 2562.8571428571427, 2176.75, 1898.111111111111, 3337.4, 1866.6666666666667, 2740.0, 2254.375, 2222.25, 4395.0, 2810.3333333333335, 2120.0, 2217.875, 2362.5, 3420.0, 2920.0, 2537.1428571428573, 2405.375, 1966.6666666666667, 3300.0, 2930.0, 4215.5, 3260.0, 3150.0, 2940.0, 2633.3333333333335, 3105.0, 3444.0, 4104.0, 4575.0, 3444.0, 2785.714285714286, 3541.4, 3408.6, 2876.0714285714284, 3050.0, 3050.0, 2417.1428571428573, 3660.0, 4227.5, 3420.2, 3150.0, 4727.666666666667, 2550.0, 3150.0, 3900.0, 2460.0, 2022.5555555555557, 3030.0, 3050.0, 4148.75, 2860.0, 2472.8571428571427, 2700.0, 2631.4285714285716, 3000.0, 2682.8571428571427, 3480.0, 2850.1666666666665, 2990.0, 2472.0, 2528.5714285714284, 2362.5, 2614.285714285714, 2250.0, 3372.2, 2657.1428571428573, 1876.3333333333333, 1854.5454545454545, 3031.1666666666665, 2443.0, 2145.0, 1800.0, 1530.4, 2927.285714285714, 1740.0, 1804.9, 1933.0, 3444.0, 2528.5714285714284, 1554.6363636363637, 1890.0, 1475.0, 3320.0, 2900.0, 1800.0, 2185.8571428571427, 1900.0, 2408.714285714286, 2325.0, 2810.3333333333335, 1450.75, 2950.0, 2503.714285714286, 2160.0, 2137.5, 1325.0, 8266.5, 3200.0, 2614.285714285714, 2295.0, 1380.0, 3173.6666666666665, 3372.4, 2100.0, 2550.0, 1764.0, 2950.0, 2408.8571428571427, 2528.5714285714284, 1716.0, 2100.0, 2212.5, 4376.0, 2728.6923076923076, 2430.0, 3008.5714285714284, 2407.5, 3781.0, 2038.4444444444443, 2220.75, 1806.0, 3170.6666666666665, 1620.0, 5720.0, 2597.1428571428573, 1447.0, 3508.2, 1470.4615384615386, 5860.0, 2553.5714285714284, 2648.5714285714284, 3984.0, 3631.4, 5445.0, 3376.3333333333335, 2265.0, 3804.0, 3230.0, 3240.0, 2897.1428571428573, 2965.1666666666665, 3420.2, 2699.3333333333335, 2253.0, 3010.0, 3210.0, 2640.0, 3540.0, 1967.5555555555557, 2949.5714285714284, 3063.6666666666665, 3400.0, 3151.6666666666665, 3201.0, 4513.5, 2627.25, 3384.0, 3200.5, 2690.4285714285716, 2356.625, 3210.3333333333335, 2750.5714285714284, 2539.1428571428573, 4797.0, 3047.8333333333335, 3315.6666666666665, 2950.0, 2197.5, 2666.8571428571427, 2975.1666666666665, 2887.6666666666665, 3516.0, 3120.5, 3480.0, 2951.0, 3588.0, 2810.3333333333335, 3542.2, 2205.5, 3482.2, 3552.0, 2860.0, 3203.5, 2212.5, 2614.285714285714, 3430.0, 2750.0, 2920.0, 2881.0, 2667.285714285714, 4920.0, 2013.3333333333333, 2899.714285714286, 2485.714285714286, 2665.714285714286, 2562.8571428571427, 2463.5714285714284, 2547.0, 3000.0, 2725.714285714286, 2657.1428571428573, 2981.0, 3030.0, 3120.6666666666665, 2785.714285714286, 2304.5, 2969.5, 2953.3333333333335, 2292.3333333333335, 2545.714285714286, 2674.285714285714, 4215.5, 2800.285714285714, 2443.0, 2940.0, 3528.0, 2990.0, 2950.0, 2175.0, 3020.0, 3636.0, 5085.0, 2107.75, 4635.0, 2650.0, 2870.0, 2314.25, 2137.625, 3564.0, 3001.1666666666665, 3671.2, 2514.25, 2850.1666666666665, 3040.0, 3130.0, 2840.0, 2575.8571428571427, 1376.3333333333333, 3612.0, 2990.0, 3216.8333333333335, 2505.0, 3900.0, 2164.625, 1900.111111111111, 3804.0, 2785.714285714286, 3540.0, 2408.8571428571427, 2040.5, 3120.0, 2336.0, 3200.0, 4044.0, 2816.6666666666665, 2900.0, 2571.4285714285716, 3010.0, 3492.0, 2648.5714285714284, 3200.0, 4020.0, 2728.0, 2740.0, 3480.1666666666665, 3514.6, 2554.285714285714, 3500.0, 3600.0, 4215.5, 2475.0, 3532.6, 2767.8333333333335, 2810.3333333333335, 2460.0, 2742.8571428571427, 3540.0, 2732.5, 2810.3333333333335, 3050.0, 3852.0, 3792.0, 3444.0, 2828.5714285714284, 3696.0, 2700.0, 2614.285714285714, 2870.0, 3973.0, 3300.0, 4496.75, 2220.0, 2612.4285714285716, 2437.5, 3000.0, 2167.5, 3082.0, 3624.0, 2511.4285714285716, 3000.0, 3250.0, 3080.0, 3310.0, 3270.0, 3350.0, 3150.0, 1987.5, 3682.5, 6760.0, 3686.0, 3800.0, 3920.0, 4886.285714285715, 3147.2727272727275, 3252.6666666666665, 3677.1428571428573, 6002.4, 3868.25, 7019.666666666667, 2733.3333333333335, 4192.166666666667, 3363.8571428571427, 4361.6, 3136.777777777778, 4681.0, 3858.714285714286, 4430.0, 4860.6, 5000.0, 4262.6, 3858.0, 4000.0, 3400.5555555555557, 3900.0, 3842.8, 3799.125, 2839.2, 4100.0, 5134.666666666667, 3367.25, 4290.428571428572, 4431.25, 6300.0, 4570.333333333333, 3826.375, 3566.0, 4935.0, 4309.142857142857, 3904.75, 3563.125, 3033.3333333333335, 7210.0, 4531.5, 4920.8, 4323.0, 3000.0, 9479.5, 6012.0, 5004.0, 3517.8888888888887, 2746.909090909091, 5702.8, 4150.0, 6225.0, 4536.0, 3133.5555555555557, 6225.0, 5978.0, 3702.8571428571427, 5304.0, 3700.25, 3220.0, 2782.181818181818, 5250.0, 3814.285714285714, 3037.5, 4764.0, 4720.0, 4530.0, 5496.5, 3850.0, 6000.0, 6060.0, 7000.0, 4310.0, 4350.8, 6670.8, 10688.0, 9680.0, 3900.0, 3140.0, 4174.285714285715, 2890.3, 2838.0, 3129.6666666666665, 1971.4285714285713, 4760.0, 2598.4285714285716, 3050.0, 1744.0, 5908.0, 9541.0, 1670.0, 1790.0, 2027.125, 2110.3333333333335, 2029.9166666666667, 2198.4545454545455, 2685.0, 1493.6666666666667, 5110.4, 1897.857142857143, 4812.0, 3060.0, 4850.166666666667, 3185.8, 3522.0, 2000.0, 2753.1111111111113, 2132.3076923076924, 3002.5, 4020.0, 3496.75, 2307.6923076923076, 2730.0, 3900.8333333333335, 2721.818181818182, 2606.6666666666665, 1790.0, 3033.1111111111113, 3000.0, 3215.4444444444443, 2328.375, 2173.0, 2817.4, 3719.5, 2154.5454545454545, 3460.875, 2400.0, 2344.5714285714284, 2592.0, 1513.25, 7434.75, 2484.0, 2074.285714285714, 1773.888888888889, 3720.285714285714, 2940.6, 2014.2857142857142, 2926.6, 1380.0, 1880.9166666666667, 2844.8, 3541.6, 2387.6363636363635, 3066.8888888888887, 3120.285714285714, 2040.0, 2748.6, 2176.3636363636365, 2410.1666666666665, 3188.5714285714284, 3822.1666666666665, 4160.0, 2381.5833333333335, 3195.875, 1730.7692307692307, 2220.25, 1836.0, 2634.777777777778, 2283.75, 3465.0, 2880.0, 2388.8, 2400.0, 2423.0, 3142.5, 3853.5, 3801.75, 2933.3333333333335, 2490.8888888888887, 3951.4285714285716, 4836.0, 2106.0, 2430.0, 2255.0, 4180.0, 4636.666666666667, 1838.5714285714287, 2799.714285714286, 2002.5, 4329.166666666667, 3090.0, 3106.6666666666665, 3145.125, 3657.4285714285716, 3840.285714285714, 2537.909090909091, 2221.8333333333335, 2750.0, 2160.3333333333335, 2130.75, 2563.6363636363635, 3080.0, 2430.0, 2987.777777777778, 1721.875, 3247.5, 2862.0, 4762.2, 3090.5555555555557, 2375.75, 2003.1666666666667, 1780.0526315789473, 3157.5, 1710.0, 2302.5, 2454.0, 2410.3333333333335, 2434.4285714285716, 3404.0, 4480.0, 2182.6, 3600.625, 1692.6315789473683, 4500.0, 1850.7692307692307, 4435.333333333333, 3098.222222222222, 5418.0, 3030.0, 2895.0, 1998.0, 4162.142857142857, 2241.8333333333335, 2300.714285714286, 2743.0, 8280.0, 4009.1428571428573, 3336.0, 1747.5, 5366.5, 3233.3333333333335, 2760.4545454545455, 2778.4, 3402.6666666666665, 2808.2, 2736.4545454545455, 2445.4166666666665, 2692.2727272727275, 3149.222222222222, 3749.0, 2541.818181818182, 2442.0, 3720.0, 2933.2, 2867.0, 2480.4166666666665, 4790.0, 4778.5, 2466.8333333333335, 2467.9166666666665, 3824.375, 3213.3333333333335, 3212.3333333333335, 2781.7272727272725, 2901.8, 2011.142857142857, 3126.0, 2710.909090909091, 2842.0, 2296.6923076923076, 3573.3333333333335, 4902.5, 2470.909090909091, 4161.142857142857, 3714.875, 3735.0, 3392.4444444444443, 2959.8888888888887, 3845.625, 2320.0, 6035.4, 2628.909090909091, 4028.5714285714284, 3319.1111111111113, 3273.8888888888887, 3542.125, 2916.0, 3746.0, 3660.0, 3330.0, 3006.0, 3577.5, 2683.6363636363635, 2620.0, 3660.0, 2700.0, 3857.1428571428573, 3193.3333333333335, 4224.0, 3303.5555555555557, 3114.5454545454545, 3260.0, 2396.1666666666665, 3042.0, 3108.0, 2420.0, 3372.0, 2823.7, 3032.0, 3639.375, 3114.0, 2357.75, 3065.6923076923076, 2815.3846153846152, 2616.285714285714, 3286.3333333333335, 3922.5, 2985.0, 3300.0, 2334.5454545454545, 3406.6666666666665, 2650.909090909091, 2869.4615384615386, 3090.0, 3217.5, 3346.6666666666665, 2850.0, 3725.5, 2574.5454545454545, 2525.0, 3237.9, 4660.833333333333, 3188.6666666666665, 2994.0, 2514.2727272727275, 3206.6666666666665, 2634.0, 3007.5, 2312.846153846154, 2763.818181818182, 3126.6666666666665, 2490.0, 3236.8888888888887, 2058.4615384615386, 2792.7272727272725, 3037.625, 2645.7272727272725, 4054.285714285714, 1890.0, 2525.0, 2689.2727272727275, 2732.3076923076924, 3934.285714285714, 2442.25, 3534.5555555555557, 3412.5, 2181.6470588235293, 2267.846153846154, 2252.3076923076924, 3951.4285714285716, 3833.4444444444443, 2661.4285714285716, 3450.0, 3233.3333333333335, 3578.181818181818, 2563.0714285714284, 3300.0, 2101.9333333333334, 3304.1111111111113, 3475.5454545454545, 2649.230769230769, 2994.0, 3333.3333333333335, 3712.5, 3225.0, 3256.4444444444443, 2946.0, 3985.714285714286, 3150.0, 4225.714285714285, 2784.0, 2326.153846153846, 2224.285714285714, 3970.1428571428573, 3635.5, 3435.125, 3030.0, 3690.0, 2178.4615384615386, 3697.5, 2112.8571428571427, 2640.0, 2215.714285714286, 2118.4615384615386, 2470.909090909091, 2770.909090909091, 4405.714285714285, 2567.2727272727275, 2716.3636363636365, 3622.5, 3765.0, 3386.6666666666665, 2922.0, 2718.0, 2280.0, 2755.9, 2218.153846153846, 2016.0, 2790.0, 2415.0, 2854.4, 2786.4, 2856.0, 2590.909090909091, 3042.0, 3825.0, 2330.0, 3487.5, 3200.0, 2325.0, 2667.2727272727275, 2607.2727272727275, 2353.846153846154, 2143.3571428571427, 2970.2, 2932.2, 2547.2727272727275, 2307.6923076923076, 3607.5, 3348.0, 3130.6666666666665, 3036.0, 2836.3636363636365, 2128.5, 2121.4285714285716, 2108.3571428571427, 2760.0, 3977.1428571428573, 2044.0, 3090.0, 2367.6923076923076, 4960.0, 3212.125, 2096.214285714286, 2668.181818181818, 3208.2, 2847.2727272727275, 3559.222222222222, 3045.0, 2516.0, 3265.1666666666665, 2535.0, 3510.0, 1860.0, 3419.222222222222, 2156.5384615384614, 2207.1428571428573, 2670.0, 2155.714285714286, 2665.0714285714284, 2701.2727272727275, 3213.3333333333335, 3012.0, 2880.0, 2485.0, 3720.0, 3040.0, 2674.285714285714, 2605.0, 2805.7, 2951.5, 3090.0, 2506.153846153846, 2826.0, 2616.0, 2754.0, 3286.6666666666665, 3400.0, 2982.0, 3255.0, 2124.0, 2682.0, 3986.6666666666665, 3446.6666666666665, 2662.3636363636365, 5220.0, 2335.3846153846152, 2835.0, 2667.2727272727275, 2303.076923076923, 3720.0, 3030.0, 2537.3333333333335, 2781.818181818182, 2607.2727272727275, 3138.8, 1950.0, 3203.6666666666665, 3293.3333333333335, 3106.9, 2825.4545454545455, 2258.5714285714284, 3150.0, 2480.0833333333335, 2550.0, 2784.9, 3787.5, 2659.4166666666665, 2967.6923076923076, 2780.0, 2623.6363636363635, 2430.230769230769, 3226.6666666666665, 4154.0, 3506.6666666666665, 2488.6, 2590.909090909091, 3306.6666666666665, 3233.3333333333335, 3366.6666666666665, 3366.6666666666665, 2620.0, 3065.6, 4629.166666666667, 2660.0, 2358.6923076923076, 3320.0, 3540.0, 2425.0, 4240.0, 2771.2727272727275, 3210.0, 3667.5, 2547.2727272727275, 2385.75, 2465.0, 3389.777777777778, 3015.8888888888887, 3582.8571428571427, 2091.4285714285716, 2640.0, 3061.7272727272725, 2904.0, 2730.0, 2320.3076923076924, 2700.0, 3100.0, 3260.0, 2820.0, 2415.0, 2460.0, 3080.0, 2112.8571428571427, 3040.0, 2142.8571428571427, 2640.0, 2950.0, 2505.0, 2722.4444444444443, 2748.0, 2886.6666666666665, 2599.6363636363635, 2782.5, 3531.4285714285716, 3797.1428571428573, 3427.5, 3371.6666666666665, 3805.714285714286, 3912.25, 2596.3636363636365, 3525.0, 3156.0, 3970.8571428571427, 4226.857142857143, 4062.8571428571427, 3259.7272727272725, 4564.375, 3649.9, 4917.75, 3311.090909090909, 3606.0, 3272.7272727272725, 2783.076923076923, 3870.0, 3376.3636363636365, 3420.0, 4425.25, 3250.909090909091, 4717.625, 4597.5, 2965.0, 3070.0, 4072.8888888888887, 2695.714285714286, 2919.0, 3714.0, 4084.8888888888887, 3284.2727272727275, 2712.8571428571427, 2750.230769230769, 3223.6363636363635, 3708.0, 3070.0, 2864.0, 3666.0, 4537.75, 2925.1666666666665, 3654.0, 3528.0, 3714.0, 3630.2, 3683.8888888888887, 3586.7, 3062.3333333333335, 3312.7272727272725, 3498.2727272727275, 3234.5454545454545, 4283.666666666667, 3945.5, 2870.769230769231, 3518.181818181818, 3398.181818181818, 4500.25, 3332.7272727272725, 4182.666666666667, 4003.5555555555557, 4110.222222222223, 4092.8888888888887, 5382.857142857143, 3822.0, 3904.7, 3183.8333333333335, 3816.7, 4060.0, 3732.0, 3810.0, 4151.0, 2714.214285714286, 3434.2727272727275, 4470.0, 3180.0, 3636.0, 3065.0, 5363.857142857143, 3697.3, 3255.0, 4003.3, 3741.2, 3108.75, 3438.0, 3266.181818181818, 3942.0, 3567.5454545454545, 8219.25, 4564.375, 3064.3333333333335, 3387.5454545454545, 2893.846153846154, 3300.181818181818, 3327.4545454545455, 3664.6, 3171.5833333333335, 3684.0, 4335.0, 3810.0, 3338.181818181818, 3354.5454545454545, 3441.818181818182, 3289.090909090909, 3619.7, 4717.5, 3592.0, 4653.375, 4400.0, 4026.222222222222, 3491.090909090909, 3900.222222222222, 2298.75, 3335.0, 3201.818181818182, 3452.7272727272725, 7740.0, 2995.0, 3525.909090909091, 3333.909090909091, 3360.0, 2700.3571428571427, 3075.0833333333335, 2708.5714285714284, 3555.1, 2980.0, 2980.0, 4013.222222222222, 2326.8125, 3973.3333333333335, 2567.1428571428573, 3361.6363636363635, 3564.181818181818, 3613.7272727272725, 4200.0, 3340.5454545454545, 3085.0, 3762.0, 3267.2727272727275, 3672.0, 3208.6363636363635, 3041.5833333333335, 3690.0, 3906.6666666666665, 3672.0, 3067.6666666666665, 3450.0, 3630.9, 3427.818181818182, 3940.0, 2783.076923076923, 4602.0, 3188.5833333333335, 4068.222222222222, 3966.6666666666665, 2795.8333333333335, 3748.9, 3328.7272727272725, 3398.181818181818, 3256.3636363636365, 3846.0, 3501.818181818182, 2938.4166666666665, 2351.25, 3412.181818181818, 4089.8888888888887, 3220.0, 3756.0, 2568.0, 3205.6666666666665, 3300.0, 4122.0, 3095.0, 4034.2, 3145.0, 4061.3333333333335, 3440.9166666666665, 2866.153846153846, 3690.0, 4980.0, 3853.3333333333335, 3354.5454545454545, 4126.666666666667, 3705.2, 3327.2727272727275, 3100.0, 3411.090909090909, 3150.0, 3529.090909090909, 3871.5, 3981.1111111111113, 3408.909090909091, 2880.0, 5237.285714285715, 3100.0, 3720.0, 2941.5384615384614, 3375.0, 3931.8, 3593.7272727272725, 2898.4615384615386, 3269.3636363636365, 3230.0, 3528.0, 3552.0, 3588.0, 3080.0, 3452.7272727272725, 22187.0, 3344.3636363636365, 2732.1428571428573, 4500.0, 3879.6, 3310.909090909091, 3594.0, 3106.1666666666665, 3496.3636363636365, 3852.0, 3140.0, 4509.875, 3183.5, 4807.5, 4093.3333333333335, 3216.0, 3458.181818181818, 3135.0, 3110.0, 3759.4, 3872.0, 6171.333333333333, 3010.0, 2310.9375, 3490.909090909091, 4103.9, 3843.6, 2889.230769230769, 3300.0, 3199.909090909091, 4069.222222222222, 2887.769230769231, 3359.2727272727275, 3805.0, 3834.0, 7006.5, 3398.181818181818, 2827.5384615384614, 3633.3, 4710.125, 3110.0, 2806.3571428571427, 3195.3333333333335, 3444.818181818182, 3612.3636363636365, 3105.0, 2685.0666666666666, 3406.181818181818, 2644.285714285714, 4233.333333333333, 3002.3846153846152, 2976.923076923077, 3447.2727272727275, 2040.0, 2635.714285714286, 3458.181818181818, 3690.0, 4133.333333333333, 3376.3636363636365, 2911.6153846153848, 3802.9, 3621.818181818182, 3436.3636363636365, 2875.3846153846152, 3744.0, 3484.818181818182, 4237.5, 4843.0, 3711.7272727272725, 2955.0, 3170.0, 3264.25, 3315.7272727272725, 3638.181818181818, 2674.285714285714, 2712.8571428571427, 3545.4545454545455, 3349.090909090909, 2241.176470588235, 3907.2, 3676.818181818182, 3010.0, 3594.5454545454545, 3356.0, 3718.909090909091, 3633.7, 3358.7272727272725, 2882.153846153846, 4236.333333333333, 3876.0, 2723.076923076923, 2875.153846153846, 4240.0, 3768.0, 2403.75, 3021.0, 3092.1666666666665, 3354.5454545454545, 3245.4545454545455, 3476.6363636363635, 3213.6363636363635, 3179.0, 3726.0, 3205.0, 2886.0, 3485.4545454545455, 2870.769230769231, 2755.714285714286, 3562.4545454545455, 3325.3636363636365, 2602.9285714285716, 2708.5714285714284, 3822.0, 3190.0, 2735.1428571428573, 3546.2, 2924.0, 3792.0, 2635.714285714286, 2472.0, 4296.0, 3329.4166666666665, 3490.909090909091, 4146.666666666667, 2535.75, 3150.0, 2898.4615384615386, 3085.0, 3332.0, 3161.1666666666665, 3248.090909090909, 4308.666666666667, 3859.4, 2972.3076923076924, 3708.0, 4066.6666666666665, 3170.4166666666665, 3040.0, 3289.090909090909, 4575.0, 4725.0, 2953.4615384615386, 3519.0, 3162.25, 3398.181818181818, 3516.090909090909, 3480.3636363636365, 2852.3076923076924, 4100.0, 4493.333333333333, 4181.555555555556, 3666.4545454545455, 3630.0, 3768.222222222222, 4032.0, 3264.25, 4398.666666666667, 3210.0, 3737.7, 4061.5555555555557, 3189.6666666666665, 3649.090909090909, 2880.0, 3458.181818181818, 5014.571428571428, 3510.6363636363635, 3377.5454545454545, 2912.3076923076924, 4575.0, 2873.214285714286, 3013.846153846154, 3392.7272727272725, 2884.6153846153848, 2870.769230769231, 3147.6923076923076, 3780.0, 3294.5454545454545, 3501.818181818182, 3714.0, 3575.3636363636365, 3255.0, 3130.0, 3261.818181818182, 3865.3, 3725.8, 4567.5, 3852.0, 3338.181818181818, 3220.0, 3912.0, 3800.0, 3886.6666666666665, 4226.666666666667, 2657.1428571428573, 2907.6923076923076, 4636.125, 3441.818181818182, 3687.2727272727275, 3480.0, 3736.181818181818, 3721.5, 3544.8, 4740.0, 2695.714285714286, 2975.0, 2944.6153846153848, 3600.0, 3534.5454545454545, 3130.0, 4313.777777777777, 3750.0, 3954.0, 3289.5, 3617.9, 4026.6666666666665, 2843.153846153846, 4060.0, 3794.2, 3735.3, 3885.1, 3949.090909090909, 4650.0, 3370.909090909091, 5240.714285714285, 9215.0, 3598.4545454545455, 3540.8, 3804.5555555555557, 3973.3333333333335, 3810.0, 3499.818181818182, 3331.909090909091, 3280.0, 3423.5454545454545, 3283.6363636363635, 4025.4, 3926.6666666666665, 3738.0, 4323.777777777777, 2912.3076923076924, 3672.0, 36610.0, 3732.0, 2861.5384615384614, 3023.076923076923, 3354.5454545454545, 4612.875, 2968.3846153846152, 3722.5, 3792.0, 4460.222222222223, 3193.75, 4366.166666666667, 3381.818181818182, 4173.333333333333, 2816.1428571428573, 4410.0, 3888.0, 3738.0, 3750.0, 4260.0, 3378.3636363636365, 2531.6, 3612.0, 3643.6363636363635, 4725.0, 4822.5, 4475.375, 3810.5, 4081.1, 4133.333333333333, 4995.0, 3534.5454545454545, 4792.5, 3103.6363636363635, 3564.0, 3436.3636363636365, 3330.0, 3332.7272727272725, 2648.5714285714284, 3372.0, 3275.0, 3630.0, 37644.0, 4080.0, 3070.0, 3818.181818181818, 4162.75, 3400.0, 3300.090909090909, 3381.818181818182, 3305.4545454545455, 4153.888888888889, 3554.6363636363635, 3557.2727272727275, 3310.0, 3015.0, 3230.0, 3653.0, 5900.166666666667, 3474.4166666666665, 3660.0, 3804.0, 4823.375, 4200.0, 3350.090909090909, 4684.888888888889, 4065.7, 3807.7, 3594.5454545454545, 3612.0, 4177.2, 4273.888888888889, 3385.0, 4273.333333333333, 3850.222222222222, 3920.0, 2436.0, 3361.909090909091, 4004.3, 4306.666666666667, 4755.0, 2820.0, 4057.8888888888887, 4193.666666666667, 4296.333333333333, 3584.0, 2873.769230769231, 2815.3846153846152, 4972.5, 2792.4615384615386, 2058.9473684210525, 3080.0, 3834.0, 3175.0, 2847.6923076923076, 2190.0, 3125.0, 3038.0, 4122.0, 4329.555555555556, 2584.0, 3300.090909090909, 3576.0, 3648.0, 3095.0, 3966.0, 3370.909090909091, 3278.181818181818, 3153.1666666666665, 2589.5714285714284, 3474.5454545454545, 3571.2727272727275, 3594.5454545454545, 2670.0, 4432.625, 3172.3333333333335, 3480.0, 2838.4615384615386, 4034.8, 3305.4545454545455, 4547.0, 4081.4444444444443, 3923.3333333333335, 4166.666666666667, 3966.6666666666665, 2898.4615384615386, 3222.0, 4107.555555555556, 3870.0, 3145.0, 3865.5454545454545, 3229.75, 3594.5454545454545, 3810.0, 3300.0, 3409.090909090909, 4317.888888888889, 3484.818181818182, 3254.4166666666665, 2690.0, 3780.0, 3436.3636363636365, 4761.5, 3720.3, 3561.181818181818, 3973.7, 3490.909090909091, 4266.666666666667, 3420.0, 3783.1, 3103.0, 3365.4545454545455, 3327.2727272727275, 3545.4545454545455, 3089.4166666666665, 3016.3846153846152, 3664.5, 4893.125, 3248.1666666666665, 4166.666666666667, 3714.0, 3796.8, 3750.0, 3250.0, 3794.9, 4050.6, 3476.9166666666665, 4649.75, 4462.5, 3492.7272727272725, 4238.222222222223, 4500.0, 4461.5, 3305.4545454545455, 4422.0, 3158.0833333333335, 2930.769230769231, 4354.0, 4002.0, 3953.125, 4857.0, 3946.6666666666665, 4273.333333333333, 3974.3, 3900.0, 3100.0, 4890.625, 4233.333333333333, 3823.9, 4562.555555555556, 4166.666666666667, 4382.888888888889, 3750.0, 4575.375, 3577.0, 3321.818181818182, 4230.777777777777, 2884.285714285714, 3900.222222222222, 3864.0, 4687.5, 3724.0, 3125.0, 4211.666666666667, 3629.818181818182, 4146.666666666667, 4742.5, 3512.7272727272725, 4279.222222222223, 4326.666666666667, 4470.0, 4203.0, 3370.909090909091, 3391.5833333333335, 3631.818181818182, 3190.0, 5255.428571428572, 2903.076923076923, 3060.0, 4546.666666666667, 3545.4545454545455, 4224.0, 3556.3636363636365, 2691.9285714285716, 3275.0, 2616.0, 3357.5, 2787.6923076923076, 3215.6666666666665, 3305.4545454545455, 3561.090909090909, 3873.7, 2604.0666666666666, 3698.181818181818, 3779.2, 3681.818181818182, 3834.0, 4400.0, 3996.0, 3007.785714285714, 4373.333333333333, 2935.3846153846152, 3300.0, 3477.909090909091, 3023.076923076923, 3381.3333333333335, 3630.0, 3600.2, 3345.0, 3618.0, 2895.4615384615386, 3305.0, 3960.1, 2908.3846153846152, 3705.6363636363635, 2803.6428571428573, 4062.0, 3736.3636363636365, 4152.0, 2844.923076923077, 3430.909090909091, 3480.0, 3918.0, 4323.222222222223, 3706.6363636363635, 4909.142857142857, 3349.090909090909, 4317.777777777777, 4807.5, 3958.777777777778, 4852.5, 3655.7, 4413.333333333333, 4194.0, 5076.75, 2623.0, 3511.0, 2875.0, 3672.0, 4444.0, 12055.0, 4078.3, 2805.923076923077, 3815.090909090909, 4092.0, 5370.0, 4552.5, 3196.3636363636365, 4890.25, 4000.222222222222, 4640.875, 4333.333333333333, 3245.4545454545455, 5055.0, 3016.3076923076924, 3512.7272727272725, 5064.25, 4035.5555555555557, 4613.111111111111, 3327.2727272727275, 5001.25, 4015.6, 4751.25, 4323.222222222223, 5242.5, 3978.6, 3599.4545454545455, 3327.2727272727275, 3720.0, 4387.625, 2985.0, 3043.6363636363635, 4258.666666666667, 3828.0, 3515.0, 3954.2, 3907.0, 3500.5454545454545, 3534.0, 3678.0, 3270.090909090909, 4531.25, 3393.6363636363635, 4086.6666666666665, 3600.0, 2965.0, 3684.0, 3020.0, 3065.1666666666665, 2893.846153846154, 3272.7272727272725, 3483.3636363636365, 4313.444444444444, 2981.5384615384614, 3480.0, 3880.0, 3083.076923076923, 3090.0, 2670.0, 18447.5, 2665.714285714286, 3464.5454545454545, 3035.8333333333335, 2975.0, 3015.75, 3673.3, 3321.4545454545455, 3321.818181818182, 3125.0, 2796.923076923077, 2800.1666666666665, 3828.9, 2678.5714285714284, 5458.428571428572, 3178.090909090909, 3300.0, 3780.0, 3180.0, 2870.769230769231, 2437.5, 2767.214285714286, 2478.0625, 3546.181818181818, 4620.333333333333, 3682.5, 3672.25, 3817.5, 3265.1111111111113, 3431.6666666666665, 3506.6666666666665, 4594.285714285715, 3772.75, 4362.857142857143, 3309.0, 3600.0, 3096.0, 5300.0, 4277.142857142857, 3553.3333333333335, 2946.0, 3518.222222222222, 3151.0, 3825.0, 6120.0, 3153.3333333333335, 3873.3333333333335, 3286.6666666666665, 2524.6153846153848, 3065.6, 3155.2, 3206.6666666666665, 3566.5, 3690.0, 3352.5555555555557, 4170.714285714285, 4542.857142857143, 3090.0, 3420.0, 3270.0, 3592.5, 5095.0, 3446.6666666666665, 3326.6666666666665, 3573.6666666666665, 4512.375, 3922.375, 3434.777777777778, 6469.666666666667, 3942.375, 3700.0, 3266.6666666666665, 3825.0, 2992.8, 3489.222222222222, 3449.8888888888887, 3900.0, 3526.6666666666665, 4016.625, 4005.0, 3727.5, 3720.0, 4107.5, 3224.4, 4774.285714285715, 3286.6666666666665, 3504.75, 3697.25, 3771.625, 4236.571428571428, 4080.0, 3480.0, 3455.777777777778, 4469.142857142857, 3342.0, 3542.5, 4354.285714285715, 3979.25, 4087.5, 3060.0, 4175.0, 4007.0, 4690.0, 3772.5, 4800.333333333333, 3618.125, 3182.1111111111113, 3333.3333333333335, 4328.571428571428, 4580.0, 3653.125, 4720.166666666667, 3875.0, 3293.3333333333335, 4217.142857142857, 3390.222222222222, 3433.3333333333335, 3930.0, 3366.6666666666665, 3235.777777777778, 3922.5, 3173.3333333333335, 3675.0, 3476.777777777778, 4072.5714285714284, 3366.6666666666665, 4338.857142857143, 4428.0, 4397.142857142857, 4328.571428571428, 3241.5555555555557, 3855.875, 3150.0, 3652.5, 3607.5, 3120.0, 3653.0, 3802.5, 3720.0, 7537.0, 3637.5, 4200.0, 4594.285714285715, 7023.75, 5340.0, 3360.0, 4640.0, 4037.125, 4328.571428571428, 3990.0, 3975.0, 4126.875, 3306.6666666666665, 3969.125, 2545.0, 3360.0, 3900.0, 3453.3333333333335, 3222.0, 2307.6923076923076, 5328.5, 3593.3333333333335, 4354.285714285715, 4154.142857142857, 4320.0, 4139.0, 4430.857142857143, 3245.222222222222, 3333.3333333333335, 3952.5, 5120.833333333333, 3270.1111111111113, 3817.5, 2689.090909090909, 3930.625, 3593.3333333333335, 4448.571428571428, 4772.5, 5400.0, 2709.7272727272725, 4842.833333333333, 7107.75, 4946.666666666667, 2754.5454545454545, 4391.428571428572, 5057.142857142857, 3341.0, 2623.6363636363635, 3453.777777777778, 4770.0, 3426.6666666666665, 3487.5, 3446.6666666666665, 4850.0, 2941.4, 4851.428571428572, 2886.090909090909, 3862.5, 3102.0, 4899.333333333333, 2770.909090909091, 2330.769230769231, 3727.5, 3195.4, 3847.5, 4242.857142857143, 3346.6666666666665, 3120.0, 2832.2, 3180.0, 3562.5, 3150.0, 4588.428571428572, 4157.571428571428, 3937.5, 3493.3333333333335, 4191.428571428572, 3500.0, 3252.1111111111113, 3060.0, 3271.1111111111113, 4909.166666666667, 2963.4, 5190.0, 3810.0, 3971.625, 3510.0, 2536.4545454545455, 3054.0, 3495.0, 3120.0, 2940.0, 2886.0, 3219.1, 2892.0, 4243.142857142857, 2585.4545454545455, 2809.090909090909, 2988.0, 4251.428571428572, 3138.0, 2469.230769230769, 3042.0, 3286.6666666666665, 3526.6666666666665, 3333.3333333333335, 3585.0, 6847.2, 3027.2727272727275, 3945.0, 4343.857142857143, 2898.0, 2477.923076923077, 3765.0, 4064.875, 3226.6666666666665, 3380.0, 3930.0, 3166.6666666666665, 2961.6, 4302.857142857143, 3742.5, 4157.285714285715, 4045.714285714286, 3712.5, 2667.2727272727275, 2875.4, 3326.6666666666665, 2868.0, 2694.5454545454545, 3051.7, 2634.5454545454545, 3078.0, 3108.0, 2802.5, 3000.0, 2689.090909090909, 2874.0, 2964.0, 2743.6363636363635, 2920.0, 2435.0, 2520.4166666666665, 2440.0, 2973.1, 3040.0, 2856.5, 3096.0, 2560.0, 3406.6666666666665, 2849.0, 3360.0, 2851.6, 3066.0, 2220.0, 3994.285714285714, 2841.818181818182, 3082.5, 3420.5555555555557, 2344.6153846153848, 2689.090909090909, 2331.75, 2760.0, 2958.0, 2661.818181818182, 3048.0, 3780.0, 4760.0, 3286.777777777778, 2862.0, 3200.3333333333335, 2141.5384615384614, 3240.5555555555557, 3896.375, 2667.2727272727275, 3745.8571428571427, 4157.142857142857, 3084.0, 3750.0, 2661.818181818182, 2898.0, 3422.3333333333335, 3433.3333333333335, 2716.3636363636365, 4165.714285714285, 5532.333333333333, 3735.0, 3712.5, 2718.0, 3338.1111111111113, 2976.0, 3049.1, 3660.125, 4038.4285714285716, 3645.0, 3188.5555555555557, 2754.0, 3273.3333333333335, 3005.5555555555557, 2993.3333333333335, 2940.0, 3173.3333333333335, 3562.375, 3525.0, 2716.3636363636365, 3366.6666666666665, 3016.9, 3937.5, 4109.428571428572, 3198.0, 4845.0, 2563.6363636363635, 3574.75, 4191.428571428572, 3631.125, 2826.0, 4525.714285714285, 2934.0, 3000.0, 2974.6666666666665, 2716.3636363636365, 2475.0, 2470.0, 2503.6363636363635, 2700.0, 2748.0, 3373.3333333333335, 3241.8888888888887, 3622.5, 2903.3, 2500.0, 3266.6666666666665, 2298.4615384615386, 2850.0, 2192.3076923076924, 2730.0, 2826.4, 3012.0, 3085.8571428571427, 2743.6363636363635, 2430.0, 2966.3, 2284.285714285714, 2426.0, 2934.0, 3193.3333333333335, 4200.0, 2727.2727272727275, 2700.0, 3994.285714285714, 2830.909090909091, 3752.125, 2689.090909090909, 2880.0, 3428.285714285714, 3110.1111111111113, 3697.5, 3855.0, 2856.0, 2490.0, 3313.3333333333335, 3018.0, 3675.0, 3216.0, 3320.0, 3563.75, 3000.0, 3133.3333333333335, 3258.0, 3460.0, 3354.222222222222, 3514.285714285714, 2730.0, 2881.4545454545455, 3293.3333333333335, 4527.857142857143, 3186.6666666666665, 3547.5, 3547.5, 3233.3333333333335, 4700.0, 2836.3636363636365, 3360.0, 3973.3333333333335, 2912.7272727272725, 4470.0, 3321.1111111111113, 4399.142857142857, 4388.571428571428, 3693.5, 3712.5, 2330.0, 3660.0, 3356.3333333333335, 3840.0, 3314.3333333333335, 4213.857142857143, 4037.1428571428573, 3787.5, 3510.0, 2376.5, 3908.5714285714284, 3067.5, 3048.0, 3030.0, 3120.0, 3757.5, 3033.3333333333335, 3677.375, 3042.0, 2910.0, 2566.9166666666665, 2844.6, 4097.142857142857, 3810.0, 2344.6153846153848, 2505.0, 3922.5, 3653.3333333333335, 4200.0, 3150.0, 3626.0, 7067.666666666667, 3885.0, 4122.857142857143, 2400.0, 3213.3333333333335, 2961.222222222222, 3493.3333333333335, 2765.4545454545455, 3342.0, 3510.875, 3787.5, 2858.9, 2266.153846153846, 3180.777777777778, 2910.0, 4182.857142857143, 2809.090909090909, 3266.6666666666665, 2781.818181818182, 2798.181818181818, 4339.142857142857, 2700.0, 2952.0, 2994.0, 3226.6666666666665, 3086.6666666666665, 3533.3333333333335, 2970.0, 2743.6363636363635, 3133.3333333333335, 2721.818181818182, 3368.6666666666665, 2832.0, 3655.5, 3620.0, 3877.5, 3945.0, 2400.0, 2700.0, 3114.0, 3952.5, 3615.0, 3012.0, 3213.3333333333335, 3622.5, 2970.0, 3473.3333333333335, 4319.0, 2502.0, 2645.4545454545455, 2762.5454545454545, 4157.142857142857, 3354.5555555555557, 3637.5, 3240.0, 2894.7, 2501.5384615384614, 2525.0, 3060.0, 3273.3333333333335, 3637.625, 2940.0, 3144.0, 3637.5, 3300.0, 3547.5, 2509.090909090909, 4157.142857142857, 4200.0, 4157.142857142857, 3120.0, 3413.3333333333335, 2856.0, 3400.0, 3320.777777777778, 3517.5, 4148.571428571428, 3300.0, 3637.5, 2555.0, 2844.0, 2880.0, 2880.0, 3720.0, 3982.5, 5911.6, 3712.5, 3406.6666666666665, 3645.0, 3413.3333333333335, 4910.666666666667, 3870.0, 3000.0, 3472.5, 3406.6666666666665, 3120.0, 3260.0, 3120.0, 3690.0, 3570.0, 4039.5714285714284, 3030.0, 3102.0, 3660.0, 3466.6666666666665, 2928.4, 2601.818181818182, 4071.4285714285716, 4900.0, 2675.4545454545455, 3293.3333333333335, 3630.0, 4157.142857142857, 2803.6363636363635, 3592.5, 4320.0, 2732.7272727272725, 4457.428571428572, 3340.0, 2874.5454545454545, 4772.833333333333, 3186.6666666666665, 3975.0, 4000.4285714285716, 3736.5555555555557, 3433.3333333333335, 3381.818181818182, 3065.4545454545455, 3486.6666666666665, 3036.0, 2928.0, 3386.6666666666665, 3072.0, 3825.0, 2764.909090909091, 3695.75, 3867.5714285714284, 3300.0, 2771.2727272727275, 3570.3333333333335, 3757.5, 3234.0, 2450.0, 4157.142857142857, 3246.0, 2994.4, 3090.0, 3186.1, 2885.4545454545455, 3641.25, 3480.0, 4157.142857142857, 3925.5714285714284, 2565.3333333333335, 4331.857142857143, 3609.0, 3406.6666666666665, 3301.222222222222, 4191.428571428572, 3714.375, 3502.5, 1940.6666666666667, 3393.3333333333335, 3090.0, 3255.1111111111113, 3481.0, 3054.0, 3495.0, 4800.0, 3787.5, 3234.0, 3353.3333333333335, 3645.0, 3570.5555555555557, 3390.0, 3799.125, 4305.0, 4950.0, 3780.0, 3742.5, 3027.2727272727275, 4192.5, 3669.4444444444443, 3109.090909090909, 4057.5, 3462.0, 3328.5555555555557, 6216.0, 4980.0, 3360.0, 3342.0, 4193.333333333333, 4850.0, 2372.3076923076924, 2856.0, 3746.6666666666665, 3646.6666666666665, 3553.3333333333335, 3036.0, 5541.833333333333, 4084.75, 2906.2, 3294.0, 2912.7272727272725, 4302.857142857143, 3889.375, 3380.0, 5222.666666666667, 3380.0, 2963.181818181818, 4337.142857142857, 3850.625, 3686.6666666666665, 3660.3333333333335, 4234.285714285715, 3522.625, 3645.25, 4071.4285714285716, 2625.0, 2645.4545454545455, 2478.4615384615386, 4920.0, 2850.0, 3231.222222222222, 3149.1111111111113, 2950.909090909091, 2585.0, 3472.5, 3073.1, 3000.0, 3815.4444444444443, 2580.0, 3750.0, 3330.0, 2694.5454545454545, 3146.6666666666665, 4325.142857142857, 3532.5, 3213.3333333333335, 2016.0, 2475.0, 3967.5, 3780.0, 3882.8571428571427, 3353.3333333333335, 3817.5, 3387.0, 3220.0, 2596.3636363636365, 3353.3333333333335, 4197.0, 3690.0, 2396.6363636363635, 3600.0, 3874.4285714285716, 2847.2727272727275, 3233.3333333333335, 3980.0, 4207.5, 3480.0, 6209.4, 3300.0, 2931.4285714285716, 4405.714285714285, 2680.0, 4550.0, 5100.0, 3170.0, 2766.0, 3021.818181818182, 4080.0, 3078.0, 3372.4, 3113.3333333333335, 2596.0, 4114.285714285715, 4920.0, 3472.5, 2700.0, 2940.0, 3133.3333333333335, 4122.857142857143, 2927.3, 4022.8571428571427, 2824.1, 4252.428571428572, 3577.5, 4277.142857142857, 2650.909090909091, 3977.1428571428573, 3273.3333333333335, 3458.5555555555557, 2830.6, 3240.0, 2730.0, 5184.0, 3697.5, 3861.875, 2694.5454545454545, 2550.0, 3561.818181818182, 2696.2727272727275, 3200.0, 3286.6666666666665, 3337.5, 4908.5, 3963.125, 3240.0, 2475.0, 3029.625, 4202.571428571428, 3266.6666666666665, 3270.0, 2820.2, 4336.714285714285, 3240.0, 2732.7272727272725, 2841.818181818182, 3320.0, 2889.818181818182, 4125.428571428572, 3273.3333333333335, 4309.857142857143, 3174.0, 2243.076923076923, 2961.818181818182, 3038.181818181818, 4630.0, 3046.6666666666665, 4244.142857142857, 3891.4285714285716, 4431.428571428572, 2661.818181818182, 4770.0, 2856.0, 3930.0, 3306.6666666666665, 3700.125, 2530.909090909091, 3600.0, 3615.0, 4101.0, 3525.0, 2754.5454545454545, 3282.3, 3510.0, 3420.0, 3466.8333333333335, 3066.6666666666665, 2904.0, 4770.0, 3697.5, 3040.222222222222, 3867.875, 3787.5, 4157.142857142857, 3030.0, 3156.0, 3397.5, 3606.6666666666665, 3353.6666666666665, 2568.3636363636365, 3970.625, 3280.0, 3787.5, 2750.0, 3293.3333333333335, 3697.5, 3234.0, 3120.0, 3195.0, 3600.0, 2700.0, 3138.0, 3855.0, 3746.6666666666665, 3210.0, 5134.166666666667, 1937.142857142857, 3000.0, 4192.5, 3580.0, 4320.0, 3433.3333333333335, 3313.3333333333335, 2736.7, 3446.6666666666665, 3514.285714285714, 3822.0, 3934.285714285714, 4060.0, 4230.0, 4277.142857142857, 3156.0, 3623.875, 4990.0, 3896.875, 4028.5714285714284, 3528.75, 3286.6666666666665, 4355.0, 2694.5454545454545, 3565.714285714286, 4177.857142857143, 3413.3333333333335, 2335.3846153846152, 3678.625, 3447.25, 3090.0, 3675.0, 3326.6666666666665, 4150.0, 3865.714285714286, 3030.0, 3386.6666666666665, 2907.0, 4130.428571428572, 4362.857142857143, 2743.6363636363635, 2672.7272727272725, 2480.0, 2880.0, 3533.3333333333335, 2544.9166666666665, 3366.6666666666665, 3270.0, 2520.0, 3754.285714285714, 3084.0, 2940.0, 4114.285714285715, 3236.5555555555557, 2924.0, 2770.2, 2820.0, 3280.0, 3213.3333333333335, 2738.181818181818, 3000.0, 3400.0, 3030.0, 2868.0, 3333.3333333333335, 3196.3636363636365, 3018.0, 2817.0, 3153.3333333333335, 3121.0, 2600.0, 3132.0, 3480.0, 4160.0, 2996.6666666666665, 3556.75, 2863.6363636363635, 3513.3333333333335, 2655.4166666666665, 3030.0, 3454.125, 4216.142857142857, 3877.5, 3480.0, 3262.5, 3822.8571428571427, 3150.875, 4750.0, 3282.0, 3787.5, 2575.0, 4337.142857142857, 3120.0, 2776.3636363636365, 3406.6666666666665, 2717.7, 5230.0, 2602.0833333333335, 3030.0, 4200.0, 3120.0, 3366.6666666666665, 3120.0, 2792.7272727272725, 2395.3846153846152, 3413.3333333333335, 3293.222222222222, 3431.222222222222, 2907.2727272727275, 3206.6666666666665, 3084.3, 5875.0, 3585.777777777778, 2600.0, 3228.0, 2778.909090909091, 3160.0, 3960.0, 3115.0, 3354.5454545454545, 3306.6666666666665, 2940.0, 3285.0, 2271.4285714285716, 3255.5555555555557, 3320.0, 3642.8571428571427, 3165.6666666666665, 2618.214285714286, 3189.5833333333335, 2290.5882352941176, 2822.1, 2601.4285714285716, 3376.3636363636365, 3175.5, 2405.0, 2738.5714285714284, 3027.6923076923076, 2976.923076923077, 2344.6153846153848, 3025.0, 3375.4444444444443, 3985.714285714286, 2988.0, 3241.3, 3132.0, 3031.090909090909, 2710.909090909091, 3720.0, 3712.5, 2445.0, 3925.714285714286, 2629.090909090909, 2475.3333333333335, 2623.6363636363635, 2590.0, 2886.6666666666665, 2748.0, 2691.818181818182, 2190.0, 3320.0, 2070.0, 3060.0, 2390.0, 1984.0, 2985.8, 2410.0, 5910.0, 3795.0, 2850.0, 2831.7272727272725, 2855.4545454545455, 3413.3333333333335, 2650.909090909091, 2600.0, 3063.6, 2873.3333333333335, 2480.0, 4423.428571428572, 2550.0, 2550.0, 3048.0, 3600.0, 2107.214285714286, 2445.0, 2445.0, 2900.0, 3765.0, 2967.5, 2450.0, 2280.0, 2727.7272727272725, 4890.166666666667, 3877.5, 3012.0, 2255.0, 2661.818181818182, 3211.777777777778, 3699.125, 3233.3333333333335, 2091.4285714285716, 2584.285714285714, 4260.0, 2563.6363636363635, 2500.0, 3286.6666666666665, 2694.5, 3050.8333333333335, 3085.0, 2145.8823529411766, 2570.0, 2700.0, 5316.0, 2223.529411764706, 2315.6666666666665, 3206.6666666666665, 2528.5714285714284, 2554.285714285714, 2390.266666666667, 2880.0, 2370.0, 2280.0, 2661.818181818182, 2855.6, 2378.181818181818, 2964.1111111111113, 2480.0, 2284.6153846153848, 2263.6923076923076, 3825.5, 3100.0, 2916.0, 2653.818181818182, 2289.230769230769, 2940.0, 2700.0, 2377.3846153846152, 2238.4615384615386, 2757.3636363636365, 3366.6666666666665, 2970.0, 2520.0833333333335, 2650.909090909091, 3103.4444444444443, 3233.3333333333335, 2658.0, 2400.0, 2500.0, 2862.0, 3048.0, 3386.6666666666665, 2566.153846153846, 2564.0, 3286.6666666666665, 2261.5384615384614, 2192.3076923076924, 2700.0, 2293.846153846154, 2645.4545454545455, 2922.0, 2672.7272727272725, 2087.1428571428573, 2901.818181818182, 2799.181818181818, 3145.0, 4280.0, 3473.3333333333335, 3166.8888888888887, 3160.0, 2956.3636363636365, 2976.0, 2886.0, 2632.5, 2946.0, 4209.571428571428, 3003.0, 3318.0, 2266.153846153846, 2529.230769230769, 2994.0, 3250.909090909091, 2802.0, 3485.4545454545455, 3246.6666666666665, 2934.8, 3244.4285714285716, 3525.0, 3716.8571428571427, 2912.7272727272725, 3240.0, 3727.5, 3320.0, 4155.0, 3622.5, 3199.375, 2660.0, 2880.0, 2415.0, 3937.5, 4068.0, 3980.1428571428573, 3400.0, 4114.285714285715, 4215.0, 3006.0, 3613.3333333333335, 3588.375, 3630.0, 3847.5, 1972.0, 3300.0, 2862.2, 2480.0, 3660.5, 2645.4545454545455, 3630.0, 3000.0, 3320.0, 2134.285714285714, 4050.0, 2370.0, 2661.818181818182, 3140.0, 4012.1428571428573, 3066.0, 2169.230769230769, 3360.0, 3454.285714285714, 3292.5555555555557, 3910.5, 2798.181818181818, 2988.0, 3900.0, 4650.0, 3066.0, 2430.0, 2676.0, 3260.0, 2650.909090909091, 3332.7272727272725, 3660.0, 3083.076923076923, 2695.714285714286, 2190.0, 2448.0, 2907.6923076923076, 2362.5, 2523.75, 2670.0, 3305.4545454545455, 3793.3333333333335, 2627.1428571428573, 2492.0, 2976.923076923077, 3480.0, 3294.5454545454545, 2810.769230769231, 3070.0, 2488.0, 2967.6923076923076, 3210.0, 3908.8888888888887, 2892.8571428571427, 2708.5714285714284, 3175.0, 2422.5, 2721.4285714285716, 2807.1428571428573, 2856.923076923077, 2856.923076923077, 3366.0, 3030.0, 2584.285714285714, 3045.0, 2751.4285714285716, 2692.0, 2520.0, 2237.6470588235293, 3090.0, 2476.0, 3220.0, 2508.0, 2644.0, 2802.8571428571427, 3075.0, 3702.0, 2606.266666666667, 2230.5882352941176, 2618.5714285714284, 2456.0, 3310.909090909091, 2257.5, 2627.1428571428573, 2529.0, 2588.5714285714284, 2723.076923076923, 2721.4285714285716, 3120.0, 2778.4615384615386, 2428.4, 2592.9333333333334, 2727.6923076923076, 2723.076923076923, 3403.6363636363635, 3010.0, 2622.8571428571427, 2950.0, 2674.285714285714, 2422.5, 2516.0, 2255.9411764705883, 2721.4285714285716, 4333.333333333333, 2866.153846153846, 2283.75, 2737.3076923076924, 2320.0, 2631.4285714285716, 3672.0, 2665.714285714286, 3786.0, 2585.3571428571427, 2223.75, 2448.0, 2838.4615384615386, 2512.0, 3240.4166666666665, 2050.0, 3425.4545454545455, 3474.5454545454545, 1929.0, 2533.285714285714, 3734.0, 3145.75, 2507.1428571428573, 2678.5714285714284, 3310.909090909091, 2488.0, 2687.1428571428573, 3332.7272727272725, 2664.285714285714, 2635.214285714286, 2298.75, 3032.3076923076924, 2648.5714285714284, 3427.5454545454545, 2818.923076923077, 2317.5, 6619.4, 3321.818181818182, 1981.4736842105262, 2545.8, 2636.4285714285716, 2448.0, 3152.7272727272725, 2861.5384615384614, 1949.6842105263158, 2307.8125, 2950.6666666666665, 2778.4615384615386, 2769.4615384615386, 2392.2, 2421.266666666667, 2856.923076923077, 2496.0, 2526.4, 1910.5263157894738, 2648.5714285714284, 3120.0, 2266.375, 2398.133333333333, 3762.0, 2985.0, 2484.0, 2232.294117647059, 2325.0, 3283.6363636363635, 2787.3076923076924, 4080.0, 6800.0, 3051.375, 2448.6, 2625.625, 2921.5384615384614, 2440.0, 3100.0, 2880.0, 2554.285714285714, 2512.5, 2351.25, 2291.25, 3075.1666666666665, 3140.0, 3564.0, 2090.0, 3349.090909090909, 2292.0, 2298.75, 2990.0, 2742.8571428571427, 2544.0, 2958.0, 2664.0, 2020.0, 2375.0, 2425.0, 2694.5454545454545, 3320.0, 2455.0, 1954.2857142857142, 2910.0, 4222.428571428572, 2545.0, 1775.2941176470588, 3113.3333333333335, 2663.2727272727275, 2952.5, 2667.2727272727275, 2243.076923076923, 2470.0, 2256.923076923077, 3008.1, 2904.0, 2395.0, 3093.3333333333335, 3413.3333333333335, 2966.8, 3340.0, 2335.3846153846152, 2560.0, 2922.0, 2134.285714285714, 2710.909090909091, 1964.0, 2672.7272727272725, 2490.0, 2057.1428571428573, 2400.0, 2732.7272727272725, 2441.5, 2672.7272727272725, 2247.6923076923076, 3006.6666666666665, 2014.2857142857142, 2305.714285714286, 2657.5454545454545, 2100.0, 2435.0, 2916.0, 3108.0, 2754.5454545454545, 3168.0, 2515.3846153846152, 3000.0, 2731.5454545454545, 2367.6923076923076, 3487.5, 3675.0, 2530.0, 4294.285714285715, 2970.0, 2076.923076923077, 2660.0, 3433.3333333333335, 3675.0, 2190.0, 2565.0, 3186.0, 2692.7272727272725, 2465.0, 2520.0, 2261.5384615384614, 2298.4615384615386, 3266.6666666666665, 2913.3333333333335, 2732.7272727272725, 3186.0, 2104.285714285714, 2886.0, 3012.0, 2363.076923076923, 4007.714285714286, 2700.0, 2831.0, 2044.0, 1581.0, 3675.0, 2640.0, 2505.0, 2288.230769230769, 1870.5882352941176, 2726.6666666666665, 3133.3333333333335, 2109.5714285714284, 3322.222222222222, 3120.0, 3135.125, 3236.777777777778, 2034.857142857143, 2206.153846153846, 2694.5454545454545, 3682.5, 2558.181818181818, 2450.0, 2222.076923076923, 2904.0, 2141.5384615384614, 1764.625, 1800.0, 2874.0, 3030.0, 2645.2727272727275, 2280.0, 2574.0, 2796.0, 2022.857142857143, 2596.3636363636365, 2160.0, 2257.4166666666665, 1944.0, 2656.3636363636365, 2678.181818181818, 2455.1666666666665, 2448.9166666666665, 2242.230769230769, 2171.714285714286, 2398.9166666666665, 2297.153846153846, 1822.5, 2882.9, 2968.9, 3346.777777777778, 2576.9166666666665, 2705.090909090909, 3220.5555555555557, 2612.7272727272725, 2304.153846153846, 2574.5454545454545, 2818.090909090909, 2823.6363636363635, 2768.090909090909, 1975.7142857142858, 3320.0, 2363.076923076923, 2518.8333333333335, 3240.0, 2114.785714285714, 3375.0, 3386.6666666666665, 3234.8, 3234.0, 2776.3636363636365, 3855.0, 3084.0, 2410.0, 3480.0, 2490.0, 3300.0, 3480.0, 2618.181818181818, 2934.0, 1924.0, 2535.0, 3406.6666666666665, 3257.375, 2868.0, 2424.5833333333335, 3193.3333333333335, 2453.8333333333335, 2605.181818181818, 2596.3636363636365, 3397.5, 3206.6666666666665, 2372.7272727272725, 3622.5, 2898.0, 3213.3333333333335, 2583.6363636363635, 2922.5, 2716.3636363636365, 2934.5454545454545, 3432.875, 3255.0, 2355.0, 4045.714285714286, 2419.3333333333335, 2922.0, 3096.0, 2666.818181818182, 2874.0, 3240.0, 2425.0, 2857.2, 1964.1333333333334, 2187.6923076923076, 2204.25, 2661.818181818182, 2450.0, 2916.0, 2970.0, 2886.0, 3286.6666666666665, 2252.3076923076924, 2598.2727272727275, 2818.3, 2934.0, 2856.0, 2721.818181818182, 2831.1, 2414.0, 2445.0, 2001.4285714285713, 2164.285714285714, 3810.0, 3382.5, 3981.0, 2808.0, 2492.3076923076924, 2252.3076923076924, 3193.3333333333335, 2351.4615384615386, 3084.0, 2601.818181818182, 1804.125, 3030.0, 3215.4444444444443, 3138.0, 2802.0, 2861.5384615384614, 2307.6923076923076, 2934.0, 2261.5384615384614, 2074.285714285714, 3095.3, 2400.0, 2362.846153846154, 1968.0, 1550.2105263157894, 3024.3, 2430.0, 2109.8571428571427, 2645.4545454545455, 1765.5294117647059, 3186.6666666666665, 2266.153846153846, 2859.7, 3040.0, 3637.5, 3000.0, 2701.5454545454545, 3100.0, 2575.0, 3000.0, 2450.0, 2261.5384615384614, 2672.7272727272725, 3133.3333333333335, 3750.0, 3180.0, 2576.5454545454545, 3203.1111111111113, 2360.0, 3004.5, 2425.0, 2722.2, 2525.0, 2121.8571428571427, 3000.0, 2284.6153846153848, 2727.2727272727275, 2293.846153846154, 2618.181818181818, 2672.7272727272725, 2535.0, 1950.0, 2460.0, 2949.6, 2325.0, 2007.6923076923076, 2645.4545454545455, 1807.5, 3000.0, 2307.6923076923076, 2766.0, 2350.0, 2164.285714285714, 2350.8333333333335, 1961.6, 1792.5, 2970.0, 2702.909090909091, 2940.0, 2452.3333333333335, 2238.4615384615386, 2425.0, 2964.0, 2779.909090909091, 2767.3636363636365, 3220.0, 3144.0, 2802.9, 2653.1, 2796.090909090909, 2885.4545454545455, 3666.6666666666665, 2485.0, 3397.0, 3788.5714285714284, 2667.2727272727275, 2184.5714285714284, 2672.7272727272725, 3146.6666666666665, 3346.6666666666665, 3480.0, 3630.375, 3122.0, 2852.7272727272725, 2570.0, 3507.4444444444443, 3042.0, 2658.0, 2726.0, 2898.0, 2798.181818181818, 3192.3, 2376.923076923077, 2615.8333333333335, 2550.0, 2952.0, 3426.6666666666665, 2343.769230769231, 2380.0, 3900.0, 2850.0, 3166.8, 2229.230769230769, 3765.875, 2850.0, 3708.625, 2690.0, 2475.0, 2683.6363636363635, 3054.0, 2334.4615384615386, 2476.1666666666665, 3186.5, 3030.0, 2327.846153846154, 2945.4545454545455, 2238.4615384615386, 2784.909090909091, 2814.5454545454545, 2967.6923076923076, 2340.0, 2450.0, 3131.3333333333335, 2574.5454545454545, 4198.75, 2370.0, 3340.0, 2735.0, 2612.7272727272725, 2395.3846153846152, 3177.5555555555557, 2220.0, 3015.181818181818, 2705.4545454545455, 2850.0, 2598.0833333333335, 2525.0, 2880.0, 2595.0, 3433.3333333333335, 2880.0, 2740.0, 3549.222222222222, 3790.875, 2869.090909090909, 3084.0, 1875.0, 3030.4, 2275.714285714286, 2958.0, 2937.6, 2413.846153846154, 2440.0, 2520.0, 2958.0, 2694.5454545454545, 3360.0, 2400.0, 2700.0, 3282.0, 2793.818181818182, 2880.2727272727275, 3366.6666666666665, 2348.6923076923076, 2749.2727272727275, 2307.6923076923076, 2585.0, 2612.3076923076924, 3000.0, 2408.846153846154, 3084.0, 2730.0, 2450.4166666666665, 2862.0, 2770.909090909091, 3054.0, 2620.0, 2785.714285714286, 2749.090909090909, 3100.0, 2774.7272727272725, 2830.909090909091, 2550.0, 2346.230769230769, 2381.3076923076924, 3340.0, 2548.0, 2926.0, 3016.3636363636365, 2650.0, 3258.0, 3666.6666666666665, 2390.5833333333335, 2510.0, 2410.0, 3333.3333333333335, 5367.0, 2326.153846153846, 2430.0, 2585.4545454545455, 2408.0, 2824.6153846153848, 3012.0, 3273.3333333333335, 2772.0, 2712.8571428571427, 3163.6363636363635, 2570.0, 3006.0, 2763.3636363636365, 2547.2727272727275, 2113.846153846154, 2798.181818181818, 2820.0, 2590.0, 2610.0, 2335.5833333333335, 3660.0, 3720.0, 2146.6153846153848, 3810.0, 2326.785714285714, 2206.3571428571427, 3150.0, 3329.8888888888887, 3399.4444444444443, 2450.769230769231, 3006.0, 2825.4545454545455, 2781.818181818182, 3132.0, 2435.0, 3178.6666666666665, 3060.0, 2765.4545454545455, 3198.0, 2720.0, 2525.0, 2710.0, 2967.8333333333335, 2174.285714285714, 3420.0, 3466.6666666666665, 2490.0, 2776.3636363636365, 2427.6923076923076, 2326.153846153846, 2270.769230769231, 3060.0, 4300.0, 4068.285714285714, 2635.3846153846152, 3145.0, 3619.0, 2634.25, 3877.5, 2232.923076923077, 2862.0, 3429.6666666666665, 2790.1, 3017.7272727272725, 2585.4545454545455, 4157.142857142857, 3710.3333333333335, 2663.5454545454545, 2208.75, 2110.5882352941176, 2835.0, 2914.4545454545455, 3003.9, 2169.8571428571427, 3328.0, 3370.0, 2376.923076923077, 3265.75, 2544.75, 2460.0, 3344.0, 3006.8333333333335, 2802.8571428571427, 3750.0, 3108.0, 2998.5, 2746.153846153846, 3140.0, 3150.0, 3168.7272727272725, 3526.75, 3076.3, 2946.0, 2844.0, 2873.0, 3006.6666666666665, 3577.0, 2463.3333333333335, 2381.5384615384614, 3414.3333333333335, 2270.769230769231, 2665.0, 3572.7272727272725, 2838.0, 2515.0, 3042.0, 3780.0, 2890.909090909091, 2656.3636363636365, 3138.0, 3510.0, 2787.2727272727275, 3366.6666666666665, 2776.3636363636365, 2545.8333333333335, 3712.5, 3227.0, 2849.0, 2815.3846153846152, 3078.0, 2660.0, 3348.0, 3051.6, 2880.0, 2863.6363636363635, 3210.0, 2749.090909090909, 2926.6666666666665, 2465.0, 2445.0, 4373.142857142857, 3286.6666666666665, 2500.0, 3213.3333333333335, 2993.6, 2892.0, 3293.3333333333335, 3186.6666666666665, 3615.0, 2645.4545454545455, 2312.3076923076924, 2610.5, 2466.4285714285716, 2670.0, 2691.4545454545455, 2689.090909090909, 3024.0, 2546.3333333333335, 2235.0, 2495.0, 2563.6363636363635, 3078.4, 3042.0, 2802.8571428571427, 2558.181818181818, 3210.0, 3645.0, 2511.5, 2196.923076923077, 3306.6666666666665, 2868.0, 2895.0, 2052.8571428571427, 3394.4444444444443, 2367.6923076923076, 3065.4, 2078.5714285714284, 3246.6666666666665, 2994.0, 1914.7142857142858, 2667.2727272727275, 3460.0, 2460.0, 3380.0, 2994.0, 2787.6363636363635, 3293.3333333333335, 3080.0, 2705.4, 3233.3333333333335, 2830.909090909091, 2229.230769230769, 2358.4615384615386, 2928.0, 2612.7272727272725, 2922.0, 2964.0, 3607.222222222222, 2760.0, 3093.3333333333335, 2585.4545454545455, 2958.8, 2256.923076923077, 2276.3571428571427, 3320.0, 2717.2727272727275, 3036.0, 2490.0, 2919.090909090909, 2340.0, 4200.0, 2982.0, 3120.0, 3027.2727272727275, 2673.5, 4140.0, 2520.0, 2876.909090909091, 3780.0, 3271.5555555555557, 2492.3076923076924, 3240.0, 3036.0, 4546.571428571428, 2837.6, 4722.5, 2465.0, 3275.777777777778, 3573.3333333333335, 3435.0, 2787.2727272727275, 3720.0, 2923.6363636363635, 2792.7272727272725, 2928.0, 3466.6666666666665, 3320.0, 2672.7272727272725, 2402.0833333333335, 3675.75, 2925.1, 2856.0, 2525.0, 2574.5454545454545, 2749.090909090909, 2653.3333333333335, 2150.769230769231, 2630.0, 2814.0, 3810.0, 3253.3333333333335, 4670.0, 2163.923076923077, 2594.6363636363635, 2399.5833333333335, 2993.3333333333335, 3414.0, 2670.6363636363635, 2510.0, 3248.777777777778, 3012.0, 2982.0, 2292.8571428571427, 2449.0, 3041.1, 3212.7272727272725, 2381.5384615384614, 3021.818181818182, 2670.8333333333335, 2689.090909090909, 2776.3636363636365, 2645.0, 3180.0, 2623.25, 2275.714285714286, 3646.6666666666665, 2673.909090909091, 2818.090909090909, 4112.8, 3361.8888888888887, 2795.8333333333335, 2864.5454545454545, 3000.0, 3380.0, 2573.25, 2727.2727272727275, 2312.0, 2896.3636363636365, 3413.3333333333335, 2249.230769230769, 3526.6666666666665, 2970.0, 2495.0, 2914.5, 2168.0, 2803.6363636363635, 2766.0, 2994.0, 2592.818181818182, 3326.1111111111113, 2499.3636363636365, 2321.5384615384614, 4200.0, 2933.3333333333335, 2798.181818181818, 3227.777777777778, 2836.3636363636365, 2629.090909090909, 2530.0, 3577.5, 2485.0, 2827.7272727272725, 2639.181818181818, 2655.909090909091, 2375.0, 2516.1666666666665, 2790.0, 3531.25, 2663.5384615384614, 2032.357142857143, 3106.6666666666665, 2910.0, 2300.769230769231, 2776.3636363636365, 3133.3333333333335, 2694.5454545454545, 2716.3636363636365, 3000.0, 3029.7, 3685.375, 2760.0, 2650.909090909091, 2460.0, 3832.875, 2966.6666666666665, 2110.1428571428573, 3042.0, 2164.285714285714, 2266.153846153846, 2650.909090909091, 2700.0, 3180.0, 2505.0, 2155.3846153846152, 2784.0, 2590.909090909091, 1792.5, 2952.0, 2347.6923076923076, 2487.6923076923076, 2285.0, 2445.0, 2506.153846153846, 3073.6666666666665, 2319.153846153846, 2307.6923076923076, 2027.142857142857, 2087.1428571428573, 1953.75, 2934.5454545454545, 2781.818181818182, 2220.0, 2220.0, 2754.5454545454545, 2803.6363636363635, 2450.0, 2310.0, 3260.0, 2589.25, 2287.153846153846, 3392.875, 2735.0, 2445.0, 3533.3333333333335, 3327.5, 2922.0, 3234.1111111111113, 3474.625, 3600.0, 2747.7272727272725, 3765.0, 3660.0, 2880.0, 2797.3636363636365, 2410.3846153846152, 2312.4615384615386, 2291.6923076923076, 2314.285714285714, 3150.9, 2981.3, 3006.3, 3187.7, 2490.0, 3106.6666666666665, 3637.125, 2245.714285714286, 2573.1666666666665, 2514.5454545454545, 1984.0, 3042.0, 2585.0, 3326.6666666666665, 3200.0, 2229.230769230769, 2605.0, 2870.0, 2380.6923076923076, 3062.3333333333335, 2644.6153846153848, 2450.0, 2760.0, 3462.0, 3294.5555555555557, 3141.9, 2220.214285714286, 2303.076923076923, 2600.0, 3306.6666666666665, 3698.625, 3511.0, 2008.0, 3426.6666666666665, 2490.0, 2903.076923076923, 3084.0, 2885.0, 2939.8, 3612.0, 3313.4444444444443, 2845.0, 2640.0, 2982.0, 2211.4285714285716, 3186.6666666666665, 2455.0, 2727.2727272727275, 3400.0, 3760.0, 3413.3333333333335, 2833.846153846154, 2625.0, 2903.076923076923, 3162.0, 3156.0, 2792.7272727272725, 2600.0, 2754.5454545454545, 2540.0, 2988.0, 3266.4444444444443, 2952.0, 3512.4444444444443, 2891.2727272727275, 3305.3333333333335, 2970.0, 2481.0833333333335, 2301.4285714285716, 3697.5, 2574.909090909091, 5052.0, 3118.1111111111113, 2928.7, 6456.0, 3895.5, 2350.1428571428573, 2611.0, 2679.7272727272725, 2747.6363636363635, 3297.6, 2678.181818181818, 2784.4, 2245.1428571428573, 3153.3333333333335, 2473.1666666666665, 2672.7272727272725, 2735.181818181818, 2089.8571428571427, 3109.4, 2754.5454545454545, 3303.125, 3059.8, 2465.5833333333335, 2394.4615384615386, 3168.0, 3164.3, 2685.0, 2868.3636363636365, 2478.076923076923, 2249.230769230769, 2760.0, 3442.3333333333335, 3046.6666666666665, 3226.8888888888887, 2470.0, 3128.9, 2395.5833333333335, 3246.6666666666665, 3471.125, 2928.0, 3433.3333333333335, 2520.0, 3326.6666666666665, 2710.909090909091, 2981.3636363636365, 2233.846153846154, 2862.0, 3206.6666666666665, 2574.5454545454545, 2500.0, 2607.2727272727275, 2710.909090909091, 3012.0, 2239.3076923076924, 2126.25, 2147.1428571428573, 2710.909090909091, 2359.5, 1828.0, 2510.0, 2634.5454545454545, 3909.375, 2556.7272727272725, 2787.2727272727275, 2779.4, 2781.818181818182, 3532.5, 2732.7272727272725, 3794.0, 2632.785714285714, 2727.2727272727275, 5909.8, 3173.3333333333335, 2794.1111111111113, 2781.818181818182, 2364.0, 4157.142857142857, 2880.0, 3240.0, 2814.5454545454545, 3081.818181818182, 4068.1428571428573, 2838.0, 3146.6666666666665, 2458.1666666666665, 2727.2727272727275, 3247.0, 2160.4615384615386, 2635.0, 3682.6666666666665, 2305.0, 2667.7272727272725, 3273.3333333333335, 3293.3333333333335, 2445.0, 2340.0, 2289.230769230769, 3367.5, 2425.0, 2503.6363636363635, 3054.0, 2862.6, 3985.714285714286, 2511.5833333333335, 2594.75, 3313.3333333333335, 2650.0, 2710.909090909091, 2601.818181818182, 3032.6, 2982.0, 2749.090909090909, 3447.2727272727275, 3309.5555555555557, 3060.0, 3300.0, 2132.3076923076924, 3365.222222222222, 2635.0, 2270.769230769231, 2344.6153846153848, 3083.3333333333335, 3459.0, 3326.6666666666665, 2232.0, 3114.3, 2836.3636363636365, 2565.0, 3180.0, 2566.6666666666665, 3637.5, 2303.076923076923, 2770.909090909091, 2678.181818181818, 6960.0, 3228.0, 3880.625, 2551.6363636363635, 3075.222222222222, 4140.0, 2727.2727272727275, 2500.0, 2355.0, 2661.818181818182, 2835.0, 3502.5, 2400.1, 2645.4545454545455, 5913.666666666667, 3232.1111111111113, 2565.909090909091, 3547.5, 2743.6363636363635, 2826.0, 2591.25, 2344.6153846153848, 3316.714285714286, 2700.0, 2844.0, 2615.0, 2826.0, 2925.0, 3750.0, 2689.090909090909, 3006.0, 2395.0, 2846.6666666666665, 2506.153846153846, 2607.2727272727275, 3367.5, 2475.0, 2460.0, 2565.0, 2814.5454545454545, 2625.0, 3036.0, 3120.0, 3066.0, 2781.818181818182, 2596.3636363636365, 2737.9, 2792.7272727272725, 3285.3333333333335, 2792.7272727272725, 2838.0, 2849.0, 2765.4545454545455, 2880.0, 2510.0, 3520.0, 3510.625, 2442.2727272727275, 3000.8333333333335, 4105.714285714285, 2748.0, 2820.0, 1996.8666666666666, 3070.4, 2873.7, 3582.8571428571427, 2861.5454545454545, 2386.153846153846, 3186.6666666666665, 2825.6, 2495.0, 2282.4615384615386, 3727.4444444444443, 2598.4615384615386, 2774.6363636363635, 3204.0, 2590.0, 2068.0, 4057.5, 2474.4166666666665, 3080.0, 3132.0, 1942.5, 2173.846153846154, 2952.0, 2798.181818181818, 2898.0, 3985.714285714286, 4243.142857142857, 4088.5714285714284, 2320.0, 3012.0, 4243.857142857143, 2397.0, 3226.6666666666665, 5880.0, 3050.4444444444443, 4097.142857142857, 2367.6923076923076, 3448.777777777778, 2700.0, 3012.0, 2894.1111111111113, 2766.0, 2953.3333333333335, 3413.3333333333335, 3046.6666666666665, 2933.0, 2304.4166666666665, 3153.3333333333335, 2700.0, 2964.0, 2270.769230769231, 2480.0, 3133.3333333333335, 3285.0, 2454.5454545454545, 2345.0, 2280.0, 2525.0, 2794.7, 2164.285714285714, 2480.0, 2892.0, 2672.7272727272725, 2380.0, 2940.0, 2640.0, 2770.909090909091, 2710.0, 3186.6666666666665, 2365.0, 3096.0, 3320.0, 2946.6666666666665, 1995.0, 3186.6666666666665, 2303.076923076923, 3102.0, 4700.0, 3393.8888888888887, 3559.25, 2192.3076923076924, 2832.0, 2869.090909090909, 4129.571428571428, 2353.846153846154, 3276.0, 3690.0, 3413.3333333333335, 2341.230769230769, 2916.0, 2700.0, 3320.0, 2185.714285714286, 2118.4615384615386, 3101.222222222222, 2705.4545454545455, 4130.0, 3189.777777777778, 2672.7272727272725, 2405.9166666666665, 4277.142857142857, 3675.0, 2551.6363636363635, 3960.0, 3500.0, 2874.0, 2980.0, 3003.3, 4474.285714285715, 3197.1428571428573, 3200.0, 2700.818181818182, 3260.0, 3697.5, 2648.5714285714284, 2953.6, 3291.0, 3070.909090909091, 3300.0, 3112.5, 2976.0, 2716.3636363636365, 3551.5, 2400.9166666666665, 2540.0, 2036.0, 2405.4545454545455, 2070.0, 2400.0, 3246.6666666666665, 3106.777777777778, 2766.0, 1976.0, 2202.8571428571427, 3150.0, 1940.0, 3232.5, 3306.6666666666665, 3162.0, 2100.0, 3435.0, 2537.9166666666665, 3005.4545454545455, 2703.5454545454545, 3960.0, 4770.0, 2052.3333333333335, 4085.25, 2750.0, 2021.1333333333334, 3596.125, 2520.0, 3337.5, 2640.0, 4560.0, 3702.8571428571427, 3013.3333333333335, 4100.0, 2480.5, 3614.285714285714, 2640.0, 2280.0, 2950.909090909091, 2438.181818181818, 3774.875, 2492.7272727272725, 4850.333333333333, 4012.1428571428573, 2892.0, 2667.2727272727275, 3135.0, 2247.6923076923076, 2376.923076923077, 3594.375, 2910.0, 3113.3333333333335, 2910.0, 2667.2727272727275, 3447.0, 2482.5, 1792.9411764705883, 3601.5, 2154.769230769231, 2814.5454545454545, 1683.75, 1541.842105263158, 2060.285714285714, 1802.875, 1995.4666666666667, 2103.076923076923, 3033.3333333333335, 2275.3846153846152, 1650.0, 2675.4545454545455, 2040.0, 2394.9166666666665, 2126.5714285714284, 1768.0, 2407.214285714286, 2169.230769230769, 1915.7142857142858, 2630.181818181818, 2126.4285714285716, 2747.7272727272725, 2226.153846153846, 1996.0, 2837.4, 1901.25, 2361.076923076923, 2046.3157894736842, 2369.6666666666665, 1871.5625, 3028.4, 2091.4285714285716, 1938.0, 2394.9166666666665, 2238.4615384615386, 2594.0, 2294.230769230769, 1870.5625, 2455.1666666666665, 3562.625, 2260.6153846153848, 2880.9166666666665, 1950.0, 2426.5833333333335, 3789.5, 3380.0, 1940.6, 3340.0, 2563.6363636363635, 2982.0, 4668.0, 2790.0, 2967.2727272727275, 2140.0, 3737.4285714285716, 2910.0, 2307.6923076923076, 2233.846153846154, 3682.5, 2464.6153846153848, 2104.285714285714, 2220.0, 3300.0, 7371.5, 2705.0, 1984.0, 2480.0, 3226.6666666666665, 2976.0, 1984.2666666666667, 2104.285714285714, 2241.0, 3720.0, 2911.8, 2729.5454545454545, 3360.0, 2210.769230769231, 2316.923076923077, 2117.1428571428573, 3627.25, 2265.6153846153848, 3640.0, 2455.8333333333335, 3400.0, 2503.6363636363635, 3060.0, 2790.0, 2095.714285714286, 2261.5384615384614, 3190.222222222222, 2263.6923076923076, 2667.2727272727275, 2607.2727272727275, 1971.4285714285713, 3021.0, 2014.2857142857142, 3219.777777777778, 2940.0, 2405.0, 2465.2727272727275, 3102.0, 3293.3333333333335, 1977.2666666666667, 3066.6666666666665, 2755.090909090909, 3012.0, 3024.0, 4722.5, 3435.0, 2700.0, 2862.0, 2760.0, 2742.0, 2201.5384615384614, 2173.5, 2444.25, 2535.0, 3202.5, 3993.714285714286, 1840.0625, 3705.0, 3326.6666666666665, 2786.6666666666665, 3783.125, 3814.285714285714, 2700.0, 4045.0, 3514.285714285714, 3000.0, 3293.3333333333335, 1546.6666666666667, 1599.0, 1851.5, 3277.8888888888887, 1628.6666666666667, 1890.5, 3131.7272727272725, 2787.2727272727275, 1482.0, 1480.0, 2650.909090909091, 2798.181818181818, 2820.0, 1601.0526315789473, 1716.6666666666667, 2330.769230769231, 2640.0, 3126.0, 1711.764705882353, 1953.75, 3300.0, 3690.0, 2814.0, 2060.0, 2700.0, 2850.1, 2505.0, 2892.2, 3210.777777777778, 2650.909090909091, 2485.181818181818, 2109.1428571428573, 2496.0, 4839.333333333333, 2445.0, 2583.25, 2121.4285714285716, 3000.0, 2095.3076923076924, 2650.909090909091, 1901.25, 1824.25, 2530.0, 2630.2727272727275, 1971.4285714285713, 2206.153846153846, 2420.0, 2355.0, 2024.1333333333334, 2121.4285714285716, 2215.3846153846152, 1916.0, 3260.0, 2685.5, 3333.3333333333335, 2415.0, 2748.0, 3640.0, 3075.777777777778, 2554.909090909091, 1959.4666666666667, 2689.090909090909, 1701.1764705882354, 2375.5833333333335, 2489.090909090909, 2988.0, 2808.0, 1786.25, 2569.090909090909, 1952.0, 2896.3636363636365, 3084.0, 2920.0, 3193.3333333333335, 2694.0, 2590.0, 2709.6363636363635, 3960.0, 1695.235294117647, 3471.4285714285716, 2910.0, 2873.3333333333335, 3206.6666666666665, 2298.4615384615386, 2316.923076923077, 2141.25, 2215.3846153846152, 1868.4375, 3390.0, 3458.0, 2238.4615384615386, 2088.0, 4140.0, 2469.230769230769, 2001.4285714285713, 2380.0, 2694.5454545454545, 2678.181818181818, 2667.2727272727275, 2515.0, 2850.0, 2108.5714285714284, 2485.0, 2527.3333333333335, 2931.222222222222, 2786.6666666666665, 1668.5, 2475.6666666666665, 3380.5555555555557, 2878.3636363636365, 3246.4444444444443, 1750.5882352941176, 2495.0, 3066.6666666666665, 2966.0, 2502.8571428571427, 1764.7058823529412, 3927.714285714286, 3048.0, 2526.4166666666665, 2928.0, 1690.0, 2172.0, 3173.3333333333335, 4692.5, 2619.7272727272725, 1721.388888888889, 1808.0588235294117, 2526.25, 2270.769230769231, 2465.1666666666665, 2093.1428571428573, 2723.5454545454545, 2700.0, 2601.818181818182, 1758.4117647058824, 2667.2727272727275, 2520.2727272727275, 2661.818181818182, 2293.181818181818, 2145.3571428571427, 2062.785714285714, 2563.6363636363635, 3036.0, 2166.6153846153848, 1661.611111111111, 2695.6363636363635, 2754.5454545454545, 3153.3333333333335, 3367.5, 4002.285714285714, 2612.7272727272725, 3385.714285714286, 4014.6666666666665, 2946.0, 4241.142857142857, 2681.3636363636365, 3690.0, 1887.0625, 3217.5, 3326.6666666666665, 2892.0, 3266.6666666666665, 3960.0, 2862.0, 3848.5714285714284, 3217.5, 2890.909090909091, 4232.714285714285, 2683.4545454545455, 4208.571428571428, 2629.090909090909, 3862.5, 2634.5454545454545, 3480.0, 3128.7, 2940.0, 3050.0, 2940.0, 4425.0, 2560.0, 2640.0, 3756.0, 2528.5714285714284, 2417.1428571428573, 2900.0, 2850.0, 2205.0, 3108.0, 2545.714285714286, 4365.0, 3204.0, 2229.125, 3324.0, 3312.0, 2537.1428571428573, 2720.0, 2397.0, 2314.5714285714284, 3106.3333333333335, 2537.1428571428573, 3300.0, 2940.0, 2460.0, 2429.8571428571427, 2760.0, 2580.0, 2528.5714285714284, 3180.4, 2930.0, 2106.75, 2571.4285714285716, 1926.875, 3080.0, 2212.5, 3612.0, 2502.8571428571427, 1993.3333333333333, 2055.5, 3156.0, 2717.1428571428573, 2950.0, 4456.25, 3948.0, 3720.0, 4452.0, 4620.0, 2950.0, 2700.0, 3430.6666666666665, 4673.333333333333, 3552.0, 3963.8, 2177.5, 3320.0, 4425.0, 3744.0, 3100.0, 3564.0, 3220.0, 3768.0, 3456.0, 2850.0, 3200.0, 2920.0, 3140.0, 2060.0, 2323.0, 2700.0, 2271.4285714285716, 3144.4, 3030.0, 4200.0, 3162.8, 2800.0, 2529.1428571428573, 2250.0, 2528.5714285714284, 2900.0, 2502.8571428571427, 2488.5714285714284, 2355.5714285714284, 2400.0, 3180.0, 1800.0, 3540.0, 1913.3333333333333, 3000.5, 3343.8, 2805.5, 2870.0, 3081.769230769231, 3480.0, 2066.1111111111113, 3860.0, 2325.0, 3050.0, 2310.625, 2900.0, 2097.75, 2920.3333333333335, 3050.0, 2485.714285714286, 2374.285714285714, 1870.111111111111, 2365.714285714286, 2550.0, 1592.4, 3225.0, 1609.090909090909, 2100.0, 5972.333333333333, 2571.4285714285716, 6900.0, 3876.0, 3540.0, 2536.8571428571427, 3350.0, 3090.0, 4320.0, 2980.0, 4965.0, 3540.0, 3514.4, 2588.714285714286, 2485.714285714286, 2940.0, 3720.0, 2622.8571428571427, 2295.0, 2950.0, 3300.0, 2133.3333333333335, 4140.0, 2194.285714285714, 2760.0, 3636.0, 2760.8571428571427, 2580.0, 2331.375, 2614.285714285714, 4080.0, 2485.714285714286, 2810.0, 2365.714285714286, 3060.0, 3006.5, 2900.0, 3060.0, 3204.0, 2790.0, 2800.0, 2387.8571428571427, 2660.0, 2485.714285714286, 2750.0, 2340.0, 4005.0, 2650.0, 3540.0, 2460.0, 2910.0, 2970.0, 3000.0, 4110.0, 2521.714285714286, 2734.285714285714, 2228.5714285714284, 2950.0, 2850.0, 2930.0, 1997.625, 2610.0, 4260.5, 2720.0, 2422.8571428571427, 2400.0, 2442.8571428571427, 2957.1428571428573, 2419.0, 2437.5, 2391.4285714285716, 3506.8, 2545.714285714286, 2485.714285714286, 2950.0, 2648.5714285714284, 4155.0, 2442.8571428571427, 2877.6666666666665, 3344.0, 2484.714285714286, 2565.8571428571427, 3693.6, 2588.5714285714284, 5600.0, 1935.111111111111, 2365.714285714286, 2870.0, 2442.8571428571427, 2657.1428571428573, 2302.5, 2422.5, 2408.5714285714284, 3300.0, 2625.0, 3000.0, 4208.571428571428, 2850.0, 3780.0, 3335.4, 3000.0, 3312.0, 4080.0, 3504.0, 2494.285714285714, 2550.0, 2347.5, 3130.0, 3492.0, 3108.0, 2362.5, 2117.1428571428573, 4050.0, 3204.0, 4095.0, 2033.3333333333333, 2846.1666666666665, 2066.6666666666665, 3101.6666666666665, 2175.0, 2562.8571428571427, 2417.714285714286, 3156.0, 2960.0, 2818.6666666666665, 2434.285714285714, 2571.4285714285716, 3566.2, 2770.0, 2528.5714285714284, 2496.5714285714284, 3276.0, 2770.0, 1968.0, 3170.0, 3228.0, 2365.714285714286, 2340.0, 2287.5, 2590.0, 2790.0, 2670.5714285714284, 2331.4285714285716, 2340.0, 2990.0, 2502.8571428571427, 2400.0, 3170.0, 3420.0, 2650.0, 3810.0, 5700.0, 3136.6, 2667.6666666666665, 2810.5, 2720.0, 3870.0, 2740.0, 2767.3333333333335, 2890.0, 2510.0, 2950.0, 2711.0, 2858.4, 2760.0, 1533.3333333333333, 2266.375, 2950.0, 2545.714285714286, 2900.0, 3061.1666666666665, 3300.0, 2417.1428571428573, 3651.2, 2041.25, 3030.0, 3544.6, 2860.0, 3447.0, 2137.5, 2322.8571428571427, 2545.714285714286, 2060.0, 2185.714285714286, 2571.4285714285716, 2760.0, 2973.4, 2400.0, 4050.0, 2297.1428571428573, 3300.0, 2060.0, 2800.0, 2413.1428571428573, 5010.0, 2400.0, 4350.0, 2893.1666666666665, 2288.5714285714284, 3196.8, 2890.6666666666665, 2120.0, 2442.8571428571427, 3519.6, 2451.4285714285716, 2790.0, 2494.285714285714, 2742.3333333333335, 2115.0, 3204.0, 2951.3333333333335, 2850.0, 2728.2, 2926.1666666666665, 2616.0, 2212.5, 2280.0, 2782.3333333333335, 2228.5714285714284, 3120.0, 2820.0, 2800.0, 2703.3333333333335, 2495.714285714286, 2860.0, 2485.714285714286, 2710.0, 2785.714285714286, 3348.0, 2640.6666666666665, 3384.0, 2720.0, 3660.0, 3288.0, 2731.1666666666665, 2900.0, 2625.714285714286, 3300.0, 3276.0, 3120.0, 3336.0, 3313.8, 2722.0, 2242.5, 4365.0, 2298.285714285714, 2650.0, 3012.0, 3060.0, 3672.0, 2622.8571428571427, 2545.714285714286, 3540.0, 2302.5, 2960.0, 3810.0, 3040.0, 2571.4285714285716, 3300.0, 5400.0, 3096.0, 3420.0, 6200.0, 2297.1428571428573, 3336.0, 2562.8571428571427, 3629.4, 4650.0, 3705.0, 2750.0, 2502.8571428571427, 2828.5714285714284, 3555.8, 2485.714285714286, 4520.0, 2220.0, 2175.0, 2706.0, 3000.0, 3192.0, 2717.1428571428573, 3541.0, 3843.8, 2160.0, 2605.714285714286, 2830.0, 2950.0, 2700.0, 2956.3333333333335, 2940.0, 1861.7, 2500.0, 2100.0, 2760.0, 2790.0, 3000.0, 4125.0, 1900.4444444444443, 1745.4545454545455, 3107.6666666666665, 3381.6, 2053.3333333333335, 3396.8, 2237.1428571428573, 3451.8333333333335, 3000.0, 2305.714285714286, 2840.0, 4754.5, 3010.0, 3002.8333333333335, 2860.0, 2326.5, 4449.0, 2970.1666666666665, 1770.0, 1828.7777777777778, 2605.714285714286, 2241.1666666666665, 1716.0, 2122.5, 1658.1818181818182, 2605.714285714286, 1740.0, 3648.0, 2957.1428571428573, 3132.0, 2020.0, 3744.0, 2122.5, 1764.7, 1510.0, 2558.5714285714284, 2960.0, 3492.0, 2622.8571428571427, 2730.0, 2597.1428571428573, 3110.0, 2226.875, 2348.5714285714284, 2832.5714285714284, 2331.4285714285716, 4000.0, 2657.1428571428573, 2621.6666666666665, 4500.0, 2545.714285714286, 3576.0, 2595.375, 2597.1428571428573, 2055.0, 3042.8571428571427, 3870.0, 2416.0, 2851.1666666666665, 3145.4, 3110.0, 3180.0, 2258.5714285714284, 2700.0, 2900.0, 2403.0, 2033.3333333333333, 3120.0, 3576.0, 4050.0, 3002.0, 2112.777777777778, 1848.0, 2940.0, 3300.0, 3552.0, 2007.888888888889, 2407.5, 2415.0, 2900.0, 3290.0, 1740.0, 2650.0, 1830.0, 3120.0, 2265.0, 2964.1666666666665, 3110.0, 3996.0, 4530.0, 2910.0, 2840.0, 2571.4285714285716, 3010.0, 1980.0, 1690.909090909091, 2854.285714285714, 2152.5, 2340.0, 1296.923076923077, 2445.0, 2812.5, 2080.0, 2093.3333333333335, 2326.125, 3252.0, 2040.5555555555557, 1692.9, 2123.5, 2914.285714285714, 3900.0, 2227.5, 1658.1818181818182, 2550.0, 2646.8571428571427, 3516.0, 3050.0, 3140.0, 2485.714285714286, 2880.0, 5751.666666666667, 3600.0, 2734.285714285714, 2190.0, 3564.0, 3216.0, 5757.666666666667, 3040.0, 2920.0, 2442.8571428571427, 3636.0, 3360.0, 1905.4545454545455, 2948.5714285714284, 2659.0, 2167.5, 3420.0, 2060.0, 3792.0, 2589.1428571428573, 3160.4, 2902.5, 2970.0, 3288.0, 2348.5714285714284, 4152.8, 3012.0, 2740.0, 2950.0, 2718.4615384615386, 2532.8571428571427, 2528.5714285714284, 3050.0, 2365.714285714286, 4170.0, 3200.0, 3543.0, 3483.2, 3542.4, 3750.0, 3080.0, 2475.0, 3487.2, 3072.0, 3340.0, 2990.0, 3050.0, 2869.5, 3060.0, 2735.4285714285716, 4176.0, 2760.0, 2065.714285714286, 2988.0, 3444.0, 2560.0, 2130.0, 3130.0, 3492.0, 2242.5, 2160.0, 2520.0, 2190.0, 3340.0, 3220.0, 3545.4, 3432.0, 1868.5714285714287, 2151.4285714285716, 3370.0, 2154.6666666666665, 2760.0, 1980.0, 2494.285714285714, 2950.0, 4985.25, 2477.1428571428573, 2644.8571428571427, 2860.0, 2840.0, 3540.0, 3540.0, 2890.0, 3390.0, 3160.0, 3696.0, 2460.0, 3015.8333333333335, 3112.8, 2832.0, 4350.5, 2750.0, 2773.1428571428573, 2370.375, 2152.5, 2880.0, 2920.0, 2555.5714285714284, 3825.0, 2675.0, 3453.6666666666665, 5277.666666666667, 3210.0, 2295.0, 3675.0, 3267.5, 3710.8, 3155.6, 2768.5714285714284, 2511.4285714285716, 2333.5, 2310.0, 2348.5714285714284, 2442.8571428571427, 2900.0, 2280.0, 2700.0, 3948.0, 3684.2, 4416.0, 5100.0, 3066.6666666666665, 3553.2, 2580.0, 2955.125, 4575.0, 3132.0, 2787.8571428571427, 2502.8571428571427, 3385.6, 1850.2222222222222, 4158.5, 2890.0, 2782.5, 2674.285714285714, 3140.0, 2794.285714285714, 3150.0, 3330.0, 2931.4285714285716, 3710.0, 2049.2, 3540.0, 4245.0, 3468.0, 2335.3846153846152, 2100.0, 2014.4, 1757.5, 2540.0, 2020.0, 2935.6, 2169.230769230769, 1794.25, 2890.909090909091, 3272.1111111111113, 1950.0, 1971.4285714285713, 2100.0, 1821.1764705882354, 2100.0, 1807.5, 2808.0, 1997.142857142857, 1771.764705882353, 2040.0, 1818.75, 1665.8823529411766, 1841.25, 2207.1428571428573, 1964.0, 2169.230769230769, 1884.0, 1848.0, 1585.2631578947369, 2228.5714285714284, 1770.0, 2190.0, 1856.25, 2082.8571428571427, 2040.0, 2078.5714285714284, 2064.0, 1856.25, 1706.25, 1870.5882352941176, 1864.0, 1920.0, 1920.0, 2040.0, 2005.6666666666667, 2168.0, 1916.25, 1566.3157894736842, 3264.0, 2875.3846153846152, 3201.4166666666665, 3833.3333333333335, 4920.0, 4234.0, 3806.4, 3578.181818181818, 3230.0, 4586.666666666667, 4136.777777777777, 3822.0, 3900.0, 4260.0, 4292.444444444444, 3407.090909090909, 3064.3076923076924, 3603.0, 3315.0, 4920.0, 4373.444444444444, 3672.1, 3578.4545454545455, 3960.0, 4687.5, 4573.333333333333, 4123.888888888889, 4506.666666666667, 3818.181818181818, 3979.7, 4796.375, 3592.6363636363635, 3752.9, 4126.0, 3299.818181818182, 4930.0, 3720.0, 4579.5, 3528.909090909091, 3666.0, 3745.6, 3405.0, 3130.0, 3073.4166666666665, 4206.666666666667, 4728.5, 3078.6666666666665, 3616.3636363636365, 3294.5454545454545, 3935.9, 4167.777777777777, 4845.0, 4506.666666666667, 3882.0, 4291.444444444444, 4110.0, 4133.333333333333, 5785.714285714285, 3118.0, 2907.6923076923076, 3840.0, 4860.0, 4353.333333333333, 3099.75, 3972.0, 4762.5, 3539.2727272727275, 4537.5, 4845.0, 4128.0, 3750.0, 3930.0, 5617.142857142857, 3793.7272727272725, 5561.571428571428, 3856.3636363636365, 3335.1666666666665, 4313.0, 4230.0, 3561.818181818182, 3627.2727272727275, 4200.0, 5002.5, 4020.0, 1869.888888888889, 2109.625, 2130.0, 2212.5, 2668.8571428571427, 1800.0, 2107.75, 2460.0, 2505.0, 1740.888888888889, 1734.0, 1884.0, 1752.4, 1914.0, 2212.5, 2115.0, 1587.2727272727273, 2212.5, 1764.0, 2055.0, 2700.0, 1746.9, 2310.0, 2006.6666666666667, 2310.0, 2422.5, 1944.0, 2113.3333333333335, 1833.3333333333333, 1771.0, 1595.0, 1772.6, 2185.625, 2060.0, 2205.0, 1788.0, 1740.0, 2287.5, 1998.0, 2066.125, 1830.0, 1957.4444444444443, 2220.0, 1973.3333333333333, 1510.909090909091, 1752.0, 2213.125, 1800.0, 1830.0, 2980.0, 4681.0, 2545.714285714286, 2288.5714285714284, 4005.0, 2502.8571428571427, 2810.0, 3312.0, 1897.5, 3624.25, 2850.0, 1644.0, 3313.0, 2769.5, 3990.0, 3648.0, 1800.0, 1890.0, 3855.0, 3020.0, 2047.5, 4380.0, 2017.5, 4185.0, 4125.0, 2027.0, 3960.0, 2031.375, 4575.0, 2355.1428571428573, 1662.0, 3334.6, 1957.5, 2700.3333333333335, 2548.8571428571427, 4815.0, 3302.0, 3277.8333333333335, 4230.0, 3300.0, 2511.4285714285716, 2822.4285714285716, 3021.818181818182, 3270.0, 2540.1666666666665, 4470.0, 2735.0, 2802.8571428571427, 3636.0, 3325.6, 2736.0, 2377.5, 4054.285714285714, 3612.0, 3398.0, 3412.3333333333335, 3220.0, 2827.5, 3629.0, 3857.1428571428573, 3190.0, 3020.0, 3360.0, 2281.714285714286, 3071.8333333333335, 3043.3333333333335, 3200.0, 4185.0, 3732.0, 3040.0, 2146.6666666666665, 2377.5, 3504.4, 3120.0, 2802.8571428571427, 2400.0, 5506.0, 3852.0, 3133.6666666666665, 3600.0, 2590.4285714285716, 2990.1666666666665, 2742.8571428571427, 4020.0, 2571.4285714285716, 3660.0, 3340.0, 3684.0, 3900.0, 2631.4285714285716, 2314.285714285714, 2120.0, 4185.0, 2700.0, 2357.1428571428573, 2295.0, 3420.0, 2314.285714285714, 2314.285714285714, 2153.0, 3576.0, 6200.0, 2916.0, 2348.5714285714284, 2220.0, 3150.0, 4875.0, 2533.5, 2237.1428571428573, 3788.0, 3660.0, 2928.0, 2134.285714285714, 2520.0, 2854.6666666666665, 3636.0, 1361.5384615384614, 2374.285714285714, 2362.5, 2900.0, 1505.0, 2950.0, 2179.0, 3080.0, 1484.090909090909, 2950.0, 2482.625, 3660.0, 2990.3333333333335, 1489.090909090909, 2529.4285714285716, 2269.5, 4770.0, 3000.0, 1475.0, 2528.5714285714284, 2252.375, 2317.75, 1360.0, 2227.875, 2880.1666666666665, 3576.0, 2640.0, 1360.0, 2460.0, 1913.3333333333333, 2725.714285714286, 2800.0, 1360.0, 2375.1428571428573, 2580.0, 2674.285714285714, 1475.0, 2528.5714285714284, 2078.6666666666665, 3050.0, 1360.0, 2212.5, 3240.0, 2665.714285714286, 2460.0, 8161.0, 3372.0, 2652.8571428571427, 2732.5, 4907.5, 4170.0, 2370.0, 4068.0, 3540.0, 4395.0, 4185.0, 3822.5, 4549.5, 3482.6, 3000.0, 4368.5, 3516.0, 2900.0, 4080.0, 2538.4285714285716, 4187.5, 2950.0, 2910.0, 4473.5, 2511.4285714285716, 4155.0, 3768.0, 2854.285714285714, 3020.0, 2717.1428571428573, 3190.0, 3697.8, 1556.5, 4373.5, 1837.5, 2862.8571428571427, 3320.0, 2263.0, 4605.0, 2682.8571428571427, 2392.5, 4770.0, 1565.2727272727273, 3540.0, 2182.5, 2614.285714285714, 3660.0, 1296.0, 3696.0, 3270.0, 2554.285714285714, 1750.5, 2580.0, 2505.0, 3160.0, 3708.0, 1710.1, 2227.5, 2063.875, 3540.0, 1841.25, 2870.0, 2682.8571428571427, 3630.0, 2640.0, 1445.0, 2631.4285714285716, 2040.0, 3600.0, 3780.0, 2554.285714285714, 2391.4285714285716, 2520.0, 2676.1428571428573, 3792.0, 4500.0, 4170.0, 2235.0, 2271.4285714285716, 2242.5, 2400.0, 4485.0, 2945.4285714285716, 2860.0, 2562.8571428571427, 5780.0, 3330.0, 2529.1428571428573, 3150.0, 2425.714285714286, 1853.3333333333333, 2365.714285714286, 2133.3333333333335, 2825.5, 2160.0, 2227.5, 4518.75, 4500.0, 2468.5714285714284, 2298.0, 2170.5882352941176, 3696.0, 5300.0, 2325.0, 3720.0, 2198.0, 2800.0, 1456.3636363636363, 1565.4545454545455, 1966.6666666666667, 2490.125, 3268.1666666666665, 1644.0, 1369.090909090909, 1986.6666666666667, 1656.0, 3201.2, 1760.0, 1760.0, 2212.5, 1260.0, 3623.8, 1706.6666666666667, 1733.3333333333333, 2332.5, 2302.5, 3978.0, 1742.1818181818182, 1966.6666666666667, 2271.4285714285716, 1873.3333333333333, 3636.0, 1819.9, 1794.0, 2442.8571428571427, 1246.8461538461538, 3576.0, 1578.0, 2682.8571428571427, 2288.5714285714284, 1472.7272727272727, 2875.5, 1445.0, 1542.0, 2640.0, 1292.3076923076924, 3344.285714285714, 1572.0, 1980.0, 2442.8571428571427, 1699.9, 2960.0, 1766.6666666666667, 1577.9, 2588.5714285714284, 1315.3846153846155, 3342.0, 2588.5714285714284, 2528.5714285714284, 2070.0, 3989.0, 3075.3333333333335, 3600.0, 3720.0, 3024.0, 2556.1428571428573, 3848.6, 2280.0, 3304.2, 3000.0, 2220.0, 2300.0, 4125.0, 3360.0, 2900.0, 2420.4285714285716, 2103.625, 3300.0, 3240.0, 2250.0, 2320.0, 1833.3333333333333, 2900.0, 2502.8571428571427, 2070.0, 2140.0, 3492.0, 2212.375, 2477.1428571428573, 3552.0, 2900.0, 4386.0, 2160.0, 2820.0, 2990.1666666666665, 2631.4285714285716, 2442.8571428571427, 2584.285714285714, 4397.5, 2485.714285714286, 2900.0, 1846.6666666666667, 2287.5, 3804.0, 2520.0, 2539.0, 2512.5, 2768.5714285714284, 2545.714285714286, 2211.25, 1873.3333333333333, 3170.0, 3102.5, 2135.8888888888887, 2385.0, 2956.1666666666665, 3039.5, 2317.5, 2160.0, 2460.0, 3864.0, 2086.6666666666665, 1734.0, 2880.0, 3552.0, 2920.0, 2100.0, 2528.5714285714284, 3060.0, 2785.714285714286, 2546.0, 3132.0, 2844.0, 3469.0, 3504.0, 2211.4285714285716, 2317.5, 2950.0, 4515.0, 2580.3333333333335, 2537.1428571428573, 3360.0, 4791.5, 4631.0, 3900.0, 2494.285714285714, 3372.0, 3540.0, 3289.4, 2160.1428571428573, 2900.0, 1900.0, 3348.0, 3030.0, 3996.0, 3885.0, 2317.5, 3396.0, 2115.0, 2930.0, 4410.0, 3216.0, 3183.0, 2710.0, 2502.8571428571427, 2920.0, 2511.4285714285716, 2838.3333333333335, 3300.0, 3501.4, 3552.6, 2550.0, 2485.714285714286, 2674.285714285714, 2760.0, 3117.5, 2460.0, 2334.0, 2670.0, 2597.1428571428573, 2820.8333333333335, 2597.1428571428573, 2436.5, 2128.8, 2742.8571428571427, 2734.285714285714, 2880.0, 2794.285714285714, 2443.1428571428573, 2092.5, 2319.9, 2885.3333333333335, 3040.0, 4275.0, 2820.0, 3601.2, 2410.0, 3200.0, 2160.0, 2580.0, 2362.5, 2625.714285714286, 3380.0, 2920.0, 2700.0, 2650.0, 2385.0, 3050.0, 4368.25, 3556.4, 2212.5, 4230.0, 4275.0, 2970.0, 3540.0, 1770.0, 3000.0, 3540.0, 2665.714285714286, 1473.4545454545455, 3468.0, 4365.0, 3444.0, 4695.0, 1596.0, 2942.8333333333335, 2940.0, 4345.25, 2332.5, 1662.0, 2950.0, 3488.0, 3614.4, 2333.3333333333335, 1467.2727272727273, 2708.5714285714284, 2175.0, 2984.3333333333335, 2137.5, 1614.0, 2691.4285714285716, 2760.0, 2770.0, 2640.0, 4117.0, 2835.5, 2750.1666666666665, 2485.714285714286, 1980.0, 3276.0, 2620.0, 2494.6666666666665, 2560.375, 2302.5, 4414.5, 2047.5, 2178.625, 2840.0, 2175.0, 1973.3333333333333, 2220.0, 2830.0, 2665.714285714286, 3020.0, 2190.0, 2494.285714285714, 2190.0, 2073.3333333333335, 3534.0, 3120.0, 2360.0, 6434.4, 2405.0, 2730.0, 2382.8571428571427, 2680.0, 2546.4285714285716, 2415.5714285714284, 2605.714285714286, 2122.5, 2913.8333333333335, 2562.8571428571427, 2175.0, 2854.285714285714, 2520.0, 3199.5, 2162.0, 2760.0, 2425.714285714286, 2086.6666666666665, 5580.0, 3454.2, 3600.0, 5920.0, 3732.0, 3552.0, 2880.0, 2528.5714285714284, 2528.5714285714284, 4695.0, 3576.0, 3576.0, 2880.0, 3672.0, 4260.0, 3252.0, 3825.0, 4170.0, 3540.0, 4142.25, 1940.0, 2522.285714285714, 2319.0, 2614.285714285714, 4058.0, 1861.7777777777778, 3795.0, 2511.4285714285716, 3420.2, 3600.0, 1973.3333333333333, 2700.0, 4350.0, 3734.0, 2880.0, 2609.5714285714284, 1759.3, 2485.714285714286, 3118.0, 2220.0, 3705.0, 2930.0, 2077.5, 2960.6666666666665, 3036.6, 2910.0, 3324.0, 1782.0, 2202.0, 2380.0, 3380.4, 3240.0, 2026.6666666666667, 2691.4285714285716, 3110.0, 2811.3333333333335, 1740.0, 1693.5454545454545, 3473.0, 2754.0, 3437.2, 1824.0, 2242.5, 2374.285714285714, 4050.0, 2700.0, 2272.5, 2313.3333333333335, 5780.0, 3150.0, 2730.0, 1913.3333333333333, 2325.0, 2617.8571428571427, 5887.666666666667, 3091.5, 2205.0, 2580.0, 3792.0, 4455.0, 3540.0, 5756.333333333333, 4770.0, 2990.0, 3130.0, 4800.0, 3204.0, 3862.5, 5440.0, 2460.0, 4650.0, 3000.0, 2931.4285714285716, 3386.8, 2700.0, 6239.666666666667, 2393.0, 4365.0, 3060.0, 3000.0, 3348.0, 2391.4285714285716, 2970.0, 2711.0, 3708.0, 6220.0, 2780.0, 3240.0, 3432.0, 4875.0, 2520.0, 2494.285714285714, 2746.0, 2415.0, 3050.0, 3624.0, 3200.0, 2605.714285714286, 3540.0, 3020.0, 2528.5714285714284, 2682.8571428571427, 2990.0, 2821.5, 2373.3333333333335, 2537.1428571428573, 2740.0, 2727.285714285714, 2905.714285714286, 2197.5, 4775.0, 2990.0, 2718.4285714285716, 2528.5714285714284, 2631.4285714285716, 2033.3333333333333, 2990.0, 2657.1428571428573, 1853.3333333333333, 2402.625, 3906.2, 3252.4, 2036.6666666666667, 2940.5, 2861.3333333333335, 2537.1428571428573, 3040.0, 2790.0, 2930.0, 3384.0, 2580.0, 2713.5, 4620.0, 4425.0, 3708.0, 3408.0, 4650.0, 2532.1428571428573, 4530.0, 2605.714285714286, 4065.0, 3485.0, 3444.0, 5000.0, 2660.0, 3375.8, 2690.0, 4380.0, 2820.0, 3040.0, 2662.1666666666665, 3120.0, 3840.0, 4020.0, 4500.0, 1807.25, 3010.0, 2250.0, 2485.714285714286, 2850.0, 2900.0, 3828.0, 3500.0, 1592.7272727272727, 2212.5, 3050.0, 2190.0, 4496.5, 2528.5714285714284, 2950.1666666666665, 2286.25, 2439.125, 2950.0, 2528.5714285714284, 3336.0, 1531.7272727272727, 2614.285714285714, 2960.0, 2657.1428571428573, 1830.909090909091, 5400.0, 3360.0, 2810.0, 1260.0, 3054.3333333333335, 2340.0, 3030.0, 1445.8333333333333, 2665.714285714286, 2066.6666666666665, 3360.0, 3200.0, 1721.7, 2751.4285714285716, 2250.0, 2485.714285714286, 3000.0, 1515.0, 2890.0, 2665.714285714286, 2528.5714285714284, 3624.0, 3600.0, 2607.0, 2013.3333333333333, 5660.0, 2780.0, 2562.8571428571427, 2588.5714285714284, 2520.0, 3304.1666666666665, 2910.0, 3456.0, 3607.4, 3192.0, 2280.0, 3180.0, 2317.5, 3040.0, 2763.0, 2970.0, 2302.5, 2920.0, 2452.5, 2768.5714285714284, 3232.2, 2437.5, 2910.0, 3883.75, 3192.8333333333335, 3036.0, 3156.0, 3816.0, 5856.5, 3770.0, 3482.2, 2580.0, 3818.6, 2952.3333333333335, 3310.0, 2852.3076923076924, 3540.0, 2950.0, 2871.4285714285716, 2971.1666666666665, 3125.5, 3050.0, 3161.6666666666665, 2590.0, 3600.0, 2760.0, 3804.0, 3240.0, 3358.6, 3564.0, 3864.0, 2454.0, 3181.6666666666665, 3612.0, 4277.4, 3063.5, 3050.0, 3110.0, 3636.0, 9499.5, 2228.5, 4835.5, 2528.5714285714284, 3269.4, 3090.0, 2006.6666666666667, 4548.0, 2920.0, 3320.0, 2212.5, 4380.0, 4185.0, 10232.0, 3852.0, 3936.0, 1906.6666666666667, 2461.625, 1966.6666666666667, 3460.8, 3330.0, 2427.5714285714284, 2889.5714285714284, 2584.6666666666665, 2950.0, 3020.0, 2657.1428571428573, 2170.5714285714284, 4785.0, 2910.0, 3310.0, 2600.0, 2497.5, 3733.6, 3042.8571428571427, 2257.5, 2567.1428571428573, 3514.2, 2570.0, 3140.0, 2545.714285714286, 3330.0, 2528.5714285714284, 2205.0, 2200.0, 2990.0, 2490.0, 2497.5, 2442.8571428571427, 2745.0, 3206.2, 3660.0, 2160.0, 3110.0, 2777.1428571428573, 3608.2, 2425.714285714286, 2691.4285714285716, 2400.0, 2620.0, 3632.6, 2502.8571428571427, 3120.0, 2970.0, 2930.0, 2580.0, 3004.3333333333335, 3396.0, 2785.714285714286, 3200.0, 3110.0, 2312.7272727272725, 3768.0, 2680.0, 3130.0, 3468.0, 5340.0, 3504.0, 2911.0, 4441.25, 3540.0, 3070.0, 4394.666666666667, 3349.8, 3552.2, 3280.0, 2983.8571428571427, 3405.0, 5860.0, 2760.0, 2207.625, 2436.1428571428573, 2773.3333333333335, 3408.0, 2995.5, 4188.0, 3030.0, 2800.0, 3900.0, 3500.0, 2530.285714285714, 3600.0, 4536.0, 2810.0, 2597.1428571428573, 1846.6666666666667, 3951.2, 2083.8, 3600.0, 3130.0, 1938.0, 2080.0, 4200.0, 2730.0, 2167.5, 1968.0, 3590.0, 2602.5, 1973.375, 1998.0, 2780.0, 1973.3333333333333, 2130.0, 3053.5, 3588.0, 2977.3333333333335, 1725.0, 2580.0, 2235.0, 2250.0, 3240.0, 2810.5, 2477.1428571428573, 2406.6666666666665, 3876.0, 2460.0, 2227.5, 1866.6666666666667, 15471.0, 3023.5, 2837.1428571428573, 3996.0, 3756.0, 3828.0, 11220.0, 3876.0, 2665.714285714286, 4425.0, 2640.0, 2953.0, 3553.6666666666665, 2467.5, 2295.0, 4258.75, 2126.6666666666665, 3840.0, 2800.0, 2478.714285714286, 3134.0, 3149.5833333333335, 3030.0, 2520.0, 2784.3333333333335, 3400.0, 5506.666666666667, 2537.1428571428573, 3384.0, 4416.0, 2930.0, 2597.5, 2314.285714285714, 3168.0, 1900.0, 3240.0, 4035.0, 1773.5555555555557, 1954.888888888889, 1554.5454545454545, 2902.5, 1626.0, 1710.0, 1560.0, 2404.0, 1853.3333333333333, 1833.3333333333333, 1647.2727272727273, 2853.1666666666665, 1407.2727272727273, 1494.5454545454545, 1238.1818181818182, 2900.0, 2205.125, 2175.0, 1710.0, 1246.3076923076924, 2400.0, 2056.5, 1400.0, 1400.0833333333333, 1301.5384615384614, 3432.0, 8430.0, 1527.2727272727273, 1360.0, 1250.0, 1866.6666666666667, 1605.8181818181818, 1765.090909090909, 2400.0, 2160.0, 1500.0, 1658.1818181818182, 4125.0, 2305.714285714286, 3060.0, 1662.0, 2197.5, 2625.0, 3484.1666666666665, 2520.0, 1657.5, 1829.111111111111, 2227.5, 3792.0, 3930.0, 1926.6666666666667, 1942.5, 3420.0, 4092.0, 2425.714285714286, 2262.8571428571427, 2631.4285714285716, 2920.0, 2670.0, 2010.0, 2770.0, 2417.1428571428573, 3031.0, 3020.0, 2460.0, 2890.0, 2366.4285714285716, 2940.0, 5100.0, 5260.0, 2418.8571428571427, 1647.2727272727273, 3480.0, 1550.0, 2340.0, 2960.0, 3708.0, 2800.0, 3380.0, 2750.0, 2650.0, 2186.285714285714, 2742.8571428571427, 2220.0, 2718.8571428571427, 2700.0, 2175.0, 2442.8571428571427, 2950.0, 2574.5714285714284, 2700.0, 2405.285714285714, 2605.714285714286, 5600.666666666667, 2330.3333333333335, 2400.285714285714, 2999.1666666666665, 2490.0, 2682.3333333333335, 2271.4285714285716, 2753.714285714286, 2622.4285714285716, 2498.285714285714, 1912.5, 3288.0, 2422.5, 2032.5, 3456.0, 2800.3333333333335, 4710.0, 2400.4285714285716, 2137.5, 2708.5714285714284, 2265.0, 2289.375, 2880.0, 2242.5, 3744.0, 2348.5714285714284, 4848.0, 4120.2, 2524.1428571428573, 2227.5, 2357.1428571428573, 2545.714285714286, 1878.0, 3252.0, 2074.285714285714, 2305.714285714286, 3276.0, 2130.875, 4230.0, 1855.3333333333333, 1934.875, 3720.0, 1683.4, 3120.0, 2627.4285714285716, 2382.8571428571427, 2841.8333333333335, 1573.3333333333333, 3660.0, 2850.1666666666665, 2194.285714285714, 3408.0, 2805.0, 3060.4, 3612.0, 3421.8, 2500.0, 2750.0, 2606.1428571428573, 3732.0, 3672.0, 1826.888888888889, 3528.0, 2868.0, 2879.6666666666665, 2920.0, 2448.4285714285716, 2355.0, 2580.0, 2314.285714285714, 2554.285714285714, 3396.0, 2764.8333333333335, 3555.8, 2166.6666666666665, 2348.5714285714284, 3901.0, 4880.5, 2460.0, 2190.0, 1995.0, 3040.0, 2605.714285714286, 3372.0, 3912.0, 2597.1428571428573, 1600.0, 2106.6666666666665, 2468.5714285714284, 3327.3333333333335, 2468.5714285714284, 2445.0, 1960.111111111111, 3924.0, 2554.285714285714, 2940.0, 3197.1428571428573, 3030.0, 3624.0, 2477.4, 2288.5714285714284, 2541.8571428571427, 2537.1428571428573, 2930.0, 3492.2, 2597.1428571428573, 2830.0, 3400.0, 4800.0, 3105.5, 2570.0, 2710.0, 2142.875, 3583.2, 2245.714285714286, 4700.0, 3030.0, 4065.25, 2698.5, 3340.0, 4385.0, 3816.0, 3480.0, 2468.5714285714284, 2344.375, 2415.0, 2772.2, 2062.4, 3540.0, 3300.0, 2571.4285714285716, 2118.0, 2576.25, 1846.6666666666667, 2175.0, 2766.6, 1668.0, 2923.6666666666665, 2066.6666666666665, 1494.5454545454545, 2950.0, 1902.0, 2860.0, 1860.0, 1891.5, 2490.0, 2100.0, 3020.0, 1626.6666666666667, 2106.0, 1805.4545454545455, 4380.0, 1680.2, 1644.0, 2227.5, 2860.0, 1549.090909090909, 1626.0, 2587.5, 1692.0, 1366.1538461538462, 3001.8333333333335, 2511.4285714285716, 3170.0, 1793.3333333333333, 1661.6, 2442.8571428571427, 3540.0, 1429.6363636363637, 1510.2, 3290.6666666666665, 8948.666666666666, 3480.6, 2145.0, 3336.0, 3516.0, 2433.285714285714, 2166.6666666666665, 3576.0, 2485.714285714286, 3070.0, 1966.111111111111, 2507.1428571428573, 2968.3333333333335, 4365.0, 2055.0, 2137.5, 2545.714285714286, 3587.6666666666665, 3825.5, 2254.285714285714, 2357.1428571428573, 3398.5, 2477.1428571428573, 3288.0, 2854.285714285714, 2615.4285714285716, 2810.0, 2145.0, 3776.8, 2100.5, 2382.8571428571427, 3528.0, 3035.3333333333335, 2930.0, 2762.6666666666665, 2087.75, 2068.0, 1900.0, 3342.3333333333335, 1954.4444444444443, 3684.0, 3383.4, 3270.0, 1960.0, 2269.1428571428573, 3192.1666666666665, 2931.4285714285716, 2233.3333333333335, 2190.0, 1748.0, 2531.5714285714284, 3157.1428571428573, 2069.0, 2990.0, 2206.6666666666665, 3547.8, 3150.0, 1848.0, 2722.5, 2106.6666666666665, 3090.3333333333335, 1609.090909090909, 5631.166666666667, 1958.2222222222222, 2287.5, 1692.0, 3936.0, 2325.0, 2914.285714285714, 1478.1818181818182, 4575.0, 2220.0, 2442.8571428571427, 2515.8571428571427, 1527.2727272727273, 2578.714285714286, 3210.0, 2960.0, 3792.0, 2657.1428571428573, 3336.0, 6200.0, 3131.3333333333335, 3109.3333333333335, 2950.0, 2001.3333333333333, 3010.0, 2880.0, 3720.0, 2614.285714285714, 2846.1666666666665, 3492.0, 2640.0, 3940.0, 2802.8571428571427, 2227.875, 3464.4, 2026.6666666666667, 2839.0, 3240.0, 2810.0, 3111.4285714285716, 2485.714285714286, 2912.3333333333335, 4164.0, 3420.0, 3432.0, 2257.5, 3396.5, 1701.8181818181818, 3492.0, 2055.0, 1800.0, 2257.8333333333335, 3060.4, 4044.0, 2640.0, 2090.6666666666665, 3005.6, 3702.5714285714284, 2317.0, 5400.2, 2657.4285714285716, 4366.5, 3535.2, 1666.6666666666667, 1555.0, 1882.5, 2412.5714285714284, 2510.0, 1740.0, 2033.3333333333333, 3415.2, 2660.1666666666665, 2450.0, 2152.5, 2271.4285714285716, 1658.0, 2091.4285714285716, 3260.0, 3413.2, 2844.0, 2800.0, 4320.0, 4050.0, 3576.0, 1740.1, 3504.0, 2892.6666666666665, 2952.0, 3600.0, 2528.5714285714284, 1783.6363636363637, 2916.0, 2620.0, 3300.0, 1933.3333333333333, 4371.75, 2980.0, 2490.0, 2970.0, 2140.0, 2002.5, 2982.6666666666665, 1942.0, 5648.333333333333, 2013.3333333333333, 2298.0, 2780.0, 2000.0, 2964.8, 2494.285714285714, 4320.0, 1344.0, 1980.0, 1972.5, 1653.0, 2532.714285714286, 2166.6666666666665, 1662.0, 1867.5, 4230.0, 2960.0, 4968.333333333333, 3458.2, 3288.0, 4230.0, 3120.0, 2265.0, 3400.0, 3458.0, 2325.0, 3975.0, 2808.3333333333335, 3636.0, 3280.0, 4720.0, 3432.0, 2182.5, 3192.0, 2146.6666666666665, 2219.0714285714284, 3276.0, 2672.7272727272725, 3806.5, 3240.0, 3246.6666666666665, 3320.0, 2683.6363636363635, 2754.5454545454545, 3577.5, 3060.4, 2399.75, 3048.0, 2633.3333333333335, 3018.0, 3351.4444444444443, 2012.857142857143, 2814.5454545454545, 2486.6666666666665, 3660.0, 4245.714285714285, 2210.769230769231, 3444.3333333333335, 2295.0, 3225.8888888888887, 2155.714285714286, 2781.818181818182, 2910.1, 2104.3571428571427, 3681.875, 2178.4615384615386, 2910.0, 3339.0, 2376.923076923077, 3226.6666666666665, 2574.5454545454545, 3293.3333333333335, 2765.4545454545455, 3174.0, 2672.7272727272725, 3364.4444444444443, 2705.4545454545455, 1967.857142857143, 2770.909090909091, 2613.818181818182, 2916.0, 3712.875, 2395.0, 3233.3333333333335, 2284.6153846153848, 2730.0, 5584.4, 2734.2, 3675.25, 2451.1666666666665, 3130.5, 2550.5, 3600.0, 4059.125, 3340.0, 3466.6666666666665, 3000.0, 3433.777777777778, 2910.0, 2464.1666666666665, 3001.1, 2700.0, 2380.0, 2815.714285714286, 2570.7272727272725, 2450.0, 3109.5, 4328.571428571428, 2661.818181818182, 3528.375, 3320.0, 4200.0, 3666.6666666666665, 3354.8888888888887, 2725.818181818182, 3476.777777777778, 3100.0, 3062.6, 3380.8888888888887, 2896.3636363636365, 3448.6666666666665, 3238.4444444444443, 3929.75, 3353.3333333333335, 2198.5714285714284, 4167.571428571428, 3993.0, 2752.090909090909, 2134.285714285714, 4251.428571428572, 3475.375, 3713.5, 2404.6153846153848, 3694.75, 2874.5454545454545, 3615.0, 3453.3333333333335, 2164.285714285714, 3506.6666666666665, 3697.5, 3768.375, 3300.222222222222, 2757.6363636363635, 3562.5, 3025.6, 3806.5, 3400.0, 4690.0, 2115.214285714286, 3256.8888888888887, 8693.0, 3335.4444444444443, 2674.181818181818, 3206.8888888888887, 2480.0, 3486.6666666666665, 4036.25, 2128.0, 2415.0, 2776.3636363636365, 2453.0, 2590.909090909091, 3266.6666666666665, 3330.0, 3413.3333333333335, 2890.5, 3637.5, 2890.0, 4252.5, 4080.0, 4763.2, 3486.6666666666665, 3513.3333333333335, 3141.818181818182, 7155.75, 5190.0, 2850.0, 2869.090909090909, 3795.0, 4020.0, 3406.1111111111113, 3562.5, 2802.2727272727275, 3840.0, 4853.5, 3809.125, 2941.090909090909, 5773.333333333333, 4328.571428571428, 3712.5, 2974.4, 3450.0, 4012.5, 3681.5, 2776.3636363636365, 2957.9, 4131.428571428572, 4405.714285714285, 2727.2727272727275, 2981.1, 2743.6363636363635, 3807.5, 3298.5555555555557, 2838.0, 3220.777777777778, 3346.5555555555557, 2550.0, 3797.0, 3164.5, 3373.3333333333335, 3829.25, 3166.6666666666665, 3542.6666666666665, 3078.0, 2970.0, 2972.7272727272725, 4460.285714285715, 3151.3, 3502.3333333333335, 3271.5555555555557, 3449.222222222222, 5200.0, 4022.375, 3331.6666666666665, 3373.3333333333335, 3043.3, 3367.6666666666665, 2754.5454545454545, 3066.8, 2684.7272727272725, 3485.777777777778, 3433.3333333333335, 2650.0, 3803.125, 2770.909090909091, 2400.0, 2600.8333333333335, 3028.8, 3028.1, 3108.0, 2754.5454545454545, 2814.0, 2760.0, 7302.75, 5080.0, 5772.0, 3413.3333333333335, 3885.375, 2185.714285714286, 5875.4, 3765.0, 3426.1, 4788.666666666667, 5100.0, 3275.5, 3985.875, 2700.0, 3639.125, 5030.166666666667, 3326.6666666666665, 4309.714285714285, 2902.909090909091, 3787.5, 3855.0, 4500.0, 3851.875, 3832.875, 3377.4444444444443, 4328.571428571428, 2754.5454545454545, 3050.3, 3322.4444444444443, 4374.428571428572, 3307.3333333333335, 2868.0, 3174.5454545454545, 3727.5, 3320.0, 2964.0, 2920.0, 2740.7, 3269.3, 3394.6666666666665, 3630.0, 3706.625, 4710.0, 3637.5, 4020.0, 3929.5, 3320.0, 3360.0, 2802.8571428571427, 3216.0, 3527.4444444444443, 4080.285714285714, 2885.4545454545455, 3670.1111111111113, 3712.5, 2787.2727272727275, 3526.6666666666665, 2560.0, 3736.3636363636365, 3975.0, 3360.0, 3400.0, 3832.625, 3742.5, 3326.6666666666665, 2922.0, 2395.0, 4107.666666666667, 3353.3333333333335, 3569.3333333333335, 2871.7, 3717.5, 3542.375, 3540.0, 2975.4, 3942.75, 2633.75, 3192.222222222222, 2727.2727272727275, 3240.0, 3618.0, 3607.875, 4560.0, 3825.0, 3645.4444444444443, 4321.428571428572, 2868.0, 6353.4, 3379.777777777778, 2700.0, 3517.5, 5120.0, 3581.6666666666665, 3220.0, 4534.285714285715, 3060.0, 3705.0, 3113.3333333333335, 2883.6666666666665, 2470.0, 3675.125, 2211.923076923077, 2856.6, 2620.0, 2988.0, 2916.0, 2538.4615384615386, 2727.2727272727275, 2976.0, 3151.6666666666665, 2340.3333333333335, 2781.0, 2600.0, 2147.769230769231, 2755.4545454545455, 2972.3636363636365, 2353.846153846154, 2427.2727272727275, 2256.923076923077, 4208.571428571428, 2916.7, 2479.6666666666665, 3043.3333333333335, 2310.6923076923076, 4183.857142857143, 2516.25, 4122.857142857143, 3002.7, 2295.0, 2570.0, 3466.6666666666665, 2824.0, 2291.3571428571427, 2475.0, 4130.285714285715, 2252.3076923076924, 2570.0, 2208.0, 2344.6153846153848, 3420.0, 2613.181818181818, 2912.4, 2809.090909090909, 2480.3333333333335, 3343.222222222222, 3653.0, 2898.4, 2520.0, 5364.4, 3862.5, 4334.142857142857, 5049.5, 3401.222222222222, 3420.0, 4285.714285714285, 2922.0, 3097.2, 3120.0, 3153.3333333333335, 4217.142857142857, 3327.777777777778, 3712.5, 4294.285714285715, 3220.0, 2779.4545454545455, 2919.6363636363635, 4414.285714285715, 2515.75, 3000.0, 4354.285714285715, 3350.0, 3517.5, 3480.0, 3885.0, 3048.0, 3086.6666666666665, 2484.1666666666665, 2418.153846153846, 2952.0, 2711.3636363636365, 2207.6428571428573, 2563.0833333333335, 2378.0, 2316.923076923077, 2182.3076923076924, 2781.818181818182, 2430.0, 3083.1, 2307.6923076923076, 1942.0, 2870.1, 2692.7272727272725, 2901.2727272727275, 2123.0, 2293.846153846154, 2218.6428571428573, 2852.7272727272725, 2490.0, 2457.769230769231, 2311.076923076923, 2515.0, 2934.5454545454545, 2182.785714285714, 2330.153846153846, 2186.285714285714, 2720.0833333333335, 2388.3076923076924, 3708.375, 2194.285714285714, 2158.5, 2504.0833333333335, 3126.0, 2332.6153846153848, 2485.0, 2322.769230769231, 3151.0, 2250.0, 2700.0, 2460.0, 2164.285714285714, 2423.076923076923, 2726.818181818182, 2815.090909090909, 2027.7333333333333, 3467.0, 2863.6363636363635, 2207.1428571428573, 4710.0, 3398.5555555555557, 2910.2, 2375.0, 2487.0, 2754.5454545454545, 3825.0, 2040.0, 1915.125, 2291.153846153846, 2781.818181818182, 3427.1111111111113, 2770.909090909091, 2021.6666666666667, 2320.6153846153848, 3792.125, 3892.5, 2353.846153846154, 1707.888888888889, 2523.25, 3066.0, 4375.857142857143, 2475.0, 1845.0, 2455.3846153846152, 3867.5, 3114.0, 2550.0, 2040.0, 3090.0, 3400.0, 3637.75, 3296.8888888888887, 2613.6363636363635, 2612.7272727272725, 3322.0, 2326.6923076923076, 2970.0, 2699.5454545454545, 3333.3333333333335, 3000.0, 2358.714285714286, 2754.5454545454545, 3253.3333333333335, 2400.0, 2423.076923076923, 3000.8, 3220.0, 4951.0, 3532.5, 2550.0, 2689.090909090909, 2825.6363636363635, 2600.0, 2442.8571428571427, 2495.0, 2970.0, 2634.5454545454545, 2650.0833333333335, 2178.4285714285716, 2946.0, 3400.0, 2575.0, 3071.8, 3637.625, 3638.5, 2421.4285714285716, 3030.0, 2376.923076923077, 2832.7, 3263.2, 2754.5454545454545, 2672.7272727272725, 2040.0, 2673.5454545454545, 3102.0, 2385.076923076923, 2863.6363636363635, 2881.5, 2946.0, 6000.0, 2855.5, 3166.777777777778, 3697.5, 2455.0, 2130.0, 3409.1111111111113, 4450.0, 3373.3333333333335, 2353.846153846154, 3053.3333333333335, 3126.6666666666665, 3101.4444444444443, 3186.6666666666665, 2610.0, 3333.3333333333335, 2435.0, 2052.8571428571427, 2766.0, 2410.0, 3712.5, 2958.0, 2947.5, 2478.6363636363635, 2415.6666666666665, 3225.0, 2645.0, 2117.1428571428573, 2946.0, 2880.0, 3226.6666666666665, 3073.1, 2940.0, 2775.0, 3502.625, 3036.0, 3188.0, 2678.181818181818, 1996.0, 2450.0, 3341.5555555555557, 2345.846153846154, 2269.3846153846152, 2420.0, 3892.5, 2480.75, 2788.1, 2671.3636363636365, 2779.909090909091, 2905.0, 2571.4166666666665, 2786.9, 2910.6, 4157.142857142857, 2871.818181818182, 2545.5, 2754.2, 2475.0, 3306.6666666666665, 2585.0, 2738.181818181818, 2376.076923076923, 2290.0, 2520.0, 2847.5454545454545, 2694.5454545454545, 2229.230769230769, 2329.076923076923, 2662.090909090909, 2999.2, 2595.0, 2070.0, 2700.0, 3982.5, 2977.3571428571427, 3171.1, 2950.909090909091, 2285.6923076923076, 3574.5, 3274.4444444444443, 3825.0, 4331.714285714285, 4238.571428571428, 3303.1111111111113, 3811.0, 4217.142857142857, 3652.5, 3146.6666666666665, 4114.285714285715, 4140.0, 3607.625, 2904.0, 2536.3636363636365, 3233.3333333333335, 3466.6666666666665, 4132.571428571428, 2910.0, 2739.7272727272725, 5270.0, 3985.714285714286, 3151.4444444444443, 3705.0, 3406.6666666666665, 3290.5555555555557, 3386.6666666666665, 4525.714285714285, 3393.3333333333335, 3900.0, 4200.0, 2426.181818181818, 2694.5454545454545, 3180.0, 2858.181818181818, 2820.0, 3012.0, 2772.1, 2707.090909090909, 2365.0, 2874.0, 3030.9, 3360.0, 3031.9, 2748.0, 2943.0, 3569.4444444444443, 3809.875, 2700.0, 2673.75, 2781.818181818182, 3233.4444444444443, 3453.3333333333335, 2770.909090909091, 2749.090909090909, 2976.0, 3104.2, 3126.0, 2543.076923076923, 3553.3333333333335, 2940.0, 3960.0, 2832.0, 2946.0, 2982.0, 4024.285714285714, 2770.909090909091, 3727.5, 3684.125, 20587.0, 5760.0, 2907.2727272727275, 2909.6, 3822.75, 3103.6363636363635, 3054.0, 2970.0, 2425.0, 2544.7272727272725, 2015.5714285714287, 2164.285714285714, 2574.5454545454545, 2907.4, 3994.285714285714, 2683.6363636363635, 2907.2727272727275, 2656.3636363636365, 2582.909090909091, 1948.0, 2792.7272727272725, 3107.25, 2569.090909090909, 3825.0, 2573.0, 2770.909090909091, 2952.0, 3048.0, 4088.5714285714284, 2600.0, 2852.7272727272725, 2440.0, 3132.0, 2743.0, 2529.75, 3652.5, 3126.0, 3233.3333333333335, 2994.2, 3172.875, 2321.5384615384614, 2352.1666666666665, 2996.8, 2800.181818181818, 3309.6666666666665, 2404.6153846153848, 2635.2727272727275, 2998.3, 2344.6153846153848, 3046.777777777778, 2585.4545454545455, 3206.6666666666665, 3018.0, 2552.8333333333335, 2850.3636363636365, 3017.6, 2826.0, 2363.076923076923, 3615.0, 3301.1111111111113, 3360.0, 2964.2, 2194.285714285714, 2261.5714285714284, 2911.5454545454545, 2365.0, 3117.6, 2400.0, 2645.4545454545455, 2668.818181818182, 3298.6666666666665, 3195.090909090909, 2497.090909090909, 2482.0, 3742.0, 3346.6666666666665, 3420.0, 2095.714285714286, 2446.153846153846, 3030.1, 2540.75, 2615.0, 2794.181818181818, 2498.4166666666665, 3026.7, 2620.6666666666665, 2850.0, 3072.0, 3540.0, 3179.0, 3046.6666666666665, 3210.0, 3704.0, 3376.1111111111113, 2841.0, 3434.5555555555557, 3529.3333333333335, 2743.5454545454545, 2728.3636363636365, 2700.0, 2634.75, 2898.090909090909, 3566.6666666666665, 3060.0, 2733.3636363636365, 2863.6363636363635, 2961.818181818182, 2860.181818181818, 3353.3333333333335, 3514.8888888888887, 3433.3333333333335, 3244.6153846153848, 2803.6363636363635, 2725.0, 3180.0, 2841.818181818182, 3174.3, 2866.153846153846, 3675.5, 2645.4545454545455, 3326.6666666666665, 3040.222222222222, 3372.3333333333335, 2582.090909090909, 3119.4444444444443, 3286.6666666666665, 2537.75, 2078.5714285714284, 3168.6, 3660.4444444444443, 3246.0, 2580.0, 2466.846153846154, 2841.6363636363635, 3418.5555555555557, 2982.0, 2992.8, 2580.0, 2560.0, 3148.6666666666665, 3120.222222222222, 2844.2, 3090.0, 3755.875, 2472.4166666666665, 2492.3076923076924, 3223.6363636363635, 5311.666666666667, 2650.909090909091, 2361.846153846154, 3595.1111111111113, 3093.75, 3290.3333333333335, 2475.25, 2532.0, 2710.909090909091, 2940.0, 2630.0, 3138.0, 2873.0, 3320.0, 3088.3, 2788.7272727272725, 3313.3333333333335, 3280.0, 2930.7, 3453.3333333333335, 2190.0, 3273.3333333333335, 2408.5714285714284, 2570.090909090909, 4065.125, 2959.8, 2847.2727272727275, 2500.0, 3442.5, 3180.0, 2602.4166666666665, 2312.3076923076924, 2660.0, 2294.230769230769, 3144.3333333333335, 2743.6363636363635, 2656.3636363636365, 2497.5, 2459.0, 2787.2727272727275, 2958.7, 2192.3076923076924, 3169.181818181818, 3366.6666666666665, 2585.4545454545455, 3018.0, 2327.923076923077, 2063.8571428571427, 2732.7272727272725, 3072.0, 2957.6, 4029.0, 2366.153846153846, 2760.0, 3332.1111111111113, 3186.0, 15547.0, 2183.076923076923, 2530.909090909091, 3420.777777777778, 3275.222222222222, 2990.9, 2034.5, 3370.0, 3765.25, 3054.0, 3788.714285714286, 1967.142857142857, 2933.4, 2983.1, 3553.3333333333335, 3012.0, 2231.8, 3270.0, 2414.6923076923076, 2732.7272727272725, 2256.923076923077, 2910.1, 2645.4545454545455, 3030.0, 3330.4444444444443, 2091.785714285714, 3300.777777777778, 2731.090909090909, 2647.5454545454545, 2702.7272727272725, 3168.0, 2645.6363636363635, 2540.0, 2132.076923076923, 2189.846153846154, 2370.0, 2907.8, 2521.8333333333335, 2243.076923076923, 3000.0, 3373.3333333333335, 2754.5454545454545, 3357.6666666666665, 2901.818181818182, 3847.5, 3009.3, 3266.6666666666665, 3126.6666666666665, 2227.923076923077, 3495.4444444444443, 2982.0, 2933.5, 2196.923076923077, 2808.0, 2450.0, 2880.0, 3426.6666666666665, 2375.0, 3343.0, 3000.0, 3915.0, 3222.0, 2422.9166666666665, 3030.0, 2815.0, 2697.6363636363635, 3323.5555555555557, 2440.0, 4360.0, 2630.0, 1886.25, 2525.0, 2541.818181818182, 2880.0, 2869.0, 2117.1428571428573, 2763.153846153846, 2490.0, 2409.230769230769, 2820.0, 1675.5882352941176, 2844.0, 2687.4545454545455, 2381.6666666666665, 3306.6666666666665, 1726.6666666666667, 2550.0, 3126.0, 2546.4166666666665, 2575.0, 1725.8823529411766, 2326.153846153846, 2380.0, 2194.285714285714, 2862.0, 1732.1764705882354, 2635.3846153846152, 2336.470588235294, 3926.6666666666665, 3240.0, 2113.4285714285716, 2256.923076923077, 3393.3333333333335, 2718.1, 3360.0, 2128.4, 2614.0, 2247.6923076923076, 2592.0, 2654.4545454545455, 1700.6470588235295, 2665.0, 2112.8571428571427, 2601.818181818182, 2149.9285714285716, 1750.5882352941176, 2200.0714285714284, 2400.0, 2825.0, 2948.9, 3060.0, 2575.0, 3393.222222222222, 3197.0, 2959.2, 3823.25, 3498.3333333333335, 3366.6666666666665, 2754.5454545454545, 2529.0, 2738.181818181818, 3413.3333333333335, 2662.5454545454545, 2940.0, 3235.4285714285716, 2814.5454545454545, 2713.1666666666665, 3401.3333333333335, 2748.3636363636365, 2853.090909090909, 2754.5454545454545, 2628.4166666666665, 3220.6666666666665, 2172.8571428571427, 2448.0, 3030.0, 2760.0, 3500.0, 2418.4615384615386, 3787.5, 3030.0, 3036.0, 2640.0, 3216.0, 3301.6666666666665, 2922.0, 2425.1666666666665, 2725.6363636363635, 2645.6363636363635, 2590.3333333333335, 2575.0, 2462.0, 4208.285714285715, 2165.4285714285716, 2982.5833333333335, 3166.090909090909, 2272.076923076923, 2913.2, 2781.5714285714284, 2485.0, 2601.3333333333335, 2125.0666666666666, 2719.909090909091, 2859.5833333333335, 2671.5, 2793.818181818182, 4286.285714285715, 2134.285714285714, 3220.1111111111113, 2765.4545454545455, 2435.0833333333335, 2760.0, 2206.153846153846, 3466.6666666666665, 3030.2, 2124.1428571428573, 2756.818181818182, 2659.090909090909, 3017.5, 3193.3333333333335, 3060.0, 2444.25, 3349.8888888888887, 3517.875, 2873.0, 5614.285714285715, 3147.6, 3566.6666666666665, 2640.0, 3014.1, 2764.4545454545455, 3787.5, 3951.625, 5036.5, 3140.222222222222, 2610.0, 3031.9, 3220.0, 3294.0, 2490.0, 2892.0, 3156.0, 4088.5714285714284, 3882.5555555555557, 3420.0, 2727.2727272727275, 2607.75, 2650.0, 3038.909090909091, 2678.181818181818, 3320.0, 3408.0, 2178.4615384615386, 2771.1, 2982.0, 2460.0, 2935.0, 2650.0, 2576.3076923076924, 3162.0, 2256.923076923077, 2667.2727272727275, 2525.0, 2440.0, 2495.0, 2260.5384615384614, 1948.0, 3306.6666666666665, 2620.0, 2425.8333333333335, 2228.5714285714284, 3190.5555555555557, 2316.923076923077, 2770.909090909091, 2366.25, 2922.0, 2490.0, 2505.0, 2678.181818181818, 2386.153846153846, 1893.5, 3408.3333333333335, 2689.090909090909, 3280.0, 1972.5, 2552.7272727272725, 3300.0, 2233.846153846154, 2803.6363636363635, 2760.0, 2971.7, 3772.5, 3013.7, 2934.5454545454545, 2451.0, 2492.4545454545455, 4071.4285714285716, 2381.5384615384614, 2880.0, 3013.0, 2580.9166666666665, 3060.0, 2749.090909090909, 2685.909090909091, 2906.6666666666665, 2400.0, 2168.5714285714284, 2779.818181818182, 3024.0, 2640.181818181818, 2689.090909090909, 2760.0, 2754.5454545454545, 3506.6666666666665, 2353.0, 2806.153846153846, 2928.0, 2745.0, 2754.0, 2300.0, 2715.0, 2738.181818181818, 2880.0, 2509.090909090909, 1837.5, 2700.0, 2033.5, 2523.75, 2736.0, 3778.25, 4081.714285714286, 2100.0, 2070.0, 4183.0, 3054.0, 2052.8571428571427, 2500.0, 2308.0833333333335, 3157.222222222222, 2330.0, 1900.1333333333334, 2355.0, 2740.222222222222, 2247.6923076923076, 3233.5555555555557, 2044.2857142857142, 2650.909090909091, 2127.6923076923076, 3033.3333333333335, 2064.733333333333, 2839.5, 2826.2, 3765.125, 2300.0, 2835.7272727272725, 3012.0, 2901.7, 3501.4444444444443, 2661.2727272727275, 2669.0, 2541.7272727272725, 3543.75, 3252.0, 2672.7272727272725, 1968.0, 2487.2727272727275, 2778.0, 2323.0, 2610.0, 2834.3, 2555.0, 2455.0, 4244.0, 3077.0, 2236.3076923076924, 2646.0, 3346.6666666666665, 2940.0, 3300.0, 2421.4615384615386, 9482.666666666666, 2582.25, 4615.0, 3460.0, 2053.133333333333, 2656.3636363636365, 3126.0, 5171.666666666667, 7766.333333333333, 3206.6666666666665, 3337.9, 2509.090909090909, 3885.0, 2958.0, 3862.25, 3333.3333333333335, 2446.153846153846, 2530.0, 3712.5, 3795.0, 2472.9166666666665, 2440.0, 3006.0, 3732.125, 2164.076923076923, 2438.3333333333335, 3220.3333333333335, 2504.0, 2689.090909090909, 3340.0, 1812.0, 3402.6666666666665, 3000.0, 3090.0, 2267.5384615384614, 2870.1, 2679.2727272727275, 3326.6666666666665, 2121.4285714285716, 3188.3333333333335, 2772.2727272727275, 2886.6666666666665, 29449.0, 1728.75, 2316.923076923077, 2874.0, 2261.923076923077, 2418.4615384615386, 2305.714285714286, 2642.5, 2250.0, 2442.4615384615386, 3240.0, 2344.6153846153848, 2505.25, 2232.076923076923, 2604.5, 3273.5555555555557, 2465.0, 2165.769230769231, 3090.0, 3242.0, 2841.0, 5150.833333333333, 2183.076923076923, 3060.0, 3078.0, 3825.0, 2570.0, 3206.6666666666665, 2771.181818181818, 2856.0, 3054.0, 2952.0, 3186.6666666666665, 2852.7272727272725, 2830.0, 3084.9, 3050.4, 5220.4, 2656.3636363636365, 3426.6666666666665, 2656.3636363636365, 2898.0, 2792.7272727272725, 2982.0, 2557.0833333333335, 4903.428571428572, 2515.0, 3114.0, 2665.0, 2575.0, 2505.0, 2847.2727272727275, 3200.4444444444443, 2925.0, 3120.0, 2558.181818181818, 2786.6666666666665, 2946.0, 2405.0, 2335.3846153846152, 3466.6666666666665, 2146.0666666666666, 2864.5, 2641.818181818182, 3017.2, 2495.0, 2634.3076923076924, 4729.333333333333, 2368.923076923077, 2971.9, 2616.0, 3105.1, 2803.6363636363635, 2518.4166666666665, 2940.0, 2585.0, 2460.0, 2330.846153846154, 2749.090909090909, 2506.153846153846, 2983.6363636363635, 2780.0, 2458.5714285714284, 2401.230769230769, 2497.3333333333335, 2224.923076923077, 2607.6923076923076, 2233.153846153846, 2367.846153846154, 2431.4166666666665, 2316.923076923077, 2336.75, 2411.923076923077, 3236.0, 2930.2, 2418.4615384615386, 2590.818181818182, 2293.846153846154, 2700.0, 2330.769230769231, 2445.0, 2206.3846153846152, 2325.230769230769, 2700.181818181818, 2585.0, 2627.5454545454545, 2249.230769230769, 2405.0, 3705.0, 3060.7, 2264.4615384615386, 4217.142857142857, 2453.9166666666665, 3666.6666666666665, 2558.25, 2515.0, 2628.5, 3493.3333333333335, 3864.375, 3146.6666666666665, 2889.1, 3374.5555555555557, 3235.3333333333335, 3150.0, 3266.5555555555557, 3227.222222222222, 3810.125, 3042.0, 2535.0, 2809.090909090909, 2880.0, 3141.7, 2854.3636363636365, 3204.0, 3084.6, 3294.0, 2584.5454545454545, 2743.6363636363635, 2743.6363636363635, 2964.0, 3393.3333333333335, 2916.0, 2916.0, 3054.0, 3613.3333333333335, 2832.0, 2716.3636363636365, 2743.6363636363635, 3253.3333333333335, 3006.0, 2400.0, 3622.5, 2862.1, 2465.0, 3652.5, 2994.0, 2976.0, 2430.75, 2874.0, 3240.0, 3772.5, 2407.5, 3102.0, 5328.4, 3166.6666666666665, 2612.7272727272725, 2941.1, 2520.0, 2777.0, 3173.3333333333335, 2704.181818181818, 2976.0, 4140.142857142857, 2928.0, 2986.8888888888887, 3266.6666666666665, 2970.2, 2280.0, 2791.8, 2868.0, 2852.181818181818, 3860.0, 4155.0, 3443.4444444444443, 3071.4, 3372.0, 3079.7, 2640.0, 2908.75, 2953.090909090909, 2968.2, 3806.6666666666665, 3298.7, 3292.5, 3120.0, 3058.6, 3870.0, 3276.8888888888887, 3426.6666666666665, 3787.5, 2142.8571428571427, 2994.5454545454545, 2960.090909090909, 3915.0, 14740.0, 3030.0, 3138.0, 2956.3636363636365, 3038.4, 3930.0, 3825.0, 2776.3636363636365, 2250.923076923077, 2142.8571428571427, 2250.285714285714, 3204.8888888888887, 2844.0, 2140.214285714286, 2755.2727272727275, 2078.4285714285716, 2176.214285714286, 2634.125, 2450.769230769231, 3692.125, 2574.7272727272725, 3206.6666666666665, 3128.5, 2229.9285714285716, 2333.6153846153848, 2901.6, 3032.5454545454545, 2710.909090909091, 2067.4285714285716, 2998.3636363636365, 3233.3333333333335, 2952.0, 2180.0, 2586.75, 2727.2727272727275, 2607.0833333333335, 3039.4, 2422.6666666666665, 3800.5, 2450.0, 2503.9166666666665, 2278.3846153846152, 2420.0, 2835.0, 2950.909090909091, 2686.0, 4415.285714285715, 2689.090909090909, 2088.4285714285716, 2776.3636363636365, 2588.0, 3042.0, 2275.9285714285716, 3231.4, 2314.769230769231, 2962.7272727272725, 2570.0, 3260.0, 3260.0, 3420.0, 3999.5, 3366.6666666666665, 2754.5454545454545, 3832.5, 3478.222222222222, 3907.5, 3046.6666666666665, 2738.181818181818, 3761.777777777778, 3168.0, 3750.0, 2580.0, 3233.3333333333335, 2737.4545454545455, 3156.4, 3493.3333333333335, 2700.0, 3043.3, 2670.0, 3120.0, 3210.0, 3060.0, 3156.0, 2844.0, 3313.3333333333335, 2727.2727272727275, 3276.0, 4285.714285714285, 2784.0, 3072.0, 3024.0, 2826.1, 2196.769230769231, 2597.3333333333335, 3060.0, 3265.5555555555557, 2970.0, 2970.0, 2264.6153846153848, 3078.0, 2340.0, 3129.2, 2580.0, 2788.909090909091, 3015.1, 2612.7272727272725, 2940.0, 2890.909090909091, 3767.875, 2846.818181818182, 2575.4545454545455, 2976.0, 2907.6923076923076, 3844.875, 3274.909090909091, 2744.0, 2589.5, 3391.6666666666665, 3447.1111111111113, 3937.5, 3946.714285714286, 2832.0, 2665.0833333333335, 3621.777777777778, 2920.0, 2742.2727272727275, 2520.9166666666665, 3841.375, 2809.090909090909, 2946.6666666666665, 2465.0, 3261.4444444444443, 3117.090909090909, 2627.2727272727275, 2988.0, 2640.0, 4243.142857142857, 3520.0, 2574.5454545454545, 3712.5, 2436.923076923077, 2052.0, 3012.0, 2351.923076923077, 2375.0, 3004.6153846153848, 2956.5, 2380.0, 2440.0, 2415.0, 2700.0, 3908.875, 3152.8, 2215.3846153846152, 2935.6, 3294.5454545454545, 2428.0, 2076.6666666666665, 3965.4545454545455, 4215.777777777777, 2170.5882352941176, 2856.923076923077, 2124.823529411765, 2966.6666666666665, 3345.0, 2292.0, 2087.0, 1990.421052631579, 2412.3846153846152, 2654.5714285714284, 2325.0, 2236.5, 2280.0, 2976.0, 3120.0, 2320.0, 2439.266666666667, 2033.3333333333333, 3335.1666666666665, 3375.7272727272725, 2298.294117647059, 2111.176470588235, 2201.9444444444443, 2828.5714285714284, 4060.0, 2120.0, 2492.4, 2287.5, 3510.5, 2541.4285714285716, 2827.6923076923076, 2163.529411764706, 2239.294117647059, 2480.0666666666666, 3690.0, 2184.705882352941, 1990.3157894736842, 2620.0, 2717.1428571428573, 3525.0, 2423.5625, 1934.9444444444443, 2009.1052631578948, 3297.6363636363635, 3520.909090909091, 3020.3076923076924, 3511.090909090909, 3251.1666666666665, 3667.625, 2984.5714285714284, 3518.3, 3594.5454545454545, 3400.0, 3732.0, 3267.2727272727275, 2994.285714285714, 4000.0, 2230.0, 4371.666666666667, 3168.9166666666665, 3359.5384615384614, 3550.909090909091, 3793.7, 4773.75, 3396.0, 4378.444444444444, 2981.5384615384614, 4362.0, 4575.0, 3395.3636363636365, 3747.2727272727275, 3545.818181818182, 3635.0, 3583.6363636363635, 2944.6153846153848, 4653.333333333333, 3852.0, 3807.2727272727275, 2889.230769230769, 2592.3076923076924, 3000.0, 2644.0, 3490.909090909091, 2522.9333333333334, 3125.0, 2663.4285714285716, 2580.2, 2428.0, 2548.0, 2377.5, 2340.0, 3065.3333333333335, 2822.5384615384614, 2884.6153846153848, 2924.3076923076924, 1942.1052631578948, 3140.5, 2111.722222222222, 3804.0, 2691.4285714285716, 2212.8125, 2248.235294117647, 2632.214285714286, 2738.5714285714284, 2445.0, 2619.3571428571427, 2729.230769230769, 3332.7272727272725, 2460.0, 2975.0, 2367.75, 2220.0, 2500.266666666667, 3050.0, 1986.3157894736842, 2605.714285714286, 2289.4375, 2500.0, 3145.0, 2347.5, 2590.8571428571427, 2581.1428571428573, 2403.75, 3447.2727272727275, 2682.8571428571427, 2931.846153846154, 3419.3636363636365, 2587.9285714285716, 2615.133333333333, 3660.75, 2949.230769230769, 2658.8571428571427, 2516.866666666667, 2540.0, 2863.923076923077, 2111.0, 2628.0, 2949.230769230769, 2661.214285714286, 2592.0, 2275.733333333333, 3283.7272727272725, 2376.0666666666666, 3155.4166666666665, 3137.25, 2026.45, 2863.153846153846, 2328.75, 3016.846153846154, 3480.0, 2302.5, 2468.0, 2738.5714285714284, 3013.846153846154, 2390.1875, 2349.3125, 2635.714285714286, 2627.214285714286, 3185.0, 3251.0, 2876.153846153846, 2596.0666666666666, 3305.0, 3089.75, 2457.6875, 2540.5333333333333, 2265.0, 3084.4166666666665, 2832.8571428571427, 2654.9333333333334, 2610.733333333333, 2460.4666666666667, 3138.3333333333335, 2723.6153846153848, 2268.75, 2174.1176470588234, 3286.9166666666665, 2636.4285714285716, 3090.0, 2650.714285714286, 2657.1428571428573, 2648.5714285714284, 3212.3333333333335, 2458.8, 3187.0833333333335, 2335.375, 3240.0, 2804.846153846154, 2541.4285714285716, 2717.4285714285716, 2492.0, 2684.6428571428573, 2396.8125, 4699.125, 3134.3333333333335, 2056.6666666666665, 2383.375, 3059.9166666666665, 2392.75, 3023.076923076923, 2607.214285714286, 2888.5714285714284, 2828.6153846153848, 3036.230769230769, 3177.5, 2464.0, 4333.333333333333, 2661.4285714285716, 3325.0, 2900.5384615384614, 3138.4615384615386, 3702.0, 2720.785714285714, 3111.4166666666665, 2743.3571428571427, 2438.375, 3066.1666666666665, 2725.714285714286, 2280.0, 2599.266666666667, 3128.6923076923076, 3670.0, 2824.6923076923076, 3486.7272727272725, 3028.153846153846, 3397.909090909091, 3409.090909090909, 3390.818181818182, 3430.909090909091, 2734.285714285714, 3703.6363636363635, 2893.846153846154, 3375.090909090909, 2600.0, 3999.1111111111113, 5197.5, 2866.153846153846, 3139.5, 3210.0, 3088.4545454545455, 2631.4285714285716, 2673.3571428571427, 2773.5384615384614, 2584.4285714285716, 2302.125, 3017.153846153846, 2340.0, 2748.846153846154, 2306.25, 2475.0, 2253.75, 2702.1428571428573, 2737.076923076923, 2847.6923076923076, 2646.785714285714, 2973.923076923077, 1990.5882352941176, 2854.153846153846, 2480.0, 2528.866666666667, 2103.2105263157896, 2926.769230769231, 2295.0, 3004.076923076923, 2755.5, 2917.153846153846, 2759.5714285714284, 2723.076923076923, 3562.090909090909, 2460.6, 2336.3125, 1932.6315789473683, 2467.0588235294117, 3768.0, 2467.214285714286, 2856.3846153846152, 2178.6470588235293, 3916.0, 2456.125, 2049.8888888888887, 2396.0, 2364.0, 2681.214285714286, 2730.0, 2572.0, 2455.133333333333, 2396.25, 3870.9, 3047.5833333333335, 2532.0, 2657.1428571428573, 3285.0, 3305.0, 2640.0, 3398.181818181818, 2944.6153846153848, 3230.0, 3108.5833333333335, 2765.923076923077, 2223.529411764706, 3381.818181818182, 2960.0, 2903.076923076923, 3373.909090909091, 2648.5714285714284, 2440.6, 2893.846153846154, 2847.6923076923076, 2552.0, 2768.5714285714284, 2536.3333333333335, 3110.0, 2272.9411764705883, 3075.0, 3124.6153846153848, 2854.285714285714, 3321.090909090909, 2961.4285714285716, 3708.0, 3436.3636363636365, 4020.0, 2956.6666666666665, 2896.846153846154, 3070.0, 3748.4545454545455, 3398.181818181818, 2490.0, 4033.3333333333335, 3630.0, 3596.7272727272725, 3615.3, 3291.2727272727275, 3490.909090909091, 4175.2, 3260.0, 2792.6428571428573, 3119.1666666666665, 5220.714285714285, 3600.0, 3406.3636363636365, 2843.076923076923, 3681.818181818182, 4100.0, 3900.0, 3654.0, 2723.076923076923, 3049.2727272727275, 2682.8571428571427, 2756.266666666667, 2366.4666666666667, 2418.75, 3034.3333333333335, 2612.0, 2952.9166666666665, 2628.0, 2438.3333333333335, 2467.5, 3165.5, 2699.0714285714284, 2421.733333333333, 3119.4615384615386, 2638.285714285714, 2930.769230769231, 3235.0, 3240.0, 2494.4666666666667, 2473.846153846154, 2403.75, 3792.0, 3858.0, 2404.0, 3594.9, 3028.153846153846, 3318.4166666666665, 4040.0, 2614.285714285714, 2508.0, 3353.181818181818, 3608.7, 3553.1, 2366.25, 2575.714285714286, 3122.1666666666665, 3291.6, 2796.923076923077, 2371.764705882353, 3672.0, 3342.25, 3770.2, 3385.0, 4572.0, 2833.846153846154, 3125.0, 2657.1428571428573, 3490.909090909091, 3900.0, 2579.4285714285716, 2935.3846153846152, 2930.0, 3065.0, 2726.0, 3802.5, 2484.0833333333335, 3446.222222222222, 3181.2, 2678.3333333333335, 2553.0833333333335, 2904.9, 3269.9, 3726.6666666666665, 2715.5, 2568.0, 2734.090909090909, 2619.6153846153848, 3003.8, 2813.5454545454545, 2261.3846153846152, 2986.0, 2423.076923076923, 1738.1666666666667, 2381.230769230769, 4039.125, 2327.1428571428573, 3700.0, 2296.6428571428573, 2383.0, 3059.9, 2829.5454545454545, 2090.714285714286, 2829.5, 2607.2727272727275, 3158.2727272727275, 2750.3636363636365, 2997.9, 3449.5555555555557, 2549.769230769231, 2746.4545454545455, 2015.2941176470588, 2487.75, 3050.1666666666665, 2652.1666666666665, 2117.1428571428573, 2698.0833333333335, 3276.1111111111113, 3569.6666666666665, 3601.4444444444443, 3400.0, 3640.625, 2901.818181818182, 2841.818181818182, 2524.6153846153848, 3639.0, 3206.8888888888887, 3173.3333333333335, 2795.3333333333335, 2960.7, 2732.7272727272725, 3346.6666666666665, 3066.6666666666665, 3771.5555555555557, 3434.3333333333335, 2937.5, 3012.0, 2574.6363636363635, 3640.0, 4140.0, 2623.6363636363635, 3726.6666666666665, 2965.0, 5005.714285714285, 3286.0, 4173.571428571428, 2838.1, 2585.0, 3706.25, 2940.0, 3273.3333333333335, 2476.3636363636365, 3122.5555555555557, 2811.5454545454545, 3430.5555555555557, 2313.0666666666666, 3003.8333333333335, 4325.625, 2491.714285714286, 3061.1, 2084.8, 3168.0, 3292.3333333333335, 2975.4, 2904.8, 2457.5, 3723.5555555555557, 3350.0, 2610.1666666666665, 2988.0, 2267.1428571428573, 3226.6, 3631.125, 2975.181818181818, 3493.3333333333335, 2319.1428571428573, 3376.8, 2743.6363636363635, 2775.090909090909, 3049.6, 2606.846153846154, 2948.8, 3069.9, 2487.6923076923076, 2790.0, 2041.6666666666667, 3333.3333333333335, 3076.2, 2844.9166666666665, 2993.5, 2740.0, 2814.5454545454545, 3445.1111111111113, 3118.6, 2950.909090909091, 2220.0, 3473.3333333333335, 5076.5, 2593.9166666666665, 3487.1111111111113, 2641.6666666666665, 4517.142857142857, 4042.5, 3406.6666666666665, 3788.75, 2780.5833333333335, 2765.4545454545455, 3332.222222222222, 3636.875, 3258.0, 3427.5, 2765.0, 3237.0, 2661.818181818182, 3264.0, 3596.1111111111113, 2409.6923076923076, 4147.5, 3173.3333333333335, 4028.5714285714284, 2792.7272727272725, 3880.0, 3730.25, 3116.2, 3006.0, 3061.5, 2570.0, 2961.818181818182, 3030.6, 3438.0, 3997.5, 2635.0, 2976.0, 2375.0, 3210.0, 2722.0, 2622.4545454545455, 2460.0, 2863.6363636363635, 2532.5, 2201.5384615384614, 2735.4545454545455, 2425.0, 2405.4166666666665, 2237.1428571428573, 3200.4444444444443, 2164.6153846153848, 2260.9285714285716, 2694.6363636363635, 2593.75, 2324.6153846153848, 2037.3333333333333, 2803.6363636363635, 2308.769230769231, 4080.0, 2614.7272727272725, 2330.0, 2263.3076923076924, 2412.8571428571427, 2372.769230769231, 2256.923076923077, 2128.6428571428573, 2365.153846153846, 2689.090909090909, 2493.818181818182, 2030.857142857143, 2130.0, 3055.6, 2625.0, 2475.0, 1979.6666666666667, 2255.6428571428573, 2584.25, 2754.5454545454545, 2289.230769230769, 1980.0, 2201.5384615384614, 2575.0, 2530.0, 2082.8571428571427, 2101.1428571428573, 1907.8666666666666, 2344.6153846153848, 2466.5833333333335, 2758.7272727272725, 3440.0, 2832.0, 3733.375, 3736.0, 2922.0, 3630.0, 3795.0, 3402.4444444444443, 3633.3333333333335, 3293.3333333333335, 2506.153846153846, 3276.6666666666665, 3279.777777777778, 2509.090909090909, 3412.5, 3607.5, 4397.142857142857, 2878.6363636363635, 2656.3636363636365, 2500.0, 2710.909090909091, 3028.1, 3030.0, 2787.2727272727275, 3603.6666666666665, 2635.0, 3720.0, 3120.0, 2856.0, 2575.0, 2525.0, 2890.9, 2823.4, 2922.3, 2650.909090909091, 2589.4166666666665, 2790.090909090909, 2684.909090909091, 2292.8571428571427, 2952.0, 2455.0, 2945.4545454545455, 3140.0, 2380.4615384615386, 2814.5454545454545, 2104.285714285714, 2307.6923076923076, 2446.153846153846, 2642.4545454545455, 2820.0, 2518.6666666666665, 2694.5454545454545, 2060.0, 2525.8333333333335, 2338.846153846154, 3120.818181818182, 2446.923076923077, 2725.6666666666665, 3233.3333333333335, 2492.3076923076924, 3708.0, 1941.5714285714287, 1758.5882352941176, 2710.909090909091, 3373.3333333333335, 2672.7272727272725, 2880.0, 1980.4, 2754.5454545454545, 2379.5384615384614, 2078.5714285714284, 2201.5384615384614, 2311.923076923077, 3251.5555555555557, 2820.0, 2298.4615384615386, 1989.4, 2074.0, 2386.9166666666665, 2187.6428571428573, 3186.0, 2535.0, 2462.769230769231, 4140.0, 2474.3076923076924, 2501.8333333333335, 2293.846153846154, 2571.5, 2825.4545454545455, 2958.0, 3300.0, 2271.4285714285716, 3561.8888888888887, 3596.5555555555557, 2962.0, 3321.6666666666665, 2271.214285714286, 2895.1666666666665, 3637.5, 3586.6666666666665, 3085.3, 1901.25, 1992.4117647058824, 3420.0, 2754.5454545454545, 2547.6923076923076, 2490.0, 2690.769230769231, 3602.125, 3156.0, 2749.090909090909, 2144.214285714286, 2640.0, 3772.5, 4080.0, 3366.6666666666665, 3072.0, 3493.3333333333335, 3280.0, 3186.6666666666665, 3186.0, 2650.0, 3102.0, 2721.818181818182, 3090.0, 2716.3636363636365, 4830.0, 4159.25, 2964.0, 3546.6666666666665, 3253.3333333333335, 3102.0, 3764.125, 2732.7272727272725, 2950.909090909091, 2436.923076923077, 3533.3333333333335, 2721.818181818182, 2896.3636363636365, 3018.0, 3393.3333333333335, 3433.3333333333335, 2530.0, 2820.0, 3258.0, 2888.0833333333335, 3670.5, 3540.0, 2988.0, 3066.0, 3200.0, 3473.3333333333335, 3810.0, 3090.0, 2885.4545454545455, 2721.818181818182, 2284.6153846153848, 3270.0, 5110.0, 2994.0, 1969.4117647058824, 2803.6363636363635, 4377.142857142857, 2029.7058823529412, 2885.4545454545455, 2747.7272727272725, 3253.3333333333335, 2683.1666666666665, 2267.0, 4958.833333333333, 3105.285714285714, 2640.0, 2988.0, 2057.1428571428573, 2716.3636363636365, 2109.8571428571427, 2820.0, 2637.5833333333335, 2472.75, 2760.0, 5528.0, 2423.076923076923, 3810.6666666666665, 2555.0, 2141.5384615384614, 2520.0, 3030.0, 3600.0, 2330.769230769231, 1997.142857142857, 2970.0, 2550.0, 3233.3333333333335, 2700.4545454545455, 2147.0, 3048.0, 3593.125, 3038.4, 3667.5, 2008.5333333333333, 2980.0, 12990.5, 3479.222222222222, 3045.5555555555557, 2524.8333333333335, 3945.0, 2615.0, 2406.25, 2623.6363636363635, 3234.0, 3300.0, 2306.3076923076924, 3573.125, 3233.3333333333335, 3829.875, 2303.923076923077, 2738.181818181818, 2940.0, 3368.8888888888887, 2807.5454545454545, 3594.875, 2122.5, 3211.4444444444443, 3233.5555555555557, 3265.777777777778, 6120.0, 2712.909090909091, 2450.0, 3787.5, 4054.5714285714284, 2349.230769230769, 2340.0, 2922.181818181818, 3390.75, 3226.6666666666665, 2183.076923076923, 2655.0, 2765.0, 2694.090909090909, 3917.1428571428573, 2574.5454545454545, 3226.6666666666665, 2468.285714285714, 2776.3636363636365, 2352.8571428571427, 2765.4545454545455, 2230.785714285714, 2455.714285714286, 2667.2727272727275, 3402.222222222222, 3720.0, 2445.0, 2573.153846153846, 3312.1111111111113, 4174.285714285715, 2600.2727272727275, 2125.714285714286, 2935.0, 2303.0, 2737.818181818182, 3072.0, 2404.6153846153848, 2865.0, 2465.0, 2838.0, 2970.0, 2050.4666666666667, 3141.818181818182, 2326.153846153846, 3391.875, 2808.818181818182, 2057.1428571428573, 2445.0, 2975.3, 2455.25, 1862.75, 2688.0, 2386.153846153846, 3043.4444444444443, 2226.076923076923, 1954.0666666666666, 2710.909090909091, 2934.0, 3054.0, 2233.6153846153848, 1841.25, 2506.0, 2339.769230769231, 2467.8333333333335, 2263.4615384615386, 1924.0, 2409.230769230769, 2275.3846153846152, 2554.5833333333335, 2134.285714285714, 1868.5, 2548.5833333333335, 2510.0, 2525.0, 2545.5454545454545, 2024.0, 2518.4166666666665, 2266.153846153846, 2540.0, 2419.5, 2528.25, 2490.090909090909, 2656.3636363636365, 2640.0, 2565.0, 2730.0, 2958.0, 2425.0, 3141.1111111111113, 2503.75, 1880.8666666666666, 3198.6, 5010.0, 3035.5, 3780.0, 4241.0, 2911.7, 3712.25, 3273.777777777778, 2789.5454545454545, 3366.6666666666665, 3187.6, 3030.0, 3273.3333333333335, 5190.0, 2792.2, 3878.285714285714, 2677.0, 3882.8571428571427, 3824.625, 3246.0, 2970.0, 2538.4615384615386, 4212.285714285715, 3280.0, 2880.8, 2970.0, 3404.777777777778, 3320.0, 4542.857142857143, 3200.0, 3619.125, 2194.769230769231, 2672.7272727272725, 2953.5454545454545, 2954.2, 2173.3076923076924, 2411.5, 2778.3, 2575.3333333333335, 2916.0, 2726.4545454545455, 2694.5454545454545, 2625.0, 7282.0, 2676.0, 2809.2727272727275, 2615.0, 2425.75, 3354.0, 2801.4545454545455, 2312.3076923076924, 3386.777777777778, 3018.0, 2188.3571428571427, 2566.0833333333335, 2703.090909090909, 2412.8571428571427, 3962.6666666666665, 2450.0, 2594.3333333333335, 2447.8571428571427, 2335.0, 3240.0, 2705.4545454545455, 2284.6153846153848, 2595.0, 2670.0, 3517.0, 2754.5454545454545, 2534.3333333333335, 2350.0, 2180.0, 2160.0, 2480.0, 2475.75, 2197.6923076923076, 2765.181818181818, 2787.6363636363635, 2261.5384615384614, 2655.0, 2404.285714285714, 1996.6666666666667, 2051.6666666666665, 2697.090909090909, 2702.5454545454545, 2564.4545454545455, 1651.764705882353, 2624.1666666666665, 2535.0, 2705.230769230769, 2378.714285714286, 2615.0, 2898.0, 3566.6666666666665, 2550.75, 2355.0, 2045.2666666666667, 2370.25, 3525.6666666666665, 2386.153846153846, 2358.4615384615386, 1950.0, 2099.9333333333334, 2984.6, 3215.6, 2376.923076923077, 1747.5, 2732.7272727272725, 2217.076923076923, 2585.6363636363635, 2749.090909090909, 1882.5, 3113.3333333333335, 2261.5384615384614, 3030.0, 2150.0, 2188.5, 2970.0, 2365.0833333333335, 2714.769230769231, 1806.3684210526317, 2352.25, 2155.923076923077, 2117.0, 3728.8571428571427, 2971.4545454545455, 2500.0, 2317.5714285714284, 2205.5, 2798.181818181818, 2877.1, 2965.3, 2470.0, 2514.5833333333335, 2739.2727272727275, 2594.909090909091, 2056.266666666667, 1906.0625, 2618.4545454545455, 2310.25, 2190.866666666667, 2025.8125, 2020.0, 3023.5, 2828.0, 2341.0833333333335, 2412.214285714286, 3063.5, 3477.75, 2620.0, 2727.2727272727275, 6347.333333333333, 3122.5555555555557, 2994.9, 2494.0, 2700.0, 3380.0, 2706.3333333333335, 2691.6666666666665, 2044.0, 2601.4, 1985.857142857143, 2809.0, 2169.0, 2530.0, 3197.222222222222, 1789.4117647058824, 2330.769230769231, 2004.0, 2754.5454545454545, 3078.0, 2027.857142857143, 1984.2857142857142, 1729.4705882352941, 3817.5, 3173.3333333333335, 1480.5, 2215.3846153846152, 1837.5, 2100.0, 4450.0, 1595.0, 2487.2727272727275, 2058.3333333333335, 2530.0, 3907.75, 1912.5, 2700.0, 2104.0, 2760.0, 2793.3333333333335, 2725.0, 3323.4444444444443, 3525.0, 2052.2, 3233.6666666666665, 3030.818181818182, 3338.4444444444443, 2512.0, 3072.0, 2590.0, 3130.8888888888887, 2512.0833333333335, 3420.0, 3360.6666666666665, 2129.733333333333, 3195.7, 3350.25, 3882.8571428571427, 3120.0, 3401.5555555555557, 3060.1111111111113, 3834.375, 3285.1111111111113, 2546.0833333333335, 4516.571428571428, 3600.222222222222, 3258.0, 3116.5, 3030.0, 3328.777777777778, 3291.909090909091, 3585.0, 2929.090909090909, 2580.0, 2811.3636363636365, 2659.0, 3531.222222222222, 3626.6666666666665, 2356.0, 2863.6363636363635, 2880.3333333333335, 2462.25, 2800.5454545454545, 2625.0, 3043.4, 3040.2, 3211.6, 2189.1428571428573, 3054.5454545454545, 2276.153846153846, 2562.3333333333335, 2590.0, 1851.125, 2689.6666666666665, 2342.153846153846, 2565.0, 2860.0, 3937.0, 2289.230769230769, 5401.333333333333, 2705.0, 1861.7058823529412, 2624.25, 2072.0, 3698.125, 2835.181818181818, 1652.7777777777778, 2412.230769230769, 3712.5, 3463.777777777778, 1926.3157894736842, 3090.0, 2340.0, 3832.5, 2803.6363636363635, 1777.5, 3252.0, 1992.857142857143, 5245.333333333333, 2095.714285714286, 1754.1176470588234, 3400.625, 2714.2727272727275, 2475.0, 3854.75, 2202.6153846153848, 3141.875, 2405.4545454545455, 2890.909090909091, 2960.5833333333335, 1980.2142857142858, 2525.0, 2900.222222222222, 2518.0833333333335, 2970.0, 2611.181818181818, 2384.1428571428573, 2181.4285714285716, 2441.5833333333335, 2443.6363636363635, 2928.0, 2658.4615384615386, 2845.0, 3064.6153846153848, 2655.0, 2632.0833333333335, 2604.5, 2984.2727272727275, 2667.5, 2177.5333333333333, 2837.1, 3083.4444444444443, 3870.0, 2492.6363636363635, 3216.0, 2408.25, 2057.1428571428573, 2721.818181818182, 2014.5333333333333, 2340.0, 2427.75, 2289.0, 3862.6666666666665, 2092.6428571428573, 2818.0, 3168.0, 2079.4285714285716, 2245.714285714286, 3420.0, 3426.777777777778, 2130.0, 3701.25, 2739.181818181818, 2506.1666666666665, 3042.9, 2085.6428571428573, 3030.8, 1836.5555555555557, 3233.3333333333335, 3825.0, 2645.4545454545455, 3292.0, 2104.0, 2370.3076923076924, 3030.0, 3720.0, 3040.4, 2221.1428571428573, 2721.818181818182, 3006.0, 2570.8333333333335, 2267.1428571428573, 1927.5, 2525.0, 2993.2727272727275, 2605.0, 6056.2, 2262.8571428571427, 2898.5, 3062.8, 2177.1428571428573, 3233.3333333333335, 2580.0, 2112.9285714285716, 3474.5454545454545, 3557.625, 3743.375, 2612.7272727272725, 3637.625, 1508.6666666666667, 2862.0, 2689.090909090909, 2700.181818181818, 3205.6666666666665, 2699.0, 3354.777777777778, 3291.5555555555557, 2672.7272727272725, 3765.0, 3126.6666666666665, 2826.0, 3487.75, 3012.0, 3977.1428571428573, 3664.0, 2455.0, 3091.7, 2400.0, 3092.222222222222, 2554.75, 3513.3333333333335, 2850.0, 3151.1, 3241.6, 3897.0, 2727.2727272727275, 3401.222222222222, 2672.7272727272725, 2781.818181818182, 3070.9, 3048.4, 2241.4285714285716, 3097.0, 2372.3076923076924, 2787.2727272727275, 2798.181818181818, 3555.0, 3066.0, 3066.0, 3400.0, 3054.0, 3567.375, 3206.6666666666665, 1762.5, 2683.7272727272725, 2892.1, 1933.0, 3281.3333333333335, 3259.5555555555557, 2243.153846153846, 3233.3333333333335, 2505.0, 2716.3636363636365, 3439.222222222222, 2252.3076923076924, 2243.3846153846152, 4005.0, 2648.5454545454545, 3371.0, 2438.1666666666665, 2781.818181818182, 1930.625, 2309.0, 2785.1, 3054.0, 2461.5, 3132.0, 2770.909090909091, 2855.5, 2994.0, 3287.3333333333335, 1669.5555555555557, 2330.769230769231, 2612.4166666666665, 3373.4444444444443, 3108.0, 2740.0, 2375.4166666666665, 3296.5555555555557, 3580.0, 2631.5833333333335, 2409.230769230769, 2964.0, 2487.8333333333335, 2547.6363636363635, 2233.846153846154, 5310.333333333333, 3393.6666666666665, 2234.4615384615386, 2574.5454545454545, 2844.0, 2595.1, 3066.0, 2966.6666666666665, 3445.25, 2470.0, 2353.846153846154, 2787.2727272727275, 2848.8888888888887, 3337.5, 2851.5, 4110.571428571428, 2897.3, 3637.5, 2721.909090909091, 3531.25, 2645.4545454545455, 3162.6666666666665, 2375.0833333333335, 2700.0, 2463.4166666666665, 4217.142857142857, 3607.5, 2481.818181818182, 3003.0, 3525.0, 2791.7, 3660.0, 2480.0, 2206.230769230769, 2555.0, 2880.2, 3440.0, 2530.0, 1964.5333333333333, 2790.0, 2920.0, 2820.8, 3000.0, 2004.0, 3217.9, 2110.6428571428573, 3717.1111111111113, 1764.1176470588234, 1984.0, 3063.3, 2691.909090909091, 2970.0, 2415.5, 3000.0, 2674.3636363636365, 2764.9, 2798.181818181818, 2310.0, 2163.785714285714, 3062.8888888888887, 2175.0833333333335, 2776.3636363636365, 4640.2, 3705.0, 2968.3, 4035.0, 1750.9411764705883, 2280.0, 2906.181818181818, 1975.7142857142858, 2470.9166666666665, 1744.6153846153845, 2459.0833333333335, 2733.2727272727275, 2970.1, 1732.5625, 3266.6666666666665, 4048.5, 3727.5, 2272.0, 2712.4, 2774.4545454545455, 2480.0, 2048.0, 4328.571428571428, 3654.5454545454545, 3018.0, 2251.1666666666665, 3264.222222222222, 3053.3333333333335, 1749.4375, 4345.714285714285, 2572.4545454545455, 3273.6, 2666.4545454545455, 4195.142857142857, 3206.6666666666665, 2856.0, 2889.1, 2440.0, 1798.1875, 2705.4545454545455, 2169.846153846154, 2420.0, 3321.3333333333335, 2044.0, 2706.181818181818, 1847.2666666666667, 2744.2727272727275, 3473.3333333333335, 2922.0, 1992.857142857143, 2123.153846153846, 2552.7272727272725, 1971.5, 2054.0, 2204.6923076923076, 2099.285714285714, 2945.6, 2618.2727272727275, 1999.8666666666666, 2802.0, 2325.0833333333335, 2196.923076923077, 2040.0, 1818.2941176470588, 2514.5454545454545, 3033.3333333333335, 2440.0, 1624.2941176470588, 2145.8823529411766, 2118.4615384615386, 2552.7272727272725, 2694.5454545454545, 1809.375, 3366.0, 2129.4285714285716, 2862.222222222222, 2470.0, 1612.9444444444443, 1820.0, 2607.2727272727275, 2945.6, 2415.0, 2011.142857142857, 2093.6666666666665, 1980.0, 2211.6923076923076, 2858.5, 1683.5294117647059, 2267.1428571428573, 1997.1333333333334, 3200.222222222222, 2125.0, 2214.923076923077, 2672.7272727272725, 1931.2, 2575.0, 2233.846153846154, 2238.4615384615386, 2640.0, 3466.6666666666665, 2357.3076923076924, 3592.5, 3366.6666666666665, 3393.1111111111113, 3253.3333333333335, 4371.857142857143, 3802.5, 2540.0, 2611.9166666666665, 2040.0, 2275.4615384615386, 3400.0, 2031.875, 2376.923076923077, 2330.846153846154, 3787.5, 3787.5, 3660.0, 2123.076923076923, 2845.6363636363635, 2689.090909090909, 4371.428571428572, 2328.3076923076924, 3106.4, 2550.0, 4251.142857142857, 3462.1, 2133.714285714286, 2750.818181818182, 2863.6363636363635, 3066.0, 3406.5555555555557, 2307.6923076923076, 3982.1666666666665, 2964.0, 3254.3333333333335, 3078.0, 4194.142857142857, 2494.5833333333335, 3692.5, 3728.8571428571427, 2744.181818181818, 2595.0, 2850.2, 3696.5, 3300.0, 3590.375, 2942.9, 5368.0, 2770.909090909091, 2746.909090909091, 3062.0, 2151.4285714285716, 3360.777777777778, 3570.0, 3186.6666666666665, 3393.3333333333335, 3326.6666666666665, 2422.6666666666665, 3507.5, 2749.090909090909, 3024.0, 2547.6923076923076, 2798.181818181818, 2610.0, 2789.1, 2525.0, 2907.2727272727275, 3663.5, 3735.0, 5100.25, 2988.1, 3389.4444444444443, 3746.5, 3400.0, 3140.0, 2475.0, 3166.6666666666665, 3079.9, 2634.5454545454545, 2134.285714285714, 3400.0, 3897.6666666666665, 4080.0, 2767.6, 2952.0, 3451.8888888888887, 3862.5, 3870.0, 2597.7272727272725, 3108.0, 2907.2727272727275, 3054.0, 2475.0, 2825.4545454545455, 3301.5555555555557, 3024.0, 2956.3636363636365, 2224.6153846153848, 2635.6428571428573, 2661.4285714285716, 2750.769230769231, 2772.8571428571427, 3392.7272727272725, 2460.5, 3050.0, 2560.0, 2764.6153846153848, 2021.0526315789473, 2594.0714285714284, 2612.3076923076924, 2861.5384615384614, 2233.3333333333335, 2442.8571428571427, 2563.0, 2911.3076923076924, 2656.714285714286, 2702.3333333333335, 2492.0, 3870.0, 2616.2, 2861.846153846154, 2986.153846153846, 2422.5, 2746.8333333333335, 2785.714285714286, 2362.3125, 2153.3333333333335, 2861.5384615384614, 2717.1428571428573, 2816.714285714286, 2403.75, 2907.769230769231, 2717.214285714286, 2536.6, 2317.5, 2958.4615384615386, 2845.785714285714, 2912.3076923076924, 2287.5, 3107.0, 2534.266666666667, 3055.0, 2880.5384615384614, 2580.0, 2366.4375, 2489.5333333333333, 2289.9375, 2454.8, 2331.9333333333334, 2440.0, 2287.0588235294117, 2664.6666666666665, 2316.0, 2290.5882352941176, 2807.1428571428573, 2471.0666666666666, 2476.4, 1926.0, 2169.9411764705883, 2268.75, 2400.8823529411766, 2644.285714285714, 2476.0, 2053.3333333333335, 2617.6428571428573, 2200.0, 2593.5333333333333, 2035.5263157894738, 2017.8947368421052, 2358.375, 2181.8823529411766, 2389.5, 2387.4, 1890.0526315789473, 2746.076923076923, 2568.1428571428573, 2152.3333333333335, 2303.235294117647, 2168.1176470588234, 2612.9333333333334, 2482.133333333333, 2216.470588235294, 2520.0, 2898.4615384615386, 2520.0, 2352.0, 2270.75, 2396.823529411765, 2215.4117647058824, 2552.0, 2096.6666666666665, 2884.769230769231, 2323.125, 2351.25, 2364.1875, 2493.6, 2319.4, 2389.8, 2181.8888888888887, 2251.529411764706, 3238.0, 2156.470588235294, 2265.0, 2695.3333333333335, 2147.277777777778, 3263.6666666666665, 2617.8571428571427, 2715.0, 1967.3684210526317, 2460.0, 2440.133333333333, 2792.846153846154, 2257.823529411765, 2150.0, 2464.2, 2333.5625, 2426.4375, 2140.5555555555557, 2630.6, 2488.6875, 2110.4444444444443, 2845.285714285714, 2866.153846153846, 2259.176470588235, 2498.0, 2283.75, 2186.1666666666665, 2636.0, 2135.764705882353, 2012.1666666666667, 2020.0, 2199.5, 2220.0, 2422.4117647058824, 2133.6666666666665, 2311.625, 2394.25, 7475.6, 2374.75, 2037.1764705882354, 3740.8888888888887, 2023.3333333333333, 1935.7894736842106, 2537.4666666666667, 2489.0, 2283.75, 2545.285714285714, 2040.2222222222222, 2138.0, 2184.705882352941, 1800.2777777777778, 2238.75, 2586.0, 1785.0, 2516.0, 2040.0, 2554.285714285714, 2257.625, 3300.090909090909, 1651.7142857142858, 2170.5882352941176, 2500.0, 3080.0, 2142.3529411764707, 1959.5555555555557, 1850.5263157894738, 2695.5384615384614, 2818.0, 2456.0, 2292.3529411764707, 3620.7, 1860.0, 2508.4, 2082.5882352941176, 2037.9444444444443, 2261.4375, 2061.176470588235, 2321.25, 1954.7368421052631, 2760.230769230769, 2652.8571428571427, 2558.133333333333, 2540.0, 2141.25, 2352.25, 2188.294117647059, 2131.0588235294117, 2732.6666666666665, 2200.222222222222, 2266.4375, 2021.0526315789473, 2558.6666666666665, 2567.1428571428573, 2417.0625, 2212.4117647058824, 2037.611111111111, 1876.9, 2562.3333333333335, 1962.0, 2294.1176470588234, 2061.3333333333335, 2392.5, 2484.0, 2450.625, 2188.235294117647, 2357.375, 1837.142857142857, 1989.0, 2492.6, 2415.6666666666665, 1983.9444444444443, 2212.625, 2498.6, 2389.4, 2292.4375, 2188.764705882353, 2620.6666666666665, 2078.9473684210525, 2381.75, 2153.0588235294117, 2241.176470588235, 2205.8823529411766, 1976.842105263158, 2455.2, 2082.277777777778, 2011.6315789473683, 2539.4, 2079.8888888888887, 2287.5, 2170.5882352941176, 2142.3529411764707, 1811.4285714285713, 2193.8125, 1882.1052631578948, 2684.4285714285716, 2265.4444444444443, 2191.764705882353, 2396.25, 2436.0, 2303.8125, 2145.8823529411766, 2824.6153846153848, 2854.6428571428573, 1869.0, 2784.0, 2150.0, 2332.5, 1897.8947368421052, 2233.3333333333335, 2126.6666666666665, 2238.75, 2244.705882352941, 2488.0, 2163.3333333333335, 2411.25, 2113.3333333333335, 2335.625, 2110.5882352941176, 2106.6666666666665, 1946.6666666666667, 2191.764705882353, 2216.470588235294, 2269.4117647058824, 2427.4375, 2103.529411764706, 2404.0, 2124.4, 2296.0, 2026.6666666666667, 2488.0, 2166.6666666666665, 3050.0, 2317.5, 3051.0833333333335, 2175.8823529411766, 2122.5, 2534.0666666666666, 2151.722222222222, 2722.4666666666667, 2352.0, 2484.0, 2780.076923076923, 2209.176470588235, 2170.777777777778, 2144.0588235294117, 1938.7894736842106, 2728.4666666666667, 2128.4210526315787, 2407.5, 2190.1111111111113, 2472.6666666666665, 2180.3529411764707, 2316.733333333333, 2963.076923076923, 1888.5714285714287, 2990.0, 2367.235294117647, 1993.8333333333333, 2091.705882352941, 2355.0, 2100.0, 1889.2105263157894, 2466.5333333333333, 2017.8947368421052, 8598.666666666666, 1947.0, 2361.75, 2280.0666666666666, 2516.0, 2100.0, 2120.0, 1983.3333333333333, 2496.0, 2068.4210526315787, 2248.375, 2315.9411764705883, 2528.5714285714284, 2201.5, 2046.6666666666667, 2562.0, 2666.6428571428573, 2272.176470588235, 3087.1666666666665, 2280.470588235294, 2260.235294117647, 2022.3529411764705, 2170.0, 1773.15, 3514.4, 2781.4285714285716, 2451.8, 2042.2631578947369, 2640.8571428571427, 2508.875, 2322.764705882353, 2727.6923076923076, 2193.9444444444443, 2255.125, 2488.266666666667, 2870.769230769231, 2828.5714285714284, 1923.157894736842, 2436.0, 2534.9333333333334, 2548.8, 2214.1111111111113, 1842.9545454545455, 2447.133333333333, 2815.5384615384614, 2691.4285714285716, 2352.3529411764707, 2568.0, 1914.85, 2222.6, 2044.2105263157894, 2356.3125, 2554.4285714285716, 2355.5625, 2700.0833333333335, 1814.2857142857142, 2103.529411764706, 2124.764705882353, 2065.2105263157896, 2485.866666666667, 2532.0, 2205.8823529411766, 3140.0, 4687.5, 7489.6, 3828.0, 3768.0, 3751.6, 3769.8, 3209.5, 3598.090909090909, 3840.0, 3464.5454545454545, 4950.0, 3810.0, 2880.0, 3751.9, 3150.0, 4298.222222222223, 3660.0, 3409.090909090909, 4366.555555555556, 4687.5, 3690.0, 3572.7272727272725, 3758.4, 3750.0, 3100.0, 4248.0, 3463.818181818182, 3780.0, 4337.222222222223, 4963.375, 4180.0, 3410.181818181818, 4146.666666666667, 4166.666666666667, 3354.5454545454545, 4126.666666666667, 3575.909090909091, 2884.6153846153848, 3184.4166666666665, 3409.090909090909, 3842.0, 3870.0, 3810.0, 5271.428571428572, 3740.8, 4279.111111111111, 3124.1666666666665, 3116.4615384615386, 3750.0, 3720.0, 4800.0, 4970.375, 4499.666666666667, 5700.428571428572, 4086.6666666666665, 5537.142857142857, 4363.666666666667, 4594.333333333333, 4912.5, 5742.857142857143, 4071.5, 4044.7, 5615.571428571428, 3704.1, 4213.333333333333, 3394.2727272727275, 3946.3, 4240.0, 3420.0, 4575.25, 4110.0, 5019.75, 5250.0, 4400.0, 4500.0, 3945.0, 4253.333333333333, 4680.0, 3960.0, 4351.555555555556, 5571.428571428572, 4640.0, 3136.75, 3840.0, 4344.888888888889, 3452.7272727272725, 4368.111111111111, 4113.333333333333, 3708.0, 4186.666666666667, 3672.0, 2916.923076923077, 2882.4615384615386, 4453.333333333333, 3089.5, 4320.0, 3230.0, 6208.833333333333, 4642.555555555556, 4420.0, 3643.6363636363635, 3742.7, 5417.142857142857, 4704.125, 3936.0, 4008.0, 3327.4545454545455, 3439.3636363636365, 2910.076923076923, 3702.0, 3838.2, 4106.666666666667, 6368.666666666667, 5682.857142857143, 5280.714285714285, 5737.0, 5400.0, 4889.25, 4755.0, 3660.2, 4210.888888888889, 3746.2, 4086.9, 4486.666666666667, 4845.0, 3137.153846153846, 4681.125, 4897.625, 4162.333333333333, 3535.3636363636365, 4464.888888888889, 4620.0, 4361.666666666667, 4725.0, 4206.666666666667, 4646.666666666667, 4560.0, 3924.0, 2742.8571428571427, 4253.333333333333, 6050.333333333333, 3739.4, 4161.555555555556, 4842.625, 3828.0, 3684.0, 4182.777777777777, 4695.25, 4542.444444444444, 3660.2, 4370.888888888889, 4300.0, 4167.333333333333, 4575.25, 3180.0, 4406.666666666667, 4852.5, 3757.3, 4442.0, 3452.7272727272725, 4560.0, 5228.857142857143, 4142.444444444444, 4575.125, 3714.0, 3365.3333333333335, 3800.0, 4575.0, 3858.0, 4286.666666666667, 4080.0, 3449.25, 3769.0, 3425.4545454545455, 5920.0, 3888.0, 4038.0, 5796.142857142857, 3930.0, 4220.0, 3472.4545454545455, 4134.0, 3818.2727272727275, 4281.4, 3310.6363636363635, 3354.5454545454545, 3943.8888888888887, 3864.2, 2743.285714285714, 3250.3333333333335, 3480.0, 3684.0, 3618.0, 4366.666666666667, 3996.0, 4100.0, 3447.2727272727275, 3294.5454545454545, 3190.0, 3332.7272727272725, 4400.0, 3201.818181818182, 4213.222222222223, 4127.666666666667, 3984.0, 3512.7272727272725, 3912.0, 3100.0, 2944.6153846153848, 4282.222222222223, 5401.0, 5405.0, 3455.909090909091, 3507.2727272727275, 3205.0, 3480.0, 4314.777777777777, 4166.666666666667, 3572.7272727272725, 3699.5454545454545, 4365.0, 3845.4545454545455, 3912.0, 4505.222222222223, 3120.0, 3409.7272727272725, 4410.444444444444, 3469.090909090909, 3290.0, 3972.6666666666665, 3966.6666666666665, 4837.5, 4467.25, 3463.6363636363635, 3409.090909090909, 3190.0, 4372.111111111111, 3400.0, 3463.6363636363635, 3175.0, 3810.2, 3441.818181818182, 3345.0, 3400.0, 4080.6, 3648.0, 3810.6666666666665, 4912.875, 4026.0, 4220.333333333333, 3266.6666666666665, 2684.3636363636365, 3228.0, 3066.6666666666665, 2600.0, 2349.9, 3106.6666666666665, 2730.2, 2405.0, 2754.0, 2811.9, 4131.428571428572, 2904.0, 2672.7272727272725, 2327.4166666666665, 2150.769230769231, 2257.0, 3226.6666666666665, 4891.8, 2604.0, 2576.2, 2010.0, 2946.6666666666665, 3473.3333333333335, 2390.0, 2509.090909090909, 2850.0, 1916.0, 3260.0, 2460.0, 2563.6363636363635, 2574.0, 1890.0, 3670.875, 2862.0, 2900.0, 2838.0, 2260.923076923077, 3307.5, 3450.0, 2670.0, 2664.0, 2385.0, 2880.0, 2705.4545454545455, 2676.0, 3450.125, 3233.3333333333335, 2706.2, 2684.090909090909, 2430.0, 3460.0, 3917.1428571428573, 3472.5, 2700.0, 5862.2, 2694.5454545454545, 2869.0, 2727.2727272727275, 2994.0, 2508.3, 3266.6666666666665, 3660.0, 2618.181818181818, 2482.5, 3000.0, 2873.5555555555557, 3667.5, 2197.5384615384614, 2166.6666666666665, 2760.0, 2100.0, 3080.0, 3193.3333333333335, 2880.0, 2541.818181818182, 2927.777777777778, 2892.0, 3080.0, 3343.4285714285716, 2113.3333333333335, 2994.0, 3227.1111111111113, 2700.0, 2886.0, 2247.6923076923076, 2916.0, 2892.0, 2233.846153846154, 3266.222222222222, 2520.0, 2481.818181818182, 2784.0, 2060.0, 2950.3333333333335, 2982.8571428571427, 2640.0, 2490.0, 3600.0, 3882.8571428571427, 2355.0, 2732.7272727272725, 2842.5, 3300.0, 2963.222222222222, 2230.909090909091, 3030.0, 2830.909090909091, 2946.2, 2856.0, 2440.0, 3140.0, 2607.2727272727275, 2740.0, 2970.0, 2946.0, 2476.4545454545455, 2676.7272727272725, 2656.6666666666665, 4224.0, 2260.1666666666665, 2277.4615384615386, 2569.090909090909, 2667.2727272727275, 3370.0, 2108.5714285714284, 2706.0, 4080.0, 3355.222222222222, 3547.5, 2940.0, 2525.0, 2470.0, 3018.0, 2743.6363636363635, 2788.4444444444443, 2700.0, 2833.4444444444443, 3246.0, 2371.1666666666665, 3343.8888888888887, 4317.428571428572, 3637.5, 2786.0, 3300.0, 3690.0, 4279.571428571428, 3613.3333333333335, 3222.0, 3080.222222222222, 3771.4285714285716, 4500.0, 2481.818181818182, 3840.0, 3735.0, 3712.5, 2634.0, 3392.4444444444443, 3737.285714285714, 3333.1111111111113, 3562.5, 3442.5, 2765.4545454545455, 1710.1, 2721.818181818182, 4099.888888888889, 2740.0, 3031.4, 1851.0, 3574.6, 2634.5454545454545, 3226.6666666666665, 2596.3636363636365, 2556.0, 2218.0, 3264.222222222222, 2360.0, 2420.0, 2228.0, 2623.6363636363635, 3466.6666666666665, 2321.4666666666667, 3213.3333333333335, 2900.0, 2529.0, 3260.0, 2761.5454545454545, 2405.0, 2400.0, 2625.0, 3210.0, 2770.909090909091, 2590.0, 2290.3076923076924, 3712.375, 3055.0, 3200.0, 2384.0, 4363.833333333333, 2748.769230769231, 2506.6666666666665, 2461.125, 2500.0, 2982.0, 2547.2727272727275, 2482.5, 2580.0, 2526.0833333333335, 2619.6363636363635, 2574.5454545454545, 2857.5, 2673.3333333333335, 3033.3333333333335, 2515.785714285714, 2344.285714285714, 2897.3, 2508.0, 2645.5454545454545, 3346.6666666666665, 2940.0, 2316.0, 2672.0, 3420.0, 2297.1428571428573, 2926.6666666666665, 2406.0, 2590.909090909091, 2629.090909090909, 2515.3846153846152, 3127.625, 2410.0, 4425.666666666667, 2086.153846153846, 2370.0, 3460.0, 2862.0, 2000.0, 2140.0, 3166.6666666666665, 2685.4545454545455, 2052.8571428571427, 2700.181818181818, 2610.0, 2215.3846153846152, 3668.125, 2700.0, 2820.0, 2420.0, 2697.181818181818, 2640.0, 3517.75, 3300.0, 2970.0, 3113.3333333333335, 2503.8333333333335, 2400.0, 2335.3846153846152, 2645.4545454545455, 3066.6666666666665, 2683.6363636363635, 2365.0, 2503.6363636363635, 2361.818181818182, 3555.0, 2886.0, 3220.0, 2874.0, 2661.818181818182, 2928.0, 2856.0, 2169.230769230769, 2206.153846153846, 2766.6666666666665, 3200.0, 2796.5, 3690.0, 2880.0, 2260.846153846154, 2650.909090909091, 2400.0, 2380.0, 3153.3333333333335, 2355.0, 2266.153846153846, 2844.0, 2480.0, 2206.153846153846, 2372.0, 2291.25, 3333.3333333333335, 3086.4166666666665, 2689.090909090909, 2291.25, 2689.090909090909, 2355.1666666666665, 3200.0, 2350.909090909091, 2510.0, 3637.5, 2678.181818181818, 2874.0, 2910.0, 2426.9166666666665, 2358.4615384615386, 2422.5, 2993.4444444444443, 4268.571428571428, 2298.4615384615386, 2270.769230769231, 2911.9, 2259.153846153846, 2672.7272727272725, 22861.0, 2465.0, 2795.0, 3333.3333333333335, 2683.6363636363635, 2415.0, 2294.5, 3175.777777777778, 2280.0, 2465.0, 2607.2727272727275, 2634.5454545454545, 2886.0, 2125.714285714286, 2000.0, 2418.9166666666665, 1980.0, 3985.714285714286, 2636.3076923076924, 2760.0, 2345.4545454545455, 2700.0, 3054.0, 3660.0, 3146.6666666666665, 4740.0, 3655.75, 4234.285714285715, 2710.909090909091, 2440.25, 3395.625, 2946.4, 4166.571428571428, 2683.6363636363635, 3020.0, 3480.0, 2910.0, 3453.3333333333335, 2796.0, 3313.3333333333335, 3648.5, 3024.0, 2718.1, 4011.4285714285716, 3517.5, 2850.0, 3495.0, 3072.0, 3433.3333333333335, 2601.818181818182, 3280.0, 2556.0, 2802.0, 2700.0, 3046.6666666666665, 3060.0, 3585.25, 3555.0, 3627.375, 2988.9, 2987.3, 2575.714285714286, 3065.4545454545455, 3380.0, 2826.6666666666665, 2916.0, 6160.666666666667, 2907.3, 2868.0, 2730.0, 2710.909090909091, 4550.0, 3675.0, 3306.6666666666665, 2596.5454545454545, 2181.4285714285716, 2430.0, 3813.3333333333335, 3166.6666666666665, 2569.181818181818, 2898.0, 3622.5, 2754.5454545454545, 2920.0, 2634.5454545454545, 2903.2, 2727.2727272727275, 2435.0, 2738.181818181818, 3046.6666666666665, 2453.4166666666665, 2284.6153846153848, 2886.0, 2400.0, 2940.0, 3153.3333333333335, 2550.0, 2910.0, 3417.2727272727275, 3487.5, 2376.923076923077, 2485.0, 3348.1111111111113, 3472.625, 3340.0, 4159.857142857143, 1972.0, 2700.0, 3040.0, 3353.3333333333335, 3442.5, 3253.222222222222, 3265.777777777778, 3900.1428571428573, 3020.0, 3885.5714285714284, 3286.6666666666665, 3193.3333333333335, 3360.0, 2160.0, 3366.6666666666665, 3300.5, 2809.090909090909, 2838.0, 3200.0, 2846.1, 3960.0, 2779.8, 2934.0, 3208.222222222222, 2910.8, 3637.5, 2796.0, 2815.3846153846152, 3253.3333333333335, 4610.0, 3306.6666666666665, 3054.0, 2922.0, 2565.0, 3622.5, 2072.0, 3273.3333333333335, 2028.0, 2645.4545454545455, 2670.0, 2600.0, 3266.6666666666665, 2471.230769230769, 3053.3333333333335, 2932.4545454545455, 2530.0, 2766.0, 2155.714285714286, 2787.2727272727275, 3024.0, 3373.3333333333335, 2952.1, 1789.4117647058824, 2177.1428571428573, 3066.0, 3529.090909090909, 3354.0, 2177.1428571428573, 2404.6153846153848, 2760.0, 2743.6363636363635, 2910.0, 1964.0, 2238.4615384615386, 3029.5555555555557, 2716.3636363636365, 3802.5, 1892.0, 2261.5384615384614, 3757.5, 2910.0, 3255.125, 1882.5, 2266.153846153846, 3006.0, 2420.0, 2470.0, 1912.0, 2395.3846153846152, 2224.769230769231, 12080.0, 1988.5714285714287, 2790.0, 2753.3636363636365, 2520.6666666666665, 3082.2, 2580.0, 2035.7142857142858, 2312.818181818182, 2656.3636363636365, 2623.6363636363635, 2462.4, 2225.0, 2315.4166666666665, 4642.333333333333, 2375.0, 2915.2, 2192.6153846153848, 2689.0, 2712.1, 2360.0, 2061.4285714285716, 2275.0, 2540.25, 2660.5833333333335, 2150.0, 2078.5714285714284, 2617.0, 2710.909090909091, 2221.0, 1935.1666666666667, 2279.3846153846152, 3454.0, 2516.1666666666665, 3785.75, 3133.3333333333335, 2535.0, 2455.0, 2537.5, 2790.0, 2410.0, 3068.1, 2970.0, 2994.0, 3186.0, 2615.0, 2415.0, 2335.3846153846152, 3487.5, 2304.3636363636365, 2243.076923076923, 2802.0, 3266.6666666666665, 3570.0, 3180.0, 2901.818181818182, 2590.909090909091, 2696.909090909091, 2805.0, 2064.0, 2760.0, 3722.1428571428573, 2716.3636363636365, 3720.0, 2707.4545454545455, 2418.4615384615386, 2712.0, 2629.090909090909, 2893.181818181818, 3302.1111111111113, 2116.0, 2367.6923076923076, 2366.0833333333335, 3720.0, 2139.6923076923076, 2496.923076923077, 2886.0, 3312.0, 2284.6153846153848, 3233.3333333333335, 3331.222222222222, 2940.0, 2901.818181818182, 3827.0, 3780.0, 4285.714285714285, 2771.3636363636365, 2820.5, 3125.222222222222, 3280.0, 2970.0, 3066.0, 2563.6363636363635, 3042.8571428571427, 3273.8888888888887, 2574.5454545454545, 2580.0, 2904.0, 3000.0, 2998.2, 2808.0, 2425.0, 3433.125, 2562.0, 2707.0, 3577.625, 3080.0, 3009.3333333333335, 2516.9166666666665, 2727.2727272727275, 3525.0, 3534.0, 2600.0, 2705.4545454545455, 2146.0, 2972.0, 2386.153846153846, 3133.3333333333335, 2121.4285714285716, 2252.5714285714284, 2450.5, 2450.769230769231, 2177.1428571428573, 3001.2727272727275, 2321.5384615384614, 3442.5, 2481.818181818182, 2870.3, 3030.0, 2400.0, 2712.0, 2500.0, 3967.5, 3352.875, 2303.076923076923, 2435.0, 3092.6, 2001.4285714285713, 3473.3333333333335, 2476.3636363636365, 3487.5, 3051.7272727272725, 2504.0833333333335, 3144.0, 2725.0, 5060.8, 2136.0, 3103.6363636363635, 13933.0, 2526.5, 2886.0, 2531.0714285714284, 3025.7272727272725, 1996.0, 2827.1666666666665, 3486.6666666666665, 2361.214285714286, 2726.818181818182, 2169.3846153846152, 2355.5384615384614, 3180.0, 3114.0, 3547.5, 3246.0, 2933.3333333333335, 2994.0, 3787.5, 4157.142857142857, 3810.0, 2934.0, 2964.0, 3832.5, 4071.4285714285716, 3266.6666666666665, 4850.0, 3313.3333333333335, 3158.3, 2530.0, 2952.0, 3633.3333333333335, 2850.0, 3523.6363636363635, 2230.153846153846, 4242.857142857143, 5160.0, 2535.0, 3119.0, 3030.0, 4810.0, 9898.0, 2425.0, 3400.0, 2966.4, 2166.6666666666665, 2509.2727272727275, 2590.909090909091, 3226.6666666666665, 2843.076923076923, 2460.0, 3286.6666666666665, 2224.285714285714, 3465.0, 2898.0, 2525.0, 3735.0, 2104.285714285714, 3660.285714285714, 2440.0, 2623.6363636363635, 2515.0, 2781.818181818182, 2596.3636363636365, 3020.0, 2607.2727272727275, 2763.5833333333335, 2964.0, 2700.0, 3300.0, 2392.769230769231, 2618.181818181818, 2410.8333333333335, 2765.4545454545455, 3750.0, 2340.0, 3030.0, 2520.0, 2775.0, 2375.0, 2668.7272727272725, 3333.3333333333335, 2505.8333333333335, 2540.0, 2470.0, 2672.7272727272725, 2405.25, 2323.3076923076924, 2885.4545454545455, 2373.0666666666666, 2727.6923076923076, 1871.25, 2194.5714285714284, 2367.6923076923076, 2215.714285714286, 2898.0, 2436.75, 3174.0, 2210.0, 2473.846153846154, 2530.0, 1958.5714285714287, 2826.6666666666665, 2350.0, 2796.909090909091, 2776.3636363636365, 2445.0, 2268.230769230769, 2814.0, 2844.0, 3541.375, 2596.3636363636365, 2295.4615384615386, 2298.4615384615386, 3620.0, 2629.090909090909, 3060.0, 4414.285714285715, 2789.909090909091, 3420.0, 2355.8333333333335, 2335.3846153846152, 1980.0, 2742.0, 2552.7272727272725, 2541.4545454545455, 3097.7, 2109.5, 3096.4, 2336.076923076923, 1920.142857142857, 2982.0, 2629.090909090909, 1964.0, 2328.230769230769, 3272.7272727272725, 2760.909090909091, 2886.0, 3413.3333333333335, 3652.5, 2805.2727272727275, 3310.0, 2963.3846153846152, 2592.0, 2462.0, 2425.4545454545455, 3116.4, 2524.6153846153848, 3266.9, 2470.0, 2967.3, 2700.0, 3735.0, 2612.818181818182, 2363.076923076923, 2100.0, 2510.0, 2620.7272727272725, 3024.0, 2727.2727272727275, 3109.0, 2897.2, 2955.0, 3171.0, 2320.0, 2668.7272727272725, 2809.090909090909, 1930.3846153846155, 2596.3636363636365, 2365.0, 2311.6428571428573, 2224.6153846153848, 2570.8333333333335, 2505.8333333333335, 2640.0, 2730.0, 2665.5454545454545, 2809.090909090909, 2959.1, 2565.0, 2440.0, 3233.3333333333335, 2689.090909090909, 3755.0, 3088.4545454545455, 2760.0, 3006.6666666666665, 2628.090909090909, 2923.6363636363635, 2536.0, 2607.2727272727275, 2596.3636363636365, 2574.5454545454545, 2802.0, 4105.714285714285, 2465.0, 2724.0, 3021.9, 2700.0, 3174.5454545454545, 3952.5, 2635.0, 2334.5384615384614, 2040.0, 3233.3333333333335, 2028.0714285714287, 3006.0, 2547.2727272727275, 2910.0, 2886.5, 3097.5, 2343.25, 2356.0, 2520.0, 2345.0, 2470.0, 2850.0, 2509.2727272727275, 2375.0, 2856.0, 2118.4615384615386, 2664.0, 2207.2, 2480.0, 2784.0, 2220.0, 2351.0, 1940.0, 2355.0, 2870.1, 3054.4, 2437.4166666666665, 1952.0, 2769.6363636363635, 2307.6923076923076, 2443.6363636363635, 3277.5, 2010.0, 2601.818181818182, 2460.0, 2052.8571428571427, 3200.0, 2514.5454545454545, 2375.0, 2230.0, 2661.818181818182, 2892.0, 2558.7272727272725, 2312.3076923076924, 2425.0, 2680.0, 2678.181818181818, 2021.8666666666666, 2527.75, 2361.5833333333335, 2712.2, 2685.8, 2199.846153846154, 1920.0, 2216.0, 2550.0, 3286.6666666666665, 3120.0, 3608.5, 2603.076923076923, 4208.714285714285, 3266.6666666666665, 3393.3333333333335, 2590.909090909091, 2868.0, 2738.181818181818, 3555.0, 3173.3333333333335, 2982.0, 2607.2727272727275, 2880.0, 2886.0, 3300.222222222222, 2202.25, 2650.0, 3762.8571428571427, 3742.5, 2340.0, 2560.7272727272725, 2913.3333333333335, 2716.3636363636365, 2960.0, 3093.3333333333335, 2272.769230769231, 3080.0, 3346.6666666666665, 2868.0, 2215.3846153846152, 2743.6363636363635, 2289.230769230769, 2365.714285714286, 3246.6666666666665, 3244.4, 5341.6, 2585.0, 2661.818181818182, 3078.0, 3186.0, 3021.6, 2778.0, 2121.4285714285716, 2916.9, 2661.818181818182, 3080.0, 3153.3333333333335, 2672.7272727272725, 3375.0, 3084.0, 3184.7, 2280.0, 2765.4545454545455, 3673.3333333333335, 3493.3333333333335, 3026.2, 3090.125, 2100.0, 2675.5454545454545, 2910.0, 2529.230769230769, 2470.0, 2935.9, 3336.1111111111113, 2595.0, 2310.0, 2482.8333333333335, 2436.923076923077, 2511.6923076923076, 2732.7272727272725, 2856.0, 2922.0, 2858.181818181818, 2922.0, 2098.6428571428573, 2894.1, 2892.0, 3293.3333333333335, 2965.9, 2588.846153846154, 2765.0, 2195.1428571428573, 2910.0, 3096.0, 2719.7, 2618.181818181818, 3897.714285714286, 3772.5, 2550.0, 2229.6923076923076, 2601.818181818182, 3727.75, 3900.285714285714, 2310.0, 2661.818181818182, 3281.4444444444443, 2934.0, 2993.3333333333335, 1690.9411764705883, 3562.5, 3306.6666666666665, 2280.0, 2130.0, 4650.0, 2305.4166666666665, 2023.2857142857142, 3030.0, 3465.0, 2900.0, 3466.6666666666665, 2850.0, 2940.3, 2580.0, 2262.4615384615386, 2770.909090909091, 2155.3846153846152, 2547.2727272727275, 2390.0, 2656.3636363636365, 3086.6666666666665, 2112.8571428571427, 2359.9166666666665, 1876.1333333333334, 2261.5384615384614, 3802.5, 1992.857142857143, 3333.3333333333335, 2126.0, 3180.0, 3400.0, 1996.0, 3043.1, 2529.25, 2978.3, 3048.0, 2352.0, 2590.909090909091, 2487.2727272727275, 2275.3846153846152, 3080.0, 2095.714285714286, 2425.0, 2262.846153846154, 2495.0, 2492.7272727272725, 2603.3636363636365, 3000.0, 2211.6153846153848, 2618.181818181818, 2847.2727272727275, 2192.3076923076924, 3006.0, 2628.0, 2820.0, 2425.0, 1980.0, 2261.5384615384614, 2514.5454545454545, 2413.846153846154, 2381.1666666666665, 2378.0833333333335, 2430.25, 2856.0, 2916.0, 2922.0, 3288.222222222222, 2634.0, 2016.857142857143, 3266.6666666666665, 2215.3846153846152, 3413.3333333333335, 2215.3846153846152, 3233.3333333333335, 2356.3636363636365, 2570.909090909091, 2654.818181818182, 3637.625, 2607.2727272727275, 2964.0, 2826.0, 2916.0, 2196.4166666666665, 3427.5, 2095.6428571428573, 2968.5555555555557, 3006.0, 2724.0, 2993.5555555555557, 3220.0, 2825.7, 2623.6363636363635, 2850.0, 3286.125, 2339.3333333333335, 2743.6363636363635, 2580.0, 2470.909090909091, 3213.3333333333335, 2302.6923076923076, 2742.0, 2234.4166666666665, 2432.8333333333335, 3961.285714285714, 2958.0, 2826.6666666666665, 2715.0, 2705.4545454545455, 2802.2, 2928.0, 2966.6666666666665, 3066.6666666666665, 2273.3076923076924, 3226.6666666666665, 2820.0, 2671.0, 2880.0, 2705.4545454545455, 3172.8, 2618.181818181818, 2634.5454545454545, 3220.0, 2590.0, 2629.090909090909, 3668.5714285714284, 2425.1666666666665, 2856.2, 2890.909090909091, 2509.090909090909, 2692.6363636363635, 1800.375, 3702.125, 3882.8571428571427, 2136.923076923077, 3173.3333333333335, 3571.25, 2575.0, 5000.0, 2443.6363636363635, 2455.0, 3114.0, 3146.6666666666665, 2946.7, 3440.0, 2661.818181818182, 2032.0, 2946.0, 2629.090909090909, 3630.0, 2596.3636363636365, 2727.2727272727275, 2358.4615384615386, 5901.4, 2880.0, 2736.6363636363635, 2781.818181818182, 2749.090909090909, 2516.076923076923, 2178.75, 3072.0, 2933.3333333333335, 3500.0, 2016.0, 2779.5454545454545, 3130.909090909091, 3085.0, 3085.7272727272725, 2620.0, 3246.6666666666665, 3273.3333333333335, 3220.0, 2485.0, 2425.0, 2418.0, 2792.7272727272725, 2340.0, 2607.2727272727275, 2284.6153846153848, 3048.0, 2612.3076923076924, 2321.5384615384614, 2238.4615384615386, 2623.6363636363635, 2585.0, 2452.8333333333335, 2701.6363636363635, 2500.0, 3024.0, 2880.0, 2630.0, 2207.1428571428573, 2620.0, 3137.3, 3114.0, 2066.25, 2700.0, 3560.0, 2470.0, 2438.846153846154, 3624.0, 2982.0, 2539.3076923076924, 2922.2, 3024.0, 3353.3333333333335, 3084.0, 2822.090909090909, 2727.7272727272725, 3652.5, 2835.0, 3730.125, 3030.0, 3380.0, 3105.0, 2946.0, 2639.4166666666665, 2550.0, 3204.0, 2934.5454545454545, 3293.3333333333335, 3060.0, 3005.0, 2910.0, 3466.6666666666665, 2971.909090909091, 2798.181818181818, 3060.0, 3042.0, 3114.5454545454545, 3861.125, 2821.1, 2847.2727272727275, 2798.181818181818, 3030.0, 2481.4285714285716, 2766.2, 2655.0, 3313.3333333333335, 2235.0, 2836.3636363636365, 2745.2727272727275, 1856.25, 2125.714285714286, 2760.0, 2940.0, 3426.6666666666665, 2363.076923076923, 2480.0, 3314.5555555555557, 3414.0, 3024.0, 2372.3076923076924, 3260.0, 2500.0, 3260.0, 2600.0, 2186.3571428571427, 2974.1, 3126.6666666666665, 2185.714285714286, 2982.0, 2117.1428571428573, 2505.0, 3166.6666666666665, 3072.0, 2738.5454545454545, 2261.5384615384614, 2112.8571428571427, 3925.714285714286, 2330.769230769231, 3728.5714285714284, 2037.1333333333334, 2898.0, 2781.818181818182, 2520.0, 3018.0, 1898.6875, 3712.5, 2839.181818181818, 2570.0, 7685.333333333333, 3103.6363636363635, 3832.5, 3286.6666666666665, 6421.0, 4820.0, 3413.3333333333335, 3300.9, 3060.4, 3606.6666666666665, 3090.0, 3258.3, 3473.3333333333335, 2885.4545454545455, 2760.0, 2883.7, 2590.0, 3961.25, 2732.7272727272725, 2460.0, 3330.0, 3645.0, 3727.5, 2194.285714285714, 2582.1666666666665, 2973.3, 3680.0, 2721.818181818182, 2569.090909090909, 2465.0, 2743.6363636363635, 3604.375, 3353.3333333333335, 2866.153846153846, 3970.222222222222, 2563.6363636363635, 2514.5454545454545, 2821.1, 2700.0, 2904.0, 3233.3333333333335, 2045.0, 2765.4545454545455, 3066.0, 2860.0, 3146.6666666666665, 2694.5454545454545, 2565.0, 2814.0, 3333.3333333333335, 2766.0, 2610.0, 2993.3333333333335, 2820.0, 2500.0, 2485.0, 2753.7272727272725, 3124.4, 3249.875, 3000.0, 2694.5454545454545, 2510.25, 2912.7272727272725, 2474.5833333333335, 2233.846153846154, 2485.0, 2585.4545454545455, 2689.090909090909, 2348.076923076923, 3180.0, 2329.0, 3018.0, 2678.181818181818, 2629.090909090909, 2697.5833333333335, 2743.6363636363635, 2418.4615384615386, 2470.0, 3933.5714285714284, 2857.6153846153848, 2254.285714285714, 2140.0, 2531.9166666666665, 3060.0, 2847.5833333333335, 2293.846153846154, 2275.0, 2607.6923076923076, 2680.0, 2455.3846153846152, 2795.0, 2600.0, 2118.75, 5470.0, 2134.285714285714, 2232.8571428571427, 2677.076923076923, 2700.0, 2155.3846153846152, 2330.769230769231, 2491.5454545454545, 2353.846153846154, 2505.0, 3040.0, 2869.090909090909, 2299.6153846153848, 2178.4615384615386, 2152.214285714286, 2560.4166666666665, 2972.25, 3676.125, 2012.0714285714287, 2764.846153846154, 2994.2, 3526.6666666666665, 2093.714285714286, 2146.714285714286, 2371.75, 2525.4545454545455, 2067.846153846154, 3010.909090909091, 2634.1, 2634.5454545454545, 2541.818181818182, 1830.0, 2260.846153846154, 2605.714285714286, 2411.769230769231, 3460.0, 1882.5, 2433.4615384615386, 2721.818181818182, 1731.8235294117646, 2856.0, 2525.0, 2163.0, 2400.0, 1798.5625, 2465.0, 1856.25, 2982.0, 2263.6666666666665, 2946.0, 1881.4285714285713, 2778.0, 2425.0, 2082.8571428571427, 2973.0, 1531.578947368421, 2172.8571428571427, 2395.0, 2748.7, 1730.6875, 2989.1, 1975.8666666666666, 3160.0, 1968.75, 2940.0, 2765.4545454545455, 2229.230769230769, 2151.4285714285716, 2667.2727272727275, 4191.428571428572, 2727.2727272727275, 2970.8, 2509.090909090909, 2220.0, 2349.230769230769, 2250.0, 2266.153846153846, 1993.8461538461538, 2922.0, 2212.8571428571427, 2565.0, 2266.153846153846, 2308.5384615384614, 2540.0, 2192.076923076923, 2465.0, 2892.6363636363635, 2789.0, 2778.0, 2206.153846153846, 2515.0, 2132.3076923076924, 2798.181818181818, 2186.8571428571427, 2138.0714285714284, 4524.0, 2838.909090909091, 2986.6666666666665, 2303.076923076923, 3166.6666666666665, 2440.0, 2563.6363636363635, 2475.0, 2907.2, 2592.1, 2565.0, 2432.7272727272725, 2555.0, 2683.6363636363635, 3546.6666666666665, 12048.0, 2509.090909090909, 2280.0, 2425.0, 3630.0, 3790.0, 2590.0, 2400.1666666666665, 2380.0, 2545.0, 2912.5, 2480.0, 5447.2, 2261.5384615384614, 2814.0, 3270.0, 2295.0, 2705.4545454545455, 4025.625, 3810.0, 2616.0, 2560.5454545454545, 2177.4615384615386, 2884.0, 3012.0, 2435.0, 2335.3846153846152, 2802.0, 2705.4545454545455, 2672.7272727272725, 2104.285714285714, 2976.0, 2320.0, 2580.0, 3343.2, 2320.0, 1900.9333333333334, 3166.6666666666665, 2091.5384615384614, 2832.0, 2376.923076923077, 2233.846153846154, 2760.0, 2988.0, 2475.6923076923076, 2206.153846153846, 2605.0, 2844.0, 2611.2, 2266.153846153846, 2375.0, 2215.846153846154, 2580.0, 2330.769230769231, 2206.153846153846, 2177.1428571428573, 2390.0, 1962.857142857143, 2142.8571428571427, 2315.8333333333335, 2253.0833333333335, 2596.3636363636365, 2617.2, 3293.3333333333335, 3757.5, 3520.0, 3030.0, 3280.0, 3070.909090909091, 2760.0, 2332.6428571428573, 3526.6666666666665, 3562.5, 3072.0, 2640.0, 2886.0, 3520.0, 2793.7272727272725, 3137.818181818182, 2915.0, 3261.818181818182, 3173.3333333333335, 3795.0, 3273.3333333333335, 2760.0, 3086.6666666666665, 2294.6923076923076, 3413.3333333333335, 2792.7272727272725, 2847.2727272727275, 2525.0, 3915.0, 2640.0, 2550.0, 3366.6666666666665, 3006.0, 3276.0, 2113.0714285714284, 2207.5384615384614, 2781.818181818182, 3126.6666666666665, 2068.0, 3501.777777777778, 2590.909090909091, 3877.5, 2492.0, 2895.9166666666665, 2412.923076923077, 3224.1111111111113, 2585.0, 2736.0, 2204.153846153846, 2607.2727272727275, 3233.3333333333335, 2192.3076923076924, 3206.6666666666665, 2168.5714285714284, 2445.0, 3312.0, 2146.3333333333335, 3750.0, 2475.0, 2494.3333333333335, 2994.0, 2880.0, 3046.777777777778, 1781.3125, 3586.25, 3030.0, 2470.0, 3213.3333333333335, 1992.0, 3253.3333333333335, 2600.0, 2712.0, 2095.714285714286, 2565.0, 2540.0, 2607.2727272727275, 3012.0, 1863.75, 2586.1, 3557.1428571428573, 2360.0, 2832.5, 2016.0666666666666, 2284.6153846153848, 3213.5555555555557, 2247.923076923077, 3058.5, 1632.6315789473683, 2759.5454545454545, 2535.0, 2712.0, 3026.6666666666665, 2487.6923076923076, 2495.0, 4376.857142857143, 3915.0, 3471.3333333333335, 3443.777777777778, 3005.4545454545455, 3246.6666666666665, 3685.375, 2415.0, 3095.7272727272725, 3441.4444444444443, 3020.2, 2658.5454545454545, 2892.0, 2987.5, 3218.4545454545455, 2505.5833333333335, 2612.7272727272725, 2590.0, 2754.5454545454545, 2672.7272727272725, 2420.0, 2776.3636363636365, 2898.0, 2880.0, 2730.4545454545455, 3474.6666666666665, 2487.4166666666665, 2536.5833333333335, 2664.5, 3652.5, 2567.0833333333335, 2397.3333333333335, 2943.2, 3040.0, 2776.3636363636365, 2530.0, 2846.7272727272725, 2495.0, 2738.181818181818, 3078.4, 2272.6153846153848, 2656.3636363636365, 3643.1428571428573, 2602.0, 3420.0, 2770.909090909091, 2754.5454545454545, 2490.0, 3615.0, 2556.923076923077, 2375.0, 3191.3333333333335, 2420.0, 2765.4545454545455, 2418.4615384615386, 3406.6666666666665, 3356.5555555555557, 2524.6153846153848, 2645.5, 2082.5333333333333, 2224.6153846153848, 3610.0, 4026.714285714286, 2430.0, 1971.4285714285713, 2836.3636363636365, 2405.4545454545455, 2321.5384615384614, 1772.0, 1891.2, 3348.0, 2280.0, 2150.769230769231, 2910.7272727272725, 1936.0, 2315.0833333333335, 3054.0, 2210.769230769231, 2886.0, 2125.714285714286, 2196.230769230769, 2853.4545454545455, 2946.0, 3607.5, 2972.7272727272725, 3383.9166666666665, 3266.6666666666665, 3024.0, 3592.625, 2715.0, 2594.2727272727275, 2555.0, 3420.0, 1848.75, 2973.2, 2721.818181818182, 2201.5384615384614, 2672.7272727272725, 2590.909090909091, 2450.0, 2814.5454545454545, 2661.818181818182, 2953.0, 3386.6666666666665, 2400.0, 2350.0, 2738.181818181818, 3895.5, 2238.4615384615386, 2425.0, 3000.0, 2820.0, 2035.7142857142858, 2700.909090909091, 2365.0, 2700.0, 2603.3636363636365, 2550.0, 3146.6666666666665, 3280.3333333333335, 2594.3636363636365, 3358.222222222222, 2685.0, 2954.8, 2705.4545454545455, 3227.3333333333335, 2727.2727272727275, 2040.0, 3182.9, 2716.3636363636365, 2440.0, 2465.0, 2580.0, 3266.6666666666665, 2156.25, 2430.0, 1818.75, 2485.0, 1854.3333333333333, 2126.5384615384614, 2439.153846153846, 2890.909090909091, 2238.4615384615386, 2590.909090909091, 3156.0, 2476.3636363636365, 2432.1666666666665, 2951.4, 3273.3333333333335, 3160.0, 3269.8888888888887, 3285.25, 2560.0, 2781.818181818182, 2689.090909090909, 2965.181818181818, 2820.0, 2541.818181818182, 3637.5, 3273.3333333333335, 1993.0, 3465.0, 3570.0, 2509.090909090909, 3042.0, 2132.7272727272725, 3280.0, 2500.0, 3133.3333333333335, 2731.75, 2941.5, 2958.0, 3072.0, 3300.0, 2642.153846153846, 3180.0, 3637.5, 2640.0, 2670.4166666666665, 2673.9, 2465.0, 2955.3, 2988.0, 3225.0, 2689.090909090909, 2993.3333333333335, 3084.0, 2661.818181818182, 3090.0, 2005.5, 2555.0, 2934.0, 3630.0, 2880.0, 2255.846153846154, 3847.5, 2697.2727272727275, 2612.7272727272725, 2575.3846153846152, 3069.4, 3575.4444444444443, 3030.0, 3086.6666666666665, 2635.909090909091, 3474.75, 2560.0, 2815.181818181818, 2826.0, 2770.909090909091, 3323.6666666666665, 4035.0, 2694.5454545454545, 2862.0, 3036.0, 3000.0, 2353.846153846154, 2607.2727272727275, 4303.0, 2739.846153846154, 2370.0, 3160.0, 4109.428571428572, 2652.1666666666665, 2738.6363636363635, 3746.5714285714284, 2697.818181818182, 2650.909090909091, 2946.0, 2280.0, 2766.0, 3712.5, 3406.6666666666665, 2487.2727272727275, 2440.0, 3742.5, 2435.0, 2710.909090909091, 3885.0, 3088.818181818182, 2645.3636363636365, 2838.0, 3453.3333333333335, 2733.090909090909, 2125.769230769231, 3036.0, 2261.5384615384614, 2732.7272727272725, 2315.0, 2907.2727272727275, 2609.909090909091, 2375.0, 3090.0, 3162.777777777778, 2468.0, 2581.181818181818, 3000.0, 3426.6666666666665, 2541.818181818182, 2590.909090909091, 2699.1, 3326.6666666666665, 2169.230769230769, 3720.0, 3017.2727272727275, 2784.181818181818, 3030.0, 2743.6363636363635, 1988.5714285714287, 3500.0, 3433.3333333333335, 5272.5, 3313.3333333333335, 3225.0, 4091.714285714286, 3176.4, 3193.3333333333335, 3293.3333333333335, 2574.5454545454545, 4035.875, 2820.0, 3095.5555555555557, 2533.846153846154, 2896.3636363636365, 4158.0, 2700.0, 2982.0, 3020.0, 2838.0, 5180.0, 2692.4545454545455, 3199.0, 2809.090909090909, 2575.0, 3060.0, 4088.5714285714284, 3333.3333333333335, 3406.6666666666665, 3577.5, 3285.0, 3547.5, 2952.0, 3577.5, 2524.6153846153848, 2520.181818181818, 2261.5384615384614, 2841.818181818182, 2974.5, 2580.0, 2228.5714285714284, 3206.6666666666665, 3124.3333333333335, 3917.1428571428573, 2501.5384615384614, 2873.6, 3000.0, 2213.076923076923, 2856.3, 2610.0, 2904.0, 2065.714285714286, 3065.0, 2830.909090909091, 1976.0, 3850.285714285714, 2391.6153846153848, 3186.6666666666665, 3150.0, 2178.4615384615386, 2450.0, 3115.3, 3697.5, 2121.4285714285716, 2683.6363636363635, 3042.0, 3192.8888888888887, 2168.5714285714284, 2952.0, 2318.3333333333335, 3633.3333333333335, 2808.0, 3284.8888888888887, 2360.0, 2940.0, 2172.214285714286, 3580.0, 1698.8125, 2940.0, 2982.3333333333335, 2245.0, 3592.5, 2959.5, 2575.3846153846152, 2689.090909090909, 2736.6, 2983.6363636363635, 1567.764705882353, 3021.818181818182, 3053.3333333333335, 2781.818181818182, 3023.0, 2340.0, 2316.923076923077, 2616.0, 2874.0, 2024.0, 2367.6923076923076, 2700.0, 2550.0, 2150.769230769231, 2318.5714285714284, 2472.4166666666665, 3098.5454545454545, 2850.0, 2700.0, 3260.0, 3126.6666666666665, 2540.0, 2094.5454545454545, 3337.75, 3559.625, 3577.5, 3048.0, 3637.5, 3690.0, 3801.0, 1773.6, 3368.5714285714284, 4157.142857142857, 2913.3, 3166.6666666666665, 3273.3333333333335, 3532.5, 2270.769230769231, 3188.222222222222, 2986.6666666666665, 3234.777777777778, 3233.3333333333335, 2922.0, 2612.7272727272725, 2595.5833333333335, 3089.4444444444443, 2928.0, 3660.0, 2820.0, 4557.5, 3216.0, 2818.6, 2814.0, 3489.875, 2730.0, 3233.3333333333335, 3607.5, 2399.5, 3153.3333333333335, 3025.5, 2533.3333333333335, 4028.5714285714284, 2710.909090909091, 3133.4, 2710.909090909091, 3456.4444444444443, 3240.5555555555557, 2100.0, 2280.0, 3742.5, 2385.0, 3693.3333333333335, 3144.9, 2130.0, 2390.0, 3042.0, 2772.0, 2360.0, 2839.3, 1688.5714285714287, 2605.0, 2718.0, 2220.0, 2585.4545454545455, 2292.0, 3048.0, 2738.181818181818, 2177.1428571428573, 2480.0, 2480.0, 2555.0, 2563.6363636363635, 2210.769230769231, 2400.0, 2395.0, 2492.3076923076924, 2585.818181818182, 2083.3571428571427, 2206.153846153846, 3712.5, 2640.0, 3166.6666666666665, 2558.181818181818, 3771.4285714285716, 2498.181818181818, 2928.0, 3373.3333333333335, 3300.0, 4157.142857142857, 2904.0, 3366.6666666666665, 2994.0, 2705.4545454545455, 2940.0, 2438.181818181818, 2405.0, 3517.5, 3253.3333333333335, 7745.428571428572, 3266.6666666666665, 3260.0, 3107.4444444444443, 2313.5833333333335, 3487.5, 2455.0, 2563.4166666666665, 3146.6666666666665, 2892.0, 2689.090909090909, 2850.0, 2535.0, 3233.3333333333335, 2809.090909090909, 2656.3636363636365, 3667.5, 2721.818181818182, 2928.0, 4088.5714285714284, 2661.818181818182, 2761.8, 2727.7, 2289.230769230769, 3525.0, 3133.3333333333335, 2500.0, 3115.9, 2385.0, 3013.3333333333335, 3022.7, 2585.4545454545455, 2948.714285714286, 2757.1, 3615.0, 3144.0, 3108.0, 2440.0, 4200.0, 2874.0, 2495.0, 3570.0, 2575.0, 2983.8, 2058.75, 3286.6666666666665, 4438.333333333333, 2490.0, 3353.3333333333335, 2658.4615384615386, 2455.0, 3321.3333333333335, 2540.0, 3704.75, 2667.2727272727275, 2443.6363636363635, 3353.3333333333335, 2485.0, 3280.0, 2866.0, 3326.6666666666665, 3667.5, 2741.0, 3316.8888888888887, 3787.5, 2814.0, 2860.0, 1840.0, 2100.0, 4900.0, 2686.5714285714284, 2434.285714285714, 1871.4444444444443, 1927.5, 2630.0, 2417.1428571428573, 1602.0, 2331.714285714286, 2382.8571428571427, 2288.714285714286, 1940.0, 2840.0, 2408.5714285714284, 2434.285714285714, 1960.0, 2500.4285714285716, 2868.0, 1884.0, 1800.0, 2013.3333333333333, 2396.714285714286, 2374.285714285714, 1953.3333333333333, 2940.4, 1960.0, 2000.0, 1510.909090909091, 3276.0, 2451.4285714285716, 1609.090909090909, 1510.909090909091, 1770.0, 2112.0, 2167.5, 2227.5, 1966.6666666666667, 2046.6666666666667, 3482.4, 1928.3333333333333, 3480.0, 2632.0, 3420.0, 3033.3333333333335, 2460.0, 2090.375, 3924.4, 3490.0, 2800.0, 4170.0, 3540.0, 2560.0, 2900.0, 2862.8571428571427, 2227.5, 3000.0, 2587.5, 2930.0, 5070.0, 1734.5555555555557, 2714.0, 2280.0, 3678.0, 3828.0, 2520.0, 3040.0, 2194.1111111111113, 2040.0, 2962.1666666666665, 2622.8571428571427, 2325.0, 3012.0, 2724.8571428571427, 2280.0, 2974.285714285714, 2665.714285714286, 4485.0, 2137.5, 2180.25, 2720.0, 2660.0, 3001.3333333333335, 2881.0, 2571.4285714285716, 2115.0, 2537.5714285714284, 2605.714285714286, 2820.0, 3094.285714285714, 1746.0, 3122.5, 2528.5714285714284, 2740.0, 3100.0, 3060.0, 3040.0, 2265.0, 3100.0, 2256.0, 2331.4285714285716, 2991.4285714285716, 3150.0, 2053.3333333333335, 2313.3333333333335, 2002.5, 2674.285714285714, 3097.1428571428573, 2820.0, 1940.0, 2464.0, 3360.0, 2019.6666666666667, 3456.0, 3600.0, 2460.0, 3310.0, 2708.5714285714284, 3725.4, 1776.0, 2137.5, 1581.8181818181818, 2868.714285714286, 2171.714285714286, 2605.714285714286, 2314.285714285714, 2186.75, 2442.8571428571427, 2262.8571428571427, 2362.5, 2571.4285714285716, 2227.5, 4425.0, 2602.5, 3351.6, 2526.0, 2946.6666666666665, 2958.4285714285716, 3585.0, 2092.5, 2494.285714285714, 2676.2, 2667.4285714285716, 2362.5, 2760.0, 2122.5, 2172.375, 3420.0, 2512.5, 2137.5, 2257.5, 3252.0, 3030.0, 2023.0, 3052.8333333333335, 2740.0, 2580.0, 2797.0, 3000.0, 2597.1428571428573, 4800.0, 2108.5714285714284, 3792.0, 2354.714285714286, 3852.0, 2306.875, 3282.0, 3366.6666666666665, 2820.0, 3113.3333333333335, 3573.3333333333335, 2335.3846153846152, 2413.846153846154, 2108.0, 3000.0, 2262.8571428571427, 2228.5714285714284, 2970.0, 3073.8, 2678.181818181818, 2060.0, 2538.4615384615386, 3138.0, 2293.846153846154, 2423.076923076923, 2273.785714285714, 2873.3333333333335, 3006.0, 2530.0, 2732.7272727272725, 2561.5, 2790.0, 2972.7272727272725, 2413.846153846154, 2047.5, 2795.0, 2836.3636363636365, 3166.6666666666665, 3008.3636363636365, 2353.846153846154, 2355.0, 3193.1, 2607.2727272727275, 2790.5, 2373.0, 1900.0, 1736.4705882352941, 2261.5384615384614, 2090.769230769231, 1989.2307692307693, 1747.0588235294117, 2181.4285714285716, 2192.3076923076924, 2164.285714285714, 2688.0, 1875.0, 2440.0, 2317.5, 2500.1666666666665, 1800.0, 2495.0, 2405.0, 1972.0, 2122.714285714286, 1938.75, 2160.0, 2153.266666666667, 2546.7272727272725, 2200.0, 2192.3076923076924, 2413.3333333333335, 1928.0, 2132.0, 2121.4285714285716, 2215.3846153846152, 2425.0, 2454.0, 3547.5, 2315.8333333333335, 2376.0, 1841.4375, 2535.0, 3173.3333333333335, 3622.5, 2994.0, 2134.285714285714, 2596.3636363636365, 2480.0, 2570.3636363636365, 1944.0, 2868.0, 2063.076923076923, 2358.4615384615386, 2280.0, 2220.0, 1630.5882352941176, 2260.0, 2380.0, 2858.181818181818, 2980.0, 2874.0, 2260.0, 2228.5714285714284, 2590.909090909091, 2547.2727272727275, 2514.5454545454545, 2560.181818181818, 2729.0, 2672.7272727272725, 2561.6923076923076, 3233.4444444444443, 4322.0, 3686.0, 2170.5882352941176, 2559.5, 2040.4666666666667, 2742.1, 2441.9166666666665, 1973.6842105263158, 2376.923076923077, 2500.0, 2478.0, 1893.5625, 3577.625, 2880.0, 2847.923076923077, 2913.9, 2010.0588235294117, 2971.5555555555557, 2284.6153846153848, 3762.8571428571427, 2561.6363636363635, 2670.0, 3686.125, 1928.1333333333334, 2592.8571428571427, 2956.4, 1938.75, 2529.8333333333335, 2499.9166666666665, 3098.777777777778, 2447.75, 2278.3076923076924, 2156.9285714285716, 1920.0, 2831.3333333333335, 2645.5454545454545, 2044.0, 1985.4545454545455, 2922.0, 3304.6666666666665, 2558.2727272727275, 2136.0, 2520.0, 3180.0, 2645.6363636363635, 3233.4444444444443, 2343.4615384615386, 2597.8333333333335, 2710.909090909091, 2600.0, 3876.0, 2602.0, 2693.2727272727275, 1960.0, 2738.181818181818, 2551.0833333333335, 2850.0, 2455.0833333333335, 2774.909090909091, 3030.0, 3824.0, 2822.6, 3138.0, 2751.6363636363635, 3127.0, 3024.0, 3156.0, 3193.2, 2363.076923076923, 2754.181818181818, 2959.3, 3675.125, 2376.923076923077, 2289.230769230769, 3108.0, 4285.714285714285, 3303.0, 4020.0, 2080.0, 2836.3636363636365, 3433.3333333333335, 2730.6363636363635, 3060.0, 3326.6666666666665, 2880.0, 3056.777777777778, 3117.0, 2738.181818181818, 4740.0, 3020.0, 3150.0, 2550.0, 3119.9, 3019.9, 3891.4285714285716, 3400.0, 2758.4545454545455, 3084.0, 2940.0, 2970.0, 3849.625, 3820.375, 3433.3333333333335, 5664.0, 2820.0, 2825.9, 3078.0, 3544.25, 3292.3333333333335, 2774.090909090909, 3260.0, 4097.142857142857, 3386.6666666666665, 2656.3636363636365, 3420.0, 3386.6666666666665, 3108.0, 2964.0, 2330.769230769231, 3169.5, 3391.3333333333335, 3525.0, 3264.777777777778, 2607.2727272727275, 3292.777777777778, 4908.833333333333, 3366.6666666666665, 3338.5555555555557, 2240.0, 2832.0, 2754.5454545454545, 3794.125, 3375.0, 5012.166666666667, 3787.5, 4542.857142857143, 3366.6666666666665, 4335.428571428572, 3549.5, 2940.0, 4285.714285714285, 2916.0, 3751.0, 2830.1, 3825.0, 4114.285714285715, 3204.0, 4337.142857142857, 2770.909090909091, 3393.3333333333335, 3090.0, 5170.0, 2430.0, 2330.769230769231, 3802.5, 3090.0, 2904.0, 4073.5555555555557, 3551.818181818182, 4068.6666666666665, 3878.4, 4788.875, 4084.0, 3461.909090909091, 4650.375, 3674.9, 4116.555555555556, 4758.5, 4735.25, 4157.333333333333, 4920.0, 3572.6363636363635, 3738.1, 3654.2, 3742.1, 3825.7, 3797.5, 6110.333333333333, 4253.333333333333, 4220.0, 4055.0, 4210.888888888889, 2965.4615384615386, 4060.1111111111113, 4680.0, 3185.0, 3458.181818181818, 3750.0, 4695.0, 5399.0, 6055.0, 4073.5555555555557, 3942.0, 3714.5, 4200.0, 4152.333333333333, 4143.555555555556, 4270.222222222223, 3140.0, 3464.5454545454545, 4143.111111111111, 3720.9, 3851.7, 3125.0, 3660.2, 3130.0, 5485.714285714285, 4460.111111111111, 4136.222222222223, 4290.888888888889, 4680.75, 6330.833333333333, 2982.076923076923, 2948.5384615384614, 4070.1111111111113, 4650.0, 4003.3, 4981.125, 5480.714285714285, 3702.0, 4267.777777777777, 4875.375, 6090.333333333333, 4126.666666666667, 4667.875, 4882.5, 4582.75, 4060.222222222222, 5220.142857142857, 5263.142857142857, 3454.090909090909, 5272.0, 3654.2, 3398.181818181818, 4159.888888888889, 3958.6, 3420.3636363636365, 4822.5, 3384.2727272727275, 3800.7272727272725, 4100.111111111111, 4166.666666666667, 3780.0, 4612.625, 4848.375, 3655.0, 3870.0, 3436.3636363636365, 3455.2727272727275, 3846.0, 4160.2, 3092.3076923076924, 6218.166666666667, 4317.0, 3490.909090909091, 3463.6363636363635, 3518.181818181818, 3746.4545454545455, 3507.2727272727275, 3225.0, 4213.333333333333, 3780.1, 5281.142857142857, 4275.25, 3285.8333333333335, 4301.6, 3849.2, 4650.0, 3494.3636363636365, 3744.0, 3151.4166666666665, 3523.6363636363635, 5272.285714285715, 3783.9, 2976.923076923077, 4056.0, 3436.3636363636365, 3810.0, 3406.181818181818, 3750.0, 4126.666666666667, 3788.1, 2676.5714285714284, 3407.5454545454545, 4233.333333333333, 4200.0, 4193.333333333333, 4166.666666666667, 3960.0, 3492.090909090909, 4167.444444444444, 3750.0, 3780.2, 4650.0, 4319.777777777777, 4100.111111111111, 4352.333333333333, 4600.0, 3621.818181818182, 4420.0, 5046.75, 3845.6, 3852.0, 5331.428571428572, 4266.666666666667, 3780.0, 3131.0, 4725.0, 6413.5, 4155.333333333333, 5692.857142857143, 4310.111111111111, 4172.777777777777, 3848.1, 4184.9, 4446.666666666667, 4665.0, 3938.6, 3757.2, 3900.0, 3966.0, 3766.7, 5691.428571428572, 4612.625, 3750.0, 4189.0, 3155.0, 5160.0, 5653.571428571428, 5205.833333333333, 4290.0, 4500.0, 4286.666666666667, 6012.333333333333, 4757.857142857143, 4065.5, 3600.0, 4020.0, 1566.142857142857, 3831.4285714285716, 4560.0, 4100.0, 3611.625, 4491.25, 3919.875, 3440.6363636363635, 3686.0, 2515.0, 3075.0, 3343.6363636363635, 3543.8, 3442.75, 3870.0, 3697.5, 3350.0, 3463.2727272727275, 5212.5, 3566.6666666666665, 3500.0, 3156.0, 4105.714285714285, 2850.0, 2713.5333333333333, 3606.0, 5092.5, 3932.7272727272725, 5210.0, 4320.0, 4739.666666666667, 3810.0, 4548.0, 3676.5555555555557, 3713.3333333333335, 4581.818181818182, 3667.5, 3746.6666666666665, 3560.0, 3600.8, 3879.3, 3662.1111111111113, 4289.666666666667, 4193.0, 3386.6666666666665, 2487.6923076923076, 3229.090909090909, 3376.9166666666665, 3769.090909090909, 3512.7272727272725, 5270.0, 3332.3636363636365, 3096.923076923077, 4140.0, 3825.0, 4158.0, 3436.3636363636365, 3485.0, 3006.0, 3290.0, 3654.0, 3480.0, 3517.3636363636365, 5050.0, 3274.777777777778, 3558.0, 3427.5, 3753.875, 3327.1666666666665, 5500.0, 6310.8, 3820.0, 4100.0, 5326.666666666667, 3972.0, 3924.0, 4268.571428571428, 4260.0, 3660.0, 3512.7272727272725, 4257.111111111111, 4098.0, 3648.0, 4266.5, 3040.0, 4311.428571428572, 3431.5454545454545, 2524.285714285714, 3599.6, 3687.3333333333335, 3861.2, 3516.0, 3637.6, 2166.6666666666665, 3180.0, 3029.5454545454545, 3545.4545454545455, 3977.285714285714, 3090.3, 4072.5, 3638.181818181818, 4120.0, 3660.0, 2785.5454545454545, 4020.0, 3678.625, 3746.6666666666665, 3878.5, 3137.7272727272725, 2856.0, 3787.5555555555557, 2970.0, 3856.0, 5980.0, 3891.25, 2863.6363636363635, 4778.666666666667, 4114.285714285715, 3036.5, 4850.0, 5920.8, 3804.125, 3600.0, 4476.142857142857, 2904.0, 3827.25, 5268.25, 5132.0, 3138.4, 2357.1428571428573, 2955.0, 3230.6, 3379.75, 3475.75, 3997.5, 4000.0, 3473.0, 4116.0, 4162.5, 3510.0, 4050.0, 2603.6, 5766.0, 3868.75, 3372.0, 3561.818181818182, 3940.0, 4092.1111111111113, 3367.0, 4397.142857142857, 3354.5454545454545, 3882.25, 3305.909090909091, 2687.5, 3278.181818181818, 3302.1111111111113, 4042.5, 3653.8, 3463.6363636363635, 2879.6923076923076, 2956.3636363636365, 2820.923076923077, 4158.285714285715, 3742.5, 2555.8, 3706.0, 3419.8888888888887, 4242.142857142857, 3072.0, 4242.222222222223, 2795.285714285714, 3424.777777777778, 3207.7, 3181.818181818182, 3432.0, 4414.285714285715, 4157.142857142857, 4965.0, 3753.7272727272725, 2686.153846153846, 5022.857142857143, 5784.0, 4297.5, 4095.0, 3975.0, 3409.090909090909, 2892.3, 4620.0, 5490.0, 2525.0, 4080.4285714285716, 3101.25, 3621.5714285714284, 4770.0, 4695.0, 3036.923076923077, 4002.8571428571427, 2824.285714285714, 3395.8, 4542.857142857143, 3834.375, 3985.714285714286, 4482.0, 4243.142857142857, 3986.6666666666665, 3037.5, 3861.8, 3873.3333333333335, 9631.0, 3326.5454545454545, 2895.5833333333335, 2798.769230769231, 3001.9166666666665, 3050.0, 2824.6153846153848, 3304.4545454545455, 2635.3846153846152, 4185.0, 3709.3, 2897.846153846154, 2820.0, 3497.7272727272725, 2925.5833333333335, 3040.0, 3070.0, 2884.6153846153848, 3300.181818181818, 2652.8571428571427, 3450.0, 3349.090909090909, 2936.230769230769, 3124.6153846153848, 3726.0, 2921.5384615384614, 3500.9, 2990.0, 3390.0, 4000.0, 4088.3333333333335, 3043.6666666666665, 3312.5454545454545, 2520.0, 2960.25, 2552.818181818182, 2874.0, 3014.6666666666665, 2963.2, 4360.0, 3426.6666666666665, 3166.0, 2885.4545454545455, 2754.5454545454545, 3712.25, 2600.0, 3034.1, 2767.6363636363635, 3082.1111111111113, 2832.0, 3180.2, 3405.0, 4193.333333333333, 3751.2, 4002.777777777778, 3092.5833333333335, 3276.1, 2948.230769230769, 3339.818181818182, 2329.4117647058824, 3164.0, 3676.3636363636365, 3001.5454545454545, 3054.0, 3301.8888888888887, 5050.0, 2869.090909090909, 3894.25, 4050.0, 3136.5454545454545, 3359.7272727272725, 3200.0, 3642.2727272727275, 3463.090909090909, 3464.181818181818, 2880.0833333333335, 2742.214285714286, 3589.5, 2854.0, 3675.875, 4028.625, 2284.6923076923076, 3373.3333333333335, 3795.0, 3727.5, 3103.7, 2239.0, 3036.7, 2689.090909090909, 3162.8, 3018.7, 2575.5833333333335, 2367.6923076923076, 3373.4444444444443, 3381.5555555555557, 4036.25, 2740.0, 3433.3333333333335, 3370.3333333333335, 2395.3846153846152, 2649.4545454545455, 2804.9, 3381.0, 2737.7272727272725, 2809.090909090909, 5103.833333333333, 3266.6666666666665, 2057.4285714285716, 2781.818181818182, 2906.8, 3007.9, 3408.6666666666665, 3280.0, 2970.0, 2445.0, 2868.0, 4201.142857142857, 3044.8, 3409.6666666666665, 4126.571428571428, 4088.5714285714284, 3892.5, 3096.0, 2792.7272727272725, 4107.875, 3334.875, 3055.5833333333335, 3882.777777777778, 2884.6153846153848, 2448.0, 3385.0, 3004.6153846153848, 2215.3846153846152, 3637.5, 2470.0, 3226.6666666666665, 3297.0, 4127.571428571428, 2904.2, 2601.181818181818, 3484.0, 3391.5555555555557, 3349.090909090909, 2357.0625, 3100.0, 3125.0, 2880.0, 3025.3333333333335, 4184.571428571428, 2938.9, 3100.2727272727275, 3614.125, 3677.125, 3342.0, 2905.0, 4022.1428571428573, 2911.8, 2727.2727272727275, 2738.181818181818, 4239.142857142857, 2609.4545454545455, 2650.909090909091, 2904.0, 2814.0, 3440.0, 2247.6923076923076, 3576.75, 3120.0, 3220.0, 3260.0, 2266.153846153846, 3370.5555555555557, 3795.0, 2623.6363636363635, 2505.0, 3420.0, 3638.375, 2530.0, 3466.6666666666665, 2255.0, 2344.6153846153848, 3840.0, 2481.818181818182, 2938.3333333333335, 2904.5, 2991.9, 3026.3, 4005.0, 3675.0, 3666.6666666666665, 3096.0, 3365.3333333333335, 2275.3846153846152, 3660.0, 3430.3333333333335, 2771.818181818182, 2991.2, 3129.8888888888887, 3466.6666666666665, 2809.5454545454545, 3369.222222222222, 2451.3076923076924, 3046.6666666666665, 3468.1111111111113, 4732.666666666667, 3045.0, 3820.4, 2843.076923076923, 2567.1428571428573, 2360.0, 3200.0, 2661.818181818182, 3676.75, 3394.1111111111113, 3562.5, 3715.875, 2285.0, 3126.6666666666665, 3405.222222222222, 4530.0, 2691.4285714285716, 3414.5454545454545, 34693.0, 3300.0, 3354.5454545454545, 3145.0, 2670.3636363636365, 3203.3333333333335, 2292.8571428571427, 2224.6153846153848, 2981.0, 3752.875, 3446.6666666666665, 3445.875, 3090.0, 2525.0, 2877.230769230769, 2229.3125, 2480.0, 2815.3846153846152, 3005.0, 2760.0, 4016.4285714285716, 3720.0, 3446.6666666666665, 2964.7272727272725, 3060.0, 3438.4444444444443, 2722.2727272727275, 3080.0, 3585.0, 5943.6, 3200.0, 2580.0, 2861.5384615384614, 2410.5882352941176, 2705.285714285714, 3266.6666666666665, 2733.818181818182, 2601.090909090909, 3082.4444444444443, 3574.0, 4970.0, 3060.0, 3922.5, 2625.0, 3345.3333333333335, 7104.2, 3251.4545454545455, 3080.8333333333335, 3245.4545454545455, 3349.090909090909, 4293.333333333333, 1897.1333333333334, 2640.0, 4333.857142857143, 3735.0, 3475.0, 3031.1, 3316.0, 3877.5, 3520.0, 3402.8888888888887, 2841.818181818182, 2876.230769230769, 4313.777777777777, 3546.5, 3195.0, 3447.2727272727275, 3040.0, 3563.375, 2941.8, 2972.6, 3266.6666666666665, 3050.5, 2814.0, 4123.142857142857, 2728.230769230769, 2907.2727272727275, 2980.9, 3288.0, 3600.0, 3442.222222222222, 3420.0, 3694.875, 3133.3333333333335, 2706.181818181818, 3403.6666666666665, 3079.4, 3017.4, 3308.4444444444443, 2738.181818181818, 3018.0, 2516.4166666666665, 3288.0, 3266.1111111111113, 3294.222222222222, 3970.5, 3673.0, 3166.8, 3772.5, 3825.0, 5658.2, 3240.0, 4087.5555555555557, 3709.6363636363635, 2716.4285714285716, 4080.6, 3822.4, 4380.888888888889, 2911.75, 4830.0, 3583.6363636363635, 3493.6363636363635, 2724.0, 2910.0, 4114.285714285715, 4485.5, 2344.8125, 2875.3846153846152, 3210.0, 3608.9, 2409.8125, 3540.181818181818, 3128.3333333333335, 2824.6153846153848, 2700.0, 2800.5384615384614, 3080.6666666666665, 4731.666666666667, 3363.1, 3442.5, 3977.1428571428573, 3774.5714285714284, 2910.0, 3720.0, 3144.4, 4211.857142857143, 2922.1, 3473.3333333333335, 3084.222222222222, 2532.1666666666665, 2952.0, 2445.4166666666665, 4347.571428571428, 3114.3333333333335, 2982.0, 3116.1, 3066.0, 2898.6363636363635, 3351.1111111111113, 3409.5555555555557, 3705.0, 2745.909090909091, 4228.142857142857, 2045.5714285714287, 2618.181818181818, 2880.0, 3790.625, 2580.6666666666665, 3670.1111111111113, 2285.153846153846, 3859.25, 3140.0, 3546.6666666666665, 4037.1428571428573, 2836.3636363636365, 2273.0714285714284, 3180.0, 2926.1, 2413.846153846154, 3667.5, 2968.3636363636365, 2838.6363636363635, 3526.125, 3187.5, 3825.0, 4052.625, 4248.142857142857, 4095.0, 3420.0, 3566.6666666666665, 2844.0, 2765.818181818182, 2806.222222222222, 3326.6666666666665, 2502.6666666666665, 3027.5, 2434.5833333333335, 3476.4444444444443, 3030.0, 4174.285714285715, 4461.714285714285, 2530.0, 2702.090909090909, 2978.4, 2485.3846153846152, 2037.0666666666666, 2863.0, 4919.166666666667, 3457.0, 3811.0, 3274.4444444444443, 4143.571428571428, 2496.090909090909, 3735.0, 3207.222222222222, 2777.4545454545455, 3605.375, 3523.0, 3500.0, 2677.3636363636365, 4127.571428571428, 4050.714285714286, 2937.0, 3987.75, 3233.1111111111113, 4358.0, 2932.6, 3630.25, 2777.4545454545455, 3476.375, 3250.1111111111113, 2722.5454545454545, 1924.2857142857142, 2465.181818181818, 2332.5384615384614, 2616.25, 1975.4, 4350.857142857143, 2174.0, 3702.8571428571427, 4005.0, 2858.0, 3072.0, 2431.4, 2669.1666666666665, 2057.0, 3514.0, 2241.1666666666665, 2340.2, 2228.5714285714284, 2374.0, 3013.3333333333335, 3300.8571428571427, 3392.714285714286, 2222.5, 2561.5, 1876.4444444444443, 6900.0, 2260.0, 3255.0, 4354.285714285715, 3090.0, 4360.0, 3333.3333333333335, 3020.0, 3892.5, 3180.0, 3366.6666666666665, 4438.0, 4148.571428571428, 4371.428571428572, 4628.571428571428, 2936.3636363636365, 3907.5, 3186.6666666666665, 2792.7272727272725, 3366.6666666666665, 4097.142857142857, 3630.0, 3393.3333333333335, 3220.0, 3840.0, 3412.5, 2540.0, 4860.0, 3840.0, 3667.5, 2796.0, 4930.0, 4122.857142857143, 4080.0, 2940.0, 4157.142857142857, 2886.0, 3891.4285714285716, 4105.714285714285, 2643.0, 4725.5, 3618.0, 3607.5, 2169.230769230769, 1584.7058823529412, 2400.0833333333335, 2420.0, 2210.769230769231, 2280.0, 2345.0, 2569.090909090909, 1998.7857142857142, 3860.75, 3525.0, 2492.7272727272725, 2198.5714285714284, 2355.0, 3000.0, 3407.125, 2498.181818181818, 3810.0, 3113.3333333333335, 3293.3333333333335, 3220.0, 2868.0, 2814.0, 3506.6666666666665, 3825.0, 2601.818181818182, 5060.0, 3840.0, 2809.090909090909, 2270.769230769231, 2149.785714285714, 2476.75, 2672.7272727272725, 2375.0, 2182.1666666666665, 2252.3076923076924, 2260.0, 3254.3333333333335, 3195.0, 3322.5, 4157.142857142857, 3810.0, 2880.0, 2970.0, 3036.0, 2910.0, 3562.5, 4277.142857142857, 2742.0, 3570.0, 3306.6666666666665, 3313.3333333333335, 3300.0, 3985.8571428571427, 2765.4545454545455, 4660.0, 3977.1428571428573, 4057.5, 5030.0, 3626.5, 2890.909090909091, 2247.6923076923076, 3795.0, 2850.0, 3253.3333333333335, 2844.8, 3297.8888888888887, 3562.625, 1965.1333333333334, 3622.5, 3585.0, 2765.4545454545455, 2156.25, 3114.5454545454545, 3330.0, 3682.75, 1443.7, 2029.090909090909, 1928.0, 2130.0, 1518.0, 1923.75, 2181.5, 1481.4736842105262, 2615.5, 1808.5714285714287, 3226.6666666666665, 3280.0, 1976.0, 2385.0, 2510.0, 2183.076923076923, 1912.0, 2689.090909090909, 1920.0, 1944.0, 2082.8571428571427, 2609.090909090909, 2425.714285714286, 2552.4615384615386, 2271.4285714285716, 3882.8571428571427, 2375.0, 2415.5833333333335, 3420.0, 2490.0, 3356.4444444444443, 3649.125, 2615.4166666666665, 2792.7272727272725, 2488.7272727272725, 2694.5454545454545, 2196.923076923077, 1768.0, 2410.0, 3140.0, 2701.0, 2619.2727272727275, 3106.6666666666665, 2107.6923076923076, 2820.0, 1972.0, 1494.0, 2192.0, 1764.7058823529412, 1954.8666666666666, 2118.8571428571427, 1613.3333333333333, 2791.0, 1972.0, 1796.25, 3080.0, 3930.375, 2958.6363636363635, 1980.0, 2017.0, 2525.4545454545455, 3420.0, 1951.5555555555557, 2477.1428571428573, 3040.0, 2212.5, 2330.6666666666665, 3144.0, 1975.7777777777778, 1776.0, 3690.0, 2750.0, 2202.8571428571427, 1602.0, 4125.0, 2790.0, 1335.0, 4470.0, 3015.6666666666665, 3926.6666666666665, 2760.0, 2613.0, 3060.0, 3564.0, 4185.0, 2870.0, 3624.0, 4800.0, 3917.25, 4666.5, 1485.0, 3312.0, 2890.5, 2820.0, 3315.0, 2656.3636363636365, 2781.818181818182, 2983.1, 3500.0, 3222.4, 3386.6666666666665, 3720.0, 2517.6666666666665, 3822.75, 3348.3, 2770.0, 3092.5, 2790.0, 2652.181818181818, 5318.6, 2280.0, 3652.5, 4228.285714285715, 3705.0, 2705.6363636363635, 3408.0, 2842.181818181818, 4388.571428571428, 3783.375, 4380.857142857143, 4360.571428571428, 4970.285714285715, 3348.0, 3240.0, 4465.714285714285, 2595.0, 2854.25, 3340.0, 3832.5, 4354.285714285715, 2868.0, 2525.4545454545455, 2979.0, 3825.0, 4183.714285714285, 3321.3333333333335, 3667.5, 2307.6923076923076, 2565.0, 3168.0, 2754.5454545454545, 2796.0, 2338.6923076923076, 3691.75, 2892.0, 2898.0, 2616.0, 2922.0, 3100.0, 1958.0, 2743.6363636363635, 2064.823529411765, 3630.0, 2142.8571428571427, 2450.0, 3787.5, 2770.909090909091, 3336.0, 4072.5714285714284, 2536.3636363636365, 2146.923076923077, 2147.214285714286, 2700.0, 2796.6666666666665, 3942.8571428571427, 3243.1, 3084.0, 3445.714285714286, 4114.428571428572, 4062.8571428571427, 3313.3333333333335, 3676.25, 3195.0, 2509.090909090909, 3054.0, 2850.0, 1553.3333333333333, 3287.4444444444443, 4012.5, 3984.0, 3795.0, 3246.6666666666665, 3510.0, 2760.0, 3825.0, 3772.5, 3900.0, 4070.1666666666665, 3140.0, 3610.875, 2308.235294117647, 3480.0, 1856.8125, 2760.0, 2040.1764705882354, 3366.6666666666665, 2892.0, 4345.714285714285, 3693.3333333333335, 3360.0, 3992.0, 3907.5, 3198.0, 5544.0, 3772.5, 3847.5, 2798.181818181818, 2700.0, 3705.0, 2283.0, 3097.9, 1935.0, 3246.6666666666665, 3817.5, 2892.9, 2417.1666666666665, 3667.5, 3126.6666666666665, 2475.75, 2947.3, 2293.846153846154, 3652.5, 2515.0, 3218.2, 3426.6666666666665, 2964.2, 3742.5, 2775.0, 2667.2727272727275, 3482.3333333333335, 2844.3, 2197.8571428571427, 2958.0, 3817.5, 2872.2727272727275, 3600.0, 2832.0, 2289.230769230769, 3036.0, 3516.6, 2774.1666666666665, 2020.0, 2765.4545454545455, 3840.0, 2874.0, 2607.7272727272725, 3158.6, 2636.4545454545455, 3380.0, 2030.7692307692307, 3980.0, 3682.5, 3266.6666666666665, 3562.5, 3397.5, 2599.7272727272725, 3350.3333333333335, 4037.1428571428573, 3226.5555555555557, 3113.3333333333335, 3934.285714285714, 4255.571428571428, 4272.285714285715, 4272.142857142857, 2838.0, 2738.181818181818, 3615.0, 3360.0, 3322.5, 3600.0, 2395.875, 3206.6666666666665, 3280.0, 2958.0, 1811.25, 3637.5, 2696.2727272727275, 3206.6666666666665, 3260.0, 2535.0, 3422.3333333333335, 3720.0, 2532.3636363636365, 4588.142857142857, 4105.428571428572, 2710.909090909091, 4256.2, 3573.3333333333335, 3645.0, 3180.7, 2726.0, 2420.0, 3610.0, 3660.0, 3293.3333333333335, 3652.5, 2944.0, 5035.285714285715, 3827.125, 2738.4545454545455, 3481.375, 4333.571428571428, 3857.0, 2675.3636363636365, 5460.0, 2993.3, 2952.0, 2685.818181818182, 2574.5454545454545, 2440.0, 1820.0, 2933.3333333333335, 2300.0, 2610.5, 1752.6875, 2239.076923076923, 1928.5714285714287, 2536.3636363636365, 2112.8571428571427, 3413.3333333333335, 2809.090909090909, 2164.285714285714, 3280.0, 2898.0, 3629.285714285714, 3200.0, 4049.25, 2284.6153846153848, 3103.4444444444443, 2614.818181818182, 1964.6666666666667, 2952.0, 3313.3333333333335, 4131.428571428572, 3668.375, 3229.0, 3729.9, 4860.0, 4103.666666666667, 3200.0, 4106.666666666667, 3523.6363636363635, 3750.0, 3392.7272727272725, 5468.571428571428, 4148.666666666667, 4687.5, 3200.0, 3775.9, 4110.0, 9166.333333333334, 6267.166666666667, 4086.6666666666665, 4100.0, 3744.0, 3882.8571428571427, 3822.8571428571427, 2599.2727272727275, 3233.3333333333335, 2675.0, 2940.0, 2917.1, 3125.8888888888887, 2275.3846153846152, 3577.5, 3615.0, 2942.0, 2743.6363636363635, 3244.3, 4590.0, 4175.857142857143, 3446.6666666666665, 3485.0, 3061.4, 3617.25, 2953.8, 2874.0, 2353.846153846154, 3140.0, 3081.777777777778, 2897.1, 4037.1428571428573, 3559.0, 4072.8571428571427, 3722.75, 2531.090909090909, 3473.3333333333335, 3326.6666666666665, 2454.181818181818, 4158.714285714285, 2623.818181818182, 3985.714285714286, 3592.5, 3562.5, 2727.6363636363635, 2874.0, 3268.5555555555557, 3317.6666666666665, 3259.1111111111113, 4530.0, 3032.1111111111113, 3260.0, 3322.5, 3222.7272727272725, 4177.714285714285, 3030.0, 3367.5, 3495.0, 2873.3333333333335, 3343.875, 2795.4545454545455, 2739.0, 3109.4444444444443, 3280.5, 2964.0, 2970.1, 4760.0, 3608.0, 3605.875, 4169.428571428572, 3525.0, 4630.0, 3690.0, 2820.0, 2786.4545454545455, 4012.0, 3313.3333333333335, 2836.3636363636365, 3652.5, 2940.0, 5060.0, 2929.090909090909, 3720.0, 3200.0, 2958.0, 4157.142857142857, 4200.0, 3301.8888888888887, 2940.0, 3510.0, 3232.0, 2826.2, 3825.0, 2898.0, 2945.2, 3600.25, 2824.1, 4217.142857142857, 4570.0, 5736.4, 7105.0, 4097.142857142857, 3694.75, 3373.5555555555557, 3246.6666666666665, 2425.0, 3106.6666666666665, 3093.3333333333335, 3129.222222222222, 3450.0, 3960.0, 4850.166666666667, 4160.714285714285, 2892.1, 2590.909090909091, 4285.714285714285, 3169.090909090909, 2802.0, 2796.0, 3066.6, 2755.090909090909, 3717.125, 3539.5, 3712.875, 4114.285714285715, 2722.5555555555557, 4071.5714285714284, 2806.3, 4084.1428571428573, 3109.4, 2634.5454545454545, 3042.0, 3638.375, 3622.5, 3018.0, 3900.0, 4442.166666666667, 3273.3333333333335, 2984.6, 2682.0, 3697.5, 3630.0, 3267.777777777778, 3376.25, 3326.6666666666665, 2832.2, 3562.5, 2928.0, 3421.0, 2555.0, 3086.6666666666665, 3086.6666666666665, 2179.0, 2685.6, 3246.6666666666665, 4090.4285714285716, 2321.8333333333335, 3012.0, 2952.0, 2325.25, 4890.0, 2934.0, 2629.090909090909, 3562.5, 2964.0, 3266.6666666666665, 3000.0, 3870.0, 3467.777777777778, 4071.4285714285716, 3892.5, 2545.0, 3472.5, 2764.5454545454545, 4881.5, 3533.3333333333335, 2970.0, 3705.625, 2934.0, 3306.6666666666665, 3763.125, 3382.5, 2904.0, 3346.6666666666665, 3187.5, 3048.0, 2303.9166666666665, 3426.6666666666665, 3018.0, 2187.6923076923076, 2590.0, 2625.0, 2554.1666666666665, 3517.5, 2503.6363636363635, 2832.0, 2486.5833333333335, 2206.153846153846, 2238.5384615384614, 2332.3076923076924, 2420.0, 2616.8333333333335, 2472.5, 3512.7272727272725, 2792.0, 3333.3333333333335, 2478.0, 2306.25, 2453.1666666666665, 2642.0, 3302.3333333333335, 3411.1111111111113, 3024.909090909091, 2665.090909090909, 3240.0, 2940.0, 2252.8, 3166.6666666666665, 3849.5, 2169.8571428571427, 2453.75, 2811.1, 2381.5384615384614, 2856.0, 2340.0, 2440.0, 2972.4444444444443, 2976.0, 2780.0, 2475.0, 2392.0, 2618.3636363636365, 3320.0, 2596.3636363636365, 2689.4545454545455, 2274.153846153846, 3072.0, 2266.153846153846, 2233.846153846154, 2982.0, 2095.714285714286, 2565.0, 2401.818181818182, 2390.0, 3186.6666666666665, 2628.0, 3029.5, 3036.6666666666665, 2625.0, 2607.2727272727275, 2811.7, 3540.0, 2983.5, 3615.0, 2650.909090909091, 3765.0, 3607.5, 3713.375, 4125.0, 3486.1, 2909.3, 2844.0, 2512.9166666666665, 2350.6666666666665, 2753.3333333333335, 2473.0, 2880.0, 2527.909090909091, 7424.25, 3220.0, 2569.2727272727275, 2473.0833333333335, 2164.6153846153848, 2941.0, 2736.0, 3018.0, 3194.8888888888887, 2648.0, 3040.0, 2500.3333333333335, 3118.3333333333335, 3007.6, 2431.75, 3266.6666666666665, 3193.3333333333335, 3106.6666666666665, 2808.5, 3206.6666666666665, 3472.5, 3457.5, 3133.3333333333335, 1973.9285714285713, 2460.0, 2892.0, 2547.2727272727275, 3000.4444444444443, 2590.909090909091, 3141.6666666666665, 2809.090909090909, 2287.0588235294117, 3759.875, 3012.0, 2363.076923076923, 2650.909090909091, 3727.5, 3702.777777777778, 3144.0, 3765.125, 3266.6666666666665, 2940.4, 3420.0, 2453.1666666666665, 3450.3333333333335, 7300.666666666667, 2348.5, 2711.6363636363635, 2196.923076923077, 2612.7272727272725, 2485.0, 2964.8, 2826.0, 2563.7272727272725, 3070.909090909091, 2808.0, 3180.0, 3562.5, 3641.0, 3018.0, 3108.0, 5832.2, 2966.6666666666665, 2480.0, 2540.6666666666665, 3186.6666666666665, 2528.1666666666665, 2850.0, 4251.428571428572, 3366.6666666666665, 3326.6666666666665, 4800.166666666667, 2814.0, 2492.7272727272725, 3000.2, 2928.0, 2997.1, 2912.3, 4525.714285714285, 2620.5454545454545, 3458.222222222222, 3540.0, 3682.5, 2768.6, 4233.857142857143, 2410.0, 3695.625, 3444.1111111111113, 3345.0, 2921.214285714286, 3690.0, 4277.142857142857, 3243.4444444444443, 3280.0, 3246.6666666666665, 3698.25, 2868.0, 2725.0, 2623.6363636363635, 4850.333333333333, 2999.222222222222, 4059.0, 2500.0, 2454.5454545454545, 3033.3333333333335, 3651.4285714285716, 4174.285714285715, 3213.3333333333335, 3613.3333333333335, 2638.3333333333335, 2987.4, 3585.0, 3454.5555555555557, 2920.6363636363635, 4091.714285714286, 4002.8571428571427, 3553.3333333333335, 2970.0, 3615.0, 4237.5, 2828.0, 3615.0, 3131.9166666666665, 2609.7272727272725, 3300.0, 3804.25, 3200.0, 2886.0, 3118.4444444444443, 2776.909090909091, 3340.0, 3358.222222222222, 2590.909090909091, 2661.818181818182, 3180.0, 2650.909090909091, 2392.9166666666665, 3506.6666666666665, 3614.2727272727275, 2863.090909090909, 3353.3333333333335, 3090.0, 2970.0, 2767.909090909091, 3000.0, 3293.3333333333335, 2922.0, 3180.0, 3555.0, 3366.6666666666665, 3589.125, 3280.0, 2610.0, 3086.6666666666665, 3577.5, 3622.625, 3782.375, 3645.0, 4415.875, 3360.0, 3294.2, 5590.0, 3200.1111111111113, 3200.0, 3193.3, 2950.909090909091, 3266.6666666666665, 3024.0, 3652.5, 3056.3, 3200.0, 3292.3333333333335, 3320.0, 3373.3333333333335, 3031.3, 2940.0, 3743.75, 2732.7272727272725, 3400.8888888888887, 3300.0, 3380.0, 3100.6666666666665, 3413.3333333333335, 3544.4444444444443, 4438.5, 2767.3636363636365, 3967.5714285714284, 4020.0, 3266.6666666666665, 2574.5454545454545, 2353.9166666666665, 2674.4166666666665, 4088.5714285714284, 3570.75, 2044.2857142857142, 2993.5, 4140.0, 3817.5, 3087.4, 3872.4285714285716, 4950.833333333333, 3060.0, 2946.0, 3667.5, 3379.6666666666665, 3795.0, 3093.5, 3133.3333333333335, 3126.6666666666665, 2887.9, 2460.0, 2706.0, 2868.0, 3249.222222222222, 2970.0, 4240.285714285715, 2554.6666666666665, 3060.0, 3433.3333333333335, 2989.6, 2487.2727272727275, 2620.818181818182, 2814.5454545454545, 2438.181818181818, 3213.3333333333335, 2994.0, 2732.7272727272725, 7442.5, 2784.25, 2730.0, 3081.3333333333335, 2201.5384615384614, 2683.6363636363635, 2344.6153846153848, 2210.769230769231, 3102.0, 2958.9, 3832.5, 2503.6363636363635, 2848.909090909091, 3521.75, 3333.3333333333335, 3048.0, 2716.3636363636365, 2954.7, 2445.1666666666665, 2552.7272727272725, 3024.4, 4620.0, 3313.3333333333335, 2915.3, 2091.4285714285716, 2916.0, 4011.5714285714284, 2596.3636363636365, 3146.6666666666665, 2950.0, 2806.6666666666665, 2645.4545454545455, 2256.923076923077, 3266.6666666666665, 2375.0, 2580.0, 2278.076923076923, 3486.6666666666665, 2645.4545454545455, 2869.090909090909, 2237.1428571428573, 2928.0, 3120.3333333333335, 3906.5, 3682.5, 3579.75, 3712.5, 3266.6666666666665, 3466.6666666666665, 3466.6666666666665, 5214.166666666667, 3030.0, 3811.625, 3036.0, 2766.0, 4054.285714285714, 5480.0, 3498.75, 3967.5, 3162.0, 1965.4285714285713, 3280.0, 2919.9, 3832.5, 3433.3333333333335, 2610.0, 2541.9166666666665, 2344.6923076923076, 3525.0, 3014.8888888888887, 2375.0, 2365.6153846153848, 2547.0833333333335, 3120.0, 2955.0, 2727.2727272727275, 2363.076923076923, 2672.7272727272725, 2326.153846153846, 2229.230769230769, 2121.4285714285716, 2585.4545454545455, 2536.3636363636365, 2350.0, 2269.4615384615386, 2460.0, 2330.0, 2567.3333333333335, 2877.1, 3020.0, 2830.909090909091, 3166.3, 3408.5454545454545, 2957.8, 3069.0, 3427.777777777778, 3892.5, 3460.0, 3617.0, 3750.0, 2608.4615384615386, 3073.1, 3027.076923076923, 2765.4545454545455, 2749.090909090909, 2320.0, 2934.0, 3386.6666666666665, 2796.9, 2657.3636363636365, 4204.428571428572, 2474.75, 2694.5454545454545, 3380.0, 2425.0, 3280.3, 2370.0, 2991.2, 2413.75, 2921.0, 3825.0, 4218.857142857143, 3817.5, 2721.818181818182, 2444.4545454545455, 3118.1111111111113, 2630.181818181818, 3366.6666666666665, 3502.5, 3030.0, 3605.375, 3555.0, 2449.090909090909, 2395.0, 2878.909090909091, 3305.8888888888887, 4173.333333333333, 4980.0, 4144.0, 3286.6666666666665, 3326.6666666666665, 3450.0, 3060.0, 4157.142857142857, 2580.0, 3346.6666666666665, 3592.5, 3360.0, 3547.5, 2623.6363636363635, 2856.0, 2880.0, 3506.6666666666665, 3495.0, 3840.0, 2410.0833333333335, 3615.75, 2460.0, 3825.5, 5179.166666666667, 4189.0, 2580.0, 4871.166666666667, 3750.0, 4780.0, 2868.0, 3147.3333333333335, 4640.0, 3832.625, 6108.6, 3321.777777777778, 2490.6666666666665, 3360.0, 4452.428571428572, 3787.5, 4226.285714285715, 4285.714285714285, 2607.2727272727275, 4097.142857142857, 3251.1111111111113, 4028.5714285714284, 3396.0, 3344.6666666666665, 3353.1111111111113, 3832.7, 3690.0, 4333.0, 4144.714285714285, 3652.5, 3205.714285714286, 2706.0, 3036.0, 3476.125, 2846.5, 3078.0, 3133.5555555555557, 2503.6363636363635, 4350.857142857143, 3412.5, 3840.0, 4585.714285714285, 2847.2727272727275, 4700.0, 4710.0, 3585.0, 3352.5, 5049.333333333333, 4193.571428571428, 3210.0, 3810.0, 4157.142857142857, 2864.181818181818, 2784.0, 3805.375, 3324.0, 3495.0, 3313.3333333333335, 3721.625, 2312.3076923076924, 3191.6666666666665, 2654.181818181818, 2624.3636363636365, 3742.5, 2369.2727272727275, 3727.5, 3625.5555555555557, 3233.3333333333335, 3705.0, 3788.5714285714284, 4213.428571428572, 3260.6666666666665, 3540.125, 2481.75, 3757.5, 2874.0, 3912.714285714286, 3266.6666666666665, 2988.0, 2844.2, 2510.0, 4037.5714285714284, 3280.0, 3990.714285714286, 3268.8888888888887, 3145.0, 4674.666666666667, 3577.5, 2813.3333333333335, 3553.3333333333335, 4194.25, 4388.571428571428, 4122.857142857143, 2761.3636363636365, 3102.0, 3329.3333333333335, 4489.285714285715, 3550.375, 3667.5, 2733.6363636363635, 4028.8571428571427, 3460.6, 1981.3076923076924, 2886.3, 3166.6666666666665, 2967.2727272727275, 3233.3333333333335, 2555.0, 3100.0, 6368.6, 2563.6363636363635, 2940.0, 3288.0, 3180.0, 3260.0, 3086.6666666666665, 3943.1428571428573, 2572.909090909091, 3442.5, 2622.0, 3472.5, 3487.5, 4070.5714285714284, 3667.5, 3373.3333333333335, 2940.0, 3300.0, 5664.4, 2820.0, 3660.5, 4071.4285714285716, 2994.0, 2780.0, 2972.3, 2916.0, 2905.4, 3825.0, 2772.0, 3006.0, 2988.0, 3652.5, 3810.0, 4302.857142857143, 4208.571428571428, 4088.5714285714284, 4144.6, 7170.0, 3540.0, 3775.5714285714284, 2750.1666666666665, 3384.777777777778, 5144.0, 5484.0, 4548.0, 5880.6, 5097.571428571428, 4864.25, 5620.0, 3702.5, 1890.0, 3557.1428571428573, 3966.0, 6025.714285714285, 4400.0, 3445.0, 3841.0, 4376.555555555556, 5080.25, 4620.0, 2930.923076923077, 7092.0, 5122.5, 3589.090909090909, 6421.166666666667, 5306.142857142857, 3870.0, 6300.0, 5391.428571428572, 4033.3333333333335, 4940.875, 5128.625, 4687.5, 5002.5, 6000.0, 4170.0, 3873.3333333333335, 4133.333333333333, 6960.0, 5014.285714285715, 4193.333333333333, 4740.75, 4127.444444444444, 4193.333333333333, 5160.0, 5144.857142857143, 5451.428571428572, 3834.0, 3472.909090909091, 3897.2, 4561.625, 4101.111111111111, 4842.125, 3690.7272727272725, 4844.5, 3738.0, 3491.2727272727275, 3936.0, 3986.6666666666665, 7459.8, 4140.0, 4552.5, 4466.666666666667, 3469.090909090909, 3335.5454545454545, 5437.285714285715, 4725.0, 5100.0, 4959.375, 4240.777777777777, 4708.625, 4165.222222222223, 4148.777777777777, 4128.3, 6100.333333333333, 5742.857142857143, 4702.5, 5639.571428571428, 3870.7, 4173.333333333333, 4103.111111111111, 4020.3333333333335, 5172.5, 3673.3333333333335, 4206.666666666667, 4717.5, 3842.4, 7788.2, 4575.125, 5305.714285714285, 5442.857142857143, 3900.0, 5640.0, 3321.1666666666665, 3841.2, 5856.0, 3656.3636363636365, 4605.0, 4681.625, 4273.333333333333, 3401.6363636363635, 4957.5, 5513.857142857143, 3458.181818181818, 3509.7272727272725, 3050.1666666666665, 3546.0, 4033.0, 3076.6666666666665, 5271.571428571428, 5271.571428571428, 2870.0, 4140.0, 2020.0, 4380.0, 2242.5, 3182.8888888888887, 2928.3, 4592.428571428572, 2467.7272727272725, 2344.0, 5700.0, 2345.0, 2850.0, 3340.3333333333335, 3328.5555555555557, 3951.4285714285716, 4069.25, 4500.0, 3146.6666666666665, 2928.0, 3558.25, 2841.7272727272725, 4012.5, 2869.0, 2916.0, 2695.0, 2758.6363636363635, 3000.0, 2669.0833333333335, 3057.909090909091, 2726.0833333333335, 2834.2, 2922.0, 2982.0, 3180.0, 2700.0, 2700.0, 4200.0, 4551.428571428572, 3847.625, 3082.625, 3525.0, 3285.0, 3226.777777777778, 2933.3333333333335, 3187.625, 3981.714285714286, 2666.6666666666665, 2784.0, 3226.6666666666665, 4910.0, 3442.5, 4147.714285714285, 2772.0, 3253.3333333333335, 3547.5, 3798.0, 3922.5, 3466.6666666666665, 4730.0, 3001.9, 4441.166666666667, 3600.5, 3480.25, 4098.0, 3720.0, 3142.777777777778, 5109.875, 3180.0, 4080.0, 3173.3333333333335, 3180.0, 3300.0, 2796.0, 3810.0, 3446.6666666666665, 4028.5714285714284, 5030.0, 3832.5, 4080.0, 4285.714285714285, 2868.0, 3000.1, 2779.0, 2796.0, 2540.0, 3917.1428571428573, 2510.0, 2850.0, 3200.0, 2960.1, 3757.625, 3847.5, 3591.4285714285716, 3420.777777777778, 3220.0, 3183.8888888888887, 4114.285714285715, 4000.0, 3750.0, 3757.5, 4200.0, 3266.6666666666665, 3454.0, 3925.714285714286, 4354.285714285715, 3420.875, 3173.3333333333335, 2462.5833333333335, 4054.285714285714, 3394.777777777778, 4166.571428571428, 3637.625, 3393.3333333333335, 3578.5, 3247.777777777778, 2892.0, 2800.0, 3453.3333333333335, 3006.6666666666665, 2916.0, 3037.0, 3555.0, 4005.285714285714, 2570.0, 2904.0, 4936.333333333333, 3524.0, 3046.6666666666665, 3266.6666666666665, 3849.4285714285716, 3400.0, 2852.3, 2972.3333333333335, 3048.0, 3397.5, 3366.6666666666665, 3765.0, 3066.0, 5827.2, 3006.0, 2850.0, 2940.0, 2425.0, 2694.7272727272725, 2352.5, 2501.6666666666665, 3266.6666666666665, 2308.076923076923, 2474.1666666666665, 2475.4166666666665, 3289.4444444444443, 3130.3, 3434.777777777778, 3703.125, 3030.0, 4725.166666666667, 3047.5, 3825.0, 3366.6666666666665, 2952.0, 2596.4545454545455, 2765.4545454545455, 2192.3076923076924, 2569.2727272727275, 2846.0, 2523.8, 2426.5, 3427.5, 2964.0, 2826.6666666666665, 3043.777777777778, 2784.1, 2553.3636363636365, 3233.6666666666665, 2699.5, 3042.0, 3432.0, 3006.777777777778, 4061.0, 3140.1111111111113, 3552.875, 2635.090909090909, 3722.0, 2880.6, 3367.3333333333335, 2904.0, 3024.0, 3742.5, 2905.1, 3608.25, 4071.4285714285716, 3293.3333333333335, 2814.5454545454545, 3832.5, 2964.8, 2730.6363636363635, 2798.4545454545455, 3043.1, 2923.3, 3604.714285714286, 3079.6, 2852.2, 2481.1666666666665, 3000.0, 4251.428571428572, 3540.0, 3560.875, 3663.875, 3532.5, 2970.0, 3251.6666666666665, 2862.0, 4811.571428571428, 3126.777777777778, 3784.125, 3220.0, 2970.0, 2856.0, 2948.3, 2897.285714285714, 3200.0, 2863.6363636363635, 3620.0, 3652.5, 2966.8, 2678.2727272727275, 2994.0, 3450.0, 2952.3, 2590.0, 2802.7, 3600.25, 5342.0, 3282.3333333333335, 2886.0, 3802.5, 3874.285714285714, 3091.1, 3484.777777777778, 3250.5555555555557, 3707.875, 3060.0, 3290.777777777778, 3674.5, 4028.1428571428573, 3002.0, 3570.125, 3683.375, 3104.222222222222, 2269.230769230769, 4365.714285714285, 3615.0, 3042.0, 2950.909090909091, 3033.3333333333335, 3637.5, 3090.0, 3525.125, 4020.0, 2527.4545454545455, 3794.25, 3007.6, 3582.125, 3649.875, 4270.0, 4197.714285714285, 2405.0, 3220.0, 2815.2, 3080.222222222222, 3787.5, 3234.4444444444443, 3849.5, 2700.0, 3286.6666666666665, 2885.0, 2911.5, 2518.0, 3403.3333333333335, 2755.4545454545455, 2863.2727272727275, 4248.571428571428, 3266.6666666666665, 2672.7272727272725, 2445.0, 3432.6666666666665, 3306.6666666666665, 3368.3333333333335, 2595.909090909091, 2940.0, 3240.0, 2970.0, 2481.818181818182, 3435.125, 4148.571428571428, 2880.0, 3450.0, 3403.0, 3622.5, 2940.0, 2738.181818181818, 3612.625, 3297.8888888888887, 3366.6666666666665, 2830.909090909091, 2570.0, 3713.5, 3692.125, 3084.6, 3068.5, 3306.8888888888887, 3410.8888888888887, 3410.285714285714, 2935.5, 3750.0, 3140.0, 3374.222222222222, 2728.090909090909, 3725.875, 3253.3333333333335, 3550.75, 2731.2727272727275, 3120.0, 3717.0, 3354.8888888888887, 3260.0, 4176.0, 3166.8888888888887, 2552.7272727272725, 2420.0, 4443.5, 4153.142857142857, 3386.0, 3760.625, 3373.3333333333335, 3560.25, 3645.0, 3226.6666666666665, 3557.1428571428573, 3280.0, 3788.5714285714284, 3227.6666666666665, 2838.4, 3901.4285714285716, 2445.4166666666665, 2909.7, 3331.8888888888887, 3799.5714285714284, 3750.0, 3060.0, 3600.0, 3428.875, 3206.6666666666665, 2966.6666666666665, 3112.222222222222, 3233.3333333333335, 3985.714285714286, 4282.714285714285, 2203.714285714286, 4537.714285714285, 3692.625, 2053.6428571428573, 3891.625, 3053.3333333333335, 3000.0, 2436.923076923077, 2169.3571428571427, 2973.3333333333335, 2525.4545454545455, 2970.0, 3947.0, 3862.5, 3466.6666666666665, 4050.5, 3513.6666666666665, 3751.625, 4362.428571428572, 5362.2, 3149.5555555555557, 3580.285714285714, 3765.0, 3146.6666666666665, 3402.222222222222, 3313.3333333333335, 2849.2, 2761.4545454545455, 3972.285714285714, 3630.0, 3333.3333333333335, 4400.0, 3645.0, 3735.0, 2455.0, 3493.3333333333335, 3108.1, 2776.181818181818, 2960.0, 3352.5, 4627.5, 3326.6666666666665, 3352.5, 2355.0, 2864.0, 19728.0, 2874.0, 2858.2, 2719.1, 2891.0, 3735.0, 2869.090909090909, 3181.8888888888887, 3222.0, 3292.5, 4152.857142857143, 3156.0, 3901.375, 3173.3333333333335, 3622.5, 3675.0, 4322.285714285715, 3032.1, 3420.0, 3180.1111111111113, 3246.5, 2635.2727272727275, 3140.0, 2952.0, 3022.0, 3167.4444444444443, 3446.6666666666665, 2901.3, 3311.818181818182, 4222.428571428572, 3480.4444444444443, 3340.777777777778, 3404.1, 3200.1111111111113, 3281.5555555555557, 3252.8888888888887, 2995.3333333333335, 3287.6, 3570.0, 2970.0, 2916.0, 2740.0, 2880.0, 3102.0, 3802.5, 3486.0, 3685.1111111111113, 5040.0, 3832.5, 3451.0, 3863.5, 3994.285714285714, 3033.3333333333335, 2781.818181818182, 4209.285714285715, 2994.0, 3540.0, 3578.875, 3952.5, 3175.8, 3692.5555555555557, 3682.5, 5414.0, 3475.7, 2976.0, 3745.125, 3997.5, 2880.0, 4710.333333333333, 3790.875, 3626.6666666666665, 3585.0, 3701.75, 3895.285714285714, 3783.0, 2796.0, 4410.0, 4874.833333333333, 4131.428571428572, 2832.0, 2333.3846153846152, 2629.090909090909, 3399.625, 3637.75, 4281.0, 3006.0, 3426.6666666666665, 2964.0, 3271.8888888888887, 2922.0, 4650.833333333333, 3802.5, 6480.0, 4783.833333333333, 5355.333333333333, 3829.285714285714, 3862.5, 3049.5555555555557, 4976.333333333333, 4422.857142857143, 3533.3333333333335, 4071.4285714285716, 4234.285714285715, 3705.125, 5128.666666666667, 3942.8571428571427, 4088.8571428571427, 3592.0, 6609.25, 2858.181818181818, 2376.1428571428573, 4364.0, 2988.0, 3020.0, 3300.0, 3420.0, 3010.0, 2940.0, 3068.2, 2720.0, 6450.0, 2870.0, 3000.0, 2660.0, 4621.25, 2137.5, 2220.0, 3120.0, 3312.0, 3183.6, 3339.6, 2620.0, 2026.6666666666667, 3360.0, 3336.0, 3038.4, 3180.0, 3228.4, 5040.0, 5500.0, 3900.0, 2970.0, 3730.0, 3487.5, 3653.5, 3300.0, 2904.0, 3106.6666666666665, 4150.0, 2367.2727272727275, 3259.1111111111113, 3609.25, 3014.3, 2820.0, 3480.0, 2672.5, 3297.3333333333335, 3667.5, 3146.6666666666665, 3293.3333333333335, 2832.0, 2661.818181818182, 3247.625, 2623.6363636363635, 2883.9, 2805.6, 4131.714285714285, 4908.5, 3366.6666666666665, 3720.0, 3166.6666666666665, 3150.0, 3772.5, 3322.5, 3462.25, 3070.0, 3607.5, 2863.5555555555557, 2430.0, 3435.5714285714284, 5448.0, 3682.5, 4740.0, 3250.5555555555557, 2767.1, 2719.2727272727275, 3620.0, 3446.6666666666665, 3487.5, 4448.571428571428, 3200.0, 2802.0, 4268.571428571428, 6239.0, 3241.4444444444443, 3346.6666666666665, 5000.0, 3857.285714285714, 3831.4285714285716, 2623.6363636363635, 4277.142857142857, 4063.0, 3600.0, 2220.0, 3093.3333333333335, 6207.25, 2694.5454545454545, 4089.285714285714, 3156.8, 3200.0, 3280.0, 2597.4545454545455, 3300.0, 3943.714285714286, 3153.5555555555557, 3113.3333333333335, 2372.7272727272725, 3677.285714285714, 3684.375, 3181.6666666666665, 3502.5, 3086.6666666666665, 3498.0, 3393.3333333333335, 3246.6666666666665, 2896.3636363636365, 3667.5, 5490.0, 3400.0, 2612.7272727272725, 3682.5, 4148.571428571428, 3393.3333333333335, 3595.75, 2912.7272727272725, 2980.0, 3273.777777777778, 4080.0, 4371.428571428572, 3060.0, 2898.0, 2688.0, 2940.0, 4242.857142857143, 2802.0, 3180.0, 2260.1666666666665, 2766.2, 3233.3333333333335, 3033.3333333333335, 2936.0, 3769.25, 2607.2727272727275, 3742.5, 3768.8571428571427, 3570.0, 3207.5555555555557, 3193.3333333333335, 2636.909090909091, 3240.125, 2766.0, 2623.6363636363635, 3630.0, 3617.125, 2982.0, 2610.0, 3260.0, 3728.5714285714284, 3951.4285714285716, 3922.5, 3100.0, 3675.0, 3397.5, 2629.090909090909, 3308.5, 3213.3333333333335, 5821.8, 4197.0, 3217.5, 2590.909090909091, 3293.0, 3198.0, 3106.6666666666665, 2635.090909090909, 3153.3333333333335, 3622.5, 2838.0, 2880.8, 2400.0, 2928.0, 3440.0, 3233.3333333333335, 3300.0, 2760.0, 2705.4545454545455, 3101.8888888888887, 3509.375, 2772.0, 3415.5555555555557, 3193.3333333333335, 2716.6363636363635, 2760.0, 2921.222222222222, 3200.0, 2743.6363636363635, 4072.0, 3166.6666666666665, 2928.0, 2570.0, 2710.909090909091, 3592.5, 2814.0, 3186.6666666666665, 3735.0, 3247.5, 3690.0, 4200.0, 3024.4, 4149.285714285715, 3600.0, 2198.181818181818, 2833.3, 2770.909090909091, 2820.0, 2856.0, 3487.5, 2574.5454545454545, 3532.5, 5839.4, 2900.0, 4131.428571428572, 3066.6666666666665, 3442.5, 4439.4, 2928.0, 2832.0, 2920.0, 4054.285714285714, 2873.3333333333335, 2611.5454545454545, 3375.0, 2613.0, 4147.5, 3366.6666666666665, 2862.0, 3957.1428571428573, 10211.0, 3390.0, 3958.0, 3186.6666666666665, 2933.3333333333335, 3165.125, 2973.3333333333335, 3562.5, 3182.4444444444443, 3429.4444444444443, 3434.25, 3260.0, 2970.0, 3080.0, 2335.3846153846152, 2909.0, 3807.8571428571427, 3720.0, 3592.5, 4071.4285714285716, 3780.0, 2776.3636363636365, 3352.5, 2457.3333333333335, 3346.6666666666665, 3036.0, 3890.375, 3649.125, 2916.0, 3573.5555555555557, 4371.428571428572, 3930.25, 2541.818181818182, 3253.3333333333335, 2784.0, 3526.375, 2900.0, 2826.0, 5604.8, 4363.0, 3088.4444444444443, 3909.8571428571427, 3146.6666666666665, 2806.6666666666665, 3934.285714285714, 2596.3636363636365, 2612.7272727272725, 3066.6666666666665, 3840.0, 3562.5, 4047.25, 3433.3333333333335, 3442.5, 3870.0, 4277.142857142857, 2856.0, 3947.75, 4250.0, 2849.0, 3712.5, 3511.125, 4295.0, 4057.375, 3082.8, 5982.2, 3266.777777777778, 5208.0, 3549.0, 4540.0, 2977.875, 3054.0, 3060.0, 3735.0, 4876.833333333333, 4046.1666666666665, 3280.0, 3150.222222222222, 2934.0, 4929.333333333333, 3815.8571428571427, 3400.0, 3340.0, 3386.6666666666665, 3645.0, 3097.5, 2778.0, 2863.0, 3129.1111111111113, 3570.0, 3091.6, 2832.0, 4200.0, 3465.0, 4457.142857142857, 3160.0, 4514.833333333333, 3908.5714285714284, 3216.0, 3600.0, 3765.0, 3054.0, 3457.5, 2844.0, 3006.0, 2954.9, 4011.4285714285716, 2770.909090909091, 2880.0, 3990.0, 3622.5, 5776.0, 3637.5, 3615.0, 3465.0, 3690.25, 2858.5, 3920.714285714286, 3446.6666666666665, 3585.5, 3924.2, 2655.0, 4020.5714285714284, 3078.0, 3832.5, 3320.0, 4176.857142857143, 3705.0, 2995.1, 3493.625, 3800.375, 2970.0, 3138.0, 3467.5555555555557, 3400.0, 2498.3636363636365, 3096.0, 3073.3333333333335, 2977.1, 2796.4, 2722.7272727272725, 3340.0, 2844.0, 2585.4545454545455, 3206.6666666666665, 4910.0, 4182.857142857143, 2724.5454545454545, 3040.222222222222, 3069.8888888888887, 4229.142857142857, 4538.333333333333, 2365.0, 2400.0, 2790.0, 3412.5, 2481.818181818182, 3280.0, 3592.5, 3273.3333333333335, 3900.0, 3233.3333333333335, 3346.6666666666665, 2898.0, 3982.5, 3158.5, 3237.0, 2992.5, 3073.3333333333335, 3023.6, 3921.5, 4205.714285714285, 4240.714285714285, 3787.5, 2738.181818181818, 3255.0, 2375.090909090909, 3397.5, 3691.625, 2662.4545454545455, 3757.5, 4906.5, 3794.625, 3206.6666666666665, 3627.125, 3000.0, 4461.333333333333, 4068.8571428571427, 2678.181818181818, 3153.3333333333335, 3406.6666666666665, 2886.1, 3540.0, 2953.6, 3841.0, 3259.5555555555557, 2815.9, 2886.0, 2716.3636363636365, 2987.7, 2718.2727272727275, 2445.0, 3495.25, 3253.125, 2893.3333333333335, 3253.3333333333335, 3320.0, 2862.9, 3400.0, 2724.0, 3233.4444444444443, 4189.857142857143, 3420.0, 2935.0, 3573.3333333333335, 3253.3333333333335, 3817.5, 3193.3333333333335, 3213.3333333333335, 3100.0, 3345.25, 4277.285714285715, 2718.0, 2880.3333333333335, 2505.0, 3206.6666666666665, 3622.5, 3637.625, 3254.6666666666665, 3233.3333333333335, 3021.4, 3174.5454545454545, 4600.166666666667, 3060.1111111111113, 3200.222222222222, 2838.0, 2694.4444444444443, 3042.8571428571427, 3637.5, 2435.0, 4020.0, 2946.0, 3035.8, 3645.0, 3240.0, 3160.777777777778, 4174.285714285715, 2739.5, 2934.0, 2683.6363636363635, 2900.0, 3817.5, 2886.0, 2653.090909090909, 2650.909090909091, 3104.8, 2795.5, 2712.0, 3480.0, 2929.2, 3900.0, 3075.4, 2964.0, 3153.3333333333335, 3600.0, 2550.0833333333335, 4054.4285714285716, 2545.0, 3226.6666666666665, 4222.714285714285, 3733.3333333333335, 2796.0, 3216.3333333333335, 2739.4, 2672.7272727272725, 3771.4285714285716, 3293.3333333333335, 3186.6666666666665, 3750.0, 3645.0, 2485.0, 3186.6666666666665, 2531.090909090909, 3260.0, 3393.3333333333335, 2868.0, 2350.909090909091, 2958.0, 3433.3333333333335, 3260.6666666666665, 3320.0, 2826.6666666666665, 3301.5555555555557, 3120.0, 2802.0, 3547.5, 3420.1111111111113, 3293.3333333333335, 3000.0, 2808.2, 3087.5555555555557, 2874.4444444444443, 2236.3636363636365, 4128.285714285715, 2514.818181818182, 3495.0, 2622.0, 2477.6666666666665, 2537.909090909091, 2645.5454545454545, 3592.5, 2871.4285714285716, 4610.0, 5705.2, 2284.6153846153848, 3511.375, 3555.0, 2851.2, 3435.777777777778, 3397.5, 3157.0, 2836.3, 2790.0, 2360.0, 3173.3333333333335, 3180.0, 3233.4444444444443, 3285.222222222222, 2333.1666666666665, 3236.3333333333335, 4167.714285714285, 4174.285714285715, 3246.6666666666665, 3233.3333333333335, 3303.0, 2790.0, 3228.5555555555557, 3077.1111111111113, 3000.0, 2243.076923076923, 3233.3333333333335, 2958.0, 2958.0, 3000.0, 2420.0, 3246.6666666666665, 3334.5714285714284, 3048.0, 3547.5, 2743.6363636363635, 3133.5555555555557, 2507.3636363636365, 2616.1, 3913.5714285714284, 3077.3, 3338.222222222222, 3040.0, 2712.0, 3011.2, 3146.6666666666665, 2410.0, 2657.8333333333335, 2494.285714285714, 4014.25, 3097.6, 3492.0, 4095.5, 2617.1666666666665, 2949.0, 3009.4, 3204.0, 2964.0, 2376.0, 3990.0, 2610.0, 2708.2, 2928.0, 3084.0, 3120.0, 2192.5, 3000.0, 3288.2, 6440.0, 3120.0, 2161.4285714285716, 2770.0, 3492.0, 4725.0, 3420.0, 2850.0, 2954.6666666666665, 3480.0, 2554.285714285714, 2820.0, 2826.1666666666665, 3233.2, 4024.25, 3080.0, 4110.0, 3276.0, 5234.5, 3519.4, 3192.0, 2674.285714285714, 2527.5714285714284, 2511.4285714285716, 3540.0, 4350.0, 2989.6666666666665, 2772.0, 3420.2, 2633.3333333333335, 2520.0, 2460.0, 2412.0, 2720.0, 1958.125, 3552.0, 2831.4, 2950.0, 2562.8571428571427, 3444.0, 3432.0, 3475.5, 3468.0, 2605.714285714286, 3549.0, 4054.285714285714, 3473.875, 2918.181818181818, 3720.0, 3766.75, 3540.0, 3683.25, 2813.3, 3386.6666666666665, 2980.0, 5380.0, 2910.0, 2820.0, 3456.0, 4275.0, 2588.5714285714284, 2488.0833333333335, 3763.0, 4106.0, 2689.090909090909, 3727.5, 2976.0, 2574.5454545454545, 2420.25, 2463.6666666666665, 2730.6, 3252.0, 2245.714285714286, 3132.0, 2627.6666666666665, 2830.0, 3540.0, 2620.6363636363635, 2787.2727272727275, 3173.1111111111113, 3061.1, 3198.0, 2337.5384615384614, 3213.3333333333335, 3629.75, 4068.714285714286, 2125.714285714286, 3900.5714285714284, 3378.625, 2275.3846153846152, 3283.4444444444443, 2749.090909090909, 3156.777777777778, 3637.625, 3491.8888888888887, 2563.6363636363635, 2814.0, 2580.0, 3106.6666666666665, 2898.0, 3160.222222222222, 2475.0, 2838.0, 2526.0, 3139.777777777778, 3360.0, 2946.0, 2513.0833333333335, 3247.222222222222, 2850.0, 2650.909090909091, 2910.0, 3930.0, 2453.75, 2389.181818181818, 3080.0, 2580.0, 2820.2, 4640.333333333333, 1947.6923076923076, 3506.625, 2988.0, 2484.3333333333335, 2874.0, 3517.5, 3375.4444444444443, 3637.625, 3160.1111111111113, 2794.714285714286, 2639.818181818182, 2727.2727272727275, 2672.7272727272725, 3390.0, 2535.4166666666665, 2634.5454545454545, 3513.3333333333335, 2520.0, 3791.125, 2781.818181818182, 3368.3333333333335, 3533.3333333333335, 2565.5, 3420.0, 4850.166666666667, 2960.5, 3054.0, 2718.0, 3280.0, 2293.846153846154, 3761.625, 3333.6666666666665, 3300.4444444444443, 3152.4, 3675.0, 2150.769230769231, 2696.909090909091, 2460.0, 2430.0, 2974.0, 2344.6153846153848, 2645.5454545454545, 2741.5454545454545, 2808.0, 2629.818181818182, 3248.1111111111113, 2814.5454545454545, 2634.5454545454545, 3023.8, 4637.666666666667, 2940.0, 2533.090909090909, 3882.8571428571427, 2886.0, 3597.625, 2969.1111111111113, 3259.4444444444443, 3150.0, 2645.5454545454545, 2006.6666666666667, 3552.0, 2700.0, 4445.25, 3140.0, 2137.5, 2960.0, 2650.0, 2700.0, 5560.0, 2266.230769230769, 3293.3333333333335, 3240.0, 2793.3333333333335, 3086.6666666666665, 2986.6666666666665, 3366.6666666666665, 3396.0, 2820.0, 2107.5, 2425.714285714286, 4920.0, 2348.5714285714284, 2791.0, 3113.0, 3396.0, 3722.125, 2928.0, 2852.7272727272725, 3173.3333333333335, 4450.0, 3293.3333333333335, 3637.625, 2490.0, 2430.4285714285716, 5380.0, 2700.0, 4300.0, 3444.0, 2511.4285714285716, 4420.0, 4170.0, 5798.0, 3276.0, 3050.0, 3130.0, 3165.0, 3408.0, 3516.0, 2528.5714285714284, 2277.0, 2468.5714285714284, 2442.8571428571427, 3020.0, 2085.25, 1980.0, 2137.5, 2320.0, 2831.714285714286, 2908.1666666666665, 2640.0, 3742.7272727272725, 1900.0, 2443.0, 2525.285714285714, 3196.5, 2113.3333333333335, 1772.4444444444443, 5070.0, 2451.4285714285716, 2800.0, 1897.4444444444443, 3130.0, 3048.0, 2228.5714285714284, 3083.1666666666665, 2610.0, 2710.8333333333335, 2610.0, 3432.0, 3814.285714285714, 3166.6666666666665, 2820.0, 3691.625, 2720.0, 2680.0, 3055.3333333333335, 3548.5714285714284, 3893.4, 2212.5, 2117.1428571428573, 2940.0, 2647.3333333333335, 2943.2, 2880.0, 2700.0, 2228.5714285714284, 3022.9, 3675.0, 4692.666666666667, 3266.6666666666665, 3427.5, 3146.8888888888887, 4319.0, 2824.7, 2407.0833333333335, 2470.285714285714, 2451.4285714285716, 3964.0, 4185.0, 2928.0, 3840.0, 3484.2, 2959.1, 3266.6666666666665, 2956.7, 3313.3333333333335, 2920.0, 3173.3333333333335, 2982.0, 2499.75, 4413.2, 4120.0, 2700.0, 3384.0, 3550.909090909091, 2820.0, 3756.0, 3560.0, 2889.5, 2345.0, 3545.818181818182, 2972.7272727272725, 2634.0, 2500.0, 3592.75, 3100.5555555555557, 2880.0, 3053.3333333333335, 4449.285714285715, 5720.333333333333, 3770.8, 3340.0, 5441.8, 3420.0, 2904.0, 3757.5, 3279.4444444444443, 3453.125, 4071.4285714285716, 3985.714285714286, 3191.1111111111113, 3947.375, 4108.571428571428, 3268.222222222222, 3615.0, 3645.25, 3360.375, 2503.6363636363635, 2904.0, 3672.5, 3607.5, 2772.0, 3457.5, 2525.0, 3915.0, 2886.0, 2415.0, 4570.333333333333, 2694.5454545454545, 3355.8888888888887, 3645.0, 4208.571428571428, 3600.0, 3649.0, 3306.6666666666665, 4773.333333333333, 3146.6666666666665, 2678.181818181818, 2707.3636363636365, 2700.0, 2900.0, 3562.5, 3043.6363636363635, 3086.6666666666665, 2062.4615384615386, 3637.5, 3337.5, 2479.6666666666665, 2470.0, 2898.0, 3600.375, 3266.6666666666665, 2391.8333333333335, 4055.285714285714, 2874.0, 3909.1666666666665, 2953.5, 1928.5714285714287, 2187.6923076923076, 2647.5, 2590.909090909091, 2856.0, 3412.5, 3523.0, 3727.5, 2862.5, 6108.0, 4165.571428571428, 3951.4285714285716, 3960.0, 3030.0, 4105.714285714285, 3108.0, 3600.625, 3600.0, 3306.1111111111113, 4020.0, 2966.6666666666665, 3173.3333333333335, 2850.0, 2467.9166666666665, 3042.3, 2499.75, 2575.909090909091, 3366.6666666666665, 3412.5, 2914.2727272727275, 3917.1428571428573, 3126.0, 3220.0, 2700.0, 4716.666666666667, 2550.0, 3018.3, 3167.6666666666665, 2705.4545454545455, 2850.0, 2201.5384615384614, 3260.8888888888887, 4303.833333333333, 2832.0, 2607.2727272727275, 3964.8571428571427, 3520.0, 4228.375, 4150.571428571428, 3170.3636363636365, 3219.4444444444443, 3615.0, 2880.0, 3548.75, 3309.777777777778, 4008.5, 3153.3333333333335, 2585.4545454545455, 3855.0, 3162.0, 3266.5555555555557, 3517.5, 3555.0, 3510.0, 3493.3333333333335, 4150.428571428572, 3116.0, 2928.0, 3464.75, 2556.25, 3096.0, 2612.7272727272725, 2458.5454545454545, 3093.3333333333335, 2776.3636363636365, 5010.5, 2490.0, 4372.75, 3988.5714285714284, 3200.0, 3260.0, 4397.142857142857, 3622.5, 3400.6666666666665, 4254.0, 3540.0, 3814.285714285714, 2727.2727272727275, 3427.5, 2966.6666666666665, 2892.0, 2629.090909090909, 4063.285714285714, 3258.0, 4901.166666666667, 5040.333333333333, 4916.2, 3555.0, 3360.3333333333335, 5122.166666666667, 2868.9166666666665, 3793.75, 2790.6363636363635, 3606.3333333333335, 3225.0, 3803.875, 3615.0, 2973.3636363636365, 4821.166666666667, 3433.3333333333335, 5711.0, 3447.777777777778, 2930.0, 2613.181818181818, 2547.2727272727275, 3191.222222222222, 2937.0, 2520.0, 2636.3636363636365, 3012.0, 5110.0, 2970.0, 4268.571428571428, 4242.857142857143, 3145.6666666666665, 4208.571428571428, 4275.0, 4281.142857142857, 3150.0, 3012.0, 2838.8, 3900.0, 3577.5, 3286.6666666666665, 3900.0, 3051.222222222222, 2742.0, 2820.0, 3555.375, 3413.1111111111113, 3528.5, 2610.0, 3735.0, 3772.5, 3234.0, 3149.6666666666665, 3382.75, 3088.6, 4261.666666666667, 3157.777777777778, 2853.4, 3204.0, 3662.125, 3780.0, 2400.0, 3647.375, 3333.3333333333335, 3280.4444444444443, 4251.428571428572, 3547.5, 3586.5, 3607.5, 4660.0, 3036.0, 6814.25, 3855.0, 4028.25, 3193.3333333333335, 2994.0, 4062.8571428571427, 2929.0, 2730.6363636363635, 3000.2, 2750.0, 3473.3333333333335, 4790.166666666667, 3314.777777777778, 2916.0, 3173.3333333333335, 3400.0, 3279.6666666666665, 3802.5, 4131.428571428572, 2416.3636363636365, 3360.5555555555557, 2310.0, 3303.0, 3314.0, 3493.0, 3600.0, 3527.1111111111113, 3951.714285714286, 6767.75, 3478.5555555555557, 3949.0, 4917.333333333333, 3645.1428571428573, 4193.142857142857, 3780.0, 3422.3333333333335, 2792.090909090909, 3738.625, 3765.0, 2621.7272727272725, 3573.375, 2667.7272727272725, 4200.857142857143, 3180.0, 3540.0, 3615.0, 2514.5454545454545, 3485.625, 3425.25, 3754.25, 2103.75, 3313.3333333333335, 3855.0, 4020.0, 4910.0, 3360.0, 3909.4285714285716, 3900.0, 3877.5, 4637.142857142857, 3600.25, 3301.5555555555557, 3317.4444444444443, 4728.166666666667, 3124.5555555555557, 4028.5714285714284, 5883.6, 3496.3333333333335, 4147.714285714285, 4448.571428571428, 3750.0, 3273.3333333333335, 2814.0, 3463.75, 3757.5, 3112.5, 2796.0, 4114.285714285715, 3173.3333333333335, 3363.125, 3270.0, 3487.5, 4370.0, 3577.5, 4449.857142857143, 3026.8, 3862.5, 4688.571428571428, 2845.3846153846152, 2436.923076923077, 2152.9411764705883, 2775.230769230769, 2916.0, 2335.0625, 2291.25, 2530.0, 2858.7, 3292.5, 2510.0, 3024.0, 2520.0, 2170.5882352941176, 2456.0, 2525.0, 2884.5, 2355.0, 2396.0, 2694.5454545454545, 2661.818181818182, 2500.0, 2154.3571428571427, 2910.1, 4054.285714285714, 2704.285714285714, 3005.3, 3036.9, 1953.3333333333333, 2445.0, 3327.2727272727275, 2577.076923076923, 2825.0, 2060.0, 2282.6875, 2892.0, 3069.0833333333335, 2420.0666666666666, 2440.6, 2927.4545454545455, 2500.0, 2838.7272727272725, 2783.153846153846, 2550.818181818182, 3150.6, 2344.5625, 2391.8125, 2436.923076923077, 3366.6666666666665, 2948.181818181818, 2953.7, 2888.0, 2373.0, 3446.6666666666665, 2656.3333333333335, 3156.4, 3107.4, 2812.090909090909, 2865.2727272727275, 3153.5, 3060.6, 2577.6666666666665, 2172.8571428571427, 3078.0, 3485.0, 4162.5, 2413.846153846154, 2008.3333333333333, 2757.090909090909, 3122.8, 2990.769230769231, 2781.818181818182, 2575.5833333333335, 2890.909090909091, 2694.818181818182, 2500.0, 2960.1, 2669.0, 2087.214285714286, 3233.4444444444443, 2287.923076923077, 2540.0, 4174.857142857143, 2243.076923076923, 2910.1, 2689.7, 2178.4615384615386, 2409.230769230769, 2262.3846153846152, 2676.5454545454545, 2892.0, 2389.8333333333335, 2274.214285714286, 2983.4, 2158.3076923076924, 2078.6428571428573, 2451.9166666666665, 2430.0, 3117.3, 3699.25, 2645.5454545454545, 2700.0, 2096.3846153846152, 2215.3846153846152, 2080.0, 2418.6666666666665, 2472.0, 2629.090909090909, 2445.0, 3275.8888888888887, 2472.1666666666665, 2410.0, 2024.0, 2100.0, 2742.0, 4071.4285714285716, 3555.0, 3533.3333333333335, 2820.0, 5878.2, 3375.0, 3570.0, 3285.0, 2727.2727272727275, 3353.3333333333335, 2700.0, 4577.142857142857, 2939.3, 2383.75, 4890.666666666667, 2618.181818181818, 3072.0, 3874.714285714286, 3000.0, 3472.75, 4700.0, 2309.6923076923076, 3160.0, 6253.6, 3293.3333333333335, 3225.0, 2958.8, 3373.3333333333335, 4020.0, 3720.0, 3675.0, 4400.0, 3600.0, 3487.5, 3780.0, 3675.0, 3360.0, 3393.3333333333335, 3846.5714285714284, 3985.714285714286, 4158.714285714285, 3072.0, 3280.0, 2820.0, 3570.0, 3125.0, 2550.0, 3755.7, 3411.4285714285716, 2580.0, 2781.818181818182, 2161.285714285714, 4240.0, 3702.125, 2202.769230769231, 3036.0, 3087.6, 3072.0, 2778.0, 2990.0, 2649.230769230769, 4016.777777777778, 2862.0, 1736.25, 3474.0, 2470.5833333333335, 4200.0, 2535.0, 2755.3846153846152, 2490.0, 3679.1, 2963.0, 3467.6363636363635, 2946.0, 3450.0, 2682.8571428571427, 2784.4, 3860.0, 2550.0, 3008.5, 3043.7, 2949.2, 2412.818181818182, 2490.1666666666665, 2395.5833333333335, 4760.0, 4946.666666666667, 2874.0, 1972.0, 2523.3846153846152, 2117.1428571428573, 3453.3333333333335, 2515.3846153846152, 2803.6363636363635, 2580.0, 3108.0, 2595.0, 4122.857142857143, 1852.9411764705883, 3280.0, 3435.1111111111113, 3264.0, 3361.3333333333335, 2604.0, 3353.4, 3380.0, 3366.6666666666665, 2134.285714285714, 2498.1666666666665, 3502.1111111111113, 3366.6666666666665, 3233.3333333333335, 2295.0, 3278.181818181818, 3186.0, 3735.0, 3066.6666666666665, 2781.818181818182, 2575.0, 2480.0, 7388.75, 3192.0, 2672.7272727272725, 2645.0, 2490.0, 2569.090909090909, 2238.4615384615386, 3286.6666666666665, 2600.0, 3186.6666666666665, 2439.5384615384614, 3000.0, 3406.6666666666665, 2400.0, 2565.0, 2600.5454545454545, 2240.1666666666665, 3180.0, 3050.0, 3393.3333333333335, 2682.0, 3822.8571428571427, 2784.0, 2667.2727272727275, 2416.3636363636365, 3137.625, 3090.0, 2866.6666666666665, 2717.4545454545455, 2478.0, 2961.8571428571427, 4690.0, 2640.0, 2906.6666666666665, 2058.4615384615386, 3248.222222222222, 2372.7272727272725, 2270.769230769231, 3328.4285714285716, 2574.5454545454545, 2786.6666666666665, 2371.714285714286, 3134.6666666666665, 3411.4285714285716, 3082.5, 3762.8571428571427, 4165.714285714285, 2778.0, 2313.0, 2832.0, 4328.571428571428, 3149.1111111111113, 2611.3636363636365, 2040.2666666666667, 2401.3333333333335, 3745.714285714286, 2315.0, 2841.818181818182, 2100.0, 3651.4285714285716, 5664.0, 2228.714285714286, 2640.0, 2800.0, 3351.4285714285716, 3173.3333333333335, 2438.181818181818, 3825.0, 3412.5, 4500.0, 3266.6666666666665, 3060.0, 4234.285714285715, 3066.6666666666665, 2958.0, 2847.2727272727275, 5781.4, 3000.0, 4300.166666666667, 2585.0, 2694.0, 6180.0, 4285.714285714285, 2850.0, 2890.909090909091, 3433.3333333333335, 3060.0, 3825.0, 3300.0, 2672.7272727272725, 4012.5, 3000.0, 4414.285714285715, 3433.3333333333335, 2142.8571428571427, 3366.6666666666665, 4900.0, 2065.714285714286, 1200.0, 2070.0, 1886.25, 2276.153846153846, 2143.5384615384614, 1725.8823529411766, 2568.0, 1173.6, 1639.7058823529412, 1917.25, 1956.0, 2355.0, 1562.4444444444443, 1580.0, 2165.0, 2104.285714285714, 2416.818181818182, 1430.15, 1385.4545454545455, 1924.6666666666667, 2753.5, 1970.7692307692307, 1803.5294117647059, 2207.1666666666665, 1858.25, 1332.0, 1830.0, 1837.5, 1844.0, 2224.6153846153848, 1732.05, 1407.0, 1529.2631578947369, 1673.3333333333333, 1750.5882352941176, 1712.2941176470588, 1325.4545454545455, 1824.7058823529412, 1695.0, 1778.8235294117646, 1876.0, 1170.0, 1601.4736842105262, 1845.0, 1976.0, 3668.5714285714284, 2580.0, 3270.0, 3000.0, 2475.0, 2794.0, 4008.0, 3220.0, 4325.0, 2892.0, 2614.285714285714, 3071.1666666666665, 3170.0, 2295.0, 2674.285714285714, 2825.3333333333335, 2910.0, 3280.5, 2554.285714285714, 3964.8, 2940.0, 3551.8, 2700.0, 2152.5, 2760.0, 3751.4, 2690.285714285714, 2970.0, 2618.2727272727275, 3060.0, 2752.5, 2033.888888888889, 2555.0, 2950.0, 2378.5, 3200.0, 2398.0, 2810.0, 2502.8571428571427, 2235.0, 2922.8571428571427, 2562.1428571428573, 3048.5, 3600.0, 2212.5, 4785.0, 3444.0, 3636.0, 2951.3333333333335, 1966.6666666666667, 2528.5714285714284, 6200.0, 3084.0, 4218.5, 2287.5, 3544.2, 3660.0, 3020.0, 2520.0, 4560.25, 2182.5, 3578.6, 3120.0, 2489.5714285714284, 3480.0, 5652.666666666667, 3372.0, 4349.25, 3900.0, 5600.0, 2250.0, 3020.0, 3396.0, 2402.4285714285716, 3350.0, 1966.6666666666667, 3789.0, 2228.0, 2212.5, 2442.8571428571427, 2070.0, 3130.0, 2485.714285714286, 2212.5, 3040.0, 2956.5, 2605.714285714286, 2053.3333333333335, 2900.0, 2614.8571428571427, 2152.5, 2100.0, 2720.0, 2332.5, 2461.714285714286, 2025.25, 3216.6, 3434.4, 3080.0, 2850.0, 2280.0, 3372.0, 2703.1666666666665, 2486.285714285714, 2205.0, 2340.0, 3588.0, 2658.285714285714, 2443.285714285714, 2680.0, 2902.6666666666665, 1920.5555555555557, 2861.0, 3020.0, 2588.5714285714284, 2571.4285714285716, 4209.5, 3060.0, 5760.0, 4162.0, 3588.0, 4641.75, 3859.0, 4275.0, 2964.0, 5706.333333333333, 3739.6, 3456.0, 3516.0, 2365.714285714286, 5360.0, 3228.0, 5422.666666666667, 4170.0, 5600.0, 4394.2, 4560.0, 2725.714285714286, 3358.0, 5720.333333333333, 3140.0, 3350.0, 3492.0, 4632.0, 1560.0, 4283.75, 2100.0, 1950.0, 2040.0, 2527.75, 1920.0, 2060.1111111111113, 2920.0, 2528.5714285714284, 2186.6666666666665, 2062.5, 3060.0, 1668.0, 3666.4, 1752.0, 3030.0, 1652.5, 2016.0, 4305.0, 1663.6363636363637, 4275.0, 1962.2222222222222, 1846.6666666666667, 3243.8333333333335, 1483.6363636363637, 3747.2, 3624.0, 1633.3333333333333, 2674.285714285714, 1808.4545454545455, 2212.5, 3634.0, 1503.3, 2517.0, 1890.0, 3036.5, 4320.0, 4455.25, 3372.0, 2295.0, 3501.8, 3536.6, 4275.0, 2245.714285714286, 3120.2, 3090.0, 2850.0, 3828.0, 3828.0, 2520.0, 2190.0, 5744.333333333333, 2830.0, 2727.1666666666665, 2794.285714285714, 2152.5, 2686.285714285714, 2574.25, 3000.0, 3425.0, 1940.0, 2561.714285714286, 3900.0, 2900.8333333333335, 2338.1428571428573, 3300.0, 2597.1428571428573, 2177.1428571428573, 2760.0, 2314.285714285714, 3456.0, 2580.0, 3071.8333333333335, 3300.0, 1880.0, 3096.0, 2093.3333333333335, 1977.3333333333333, 2391.4285714285716, 2780.0, 2905.714285714286, 2740.4285714285716, 2700.3333333333335, 2533.3333333333335, 2927.1428571428573, 2322.8571428571427, 3201.8, 2780.0, 2554.285714285714, 2930.0, 2190.0, 2162.0, 3000.0, 2545.714285714286, 2314.285714285714, 2535.285714285714, 2700.3333333333335, 2145.125, 3060.0, 2868.6666666666665, 3130.0, 2742.3333333333335, 2588.5714285714284, 2699.8571428571427, 2325.0, 3094.285714285714, 2271.8571428571427, 1860.0, 2673.8333333333335, 2408.5714285714284, 3924.0, 2890.0, 2073.3333333333335, 4080.0, 2770.0, 2111.5, 2620.8571428571427, 2151.4285714285716, 2537.1428571428573, 2250.0, 2480.8571428571427, 2460.0, 3780.0, 2302.5, 2190.0, 2580.0, 2570.0, 1646.6666666666667, 2520.4285714285716, 2468.5714285714284, 2571.4285714285716, 3537.8, 2382.8571428571427, 2580.0, 1800.0, 3310.0, 4552.0, 2537.1428571428573, 2040.0, 2462.0, 2571.4285714285716, 3427.0, 2900.0, 2590.0, 2073.3333333333335, 2814.5, 4847.5, 2770.0, 3483.6, 2840.0, 2764.1428571428573, 3795.0, 3552.0, 2801.3333333333335, 3144.0, 2227.5, 2840.0, 4919.0, 2990.0, 2340.0, 2580.0, 2297.1428571428573, 2580.0, 2979.3333333333335, 2972.5, 4005.0, 2124.0, 2860.0, 2850.0, 2571.5714285714284, 2854.8333333333335, 2440.0, 3246.4, 3684.0, 4560.0, 2833.5, 1920.0, 1673.3333333333333, 3720.0, 2567.285714285714, 2741.8333333333335, 2750.0, 5729.666666666667, 3220.0, 2272.5, 1884.0, 2931.4285714285716, 2600.0, 3615.25, 1957.5, 2640.2, 3408.0, 5560.0, 2262.8571428571427, 1777.5, 3496.0, 3660.0, 3552.0, 2950.0, 3192.0, 4350.0, 2725.714285714286, 3000.0, 2554.285714285714, 2185.0, 3900.0, 3744.5, 3720.0, 5940.0, 3735.5, 4143.75, 2525.0, 3300.0, 2614.285714285714, 1912.5, 3150.0, 2667.2727272727275, 2400.0, 4485.0, 4487.25, 2302.5, 2665.714285714286, 3412.5, 2185.714285714286, 4176.0, 2800.0, 1815.125, 1912.375, 3180.0, 3444.0, 2265.0, 2913.5, 2910.0, 2691.4285714285716, 4200.5, 3108.0, 1826.6666666666667, 2014.2857142857142, 1906.6666666666667, 2000.0, 1920.0, 2791.2, 3276.1666666666665, 3372.0, 2700.0, 1906.6666666666667, 4401.25, 2871.6666666666665, 2784.0, 1478.1818181818182, 3558.4, 2940.0, 3020.0, 1535.0, 3360.2, 5835.666666666667, 2860.0, 2657.1428571428573, 1550.0, 2164.5, 4215.0, 2605.714285714286, 1410.0, 2475.0, 3346.2, 2451.4285714285716, 3480.0, 1853.3333333333333, 1965.0, 5973.333333333333, 4362.0, 2297.1428571428573, 2451.5714285714284, 2930.0, 2620.1666666666665, 3010.0, 1993.3333333333333, 2678.181818181818, 2645.4545454545455, 2820.0, 2778.0, 4297.571428571428, 2466.0833333333335, 3650.25, 2157.923076923077, 2676.7272727272725, 2434.181818181818, 3079.5, 2349.230769230769, 3251.9, 3287.4444444444443, 3263.777777777778, 2420.0, 2376.923076923077, 3231.9, 3381.6, 2410.3076923076924, 2275.846153846154, 3539.8888888888887, 3719.125, 2727.2727272727275, 2796.0, 2729.818181818182, 3084.777777777778, 2373.5833333333335, 2732.7272727272725, 2937.1, 3260.0, 2526.25, 2917.3636363636365, 2307.6923076923076, 3012.1, 2414.076923076923, 2678.181818181818, 2920.8, 2974.6, 3389.5555555555557, 3319.6666666666665, 3735.0, 3491.4444444444443, 3069.2, 4449.285714285715, 3455.6666666666665, 3693.25, 3029.5, 2540.8333333333335, 3540.0, 3168.0, 2740.818181818182, 2777.181818181818, 4618.714285714285, 2909.090909090909, 3210.3333333333335, 6062.2, 2460.0, 3122.0, 2588.9166666666665, 2534.769230769231, 3839.5, 2869.090909090909, 3480.0, 2754.5454545454545, 2121.4285714285716, 4567.5, 2847.2727272727275, 3585.0, 3373.3333333333335, 2267.0, 2500.0, 2672.7272727272725, 2710.909090909091, 3090.0, 2683.6363636363635, 3600.25, 2772.4545454545455, 3006.0, 2289.6153846153848, 4054.285714285714, 3169.1, 2176.5, 2470.0, 2790.0, 2345.0, 2724.0, 2505.0, 2121.4285714285716, 3138.0, 2415.3076923076924, 3297.4, 3228.0, 2809.090909090909, 3187.777777777778, 3042.0, 2307.6923076923076, 2700.0, 3150.0, 2749.090909090909, 2044.2857142857142, 3060.0, 2814.5454545454545, 2892.0, 4670.0, 2940.0, 2940.0, 3041.9, 3423.8888888888887, 4890.5, 3234.9, 3406.6666666666665, 3825.0, 2918.181818181818, 2785.5454545454545, 3325.1111111111113, 3206.6666666666665, 3901.625, 3386.6666666666665, 3566.6666666666665, 3806.75, 2781.818181818182, 2727.2727272727275, 3937.5, 3313.3333333333335, 2569.5, 2700.0, 3787.5, 4365.0, 4371.428571428572, 3366.6666666666665, 3366.6666666666665, 3333.3333333333335, 4311.428571428572, 1792.5, 3832.5, 3241.8888888888887, 1936.0, 2961.818181818182, 2979.0, 3120.0, 2427.6923076923076, 2536.6363636363635, 2876.8, 2535.0, 3547.5, 2229.230769230769, 2570.0, 2868.0, 2255.769230769231, 2952.0, 3757.5, 2127.214285714286, 3451.3333333333335, 3000.0, 2223.076923076923, 3520.0, 2964.0, 1973.8666666666666, 2606.3333333333335, 2970.2, 2028.9285714285713, 2763.818181818182, 2737.4545454545455, 2740.0, 3266.6666666666665, 2976.0, 3967.5, 3333.3333333333335, 4143.5, 3282.0, 3048.0, 2260.0, 3079.3, 3686.6666666666665, 3394.0, 4294.285714285715, 2836.5, 3877.25, 3228.0, 3018.0, 3947.0, 3241.5555555555557, 3420.0, 3997.5, 2560.0, 3366.6666666666665, 2809.090909090909, 2893.6363636363635, 2899.0, 3429.6666666666665, 6467.75, 3461.4444444444443, 3042.0, 4242.857142857143, 3042.0, 2553.3333333333335, 2077.285714285714, 2657.2727272727275, 2475.0, 2125.4666666666667, 2507.3333333333335, 3601.375, 2284.4615384615386, 2438.181818181818, 2207.8571428571427, 2473.846153846154, 2660.0, 2604.5, 2232.1428571428573, 2593.3333333333335, 2376.923076923077, 2369.4285714285716, 2555.6666666666665, 2163.5, 1898.6875, 2329.230769230769, 2245.714285714286, 2057.2, 2121.8571428571427, 2969.2, 1762.5, 2413.846153846154, 2863.0, 2458.0, 2519.5, 2850.0, 2544.0, 3149.6, 2743.6363636363635, 2910.0, 3825.0, 2808.0, 3306.6666666666665, 5424.0, 3600.0, 3900.0, 4390.285714285715, 3220.0, 3283.4, 4105.714285714285, 3256.222222222222, 2480.0, 4482.857142857143, 2692.818181818182, 3465.0, 2940.0, 2847.2727272727275, 3340.0, 2850.2, 3072.0, 2641.1666666666665, 2095.714285714286, 2464.6153846153848, 2261.5384615384614, 2130.0, 1995.0, 3249.6666666666665, 2415.0, 2095.714285714286, 2362.769230769231, 2192.3076923076924, 1821.4705882352941, 2293.4, 2650.909090909091, 2495.0, 2054.6, 2289.230769230769, 1893.75, 1882.3125, 2032.0, 1945.7142857142858, 2060.9333333333334, 2600.0, 2138.5714285714284, 2596.5, 2525.0, 1928.0, 2060.6666666666665, 2430.0833333333335, 2151.4285714285716, 2525.0, 3194.9, 2268.6428571428573, 3135.0, 2803.6363636363635, 3690.375, 3523.6363636363635, 3440.0, 3233.3333333333335, 4890.571428571428, 3492.0, 3030.0, 3870.0, 3555.0, 3226.9, 2385.0, 2590.0, 3266.6666666666665, 3300.1, 3024.0, 3787.5, 3060.0, 3333.3333333333335, 3266.3, 4066.625, 3703.625, 3432.0, 3366.6666666666665, 2095.3846153846152, 2280.785714285714, 2618.181818181818, 2654.090909090909, 2318.6923076923076, 3645.0, 2611.3636363636365, 2536.8333333333335, 3008.9, 2921.090909090909, 2174.2, 2344.6153846153848, 3013.3333333333335, 2169.3571428571427, 3064.1111111111113, 4371.428571428572, 2675.75, 2781.818181818182, 2552.7272727272725, 2330.769230769231, 2640.0, 2982.0, 2597.9166666666665, 2360.6666666666665, 2021.1333333333334, 2057.1428571428573, 2774.6363636363635, 2407.6923076923076, 3060.0, 3137.6, 3120.0, 3300.777777777778, 2460.75, 3614.5, 2380.0, 2807.0, 2376.923076923077, 2916.0, 3253.8888888888887, 3960.5, 2754.5454545454545, 2964.0, 3673.3333333333335, 2320.0, 4570.0, 2954.3, 3546.222222222222, 3096.0, 3216.0, 2920.181818181818, 4435.142857142857, 3340.0, 3736.875, 2792.7272727272725, 2425.0, 2820.0, 3213.4444444444443, 2253.3076923076924, 2659.3636363636365, 2538.3636363636365, 3276.3333333333335, 2226.4615384615386, 2392.5833333333335, 2307.6923076923076, 2574.5454545454545, 2427.6666666666665, 2457.25, 2236.3076923076924, 2433.5833333333335, 2470.0, 2216.3846153846152, 2495.0, 4537.2, 2385.6153846153848, 4310.166666666667, 2982.0, 3235.1111111111113, 2738.181818181818, 2781.818181818182, 2492.7272727272725, 2700.0, 2970.0, 2946.0, 3170.6666666666665, 2654.5454545454545, 2350.0, 2208.923076923077, 2406.6666666666665, 2863.0, 2623.6363636363635, 2940.0, 3133.3333333333335, 3012.0, 3120.0, 3000.0, 2509.090909090909, 1966.6666666666667, 2916.0, 2082.8571428571427, 2796.0, 2672.7272727272725, 2933.3333333333335, 2293.846153846154, 3344.625, 3220.0, 3605.5714285714284, 3206.8888888888887, 3060.0, 2050.0, 3133.3333333333335, 3313.3333333333335, 2380.0, 3080.0, 3266.6666666666665, 3034.9, 3728.5714285714284, 2856.0, 2784.0, 3093.3333333333335, 3307.625, 3288.3333333333335, 4242.857142857143, 3090.0, 3682.5, 2874.0, 2939.1111111111113, 3000.0, 2993.3333333333335, 2760.0, 2261.25, 2717.1428571428573, 3714.0, 2912.6153846153848, 2198.823529411765, 2516.5, 2967.6923076923076, 2845.714285714286, 2917.25, 3058.6666666666665, 3030.0, 3140.0, 2309.6470588235293, 2532.8571428571427, 3343.6363636363635, 2568.0, 3468.5454545454545, 2411.733333333333, 2727.6923076923076, 3120.0, 2605.714285714286, 2344.0, 2420.0, 2815.3846153846152, 2508.75, 2644.285714285714, 2280.0, 2916.923076923077, 3240.0, 2736.923076923077, 2554.285714285714, 2995.0, 2490.0, 2899.076923076923, 2434.285714285714, 2681.5384615384614, 3354.5454545454545, 3065.0, 3360.0, 2900.0, 3150.0, 3529.090909090909, 2949.230769230769, 2833.846153846154, 3660.0, 3372.0, 3732.0, 2928.6153846153848, 3762.0, 2713.846153846154, 2764.6153846153848, 3600.0, 2567.1428571428573, 2384.0, 2661.4285714285716, 2824.285714285714, 2580.0, 3101.5384615384614, 3858.0, 3725.4545454545455, 2952.230769230769, 3125.0, 3567.2727272727275, 3225.0, 2866.153846153846, 4200.0, 2868.846153846154, 2618.5714285714284, 3190.0, 3387.2727272727275, 2550.0, 3035.0, 3572.7272727272725, 3327.2727272727275, 2146.6666666666665, 3080.0, 3605.4545454545455, 3414.5454545454545, 3900.0, 2448.0, 4020.0, 3605.4545454545455, 2188.235294117647, 3175.0, 2856.0, 3220.9166666666665, 2694.0, 2638.285714285714, 2858.5714285714284, 2053.3333333333335, 2370.0, 3594.5454545454545, 2725.714285714286, 2340.0, 3165.0, 3354.5454545454545, 2824.285714285714, 2261.277777777778, 3033.3333333333335, 2188.235294117647, 2560.0666666666666, 2832.8571428571427, 3191.1666666666665, 2372.9411764705883, 2307.375, 2631.4285714285716, 2935.3846153846152, 3020.0, 3201.0, 2709.230769230769, 2806.153846153846, 4313.666666666667, 3010.0, 2795.0, 3774.0, 4360.0, 3567.2727272727275, 3392.7272727272725, 3065.0, 3300.0, 3589.2, 3120.0, 2778.4615384615386, 2815.714285714286, 2268.75, 3105.0, 3360.0, 3165.8333333333335, 2825.0, 3332.7272727272725, 4650.0, 3792.0, 2436.0, 2384.0, 2935.3846153846152, 3185.0, 4113.333333333333, 2940.0, 3746.6666666666665, 3278.181818181818, 3684.0, 2700.0, 3951.25, 2899.2, 4231.428571428572, 4124.857142857143, 2565.0, 2353.846153846154, 2713.3, 3657.875, 3418.0, 3286.6666666666665, 2558.181818181818, 3226.6666666666665, 4148.571428571428, 2338.153846153846, 2860.0, 2749.090909090909, 2814.0, 3233.3333333333335, 3750.0, 7121.0, 2410.0, 3109.0, 2910.0, 4150.0, 2898.0, 2215.3846153846152, 3096.1111111111113, 3412.5, 3281.222222222222, 2525.0, 3358.3333333333335, 2415.0, 2166.230769230769, 2520.0, 3405.0, 2656.3636363636365, 2760.0, 2934.0, 2676.0, 2520.6363636363635, 3862.75, 3486.6666666666665, 3480.0, 2721.818181818182, 3300.0, 3353.3333333333335, 4174.285714285715, 3400.0, 2844.5, 4242.857142857143, 3787.5, 4410.0, 3373.3333333333335, 2830.909090909091, 3712.5, 3048.0, 3805.714285714286, 3367.5, 2928.8, 4157.142857142857, 4337.142857142857, 3200.0, 3652.5, 2511.5384615384614, 2550.0, 3495.25, 4208.0, 2555.0, 2590.909090909091, 3096.0, 3090.1, 3862.5, 3030.0, 3660.0, 3300.6666666666665, 3750.0, 4425.0, 4585.75, 3963.8, 3864.0, 5137.5, 4255.25, 5398.0, 3646.6666666666665, 2260.0, 3210.6666666666665, 3329.8888888888887, 2320.0, 2680.4545454545455, 2910.1, 2425.0833333333335, 2657.2727272727275, 2460.9166666666665, 2100.0, 3060.2, 3000.2, 3300.3333333333335, 2755.181818181818, 2700.6363636363635, 2450.5833333333335, 2755.5454545454545, 2940.6, 2619.090909090909, 3061.6, 3293.222222222222, 2727.6363636363635, 3586.6666666666665, 3367.777777777778, 2696.214285714286, 2796.5, 3561.818181818182, 3365.0, 2761.6428571428573, 2999.3571428571427, 3333.181818181818, 2951.3076923076924, 3083.6153846153848, 2171.1176470588234, 2755.714285714286, 3950.909090909091, 3270.0, 3109.6923076923076, 2806.0, 2655.1428571428573, 2402.75, 3029.6923076923076, 2712.8571428571427, 2855.4615384615386, 3058.0, 3049.923076923077, 2251.764705882353, 2833.846153846154, 2912.3076923076924, 2243.529411764706, 3127.5833333333335, 3025.0833333333335, 3628.090909090909, 2210.0, 2006.6666666666667, 3112.5, 2863.3076923076924, 2197.1176470588234, 2345.125, 2486.733333333333, 1959.2631578947369, 2500.0, 1818.9473684210527, 2907.6923076923076, 2314.9375, 2540.0, 3100.25, 2440.4666666666667, 2552.0, 2329.4117647058824, 2171.1176470588234, 2419.3125, 3205.3076923076924, 2357.5625, 2244.705882352941, 3440.3636363636365, 2824.285714285714, 2437.5, 3021.1666666666665, 2691.9285714285716, 2614.9285714285716, 3000.5, 3349.909090909091, 3001.6153846153848, 2788.214285714286, 2272.5, 2201.705882352941, 2475.9333333333334, 2884.6153846153848, 2240.8823529411766, 1926.0, 3570.4545454545455, 2700.4666666666667, 2764.285714285714, 2792.3846153846152, 2267.176470588235, 2157.294117647059, 4017.8888888888887, 2760.6428571428573, 2234.470588235294, 2163.529411764706, 2568.0, 1797.142857142857, 2330.5625, 2302.0588235294117, 2343.75, 2755.714285714286, 2237.6470588235293, 2524.4, 3958.5714285714284, 2446.0, 3051.6, 2682.4545454545455, 3606.0, 2636.181818181818, 2390.1666666666665, 2586.818181818182, 2266.153846153846, 2929.8, 3049.4, 2425.0, 3134.3333333333335, 2466.0, 3313.3333333333335, 2550.0, 2554.0, 2733.4545454545455, 2675.4545454545455, 2410.0, 2654.6363636363635, 2716.3636363636365, 3269.8888888888887, 2445.5833333333335, 3279.777777777778, 2086.1428571428573, 2700.0, 2936.5, 2700.2727272727275, 3263.4444444444443, 2947.1, 2937.5, 2890.8, 2604.090909090909, 3446.6666666666665, 2657.090909090909, 2290.0, 3676.375, 2703.2727272727275, 2727.2727272727275, 3402.0, 3757.5, 3213.3333333333335, 2238.4615384615386, 4041.0, 3015.0, 1940.0, 3760.125, 2970.0, 2754.5454545454545, 3193.3333333333335, 4350.0, 2284.6153846153848, 3018.0, 2754.0, 3013.3333333333335, 2597.1428571428573, 3859.1428571428573, 2652.6428571428573, 2525.4545454545455, 3245.4545454545455, 2268.75, 2952.0, 3642.0, 3600.0, 2475.75, 4140.0, 4680.0, 4580.0, 3000.0, 2815.3846153846152, 3663.4, 2910.0, 2892.0, 2450.0, 2505.0, 5060.0, 2970.0, 4087.5, 3787.5, 2874.0, 4257.142857142857, 2866.818181818182, 3260.0, 3272.4166666666665, 2698.0714285714284, 3165.0, 3132.0, 2632.9285714285716, 2508.0666666666666, 2912.230769230769, 2520.375, 2636.0714285714284, 2367.2727272727275, 3234.0, 1998.5714285714287, 5400.0, 3296.777777777778, 3226.6666666666665, 2344.6153846153848, 2899.4285714285716, 2629.090909090909, 2344.6153846153848, 2420.0, 2973.3333333333335, 2634.5454545454545, 2953.3333333333335, 2935.1666666666665, 2238.4615384615386, 3925.714285714286, 3258.4444444444443, 2742.0, 2280.0, 3042.0, 3040.1111111111113, 2525.4545454545455, 2430.0, 2032.0, 3300.0, 2476.3636363636365, 2802.0, 2555.0, 2784.0, 4108.714285714285, 2169.230769230769, 3306.6666666666665, 2658.0, 2958.0, 3496.5, 2659.5454545454545, 2303.076923076923, 2455.0, 2280.0, 2683.6363636363635, 2574.5454545454545, 2898.0, 2385.3333333333335, 2151.4285714285716, 2928.0, 5275.333333333333, 3306.6666666666665, 2958.0, 3622.5, 3355.1111111111113, 2475.0, 2832.0, 2421.4285714285716, 3233.3333333333335, 3771.4285714285716, 3848.5714285714284, 2962.777777777778, 3108.0, 4650.0, 2555.0, 3171.8888888888887, 3742.5, 3192.0, 2763.769230769231, 3123.3, 3652.5, 4071.4285714285716, 3241.222222222222, 4217.142857142857, 2203.285714285714, 3233.3333333333335, 2585.4545454545455, 2391.4166666666665, 2919.1, 2131.3571428571427, 3060.0, 2580.0, 2052.3571428571427, 1633.3333333333333, 2580.0, 2121.4285714285716, 2754.5454545454545, 2054.5714285714284, 2738.181818181818, 2220.5384615384614, 3510.0, 2580.0, 3712.5, 2765.4545454545455, 2727.2727272727275, 3712.5, 3025.3333333333335, 2736.4, 2232.8571428571427, 2866.2, 3742.5, 2284.6153846153848, 2958.0, 2247.6923076923076, 3337.5, 2284.6153846153848, 4083.0, 3630.0, 4508.571428571428, 3018.0, 2841.818181818182, 2907.2727272727275, 3054.0, 2831.3636363636365, 3400.0, 2806.9166666666665, 3200.0, 2986.6666666666665, 2910.0, 3006.8, 2970.0, 2006.8823529411766, 2408.4, 2114.1176470588234, 2424.0, 2183.0, 1973.6842105263158, 3085.0, 2170.705882352941, 2539.4285714285716, 2688.769230769231, 2504.714285714286, 2572.0, 2665.714285714286, 2043.9444444444443, 1844.2105263157894, 3141.75, 3060.6666666666665, 3819.090909090909, 3155.0, 4104.0, 3395.0, 3244.6153846153848, 5109.875, 3940.2, 5464.857142857143, 3398.181818181818, 2732.133333333333, 3790.909090909091, 3519.3636363636365, 3930.0, 2769.230769230769, 3287.5, 3572.7272727272725, 2672.0, 4233.333333333333, 3343.7272727272725, 3255.25, 3757.818181818182, 2916.923076923077, 3993.9, 3583.6363636363635, 3756.0, 3634.4545454545455, 2817.214285714286, 4086.6666666666665, 3654.5454545454545, 3720.0, 2837.1428571428573, 2734.285714285714, 3948.0, 2243.4117647058824, 3009.8333333333335, 2614.285714285714, 2838.4615384615386, 2907.6923076923076, 2848.6923076923076, 2501.5333333333333, 2432.0, 3210.75, 3195.0, 2829.923076923077, 2524.9333333333334, 2428.0, 2982.9166666666665, 2433.75, 2889.3846153846152, 2472.0, 2605.714285714286, 1970.6666666666667, 2820.153846153846, 2688.0, 3273.181818181818, 4073.8, 3498.181818181818, 3590.0, 2689.6, 2197.0, 2527.0666666666666, 2777.1428571428573, 2861.5384615384614, 2592.0, 2841.3076923076924, 3355.0, 3522.090909090909, 3250.0, 2499.1875, 2598.5714285714284, 2854.0714285714284, 2258.823529411765, 3018.846153846154, 2816.785714285714, 2608.0, 2520.0, 2452.0, 3260.0, 2728.8, 3046.153846153846, 2861.5384615384614, 2407.5625, 3120.0, 2614.733333333333, 2949.230769230769, 2866.153846153846, 3181.6666666666665, 3090.0, 2852.3076923076924, 2302.5, 2824.6153846153848, 2480.0, 2944.6153846153848, 2437.5, 2747.1428571428573, 3150.0, 2482.5, 4160.0, 4266.666666666667, 3801.5, 4132.5, 3166.4166666666665, 3118.5, 4149.444444444444, 3545.4545454545455, 3050.769230769231, 3756.090909090909, 4069.0, 4230.0, 3632.7272727272725, 2848.0, 2841.4285714285716, 3133.9166666666665, 3200.0, 3717.6, 2824.285714285714, 3709.090909090909, 3030.0, 4326.666666666667, 3850.909090909091, 2935.714285714286, 2978.181818181818, 3370.0, 3845.4545454545455, 3255.0, 3202.75, 3529.4545454545455, 4353.333333333333, 3355.0, 2717.076923076923, 2792.4615384615386, 3125.0, 4225.1, 2916.923076923077, 2407.0666666666666, 2863.7272727272725, 2768.5714285714284, 3696.0, 3381.818181818182, 2866.923076923077, 3129.4615384615386, 3150.0, 3017.25, 2895.0, 3610.1, 3714.0, 2875.4615384615386, 2727.6923076923076, 3371.4545454545455, 4682.777777777777, 3373.7272727272725, 2444.4666666666667, 3947.7, 3020.0, 3336.6363636363635, 3129.230769230769, 2897.3846153846152, 3196.909090909091, 3159.9166666666665, 2595.133333333333, 3205.0, 4002.0, 3660.0, 3784.9, 3272.7272727272725, 2974.285714285714, 2910.0, 2622.2, 2820.0, 2838.0, 2910.0, 2552.7272727272725, 2778.0, 2350.0, 2340.0, 2888.4, 2910.0, 2698.6363636363635, 2247.6923076923076, 2520.0, 2256.923076923077, 2618.181818181818, 2618.181818181818, 3270.0, 2819.6, 2415.3636363636365, 2803.6363636363635, 3146.6666666666665, 2365.0, 2451.75, 2967.8, 3622.5, 3293.3333333333335, 2916.5833333333335, 2595.0, 2732.7272727272725, 2705.0, 3053.3333333333335, 2721.818181818182, 3083.222222222222, 2672.7272727272725, 2528.0, 3280.0, 2778.0, 2394.5454545454545, 2435.0, 3060.0, 2293.846153846154, 2952.0, 2284.6153846153848, 3380.0, 2400.0, 3338.181818181818, 2738.5714285714284, 3307.2727272727275, 3131.5833333333335, 2721.4285714285716, 3240.0, 3350.0, 3545.4545454545455, 3458.181818181818, 3442.6363636363635, 3087.6923076923076, 2836.3846153846152, 3274.75, 2889.230769230769, 2833.846153846154, 2347.5, 4279.833333333333, 2070.0, 2712.8571428571427, 3190.0, 3696.0, 2418.75, 2785.714285714286, 2917.769230769231, 2889.230769230769, 2662.3571428571427, 3267.2727272727275, 2237.6470588235293, 2898.4615384615386, 2764.285714285714, 2343.75, 3050.0, 2572.0, 2995.5833333333335, 2808.769230769231, 2605.714285714286, 2903.076923076923, 3345.0, 2670.6428571428573, 3265.0, 2903.076923076923, 3195.0, 2456.0, 2496.0, 2912.3076923076924, 2068.4210526315787, 3000.0, 2617.5, 2866.153846153846, 3518.181818181818, 2618.5714285714284, 3670.909090909091, 2636.0, 2261.25, 2507.1428571428573, 2695.714285714286, 3275.0, 2209.4117647058824, 3100.0, 2700.0, 2727.6923076923076, 3561.818181818182, 2272.9411764705883, 3265.0, 2787.0, 2736.923076923077, 10299.0, 3630.0, 3537.909090909091, 3055.3846153846152, 3321.818181818182, 3000.923076923077, 2593.846153846154, 2332.5, 2280.0, 2721.5, 2924.076923076923, 3064.6153846153848, 2760.0, 2493.75, 3130.0, 2456.0, 2738.5714285714284, 2554.285714285714, 1942.1052631578948, 2834.5384615384614, 2480.0, 3165.0, 2310.0, 2343.75, 3000.0, 2648.5714285714284, 2392.0, 3834.0, 2631.0, 2117.6470588235293, 3354.909090909091, 2209.4117647058824, 2420.0, 2992.25, 2295.0, 2138.823529411765, 2610.0, 2580.0, 2366.25, 2121.176470588235, 2640.0, 2380.0, 2903.076923076923, 2855.769230769231, 2283.529411764706, 2068.235294117647, 2316.0, 2970.0, 2610.0, 2208.0, 3073.846153846154, 1311.4285714285713, 2464.285714285714, 4026.6666666666665, 2328.75, 2392.0, 2981.6923076923076, 2661.4285714285716, 2301.153846153846, 2568.5833333333335, 2413.769230769231, 2331.230769230769, 2128.0, 2372.3076923076924, 2300.769230769231, 2556.0, 2435.4166666666665, 2242.4615384615386, 1748.1333333333334, 2298.4615384615386, 1930.642857142857, 2575.0, 2360.0, 3772.5, 2180.0, 2245.714285714286, 2345.9166666666665, 3210.3, 3120.0, 2585.0, 2902.818181818182, 2423.076923076923, 2239.214285714286, 2465.6153846153848, 3150.0, 2928.0, 2776.0, 2750.769230769231, 3253.3333333333335, 2844.0, 2444.0, 2052.0, 3300.0, 2266.153846153846, 2512.6666666666665, 2656.0833333333335, 3459.3333333333335, 2440.0, 2460.0, 1896.6666666666667, 2510.0, 2437.5, 2376.923076923077, 2207.1428571428573, 2655.5454545454545, 2661.818181818182, 3761.125, 2716.3636363636365, 2500.0, 2724.0, 3980.25, 3687.625, 2916.0, 2678.181818181818, 3233.4444444444443, 2515.0, 3106.6666666666665, 3772.125, 2932.5, 3012.0, 2620.0, 1968.0, 2429.3333333333335, 2147.1428571428573, 1972.6, 2147.1428571428573, 1966.2307692307693, 1897.5, 2910.0, 1880.0, 5271.666666666667, 3104.6, 3712.875, 2584.3636363636365, 2874.1, 3165.5, 2833.5454545454545, 3044.9, 3248.0, 3733.625, 3787.5, 3037.3, 2590.909090909091, 2964.5, 3340.3333333333335, 2658.0833333333335, 2880.1, 2518.3333333333335, 3985.25, 3179.0, 2973.3333333333335, 2836.3636363636365, 3267.3333333333335, 2344.6153846153848, 2830.909090909091, 2390.769230769231, 3090.0, 3362.4444444444443, 2973.3333333333335, 2767.7272727272725, 4061.6666666666665, 3277.090909090909, 3708.0, 3392.7272727272725, 3518.181818181818, 3012.5833333333335, 3365.4545454545455, 2562.8571428571427, 3085.0, 2657.1428571428573, 3079.1666666666665, 2448.0, 3804.0, 3110.769230769231, 3256.3636363636365, 2792.153846153846, 3677.0, 3135.0, 3343.6363636363635, 2601.4285714285716, 2680.0, 2829.5384615384614, 2744.0, 3720.0, 3726.0, 2881.3571428571427, 3095.0, 3087.6923076923076, 4050.0, 2783.076923076923, 2210.0, 1953.3333333333333, 18968.0, 3126.076923076923, 2575.714285714286, 2110.0, 2310.0, 3183.6666666666665, 3555.0, 2536.0, 2133.3333333333335, 3621.818181818182, 3660.0, 3856.3636363636365, 2113.3333333333335, 3856.75, 3545.4545454545455, 2963.076923076923, 3194.25, 2494.875, 1887.0, 3858.0, 2674.285714285714, 3774.0, 2464.0, 2750.8333333333335, 2937.6923076923076, 2508.0, 2704.285714285714, 2452.0, 2880.0, 3090.0, 3666.0, 2029.4117647058824, 2492.0, 2269.4117647058824, 3512.7272727272725, 2348.0, 2310.0, 2353.9375, 2652.9285714285716, 2648.5714285714284, 2434.375, 3340.0, 2635.714285714286, 4677.0, 2053.5789473684213, 2512.5, 2907.5, 2086.6666666666665, 3160.0, 2773.846153846154, 1945.2631578947369, 2845.714285714286, 2235.0, 1625.2173913043478, 2907.6923076923076, 2880.0, 2291.25, 3300.0, 2283.75, 3200.0, 2150.0, 2880.0, 2382.3529411764707, 2884.285714285714, 2460.0, 2177.6470588235293, 2984.769230769231, 2949.230769230769, 2357.875, 2515.0625, 2617.5, 2148.722222222222, 2709.2, 3135.0833333333335, 2439.9375, 2094.6666666666665, 2564.0, 3190.0, 2205.8823529411766, 2861.5384615384614, 2912.230769230769, 3828.8, 2596.5, 2981.5384615384614, 3050.0, 2894.3846153846152, 3115.0, 3161.0, 3195.0, 2432.3333333333335, 3302.9166666666665, 3488.0, 2820.0, 2363.0833333333335, 3572.3333333333335, 2510.0, 3573.3333333333335, 2994.0, 2280.0, 2762.909090909091, 2970.0, 4930.333333333333, 2593.3333333333335, 2697.1666666666665, 2264.6153846153848, 3089.7272727272725, 3219.0, 2650.0, 2609.3636363636365, 4197.833333333333, 3044.6, 1944.0, 2195.8571428571427, 1828.3529411764705, 2404.9166666666665, 2449.75, 2321.5384615384614, 2303.076923076923, 2685.6363636363635, 2705.4545454545455, 2478.3333333333335, 3180.0, 2285.3076923076924, 2266.153846153846, 2257.153846153846, 3892.5, 2580.0, 3115.7, 3487.5, 3073.3333333333335, 2266.153846153846, 3832.5, 2904.0, 2820.0, 3232.5, 3102.0, 2560.0, 2068.0, 2964.0, 2928.0, 2760.0, 3213.3333333333335, 1833.75, 3326.6666666666665, 2155.714285714286, 1953.4117647058824, 2858.181818181818, 2689.090909090909, 2802.0, 1996.8235294117646, 3253.3333333333335, 3750.0, 3480.1, 2683.6363636363635, 2936.090909090909, 2430.0, 3174.0, 2809.090909090909, 3100.0, 2057.1428571428573, 2607.2727272727275, 2261.6153846153848, 2722.6363636363635, 2555.0, 3007.2, 2944.7, 3765.0, 2400.0, 4410.571428571428, 2506.25, 3712.375, 2751.4285714285716, 3161.5384615384614, 2725.714285714286, 2545.714285714286, 2953.846153846154, 3231.0833333333335, 2760.0, 3188.3846153846152, 2360.125, 2463.75, 2468.0, 2734.285714285714, 2548.0, 2822.214285714286, 3075.0, 3065.0, 2743.6363636363635, 3315.0, 3715.25, 3488.125, 3225.0, 3562.75, 2683.7, 2336.6666666666665, 2923.9, 2700.0, 3229.090909090909, 2843.923076923077, 3327.2727272727275, 3256.3636363636365, 3261.818181818182, 2989.0, 2920.0, 2727.2727272727275, 3200.0, 2618.181818181818, 2881.4444444444443, 3133.5555555555557, 2445.0, 3260.0, 2928.222222222222, 2718.0, 3705.0, 3373.3333333333335, 2732.7272727272725, 3450.0, 4422.857142857143, 3817.125, 4504.166666666667, 3280.222222222222, 3333.3333333333335, 2946.0, 3900.1428571428573, 3216.4444444444443, 3016.5, 3320.0, 3108.0, 3306.6666666666665, 2754.4545454545455, 4191.428571428572, 3333.3333333333335, 2155.3846153846152, 3100.5, 3326.6666666666665, 2940.0, 3574.5, 2847.2727272727275, 2450.6666666666665, 2370.0, 3266.6666666666665, 2169.230769230769, 4308.428571428572, 3234.5454545454545, 2220.0, 2770.909090909091, 3333.3333333333335, 3036.0, 2886.0, 2689.090909090909, 3275.0, 4011.4285714285716, 2838.0, 2570.0, 3742.5, 3406.6666666666665, 3313.3333333333335, 2652.2, 3802.5, 3720.0, 4417.0, 3553.3333333333335, 3138.0, 3354.3333333333335, 3224.5555555555557, 3169.090909090909, 3373.3333333333335, 2755.4545454545455, 3390.0, 3757.5, 4165.714285714285, 3712.5, 3396.777777777778, 4971.0, 3188.777777777778, 3606.0, 3353.3333333333335, 3788.0, 3862.5, 3762.8571428571427, 3333.3333333333335, 3138.777777777778, 2874.5454545454545, 4328.571428571428, 4383.0, 3001.8888888888887, 3486.3333333333335, 3684.5, 3466.6666666666665, 3994.285714285714, 2675.0, 2918.7272727272725, 3382.6666666666665, 3613.375, 2843.3636363636365, 3101.3, 2605.0833333333335, 2837.3636363636365, 3832.5, 3132.0, 3058.5, 3078.0, 3163.5, 2993.0, 3378.222222222222, 2108.714285714286, 3427.4444444444443, 3800.25, 2446.6923076923076, 2565.0, 2560.0, 7740.0, 2859.909090909091, 2770.909090909091, 4257.142857142857, 3486.6666666666665, 2981.1, 3262.625, 2869.090909090909, 3090.0, 3252.0, 3078.0, 3433.3333333333335, 1973.6842105263158, 2355.0, 3408.1666666666665, 3104.6923076923076, 3100.4166666666665, 2220.0, 1973.6842105263158, 2954.076923076923, 2861.714285714286, 3687.2727272727275, 2310.0625, 2520.0, 2823.0, 2144.5555555555557, 2531.9375, 2083.3333333333335, 2241.176470588235, 2822.9285714285716, 2130.0, 3028.4615384615386, 2033.3333333333333, 2329.4117647058824, 2829.923076923077, 2154.8888888888887, 2773.0714285714284, 2030.0, 2212.9411764705883, 2280.75, 2044.3157894736842, 2458.9333333333334, 2777.6153846153848, 2149.4117647058824, 2972.3076923076924, 2131.5789473684213, 3741.7, 3111.75, 3000.1666666666665, 2967.6923076923076, 3690.3, 3398.5454545454545, 2944.5384615384614, 3000.0, 3834.0, 3188.5833333333335, 3802.1, 3294.5, 3438.2727272727275, 3145.25, 3933.6, 3676.6, 4098.888888888889, 3037.076923076923, 3857.2, 3777.6, 3030.9, 2730.0, 2438.75, 2307.923076923077, 2808.4166666666665, 2269.076923076923, 2401.846153846154, 2764.2727272727275, 2645.4545454545455, 2332.3846153846152, 2475.0, 2648.5714285714284, 2006.7777777777778, 2469.6666666666665, 2355.5384615384614, 2020.0, 2158.5, 2298.6153846153848, 2495.0833333333335, 2752.0, 2261.5384615384614, 2207.1428571428573, 2490.0, 3030.6, 2754.5454545454545, 2122.1428571428573, 4140.0, 2082.1428571428573, 2271.3846153846152, 2782.3636363636365, 2261.5384615384614, 2642.181818181818, 2781.818181818182, 4251.0, 2228.5714285714284, 2737.181818181818, 9671.0, 2242.4615384615386, 2142.8571428571427, 2448.0833333333335, 3042.0, 2404.6666666666665, 2111.266666666667, 11031.5, 3366.6666666666665, 2445.0, 2343.75, 2536.4166666666665, 2271.4285714285716, 2219.846153846154, 2450.0, 2422.923076923077, 2799.181818181818, 2464.5833333333335, 2363.6923076923076, 2057.1428571428573, 2535.0, 2173.846153846154, 2269.6923076923076, 2241.4285714285716, 2316.923076923077, 4662.0, 3916.5, 4275.25, 4900.666666666667, 2554.5714285714284, 2460.0, 3434.2, 3876.0, 3080.0, 2971.5, 2528.5714285714284, 3139.25, 2620.714285714286, 2349.75, 2562.8571428571427, 2850.1666666666665, 2025.0, 3000.0, 2400.1428571428573, 1954.2857142857142, 2233.5, 2848.0, 3120.0, 2800.0, 3210.0, 2950.0, 2310.0, 4620.0, 3060.0, 2589.0, 4125.5, 3520.0, 3486.6, 4201.25, 2980.0, 2307.5, 2110.125, 4800.0, 2678.5714285714284, 2314.25, 2800.3333333333335, 2423.4285714285716, 2502.8571428571427, 2259.625, 2940.5, 4278.0, 6082.666666666667, 2520.0, 1687.5, 2276.3333333333335, 5998.0, 3276.6, 2317.5, 2682.8571428571427, 2601.8333333333335, 3051.3333333333335, 3300.0, 4099.0, 4428.0, 2990.0, 3458.2, 2554.285714285714, 2830.0, 2400.0, 3180.0, 5860.0, 3420.0, 3552.2, 1561.7, 2228.8571428571427, 3552.0, 2502.8571428571427, 2295.0, 2840.0, 2280.0, 3312.0, 2100.0, 3384.4, 2940.0, 2992.0, 3564.0, 2650.3333333333335, 3036.0, 3285.2, 4133.25, 3228.0, 3315.0, 2100.0, 2670.0, 4095.0, 2622.8571428571427, 2920.0, 3420.0, 3348.2, 4200.0, 3191.1666666666665, 3050.0, 2280.0, 3311.8, 2580.0, 4275.25, 2443.0, 2151.8571428571427, 3050.0, 3070.0, 1788.0, 4260.666666666667, 2381.625, 2940.0, 3000.0, 2434.285714285714, 3264.0, 2431.285714285714, 2227.5, 3100.0, 2485.714285714286, 2802.3333333333335, 2266.875, 2980.0, 2302.5, 2536.1428571428573, 3468.0, 1822.9, 2785.0, 2537.1428571428573, 2550.0, 3336.0, 2213.0, 2950.0, 3090.5, 2107.5, 2374.4285714285716, 3007.1666666666665, 2911.1666666666665, 2970.1666666666665, 2804.8333333333335, 2670.0, 3020.0, 2873.285714285714, 2246.714285714286, 3508.6, 2487.8571428571427, 3720.0, 3792.0, 2257.5, 5180.333333333333, 1920.3333333333333, 3409.0, 4560.0, 3171.8, 3387.4, 2009.4444444444443, 2477.1428571428573, 2410.0, 3588.0, 4200.0, 1845.2, 2850.0, 3329.3333333333335, 3615.2, 3684.0, 2100.0, 3336.0, 2658.714285714286, 5300.0, 2772.0, 2667.8333333333335, 5700.333333333333, 2850.1666666666665, 2365.8571428571427, 3384.4, 2511.4285714285716, 3602.8, 5595.0, 3615.5, 3415.0, 2907.0, 2828.5714285714284, 3192.0, 3364.0, 2621.0, 2794.285714285714, 3421.0, 2738.5714285714284, 4290.0, 1878.111111111111, 2967.1666666666665, 3741.5, 2338.5, 3696.0, 2854.8333333333335, 4022.75, 3713.6, 3439.8, 2670.0, 2978.3333333333335, 2322.8571428571427, 2980.0, 2730.0, 3600.0, 2451.8571428571427, 2950.0, 2610.0, 3922.6666666666665, 2841.5, 3480.0, 2152.5, 2736.3333333333335, 3390.2, 3540.0, 2871.6666666666665, 2111.875, 3720.0, 4123.75, 2640.0, 2550.0, 2400.0, 3289.25, 3386.0, 3420.0, 2400.0, 4380.0, 2988.0, 2208.25, 2850.0, 3584.8, 3126.3333333333335, 3484.0, 2631.4285714285716, 2890.0, 2325.0, 3372.4, 2920.0, 4240.75, 3140.8333333333335, 2642.1428571428573, 2642.285714285714, 2664.1428571428573, 2497.5, 3590.0, 2350.875, 2451.4285714285716, 2950.0, 2158.75, 2033.3333333333333, 3280.6666666666665, 3160.3333333333335, 2912.6666666666665, 2364.5, 1740.0, 3309.5, 4725.0, 3907.8, 2648.5714285714284, 2000.0, 2034.0, 2497.5, 3636.0, 3154.5, 2385.0, 2021.111111111111, 3410.0, 3048.0, 2670.0, 2152.0, 2362.5, 4275.25, 3554.6, 4939.75, 3194.8333333333335, 3600.0, 3053.8333333333335, 3486.6, 1801.7, 2021.888888888889, 3828.0, 2443.0, 3814.2, 3648.0, 3231.4285714285716, 2512.0, 3110.0, 2443.0, 3043.1666666666665, 3550.0, 1832.090909090909, 2605.714285714286, 3180.0, 2982.8571428571427, 3188.5714285714284, 3117.5, 2872.5714285714284, 3159.3333333333335, 2430.0, 2862.8571428571427, 2385.875, 2496.8571428571427, 3410.0, 2347.5, 2717.1428571428573, 3742.6, 2137.625, 2494.4285714285716, 3818.25, 3550.0, 2828.5714285714284, 2529.4285714285716, 2850.0, 3708.0, 3150.0, 3366.6666666666665, 2495.0, 2093.75, 2295.0, 3120.0, 2242.5, 2790.0, 4429.4, 3100.0, 3412.8, 2562.8571428571427, 2632.285714285714, 3581.1666666666665, 3091.0, 3320.0, 2864.1428571428573, 3528.0, 2571.4285714285716, 3300.0, 1921.3333333333333, 2750.0, 2276.25, 3008.5714285714284, 3720.0, 5260.0, 2378.625, 2717.1428571428573, 3660.0, 4560.0, 4053.8, 3318.4, 3351.4285714285716, 3510.0, 3934.0, 3594.8, 4980.0, 2306.6666666666665, 3340.0, 3291.3333333333335, 2820.714285714286, 3300.0, 2340.0, 3984.0, 4157.4, 2873.8333333333335, 2164.25, 2475.0, 2475.0, 3237.714285714286, 3682.0, 2965.714285714286, 3524.1666666666665, 3840.0, 2950.0, 4635.0, 3310.0, 2940.8333333333335, 1545.0, 4116.4, 2862.8571428571427, 3248.5714285714284, 3937.2, 1675.0, 2400.0, 3212.6666666666665, 3430.0, 3673.2, 2528.5714285714284, 3012.6666666666665, 3120.0, 2598.714285714286, 2622.8571428571427, 3260.0, 2200.3333333333335, 2113.8888888888887, 3020.0, 2862.8571428571427, 4000.2, 2905.714285714286, 1700.2222222222222, 2710.0, 3360.0, 4878.0, 2675.769230769231, 2842.4615384615386, 2510.0666666666666, 2648.5384615384614, 2769.230769230769, 2511.5714285714284, 3445.2727272727275, 2763.785714285714, 2597.1428571428573, 2376.0, 2700.0, 2665.714285714286, 2363.375, 2211.8823529411766, 2385.625, 2755.3846153846152, 2571.5, 2951.153846153846, 2773.846153846154, 2231.25, 2388.0, 2723.153846153846, 2400.0, 2735.6923076923076, 2649.3076923076924, 2290.3125, 2230.0, 2049.4736842105262, 2700.153846153846, 2360.0, 2460.3333333333335, 2302.5, 2370.0, 3676.9, 3677.5454545454545, 3131.1666666666665, 3690.0, 3212.9166666666665, 2404.6666666666665, 3109.090909090909, 2875.3846153846152, 2858.5714285714284, 3000.0, 2985.0, 2350.4375, 2991.4615384615386, 2556.0, 3405.2727272727275, 2704.6153846153848, 2563.9285714285716, 3392.909090909091, 2711.230769230769, 3150.0, 3060.0, 2433.75, 2755.3846153846152, 3769.090909090909, 2700.0, 3120.0, 2588.0, 3100.0, 3523.6363636363635, 3155.0, 3055.0, 2560.0, 3458.181818181818, 3960.0, 2990.0, 3343.6363636363635, 3349.090909090909, 2674.285714285714, 2618.5714285714284, 3288.7272727272725, 4582.5, 3010.0, 17851.0, 2265.0, 3436.3636363636365, 2853.5384615384614, 3247.090909090909, 3973.3333333333335, 3200.0, 2713.846153846154, 2695.714285714286, 3390.0, 2652.8571428571427, 2976.923076923077, 4006.6666666666665, 3846.0, 2679.214285714286, 2787.6923076923076, 2880.0, 2376.0, 2686.153846153846, 2718.4615384615386, 3283.6363636363635, 4312.5, 4443.75, 3772.2, 3264.0, 2870.0, 2340.0, 2320.0, 3359.5, 3271.4, 2073.3333333333335, 3444.0, 3144.0, 3010.0, 3067.5, 3384.0, 3288.0, 2494.285714285714, 2066.8888888888887, 3320.0, 3691.8, 3312.0, 2980.0, 1973.3333333333333, 3273.5, 3050.0, 2451.4285714285716, 2768.5714285714284, 3816.0, 2830.0, 2728.0, 2350.0, 2967.230769230769, 2321.5384615384614, 1771.764705882353, 2215.714285714286, 2400.0, 2044.2857142857142, 2061.4285714285716, 2000.9333333333334, 2481.6666666666665, 1818.5294117647059, 1931.25, 2069.4666666666667, 1902.857142857143, 2321.5384615384614, 2624.8333333333335, 1971.4285714285713, 2146.153846153846, 2293.846153846154, 2194.5714285714284, 2078.5714285714284, 1948.0, 1984.4705882352941, 2128.0, 1845.0, 2667.6923076923076, 2070.0, 2032.5, 2284.6153846153848, 2138.5714285714284, 1968.75, 1845.0, 2202.8571428571427, 2306.923076923077, 2091.714285714286, 2669.4545454545455, 2361.25, 2168.5714285714284, 2514.909090909091, 2928.0, 1931.25, 1992.0, 1781.25, 1756.5882352941176, 1946.25, 1996.0, 1472.5, 2648.181818181818, 1833.75, 2163.5, 1886.25, 1761.1764705882354, 1886.25, 1743.5294117647059, 2100.0, 1863.8235294117646, 1453.0434782608695, 1841.25, 1680.388888888889, 1799.5625, 1560.0, 1937.142857142857, 1860.0, 2024.0, 1690.0, 1445.7142857142858, 3591.4, 5060.0, 2960.0, 4020.0, 3050.0, 3888.0, 2950.0, 4425.0, 3756.0, 2970.0, 2456.1428571428573, 3050.0, 5680.0, 2780.0, 2408.5714285714284, 3819.5, 2930.0, 2245.714285714286, 3099.5, 2477.1428571428573, 2528.5714285714284, 3230.0, 2313.75, 4725.0, 2657.1428571428573, 4650.0, 2520.0, 2220.0, 3975.0, 3080.0, 2597.1428571428573, 5960.0, 3070.0, 3170.0, 2200.0, 2950.0, 2415.0, 2708.5714285714284, 3576.0, 3382.2, 2468.5714285714284, 2750.714285714286, 2910.0, 2434.285714285714, 3540.0, 2280.0, 2300.6666666666665, 2485.714285714286, 3950.714285714286, 4275.0, 2930.0, 2226.6666666666665, 2717.1428571428573, 2820.0, 3060.0, 2515.5, 2840.0, 3140.0, 4266.4, 3576.0, 3570.0, 4044.0, 4005.25, 4280.25, 3432.0, 2347.5, 2557.4285714285716, 2840.0, 1848.0, 2360.0, 2886.3333333333335, 4185.0, 2235.0, 3912.0, 2930.0, 2400.1428571428573, 2950.1666666666665, 2137.5, 1973.5, 2395.75, 2092.5, 3088.0, 2571.4285714285716, 2782.6666666666665, 4395.0, 3870.0, 2604.285714285714, 3444.0, 2197.5, 4592.25, 2690.3333333333335, 3110.0, 2580.0, 2310.0, 3600.0, 2190.875, 3528.0, 2197.5, 2580.0, 3396.0, 3444.0, 1510.0, 3444.0, 2648.5714285714284, 4515.0, 2832.0, 3960.0, 3480.0, 3564.0, 2197.5, 3232.1666666666665, 3240.0, 2592.8571428571427, 2502.8571428571427, 3480.0, 3588.0, 5480.0, 2442.8571428571427, 5562.666666666667, 2364.8571428571427, 4037.0, 3070.0, 6335.666666666667, 6300.0, 3732.0, 2970.0, 2250.0, 3250.0, 5400.0, 3768.0, 4680.0, 3130.0, 2587.5, 4275.0, 4380.0, 2750.0, 3600.0, 2657.1428571428573, 3600.0, 4090.0, 3672.0, 3130.0, 3380.0, 5460.0, 5820.0, 3828.0, 2571.4285714285716, 4470.0, 3240.0, 3696.0, 4350.0, 2990.0, 3450.0, 4650.0, 3732.0, 3353.3333333333335, 2763.3, 3049.1, 2940.2, 3066.0, 2763.9, 3352.1111111111113, 3772.5, 3066.8888888888887, 2538.0, 2858.181818181818, 2601.818181818182, 3622.5, 3513.3333333333335, 2813.3333333333335, 2460.0, 2464.3333333333335, 4311.428571428572, 2612.3636363636365, 3030.0, 2629.090909090909, 3024.0, 4320.0, 2661.818181818182, 3233.3333333333335, 3690.0, 2370.0, 3646.6666666666665, 2550.0, 3060.0, 3234.6666666666665, 3413.3333333333335, 4318.857142857143, 3400.0, 4320.0, 2940.2, 3411.4444444444443, 3067.1111111111113, 4457.142857142857, 3126.0, 3735.125, 2987.222222222222, 3675.0, 3689.25, 3985.714285714286, 4242.857142857143, 3473.3333333333335, 3593.3333333333335, 2705.4545454545455, 3682.5, 3300.0, 5049.2, 3703.25, 2920.0, 4157.285714285715, 3884.5, 3630.0, 3280.0, 3638.125, 2585.0, 4260.0, 2929.2, 2525.0, 3652.375, 3433.3333333333335, 2423.75, 3146.6666666666665, 2880.0, 3646.6666666666665, 3193.3333333333335, 2500.5454545454545, 2898.0, 2585.4545454545455, 2578.2727272727275, 2542.909090909091, 2841.818181818182, 3802.5, 3306.6666666666665, 2770.909090909091, 2886.0, 3690.0, 4088.5714285714284, 2634.5454545454545, 2865.0, 2790.0, 2711.6363636363635, 4268.571428571428, 2848.6, 3570.0, 4740.0, 4069.285714285714, 3736.875, 3272.5, 2812.3333333333335, 3772.5, 4216.285714285715, 3807.222222222222, 2880.0, 2976.5, 3814.4285714285716, 2927.222222222222, 2476.3636363636365, 3450.0, 3870.0, 3690.0, 3330.0, 1892.0, 4540.0, 4255.428571428572, 2868.0, 2724.0, 3426.6666666666665, 3502.5, 2243.076923076923, 2234.25, 3741.625, 3352.1111111111113, 2505.0, 3480.0, 3228.222222222222, 2958.0, 2280.0, 3495.0, 3787.5, 3056.0, 3273.3333333333335, 4057.5, 4228.714285714285, 2767.3, 3213.3333333333335, 3084.0, 4337.142857142857, 2520.0, 2922.0, 3078.0, 3742.5, 2661.818181818182, 3078.0, 3885.0, 2513.9166666666665, 3990.0, 4675.333333333333, 3085.2, 3519.625, 3022.75, 3684.3333333333335, 4366.0, 3994.285714285714, 3067.8, 4288.142857142857, 3750.0, 3282.1, 2420.0833333333335, 3506.6666666666665, 5090.0, 3386.6666666666665, 3206.6, 3018.0, 5140.0, 3174.0, 3900.0, 3156.1, 3984.0, 4750.25, 4146.666666666667, 4020.8, 3286.153846153846, 4273.333333333333, 3966.0, 4420.625, 3240.0, 3060.6923076923076, 3720.0, 4391.444444444444, 3752.7272727272725, 3818.181818181818, 3636.0, 5220.142857142857, 3604.6, 3880.909090909091, 3138.5, 3547.909090909091, 3720.0, 3405.0, 4200.0, 3370.0, 3810.0, 4854.125, 4246.666666666667, 4212.9, 3973.3333333333335, 4186.666666666667, 4456.777777777777, 3840.0, 4254.0, 3316.3636363636365, 3452.7272727272725, 2866.6923076923076, 2557.733333333333, 3647.5454545454545, 3638.5, 2660.0, 3145.0, 2875.3846153846152, 2953.1666666666665, 2676.923076923077, 3465.0, 2736.0, 2808.0, 2574.4666666666667, 3528.0, 2584.285714285714, 2820.0, 2876.153846153846, 2416.3333333333335, 2884.6153846153848, 2420.0, 3612.1, 2678.5714285714284, 2968.0, 3272.7272727272725, 2976.923076923077, 3000.0, 3141.818181818182, 3073.846153846154, 3000.0, 3780.1, 3078.4615384615386, 2545.0, 2880.0, 3603.3333333333335, 2842.818181818182, 2104.0, 2168.714285714286, 4378.857142857143, 3986.125, 4525.714285714285, 2435.0, 2918.1, 2452.6666666666665, 3817.625, 2151.4285714285716, 2814.0, 3778.875, 3196.5, 2553.2727272727275, 2395.3846153846152, 4125.0, 3110.7, 1884.0, 2450.0, 4037.1428571428573, 9300.666666666666, 3436.0, 1948.0, 2656.3636363636365, 3016.3636363636365, 2727.2727272727275, 3318.0, 3210.0, 3181.1, 4285.714285714285, 3373.3333333333335, 3823.125, 3018.0, 3520.0, 3780.0, 3308.222222222222, 3324.8888888888887, 4125.0, 3491.5555555555557, 3286.8888888888887, 2905.2, 4131.428571428572, 2862.0, 3222.0, 2930.0, 3408.5555555555557, 2602.181818181818, 3486.6666666666665, 2898.0, 3127.6, 2501.5384615384614, 2994.5454545454545, 3637.5, 3486.6666666666665, 3525.0, 2540.5, 3406.6666666666665, 3652.5, 2836.3636363636365, 4311.428571428572, 2713.4545454545455, 3516.0, 2916.6, 3982.5, 4651.5, 2946.0, 3753.3333333333335, 4080.0, 3280.0, 3068.0, 3408.0, 2890.909090909091, 4983.0, 3453.3333333333335, 3258.0, 3283.6363636363635, 2284.923076923077, 3922.5, 3314.222222222222, 2978.181818181818, 5420.4, 2735.0, 2863.6363636363635, 2910.0, 4020.0, 3150.4, 3422.3333333333335, 2787.2727272727275, 2330.769230769231, 2983.6363636363635, 3586.6666666666665, 2319.4666666666667, 1803.2380952380952, 2283.75, 2678.5714285714284, 2770.6923076923076, 2168.823529411765, 2705.0, 2160.529411764706, 2151.470588235294, 2336.0, 2642.5, 2575.9285714285716, 2369.3333333333335, 2207.705882352941, 3205.5454545454545, 2103.705882352941, 2601.4285714285716, 2194.125, 2114.1176470588234, 2243.0666666666666, 2326.4375, 2783.076923076923, 1926.3157894736842, 2838.4615384615386, 2050.0, 2164.6470588235293, 3145.0, 2073.6666666666665, 2268.75, 2418.75, 2963.076923076923, 2110.0, 2687.1428571428573, 2418.75, 2864.714285714286, 2242.5, 2420.0, 2459.25, 2422.5, 2420.0, 2213.6470588235293, 2627.1428571428573, 2970.0, 3154.846153846154, 2485.714285714286, 2352.5625, 11834.666666666666, 2003.3333333333333, 2357.6470588235293, 2564.0, 2140.0, 3181.5, 2253.75, 2787.769230769231, 2029.4117647058824, 3500.0, 2186.25, 2244.764705882353, 2545.714285714286, 2325.0, 2065.2631578947367, 2287.5, 2391.375, 2678.5714285714284, 2440.0, 2283.75, 2063.3333333333335, 1896.55, 2328.75, 2234.1176470588234, 2231.25, 2140.0, 1910.5263157894738, 2432.0666666666666, 2268.75, 2543.0, 2121.176470588235, 2814.3076923076924, 2216.25, 2295.0, 2494.285714285714, 2490.0625, 2461.3529411764707, 2188.235294117647, 2631.4285714285716, 2400.0, 2021.0526315789473, 2644.0, 2343.75, 2060.0, 2687.1428571428573, 2606.214285714286, 2953.846153846154, 2257.5, 2134.6111111111113, 2100.0, 2369.9333333333334, 2188.235294117647, 2511.4285714285716, 2188.235294117647, 2432.0, 2484.0, 2205.8823529411766, 2287.5, 2344.0, 2480.0, 2663.076923076923, 2157.176470588235, 3251.3636363636365, 3030.0, 2584.6153846153848, 2570.769230769231, 2325.0, 2695.714285714286, 2316.0, 2360.0, 2420.0, 2306.6875, 2292.0, 3428.3, 2231.25, 2241.4285714285716, 2380.0, 2500.0, 2298.4117647058824, 2083.3333333333335, 2036.842105263158, 2235.0, 2325.0, 2321.5625, 1986.3157894736842, 2066.6666666666665, 3150.0, 2406.6, 2195.294117647059, 2250.0, 3289.090909090909, 3381.818181818182, 2343.75, 3021.75, 3152.7272727272725, 2903.076923076923, 2620.0, 2460.0, 2838.4615384615386, 2898.4615384615386, 2017.5555555555557, 2276.470588235294, 2216.470588235294, 2635.714285714286, 2622.125, 2254.4375, 2298.75, 1995.7894736842106, 3060.0, 2588.4, 3250.0, 3156.923076923077, 3112.25, 2355.0, 2621.4, 2972.3076923076924, 2718.714285714286, 2730.0, 2528.4666666666667, 2506.25, 6036.666666666667, 4002.0, 2231.375, 2796.923076923077, 2660.0714285714284, 2596.2, 2680.0, 2763.230769230769, 2892.0, 3338.8333333333335, 3245.0, 2500.0, 2343.529411764706, 3292.8333333333335, 3140.0, 4153.333333333333, 2764.285714285714, 3822.0, 2280.0, 2340.0, 1926.9473684210527, 1894.2631578947369, 2612.733333333333, 2557.1428571428573, 2034.8947368421052, 2443.6, 2310.0, 2106.6666666666665, 2311.625, 1998.0, 2060.0, 2409.25, 2627.1428571428573, 2016.764705882353, 2240.0, 2499.3571428571427, 2434.266666666667, 2468.9333333333334, 2063.3333333333335, 1963.3333333333333, 2468.0, 1550.0, 1852.45, 2718.4615384615386, 2222.1875, 2195.294117647059, 2440.0, 2392.5, 2381.25, 2364.0, 2082.3529411764707, 2977.3076923076924, 2162.4736842105262, 2147.3333333333335, 2148.5263157894738, 1712.9565217391305, 2181.5555555555557, 2332.0, 2053.3333333333335, 2635.714285714286, 2283.3333333333335, 2392.5, 2909.0, 2400.0, 3308.0, 2550.0, 2548.0, 3069.230769230769, 1658.8636363636363, 2359.9375, 2070.0, 2052.6315789473683, 2005.2631578947369, 1964.2105263157894, 3212.818181818182, 2221.0588235294117, 2422.5, 2000.0, 2083.3333333333335, 2729.2727272727275, 3120.0, 2836.3636363636365, 2185.714285714286, 3862.5, 3903.4285714285716, 3300.0, 3400.0, 2500.0, 3333.3333333333335, 2813.4545454545455, 3090.0, 3433.3333333333335, 2403.5833333333335, 2672.7272727272725, 3533.3333333333335, 3842.625, 5440.4, 2633.3333333333335, 2375.0, 2650.0, 2446.153846153846, 2483.5454545454545, 2781.818181818182, 2475.0, 2146.153846153846, 3712.5, 3100.0, 4150.0, 3366.6666666666665, 2792.5, 3266.6666666666665, 2809.090909090909, 2475.0, 3333.3333333333335, 2809.090909090909, 3090.0, 3333.3333333333335, 2375.0, 2850.0, 3675.0, 3000.0, 2869.0, 2760.0, 3030.0, 2912.2, 3675.0, 3533.3333333333335, 2672.7272727272725, 2867.5555555555557, 2618.181818181818, 3712.5, 2400.0, 3466.6666666666665, 2600.0, 2490.0, 3030.0, 3771.714285714286, 3866.0, 2773.3333333333335, 3331.777777777778, 2943.8, 3615.0, 3449.5, 2678.2727272727275, 3280.0, 2683.6363636363635, 2970.0, 3566.25, 2675.0, 3400.0, 3787.5, 3985.714285714286, 5050.0, 2922.0, 3600.0, 3030.0, 2736.0, 2760.7, 3427.5, 3715.125, 2910.0, 3400.0, 4200.285714285715, 9925.0, 4157.142857142857, 3069.3, 2400.0, 3540.0, 2700.0, 2897.3, 2650.909090909091, 3533.3333333333335, 2261.5384615384614, 2916.0, 3535.125, 2035.7142857142858, 3133.3333333333335, 1922.8666666666666, 2525.0, 2541.1666666666665, 2672.7272727272725, 3614.5, 2225.0, 2940.0, 2284.6153846153848, 2970.0, 3600.0, 2907.2727272727275, 2727.2727272727275, 1716.6666666666667, 5050.0, 4088.5714285714284, 2238.4615384615386, 3540.0, 2515.0, 3832.5, 3304.222222222222, 3233.3333333333335, 5288.4, 1880.0, 3042.0, 2850.0, 3000.0, 2400.1666666666665, 2370.1666666666665, 2961.5833333333335, 3208.5, 1986.6666666666667, 2648.5714285714284, 3893.7, 2949.230769230769, 2601.4285714285716, 2481.6666666666665, 2868.230769230769, 2424.0, 2889.230769230769, 3349.090909090909, 2075.294117647059, 2471.5, 2572.0, 2549.0, 2524.285714285714, 2570.714285714286, 2512.0, 3375.0, 2432.0, 2600.0, 3240.5454545454545, 2980.0, 2889.230769230769, 3786.0, 2485.266666666667, 5169.714285714285, 2475.4375, 3810.0, 2500.0, 3005.0, 2360.0, 2083.470588235294, 3075.0, 2321.25, 2678.5714285714284, 3189.230769230769, 2725.714285714286, 2184.705882352941, 3403.6363636363635, 2317.5, 2448.0, 2671.5714285714284, 2291.25, 2982.8571428571427, 2537.1428571428573, 2505.0, 3119.75, 2820.0, 3840.0, 3564.0, 4107.0, 3425.0, 3936.0, 2997.1428571428573, 3703.4, 2884.285714285714, 3520.181818181818, 3325.0, 3360.3636363636365, 3378.4166666666665, 3310.75, 3762.0, 2613.0714285714284, 3168.9166666666665, 3359.5454545454545, 3578.181818181818, 3684.0, 2622.8571428571427, 3696.0, 3816.0, 2990.769230769231, 2742.8571428571427, 3143.3333333333335, 4233.333333333333, 2828.5714285714284, 3040.6923076923076, 2970.8, 3333.3333333333335, 2650.909090909091, 2825.4545454545455, 2561.909090909091, 2838.0, 3270.3333333333335, 2940.0, 2340.0, 2892.0, 9438.0, 2233.846153846154, 2629.6923076923076, 2485.0, 2465.0, 2805.7272727272725, 3592.5, 2194.285714285714, 2150.2, 2949.8, 2315.0, 2592.090909090909, 2380.0, 2922.0, 2238.4615384615386, 2036.0, 3012.0, 1844.0, 4100.0, 2626.181818181818, 2841.5714285714284, 2464.6153846153848, 2618.181818181818, 3885.0, 3832.5, 2946.0, 3226.6666666666665, 2595.0, 2958.0, 2645.4545454545455, 2536.3636363636365, 2446.153846153846, 2537.5454545454545, 2028.0, 2898.5, 2910.0, 2375.8333333333335, 3720.0, 2676.923076923077, 2525.0, 2645.4545454545455, 2385.0, 3041.3, 2220.0, 3652.5, 2844.0, 2315.0, 2505.0, 2441.5384615384614, 5468.6, 3246.6666666666665, 2635.0, 3533.2, 2444.0, 4111.0, 2982.0, 3383.222222222222, 2356.3636363636365, 3100.0, 3713.3333333333335, 2738.181818181818, 2934.0, 2912.7272727272725, 2284.6153846153848, 3600.0, 2754.0, 2798.181818181818, 2138.5714285714284, 3246.0, 3592.5, 2258.5714285714284, 2781.818181818182, 3101.4444444444443, 2863.6363636363635, 2700.0, 2590.0, 2857.8, 2858.181818181818, 3506.6666666666665, 2930.181818181818, 3487.5, 3576.0, 2528.5714285714284, 3540.0, 3132.0, 2129.222222222222, 4411.5, 2948.5714285714284, 3150.0, 2950.0, 2962.5, 3741.6, 2223.25, 2053.3333333333335, 3660.0, 2674.285714285714, 3100.0, 3090.0, 2951.8333333333335, 3277.4, 2990.0, 4325.5, 2374.285714285714, 2719.0, 2931.4285714285716, 2585.4285714285716, 3080.0, 4025.0, 4549.0, 3384.0, 2062.5, 2500.0, 2990.0, 5963.666666666667, 3090.0, 3630.4, 4133.666666666667, 4215.0, 4524.25, 2250.0, 2940.0, 3083.0, 3240.0, 2265.0, 2092.5, 2777.1428571428573, 2820.0, 3317.1428571428573, 1329.2307692307693, 4212.4, 2888.8571428571427, 4050.75, 2847.0, 1430.0, 3516.0, 2304.0, 4350.0, 4848.25, 1554.5454545454545, 3340.0, 2086.6666666666665, 3130.0, 2631.4285714285716, 2052.0, 2463.0, 2712.4285714285716, 2990.0, 1345.0, 3130.0, 1800.0, 4860.0, 2768.5714285714284, 1516.3636363636363, 3672.0, 1973.3333333333333, 4020.0, 2213.375, 3684.0, 3000.0, 1611.8181818181818, 2862.8571428571427, 3365.8333333333335, 2434.285714285714, 5100.0, 1900.0, 2562.8571428571427, 2537.1428571428573, 2598.0, 2730.0, 2605.714285714286, 3768.0, 2970.0, 2970.0, 1656.0, 2520.0, 2460.0, 2674.285714285714, 2468.5714285714284, 2292.4285714285716, 2741.214285714286, 2830.0, 2377.5, 3684.0, 3840.0, 2652.0, 3396.0, 2887.5, 2844.0, 2883.8333333333335, 3914.6, 3635.8333333333335, 2355.0, 3588.0, 2700.0, 1900.0, 3580.0, 3380.0, 2460.0, 3100.0, 2444.8571428571427, 2691.4285714285716, 3050.0, 2160.0, 3324.0, 2880.0, 2100.5, 3228.0, 2377.5, 2800.6666666666665, 2475.0, 2800.0, 2653.3333333333335, 3250.0, 2391.4285714285716, 2802.8571428571427, 2318.5714285714284, 2650.0, 2348.5714285714284, 2597.1428571428573, 3160.0, 4330.666666666667, 2700.0, 3832.5, 2503.6363636363635, 3100.0, 4337.142857142857, 2410.0, 3031.1, 2400.0, 2640.0, 2261.5384615384614, 2836.3636363636365, 2266.153846153846, 2062.5, 2400.0, 2478.4615384615386, 2173.846153846154, 3108.0, 2108.866666666667, 3066.0, 2830.0, 2907.2727272727275, 2220.0, 2541.818181818182, 2525.4545454545455, 2160.0, 2071.0, 2160.0, 2708.090909090909, 2688.0, 2896.3636363636365, 2295.0, 2345.0, 2744.181818181818, 2571.0833333333335, 2155.3846153846152, 2546.4545454545455, 2405.0, 2400.0, 3220.0, 2298.4615384615386, 2652.2727272727275, 2052.8571428571427, 2783.6363636363635, 2478.25, 2206.153846153846, 3313.3333333333335, 2634.5454545454545, 2901.7, 2665.909090909091, 2846.6, 3472.5, 2808.1428571428573, 2694.5454545454545, 3006.0, 2121.4285714285716, 2650.909090909091, 2196.923076923077, 2653.6363636363635, 2475.0, 2241.25, 3200.0, 2256.923076923077, 2469.0, 2667.1666666666665, 2850.0, 3768.5, 3689.1111111111113, 2979.090909090909, 2712.2727272727275, 2768.0, 3038.4, 2210.285714285714, 3396.777777777778, 2538.9166666666665, 2690.3333333333335, 2550.3333333333335, 2353.230769230769, 2309.5384615384614, 3042.2, 2432.0, 2661.733333333333, 2340.0588235294117, 2645.6, 2912.3076923076924, 3245.4545454545455, 2903.4615384615386, 2561.6666666666665, 3044.5, 2761.1428571428573, 2714.3571428571427, 2600.0, 3474.5454545454545, 3083.076923076923, 2670.0, 2700.0, 2588.0, 3437.4545454545455, 4106.666666666667, 2251.764705882353, 3161.6666666666665, 2691.4285714285716, 2542.733333333333, 1524.0, 2064.0, 2417.25, 3293.4444444444443, 1747.4285714285713, 3057.1, 2793.7272727272725, 1508.5714285714287, 2445.0, 3475.1111111111113, 1893.75, 3840.0, 3137.1111111111113, 1680.0, 2004.0, 2530.0, 1720.0, 2423.076923076923, 2810.769230769231, 3333.4545454545455, 3988.777777777778, 2524.285714285714, 2880.0, 3045.0, 2829.230769230769, 2880.0, 2627.1428571428573, 2925.0, 2912.3076923076924, 2456.0, 2640.0, 3055.0, 2206.470588235294, 2833.846153846154, 2820.0, 3115.0, 2313.75, 2738.5714285714284, 2060.0, 2965.769230769231, 4008.0, 3046.153846153846, 2672.0, 3816.0, 3210.0, 5622.857142857143, 6520.0, 3732.0, 2886.5384615384614, 2875.714285714286, 2777.1428571428573, 2893.923076923077, 2940.0, 3275.0, 3540.0, 2888.5714285714284, 3129.230769230769, 2832.8571428571427, 2738.5714285714284, 3531.7272727272725, 3463.6363636363635, 3150.0, 2738.5714285714284, 3469.090909090909, 2560.0, 3167.5, 2536.0, 2237.6470588235293, 3558.0, 3732.0, 3570.0, 3600.0, 3365.0, 2612.0, 3480.0, 2778.4615384615386, 3036.923076923077, 3105.0, 3380.0, 3561.818181818182, 4140.0, 3953.8571428571427, 3495.0, 2560.0, 4027.5, 2862.0, 3314.4444444444443, 2430.0, 2727.2727272727275, 3153.3333333333335, 2530.909090909091, 2164.6153846153848, 1730.0, 2440.0, 2805.0, 2856.0, 2856.9, 3502.5, 2535.0, 1980.0, 2000.0, 3600.0, 3552.0, 2227.5, 3038.0, 2013.3333333333333, 2313.9, 3468.0, 3330.8, 2102.5, 4566.0, 2753.6470588235293, 4211.777777777777, 2180.823529411765, 3714.5454545454545, 1780.8181818181818, 3495.6363636363635, 2538.1428571428573, 4667.333333333333, 2449.625, 2981.5384615384614, 2959.3846153846152, 4520.0, 1828.5714285714287, 2845.714285714286, 2649.5333333333333, 3518.181818181818, 2472.0, 4106.666666666667, 2644.0, 3942.0, 2437.5, 2772.1428571428573, 3164.5384615384614, 4100.7, 3376.3636363636365, 2627.1428571428573, 3289.7272727272725, 2612.785714285714, 3350.6363636363635, 2496.0, 3377.4545454545455, 3960.0, 2892.923076923077, 3750.0, 3354.5454545454545, 3289.090909090909, 2804.6923076923076, 2930.769230769231, 4226.666666666667, 3169.090909090909, 3354.5454545454545, 5197.5, 4013.3333333333335, 2945.0, 4800.0, 4402.5, 4186.888888888889, 3360.0, 3810.0, 3218.181818181818, 3785.4545454545455, 3030.0, 3852.0, 3175.0, 3525.5454545454545, 3113.6666666666665, 3912.0, 3496.3636363636365, 2949.230769230769, 3816.0, 2884.6153846153848, 3107.6923076923076, 4657.5, 3205.0, 2833.846153846154, 2153.3333333333335, 3214.5, 3942.0, 2925.0, 3321.818181818182, 3425.4545454545455, 2622.8571428571427, 2810.769230769231, 2811.3076923076924, 3354.5454545454545, 2825.1666666666665, 2790.785714285714, 3616.3636363636365, 3344.1666666666665, 3163.6363636363635, 2806.153846153846, 3381.818181818182, 2860.5384615384614, 3174.5454545454545, 2327.4117647058824, 2790.0, 2538.875, 2607.5333333333333, 2548.714285714286, 2980.0, 2996.1666666666665, 3274.6666666666665, 4037.2, 3356.3636363636365, 2581.5, 3319.0, 2486.266666666667, 2705.6428571428573, 3687.2727272727275, 2700.1666666666665, 2520.6666666666665, 3243.3333333333335, 2010.0, 3041.5833333333335, 2550.0, 3570.0, 2539.75, 3246.6666666666665, 2770.909090909091, 2716.3636363636365, 2119.3571428571427, 3113.3333333333335, 2994.0, 4741.666666666667, 2869.1, 2928.0, 2325.076923076923, 4088.5714285714284, 3108.4444444444443, 3707.375, 2856.0, 3006.6666666666665, 3802.5, 2803.9, 2874.0, 2020.0, 2694.2, 3160.0, 3114.222222222222, 2286.6666666666665, 4860.666666666667, 2664.0, 2651.090909090909, 1884.0, 3540.0, 2989.4444444444443, 3189.777777777778, 2060.0, 2563.6363636363635, 3457.5, 4042.8571428571427, 2721.818181818182, 3226.6666666666665, 4637.285714285715, 3297.6666666666665, 2874.6363636363635, 4037.1428571428573, 3068.0, 3120.0, 2718.0, 3433.3333333333335, 2355.0, 3667.5, 3006.6666666666665, 2785.1, 3706.125, 3705.0, 4208.166666666667, 4844.333333333333, 2266.153846153846, 3200.0, 2598.0, 3577.5, 3306.6666666666665, 5030.0, 3820.0, 3012.0, 2872.1, 3502.5, 2838.0, 3198.3, 3353.3333333333335, 4670.0, 3652.5, 2815.6363636363635, 3699.1111111111113, 2664.0, 3306.6666666666665, 3300.0, 3712.5, 3389.6666666666665, 3326.6666666666665, 2438.181818181818, 4796.666666666667, 4591.0, 3083.222222222222, 3067.3, 2926.3, 3802.5, 3487.5, 2964.0, 2645.4545454545455, 9853.333333333334, 2940.0, 3251.5555555555557, 2353.846153846154, 2523.0666666666666, 3645.0, 3780.0, 2194.285714285714, 2596.3636363636365, 2964.0, 2057.1428571428573, 3216.6666666666665, 2814.0, 3380.0, 3055.0, 2660.0, 2536.0, 2121.176470588235, 2792.3076923076924, 2474.5, 3105.3636363636365, 3481.3, 3554.818181818182, 2884.6153846153848, 2432.0, 2718.4615384615386, 3528.0, 2372.0, 2535.0, 4226.666666666667, 2980.0, 3267.2727272727275, 3200.5833333333335, 2773.846153846154, 3454.3636363636365, 2050.0, 3738.0, 4186.666666666667, 2255.0625, 3110.0, 3564.0, 1650.0, 2428.0, 4225.666666666667, 1653.9130434782608, 2428.0, 2810.769230769231, 1696.3636363636363, 3732.0, 2682.8571428571427, 2202.3529411764707, 3469.090909090909, 3261.818181818182, 2121.176470588235, 3480.0, 3701.75, 9104.333333333334, 2949.846153846154, 2753.4545454545455, 2844.769230769231, 2702.090909090909, 2694.0, 2626.0, 2934.3, 3140.9, 2907.2727272727275, 3302.4444444444443, 2760.0, 4244.428571428572, 2855.4545454545455, 2707.6363636363635, 2626.4166666666665, 2431.266666666667, 2667.2727272727275, 2828.5714285714284, 7642.666666666667, 2672.5454545454545, 3000.25, 2425.0833333333335, 2027.142857142857, 3571.0, 2932.769230769231, 3720.6, 2717.5714285714284, 2322.3529411764707, 2704.285714285714, 3430.909090909091, 3263.076923076923, 3070.0, 2680.0, 2721.4285714285716, 3392.7272727272725, 2958.0, 2982.0, 3705.0, 3320.6666666666665, 2625.0, 3166.6666666666665, 2535.0, 3387.1111111111113, 2710.909090909091, 2740.0, 2284.6153846153848, 2162.0714285714284, 3014.8, 3170.0, 2298.4615384615386, 2304.5384615384614, 2850.0, 2555.0, 3627.2727272727275, 3020.0, 2776.3636363636365, 3301.1111111111113, 2760.0, 2164.0, 3413.3333333333335, 2807.1428571428573, 2515.3846153846152, 2590.909090909091, 3076.3636363636365, 2656.3636363636365, 3005.0, 2746.153846153846, 2822.5384615384614, 2317.5, 2725.1428571428573, 2348.375, 2003.3333333333333, 2432.0, 2301.176470588235, 2847.6923076923076, 4026.6666666666665, 2556.0, 2173.3333333333335, 3045.0, 3145.0, 2875.3846153846152, 3267.2727272727275, 3529.090909090909, 2737.285714285714, 3289.090909090909, 3185.3076923076924, 2596.0, 3360.0, 2952.8571428571427, 2886.153846153846, 3134.6153846153848, 3381.818181818182, 2119.722222222222, 3949.6, 2370.0, 2764.285714285714, 2832.214285714286, 3889.090909090909, 2536.6666666666665, 3115.0, 3065.3846153846152, 3783.6, 2594.4, 2496.0, 3681.6666666666665, 3387.0, 3283.6, 3626.6666666666665, 3277.0, 3877.5, 4348.0, 3154.4, 4177.875, 3615.0, 3947.6666666666665, 3460.0, 3486.6666666666665, 2680.0, 3606.6666666666665, 3757.5, 3138.0, 3840.0, 3183.6666666666665, 2779.0, 3512.7272727272725, 3140.0, 3272.7272727272725, 2600.0, 2749.090909090909, 2688.0, 2836.5, 2104.285714285714, 4280.0, 2850.0, 2664.0, 2707.6363636363635, 2775.0, 2128.0, 2591.3636363636365, 2229.230769230769, 2852.7272727272725, 1688.5714285714287, 9388.0, 3386.6666666666665, 2753.3333333333335, 2820.0, 3400.0, 3180.0, 4508.571428571428, 3119.4, 3705.0, 2550.0, 3120.1, 31338.0, 4182.857142857143, 2560.5, 2322.8571428571427, 2727.2727272727275, 3044.0, 2076.5714285714284, 2266.153846153846, 3286.6666666666665, 2867.0, 3316.8888888888887, 3130.909090909091, 3382.5, 3126.1, 2294.5833333333335, 2432.3076923076924, 2390.0, 2722.6363636363635, 2625.25, 3393.3333333333335, 2164.285714285714, 2596.3636363636365, 2340.0, 2868.0, 1766.1764705882354, 2994.5454545454545, 2445.0, 3110.222222222222, 2825.4545454545455, 3620.0, 2829.9, 3793.3333333333335, 2625.0, 3174.0, 3228.7, 2372.7272727272725, 2177.1428571428573, 2540.3333333333335, 2922.0, 2476.3636363636365, 3376.3636363636365, 2375.0, 2976.0, 3040.0, 4051.5714285714284, 2460.0, 2562.75, 2220.0, 2721.818181818182, 3114.5555555555557, 2830.909090909091, 2762.090909090909, 2510.0, 2256.923076923077, 3160.0, 2970.0, 2940.0, 3994.285714285714, 4640.0, 3353.3333333333335, 2928.0, 4005.0, 3576.0, 4920.0, 3660.0, 3312.0, 4365.0, 2330.0, 2779.4, 3207.923076923077, 2690.0, 2348.5714285714284, 5480.0, 4179.5, 1794.9, 3180.0, 2850.0, 2890.0, 2430.0, 3540.2, 4020.25, 2830.0, 3693.8, 1832.0, 2750.0, 3647.8, 4905.0, 3624.0, 2850.3333333333335, 4410.0, 3020.0, 2834.6666666666665, 6080.0, 2960.0, 4660.0, 4500.0, 3660.0, 4650.0, 4200.428571428572, 4202.285714285715, 3123.777777777778, 3413.3333333333335, 3675.0] print '\tCost length: ' + str(len(cost)) deadhead = [0.3727642276422764, 0.41448594904370639, 0.046762820512820512, 0.19960594960594963, 0.0, 0.46437930191118404, 0.2926363703105499, 0.32619600713732622, 0.23711636598864372, 0.34199223447754529, 0.41933228456563532, 0.12051515151515152, 0.3123042058255015, 0.38987777586503697, 0.0, 0.37015121630506242, 0.35582822085889571, 0.34249811035525324, 0.43238890109085582, 0.0, 0.33238986380739899, 0.33046931407942243, 0.36649541793946122, 0.29057717383844622, 0.3716693111560978, 0.08788461538461538, 0.091643095911545389, 0.25676870748299324, 0.37244155756284042, 0.18406249999999996, 0.32742693711167364, 0.36232026143790852, 0.17902314316469323, 0.34238770372333377, 0.3724859211584875, 0.42043838572059045, 0.3925679949399114, 0.37269509523006911, 0.4741433021806854, 0.27587998441356021, 0.48303560724133804, 0.54859719438877763, 0.50332717190388176, 0.33865674166807641, 0.36775288526816019, 0.26329860159034824, 0.0615447738229562, 0.42050706905927138, 0.093906455862977606, 0.31818331630467017, 0.37798784604996627, 0.4167329357190192, 0.35608606249059627, 0.37266112266112267, 0.35654776073723943, 0.58654320987654318, 0.38747779166940843, 0.0, 0.36912893272501907, 0.15185721177038108, 0.41137269896760797, 0.20843123326594176, 0.31082629988538085, 0.131742900160947, 0.36514909478168256, 0.10369068541300527, 0.0, 0.39810387694325289, 0.14840647857889239, 0.48369962873634859, 0.38974160206718345, 0.28928188638799573, 0.46403210052532934, 0.61265264087097249, 0.31232558139534883, 0.31097560975609756, 0.0, 0.0, 0.045132743362831858, 0.46894327148645759, 0.47924480805538078, 0.45879524820874273, 0.42984371408871525, 0.38821138211382106, 0.35081053698074971, 0.32864214992927865, 0.69236028029396679, 0.41781279847182434, 0.61612903225806448, 0.57288011695906427, 0.25833585171753803, 0.57746478873239437, 0.58552595591050816, 0.47249311002755989, 0.32025984004470365, 0.28696214817211257, 0.33841189229222879, 0.24599609374999998, 0.0, 0.35994604260124852, 0.1553302922791012, 0.18605206591831858, 0.29214363586808401, 0.0, 0.17950809386372193, 0.309467813465932, 0.1301391524351676, 0.34671580036203781, 0.2406843215373799, 0.26144112247574092, 0.43494208494208492, 0.33691731647830719, 0.0, 0.17902903869679995, 0.28943338437978561, 0.25490196078431371, 0.12114478114478114, 0.14568480300187617, 0.3157749870978841, 0.048677209023457992, 0.12685543220656104, 0.33144781144781144, 0.0, 0.34076896432282644, 0.29399999999999998, 0.0, 0.40188614540466389, 0.26230883396786475, 0.36107510954761468, 0.42361483068499667, 0.36988210075026801, 0.0, 0.0, 0.40045592705167171, 0.33789805455928712, 0.39237442922374427, 0.31448400724200365, 0.5078520770010132, 0.040989223198156108, 0.28798527443105754, 0.38197211155378485, 0.41398933548416006, 0.31041426927502874, 0.30992767915844843, 0.33982035928143717, 0.48743589743589744, 0.33773659305993692, 0.47328793666611307, 0.0, 0.0018367346938775511, 0.50528052805280532, 0.066166353971232023, 0.3508599186031246, 0.0, 0.33340277054473494, 0.33325629173086796, 0.31582100070472158, 0.14592592592592593, 0.0, 0.2599284600568651, 0.073902728351126934, 0.21315445738543592, 0.36569240516790169, 0.38208593208593211, 0.026966292134831458, 0.16549707602339181, 0.082199881726788881, 0.24249299719887957, 0.010249115512273407, 0.037429378531073448, 0.30420982292014698, 0.1576215934280871, 0.34305741983594334, 0.48446578916162691, 0.057459459459459461, 0.40730666666666671, 0.17749853886616013, 0.37951317799226547, 0.17940860215053767, 0.34137214137214139, 0.1065278334000801, 0.21182343667892797, 0.0, 0.31232020012507822, 0.4542796005706134, 0.26513911620294595, 0.069572158365261816, 0.28436275602841404, 0.39389736477115123, 0.31615305598356447, 0.0, 0.32603271416689772, 0.45134459036898067, 0.25240447957839263, 0.30019920318725102, 0.21631878557874762, 0.19034482758620691, 0.36663007683863891, 0.26782107737641958, 0.26583407671721676, 0.18851567498400512, 0.23480905316100356, 0.13107064017660044, 0.20810904071773637, 0.27210674350003433, 0.4981560283687943, 0.28235492577597843, 0.097134502923976601, 0.1863808197373657, 0.21127659574468086, 0.40241092004963663, 0.22002989536621823, 0.28743712502272589, 0.44603536175290165, 0.30526641883519212, 0.27541191381495561, 0.30218588353078596, 0.3382066276803119, 0.49572704491421959, 0.35670859538784067, 0.3664210793742968, 0.38086003372681287, 0.2665929203539823, 0.0, 0.43904267589388701, 0.3317697228144989, 0.30933333333333329, 0.21805774638227832, 0.0, 0.34782312925170072, 0.24542493796526052, 0.84601877490376176, 0.22216764898493779, 0.30208829331338005, 0.088837961714747907, 0.0050729130339313604, 0.54868369351669943, 0.35804046858359967, 0.49234135667396062, 0.26581013561741607, 0.2862886597938144, 0.0, 0.38210056024395433, 0.32388059701492539, 0.2921467764060357, 0.30963470319634701, 0.16241651487553124, 0.1703855091127971, 0.44021669853409823, 0.16173036093418258, 0.1133003300330033, 0.36053571428571435, 0.17757270693512303, 0.34877318970676247, 0.35550810337275518, 0.31245231607629426, 0.063635580814604326, 0.41915618448637315, 0.35933067143007247, 0.0, 0.37976897689768985, 0.0, 0.29860976218886143, 0.16277593818984548, 0.077981651376146793, 0.27327001356852099, 0.47906533878895491, 0.33465519181010234, 0.69388230498209247, 0.31556916794282797, 0.22542503323305116, 0.32229974160206715, 0.29328481640754223, 0.2399455383326351, 0.23411088573360381, 0.1437450514647664, 0.38621525577807775, 0.20751624909727237, 0.33703703703703702, 0.16270655270655271, 0.532970297029703, 0.24786593020336431, 0.22478494623655915, 0.38711656441717784, 0.1892649903288201, 0.27089249492900608, 0.31309333333333333, 0.16573090541224078, 0.068476347928110498, 0.31571382078541982, 0.33894293125810637, 0.014591220197056685, 0.012435677530017153, 0.26521072796934869, 0.19590964590964594, 0.44571895424836605, 0.27640186915887849, 0.32023230686115611, 0.33615274803711631, 0.0, 0.34783755274261607, 0.058262784775277035, 0.11761904761904762, 0.55470588235294116, 0.45039429825749983, 0.29772329246935203, 0.43310679611650482, 0.28801169590643277, 0.38010416666666663, 0.1776681614349776, 0.37571076717243895, 0.1826387745017295, 0.02853835978835979, 0.28120689655172415, 0.40825082508250832, 0.28660335854927838, 0.27330873308733084, 0.3246975806451613, 0.24968010236724247, 0.24387313791446419, 0.38473389355742299, 0.36207349081364837, 0.19428571428571431, 0.32248858447488582, 0.21442550505050503, 0.29676025917926568, 0.25436301738039774, 0.21453982985305492, 0.33757062146892658, 0.2562051282051282, 0.34150432900432898, 0.42855229228759922, 0.28547144562190319, 0.26358695652173914, 0.39683724235963042, 0.24078435668510709, 0.33193548387096777, 0.59580459770114946, 0.24623762376237623, 0.092123277252122063, 0.35647058823529409, 0.0, 0.31243336548713002, 0.15111832611832612, 0.15543549443352978, 0.3755806010928962, 0.25687022900763357, 0.30127041742286753, 0.19169570267131242, 0.38857142857142857, 0.37087034980566347, 0.3061594202898551, 0.0, 0.29579999999999995, 0.29103695944934915, 0.0, 0.40143330452319215, 0.26620218579234972, 0.32787035621464611, 0.35992907801418439, 0.034482758620689655, 0.0, 0.46678877336637392, 0.34618279569892474, 0.37081920903954801, 0.31577557755775576, 0.48585760517799359, 0.35290628706998811, 0.37731925783749198, 0.21902356902356904, 0.47954939341421143, 0.62024519549370449, 0.41636045494313212, 0.4071773636991029, 0.29774339136041261, 0.27294843863471319, 0.3304694835680751, 0.2507003444316877, 0.37278994322789949, 0.38422787193973634, 0.48473332459703844, 0.33376811594202899, 0.2143482064741907, 0.3259541984732825, 0.3726447780894242, 0.38559748427672957, 0.31883419362961096, 0.0, 0.38320802005012533, 0.50687616477090158, 0.31833000665335992, 0.41142778276171416, 0.28018256772673733, 0.27553763440860213, 0.0, 0.31295918367346937, 0.06541254125412542, 0.27630121816168329, 0.29344262295081969, 0.34461077844311377, 0.1815204678362573, 0.31643732669931846, 0.29908396946564886, 0.22425328554360813, 0.37629999999999997, 0.30498193082085701, 0.37501586093135392, 0.26312499999999994, 0.61194523135033063, 0.33078165374677004, 0.013464811292421663, 0.35219064535227945, 0.2201319881665782, 0.26562909567496729, 0.33769968051118215, 0.40843023255813954, 0.21176127243542972, 0.45264367816091955, 0.3632165605095542, 0.0, 0.36556372549019606, 0.49570621468926557, 0.38851844134194619, 0.37744855385050563, 0.37639931515869879, 0.35518256772673729, 0.32349272349272351, 0.24050998948475288, 0.39663366336633665, 0.38274305555555554, 0.2984035759897829, 0.39740324594257176, 0.33575757575757575, 0.43951008165305783, 0.41346930533117937, 0.34040504648074371, 0.3504799301919721, 0.21046267087276549, 0.29047619047619044, 0.35809999999999997, 0.25940525587828489, 0.33039242219215148, 0.32873873873873877, 0.39731549202127658, 0.44781576448243121, 0.23916440020832128, 0.81194187582562738, 0.39359490274983233, 0.29577464788732394, 0.59574712643678163, 0.57934959349593496, 0.25341163310961967, 0.2968073593073593, 0.37892473118279574, 0.54651826484018262, 0.36100516042180836, 0.26392961876832843, 0.24292237442922374, 0.0, 0.22840690978886755, 0.31528205128205128, 0.24537953795379536, 0.26125621890547263, 0.25028780743066459, 0.0, 0.25578682384724011, 0.30777063236870311, 0.3440756730002475, 0.20601369455195001, 0.26598837209302328, 0.35382889500253745, 0.048253968253968257, 0.20256016385048642, 0.37497745600700794, 0.36439153439153438, 0.13752436647173488, 0.32206645898234687, 0.15899871065127835, 0.35830784913353719, 0.12319763932667158, 0.30215595306026244, 0.32842377260981914, 0.40851505711318792, 0.34730158730158733, 0.082363013698630139, 0.25996653213899001, 0.38987270421344355, 0.37247661250615466, 0.21514732965009209, 0.18518518518518517, 0.30932475884244376, 0.37832388153749219, 0.28283582089552239, 0.28495683183183185, 0.2679324894514768, 0.33729174051754696, 0.30596992616065294, 0.30093167701863355, 0.49971655328798181, 0.31065557030532009, 0.30091991341991342, 0.34172335600907022, 0.29345892203035057, 0.40528471396485671, 0.55776600541027954, 0.19971014492753628, 0.39173920095150566, 0.39291005291005293, 0.25610915394508749, 0.0, 0.49178571428571433, 0.3687522021442593, 0.23578252957233847, 0.012237237237237238, 0.34632923544627858, 0.20706905927134311, 0.20897435897435895, 0.33723958333333337, 0.52197434629591932, 0.26910688140556371, 0.27033172819689671, 0.23832977617249493, 0.46939807789580174, 0.18606253312135665, 0.23106796116504855, 0.39950354609929078, 0.054489164086687303, 0.070355731225296439, 0.28996138996138998, 0.24280303030303027, 0.4042057435777946, 0.59758064516129017, 0.38809573798026453, 0.32454883227176223, 0.4046844319775596, 0.22004909983633392, 0.26317460317460317, 0.30857891290111328, 0.26501954215522056, 0.27193856154330054, 0.22689567430025445, 0.40757575757575759, 0.31527777777777777, 0.22362146050670639, 0.22066117783316966, 0.27236842105263154, 0.40444444444444444, 0.24064641241111828, 0.30982456140350878, 0.38764654237463197, 0.32663107947805453, 0.33089915548931942, 0.30039342027818222, 0.26505875077303648, 0.4081680830972616, 0.24282828282828284, 0.28305709023941067, 0.076100628930817607, 0.11775862068965517, 0.11507522916165584, 0.33023488255872069, 0.18432542972420274, 0.15824425008098478, 0.39600082991856428, 0.29413223140495864, 0.38320496217026784, 0.17567844342037892, 0.30359235668789802, 0.18956083513318936, 0.25111527768798086, 0.27578366502312035, 0.39945397815912642, 0.48009803921568628, 0.075342465753424653, 0.60305156257665715, 0.32776122418059694, 0.39428473648186169, 0.35513947462019207, 0.12801850214271138, 0.054618473895582324, 0.54005832904443307, 0.39877724614566723, 0.39236701084825509, 0.40408232118758436, 0.37677706506087183, 0.39536741214057508, 0.15072857058580613, 0.29280344845713085, 0.27813131313131312, 0.22917925478348439, 0.42793209876543209, 0.30255972696245731, 0.34493076162215625, 0.45152439024390245, 0.12854511970534069, 0.37922799493127984, 0.31241545893719808, 0.21265536723163841, 0.2802852303152833, 0.13966529396302463, 0.22315511917565833, 0.0, 0.41763942931258108, 0.0, 0.20660522273425497, 0.13582069874752803, 0.25004813709444501, 0.30612994350282485, 0.29595403918592994, 0.0, 0.37265100671140938, 0.13774739293056895, 0.20957792207792206, 0.090251043756438748, 0.14885943279901356, 0.36543967280163597, 0.30110375275938189, 0.055750129184130449, 0.28203269180068552, 0.36780711056538479, 0.29716481187069421, 0.10983778126635269, 0.46598077040847569, 0.28807069219440351, 0.36794612794612797, 0.33223676194653601, 0.43371677070912529, 0.27956774635036497, 0.23786458333333332, 0.23190578158458242, 0.45749185667752446, 0.44403990024937656, 0.41525690208163007, 0.0, 0.065892972275950992, 0.25409836065573771, 0.40283287701849474, 0.26989459815546774, 0.078097773475314616, 0.40953237410071935, 0.0, 0.0, 0.20855614973262032, 0.33772231784279971, 0.34195953141640045, 0.44305289993626507, 0.332656023222061, 0.33223472668810294, 0.0, 0.2636904761904762, 0.37125780600895181, 0.27264038231780169, 0.46666666666666667, 0.27322695035460992, 0.33166135881104042, 0.34047619047619049, 0.082865314612584506, 0.20209534709688778, 0.29089979550102252, 0.24397095959595957, 0.40270114942528729, 0.26739606126914661, 0.4108927381745503, 0.20252719129878441, 0.50866177047709815, 0.41360524712375901, 0.40839201877934278, 0.55025879917184251, 0.60306748466257665, 0.087215852607860023, 0.090364583333333331, 0.36276149480437586, 0.0, 0.0050576303670774878, 0.37852177942539389, 0.25813535635855461, 0.44616423554835222, 0.0, 0.3812888198757764, 0.40900584795321637, 0.15415368639667706, 0.45305642633228843, 0.36331127241673783, 0.0, 0.28048070305468792, 0.3071711177052423, 0.14304335358064602, 0.36071428571428577, 0.35800723818140689, 0.2894129979035639, 0.046439060205580029, 0.2128411306042885, 0.3170852100944036, 0.063918252290345312, 0.21335101905466416, 0.31440251572327044, 0.13340932117527862, 0.49347058823529405, 0.33099520383693048, 0.3348850574712644, 0.031688050773937264, 0.40331476701535118, 0.0, 0.14170992067378319, 0.40205387205387211, 0.28600891861761429, 0.071127247579529734, 0.30357142857142855, 0.5278292181069959, 0.27899686520376177, 0.34835234474017746, 0.30243506493506495, 0.3563020833333333, 0.2496527406774228, 0.20922266139657444, 0.14323224366548509, 0.13784521131479444, 0.3493610461936254, 0.32897435897435895, 0.230020920502092, 0.20526570048309178, 0.40964102564102567, 0.30651927437641724, 0.28935323383084577, 0.31539021386182958, 0.28740740740740739, 0.3096422073984233, 0.27377521613832856, 0.40564102564102561, 0.7215365676588491, 0.31580149620238707, 0.53389592123769347, 0.16875263675994936, 0.45983141235162572, 0.35642106332199258, 0.39318057828696129, 0.2897337636143606, 0.4029801324503311, 0.2165273132664437, 0.14778761061946902, 0.41061063690085359, 0.22050691244239631, 0.33515037593984964, 0.29267943269184848, 0.39559228650137734, 0.26435546874999999, 0.29711129745828874, 0.455026455026455, 0.10306254029658285, 0.14032597266035751, 0.42165263579875734, 0.18537634408602149, 0.0, 0.41752688172043018, 0.15726025536538987, 0.44018014489915797, 0.32937595129375952, 0.2898787878787879, 0.13060606060606059, 0.26378758797184904, 0.0, 0.15320733104238257, 0.38553921568627447, 0.40361509835194054, 0.24182800022979262, 0.44253511924207772, 0.36445639187574674, 0.48803131991051457, 0.0, 0.2361061946902655, 0.47996941896024459, 0.44047619047619047, 0.25679304897314376, 0.42045454545454541, 0.0, 0.29975369458128082, 0.40400567174760726, 0.32131266971322603, 0.22989247311827959, 0.097647058823529406, 0.30094696969696977, 0.2014953779227841, 0.4379799666110184, 0.43867816091954032, 0.29808467741935485, 0.48842350203606744, 0.27872117400419288, 0.32168846090715109, 0.0, 0.18524277141298418, 0.3476705490848585, 0.28438320209973755, 0.28073476702508959, 0.3237616891914219, 0.41625553447185315, 0.23177812337998965, 0.25698078536332042, 0.021020228671943711, 0.0, 0.20820592650247402, 0.21771401748518454, 0.44034722222222222, 0.2702341137123746, 0.28130020349148549, 0.42143250688705247, 0.20988420181968573, 0.0, 0.41168464304057528, 0.45582497212931999, 0.0, 0.3652793854572241, 0.33731046482724336, 0.13363303172603369, 0.30811036789297652, 0.27661498708010335, 0.0, 0.30986928104575157, 0.50402750491159143, 0.35365780830098537, 0.31138735420503377, 0.43791848617176132, 0.094313725490196079, 0.30485217535061859, 0.28340350877192982, 0.29486414844267733, 0.43215686274509801, 0.45475146198830407, 0.27876219825372373, 0.21540443070582171, 0.20478547854785478, 0.33217741935483874, 0.30323581560283686, 0.44436666666666669, 0.0, 0.43170880123914374, 0.0, 0.15571736785329018, 0.1910761154855643, 0.28112892451569804, 0.46775700934579439, 0.37341409217977206, 0.15360290305857957, 0.31022522522522522, 0.44197116537104891, 0.41419141914191426, 0.0, 0.38639887244538401, 0.37841079460269861, 0.34159946236559147, 0.40397306397306404, 0.47945113788487281, 0.06165904198062433, 0.17930633500176954, 0.26884057971014491, 0.43098958333333337, 0.36990291262135921, 0.30078640284119729, 0.40421881308033913, 0.30203320500481234, 0.30570079883805379, 0.45661577608142501, 0.36943887775551099, 0.27236441194393662, 0.53034511784511784, 0.29672731401322699, 0.0, 0.33757961783439489, 0.29338524400585925, 0.057463537251921784, 0.31654676258992809, 0.3031244605558433, 0.0, 0.12350597609561752, 0.4765291607396871, 0.28700336700336698, 0.053448275862068961, 0.53170869401580734, 0.46231114740710499, 0.0, 0.270961145194274, 0.41169022379269732, 0.42369668246445502, 0.45866085260198525, 0.38818181818181818, 0.17042801556420231, 0.53969180777334924, 0.42178704746104168, 0.21137673259616885, 0.6054666807924568, 0.61259168704156475, 0.34107279693486586, 0.31839275608375772, 0.4075088339222615, 0.41566771819137749, 0.39286616480573944, 0.35175995383727637, 0.0, 0.20725494888714144, 0.25990136003586906, 0.2008498583569405, 0.3701101276940747, 0.2202599388379205, 0.31294371386633918, 0.0, 0.21752207505518761, 0.25679317931793177, 0.0, 0.26217661034846884, 0.46378830083565459, 0.44941798941798938, 0.36363636363636365, 0.29252032520325205, 0.10420443101711985, 0.0, 0.35537424801838319, 0.0, 0.24761904761904763, 0.53474006116207962, 0.35819721718088321, 0.0, 0.25840095782892114, 0.41452188359615438, 0.0, 0.28333333333333333, 0.36518840579710143, 0.36798039616091488, 0.37396039603960396, 0.39332886805090428, 0.012404092071611254, 0.038841940532081377, 0.35326402448678024, 0.22847995818496622, 0.26986111111111111, 0.16321997778911668, 0.17646652864044171, 0.3174138837759663, 0.3147398750364207, 0.31966329966329965, 0.14751562035108601, 0.29363613199133654, 0.28992337164750959, 0.0, 0.35926666666666662, 0.14342139342139343, 0.46759274607963397, 0.3337688354672938, 0.28869936034115135, 0.46216922476196198, 0.050912301353737491, 0.21447811447811446, 0.25294158845776721, 0.34504455479219104, 0.29667338709677421, 0.22524479707817763, 0.36815415821501019, 0.0, 0.24879275653923544, 0.24600829875518673, 0.038991769547325104, 0.37795634210611923, 0.26879648411088575, 0.25940803382663846, 0.2813804713804714, 0.24157407407407402, 0.1302905982905983, 0.47686615186615189, 0.051471529110684582, 0.23516666666666663, 0.17448154428068344, 0.23772290809327845, 0.017554675838795507, 0.08031274647645828, 0.27419467787114848, 0.42479365079365083, 0.38273598845400497, 0.31493158035953855, 0.27808452624403546, 0.0, 0.39967362244366522, 0.2070588235294118, 0.47470669427191164, 0.12918395573997232, 0.43096911776320979, 0.46952261225542335, 0.34103333333333335, 0.4098958333333334, 0.33460784313725489, 0.279553114467607, 0.38302845528455287, 0.17653465346534655, 0.28189810257628728, 0.44825745217262347, 0.22988150437918597, 0.20144981538565765, 0.40756200846944945, 0.42220289224747204, 0.2198292252912504, 0.30174917491749181, 0.26153594771241828, 0.17983367983367982, 0.32641700404858298, 0.44304054740693066, 0.05195876288659794, 0.55982406707442789, 0.23669225847728728, 0.30106774024155436, 0.22666326139701187, 0.21790364583333333, 0.30295202952029521, 0.016897746967071057, 0.25077920458795661, 0.43297734627831708, 0.23260085273860279, 0.33108969122692367, 0.33433360613500651, 0.110809034416826, 0.29144542772861354, 0.37571092871981748, 0.35952519192310173, 0.20868631062001228, 0.2231805754459055, 0.37625333378346443, 0.0, 0.048903591037751937, 0.25939776274713838, 0.31048428912164266, 0.30308243727598566, 0.18819365701130467, 0.30273348519362192, 0.072900304906218238, 0.2619846000993542, 0.0, 0.066406757634827812, 0.037408880053015243, 0.040116726526423806, 0.25774891774891773, 0.22670348091904152, 0.066702508960573476, 0.26096428909728142, 0.34432704144439885, 0.26200588043123163, 0.17546633963725553, 0.26247491014330393, 0.33147792706333967, 0.42192036127737365, 0.31310607412695585, 0.42193146417445476, 0.23395569103478309, 0.30399740941963804, 0.039897039897039896, 0.44854260419424102, 0.35724737285505254, 0.23523369286081147, 0.45498838592714297, 0.0, 0.2697949886104784, 0.21188604616231912, 0.088472097973285618, 0.41821808510638303, 0.0, 0.16744573221489401, 0.26230314960629925, 0.14561827956989248, 0.51168016723281939, 0.4380774585495506, 0.3786538281176729, 0.0, 0.28503069021671051, 0.37686868686868691, 0.30200647249190943, 0.24209999999999998, 0.42788825757575766, 0.13697975756851974, 0.55291132478632476, 0.1739551478083588, 0.44714324215065354, 0.034903192046049192, 0.3329020449381469, 0.36112869198312231, 0.43524916673441177, 0.0, 0.38725663716814157, 0.24781264232806768, 0.42017423492995504, 0.29458507413778984, 0.28609541745134959, 0.42639034627492128, 0.35029976019184655, 0.3021452145214521, 0.2798437345465335, 0.41171253822629966, 0.34313032089063528, 0.50627572016460909, 0.48462211454337439, 0.39328268244133557, 0.070606186711055618, 0.20683682473283438, 0.38761369716425892, 0.60798742138364781, 0.75756763996785437, 0.47331959041600496, 0.26912126310340362, 0.35695312499999998, 0.0, 0.48918378476640617, 0.44669887278582926, 0.26341530054644807, 0.33214470284237724, 0.44789473684210523, 0.62562120375483155, 0.16055555555555556, 0.49329871587958735, 0.25364731521278527, 0.35460624071322433, 0.38566358062994854, 0.30178892770191595, 0.28402120802578229, 0.22619305688891642, 0.22666666666666663, 0.2568644368877836, 0.29774436090225564, 0.17032469166876416, 0.0, 0.24954896064845075, 0.37844827586206892, 0.45845371856607808, 0.42640663767574633, 0.33516592372461612, 0.23877338877338877, 0.24601925569339014, 0.052517478727440239, 0.52257217847769022, 0.30962823193431588, 0.052184087363494537, 0.35773365372454785, 0.29001721170395867, 0.28784660766961651, 0.32589299990406451, 0.24631655725747628, 0.14258760107816712, 0.2296835119959163, 0.37973640856672164, 0.40835897435897439, 0.331489898989899, 0.0, 0.087706496993754018, 0.51636513418459484, 0.35767629774730658, 0.27051546391752579, 0.37530120481927709, 0.34276315789473683, 0.21480238627889631, 0.0, 0.076285010238434037, 0.1419230769230769, 0.24463894967177244, 0.24593333333333334, 0.57288993807519928, 0.3307086614173228, 0.43359023763648041, 0.27587890625, 0.28828382838283828, 0.29650406504065047, 0.43053637518643317, 0.33576696165191744, 0.40340707441145157, 0.37375661375661379, 0.39338983050847454, 0.53079350619774224, 0.47156856209586029, 0.47190248418453945, 0.14341507720254312, 0.35808364544319599, 0.11762376237623762, 0.33042504274008133, 0.35847408270238784, 0.66438923395445137, 0.0, 0.1498680917269837, 0.32752149170601769, 0.26470985155195681, 0.37313790623608778, 0.13999343832021, 0.11662024141132776, 0.37217847769028872, 0.29612042209807576, 0.31151885830784914, 0.32084078711985686, 0.59402440415098645, 0.37299452548969964, 0.3236203090507726, 0.37323848238482382, 0.23013415892672856, 0.033333333333333333, 0.34180790960451979, 0.49150627993132734, 0.0, 0.27574712643678162, 0.33226212980466285, 0.39583333333333326, 0.38284313725490199, 0.35959595959595958, 0.30602564102564106, 0.14353693445853005, 0.38344370860927157, 0.25574700993310356, 0.36530247493259826, 0.0, 0.31507677427155123, 0.31777777777777783, 0.34743902439024388, 0.0, 0.34095477386934669, 0.34639065817409764, 0.41337579617834397, 0.26173139158576048, 0.34065934065934067, 0.46681546365703702, 0.70704099821746891, 0.53136094674556211, 0.40800477897252085, 0.3025849626033329, 0.42026666666666668, 0.81909385113268607, 0.25170068027210885, 0.028279569892473117, 0.25994065281899115, 0.28126485972420356, 0.38911877394636019, 0.25679611650485434, 0.36329225352112676, 0.34665845395749928, 0.1698427672955975, 0.14851079906806874, 0.80246913580246915, 0.12399650959860384, 0.44277777777777771, 0.37600122053550999, 0.46040344631893926, 0.30998702983138782, 0.16078124999999999, 0.5647003745318353, 0.73692982456140355, 0.48718820861678003, 0.43727477477477483, 0.41726618705035973, 0.0, 0.38920377867746292, 0.35246587807097368, 0.65791841631673664, 0.21785714285714286, 0.33397129186602875, 0.45786749482401656, 0.37231126107127788, 0.37826086956521737, 0.45854564755838639, 0.57045929018789143, 0.38197115384615382, 0.39109704641350207, 0.3561710104613896, 0.24556159420289855, 0.45388655462184863, 0.0, 0.12888058539623229, 0.35532258064516126, 0.33667334669338672, 0.0, 0.68235294117647061, 0.28518518518518521, 0.0, 0.39038170042717379, 0.32008830022075058, 0.25287873914441944, 0.38234567901234573, 0.36115450710826436, 0.39168079656553267, 0.56149732620320858, 0.24018212862834376, 0.52393442622950814, 0.0, 0.53642234905376995, 0.33716666666666667, 0.42606382978723401, 0.18307475317348379, 0.14755784061696656, 0.93226430743710254, 0.41368909512761015, 0.31873963515754555, 0.68623188405797098, 0.6875, 0.30837074201214681, 0.50993377483443703, 0.30835806132542037, 0.27779197546639406, 0.41156862745098038, 0.90352564102564092, 0.53004166666666663, 0.28282163742690059, 0.4118918918918919, 0.36358927483241932, 0.0, 0.84420000000000006, 0.57988165680473369, 0.41077844311377243, 0.65000000000000002, 0.53995621237000546, 0.67796610169491522, 0.71794871794871795, 0.42947454844006572, 0.33387096774193548, 0.4171383647798742, 0.28635416666666663, 0.32130081300813007, 0.2804963352696086, 0.26622922134733162, 0.33333333333333337, 0.76114827201783719, 0.34546226815800651, 0.15846872913420879, 0.25302419354838712, 0.22723577235772358, 0.42297734627831712, 0.40922431865828091, 0.26706367384333485, 0.37746527777777777, 0.5053482587064676, 0.33970588235294114, 0.21743197278911566, 0.40050387596899223, 0.24936061381074168, 0.64544895448954487, 0.31132183908045979, 0.23687752355316286, 0.39507042253521124, 0.49860279441117761, 0.58472200591808132, 0.40279651661964921, 0.68227281572290344, 0.078309117949891316, 0.56622247972190043, 0.38756495916852263, 0.45809523809523811, 0.091483803552769083, 0.57511860832894035, 0.20043754972155928, 0.0, 0.40540540540540537, 0.57253086419753085, 0.29380401599518424, 0.78878153515834681, 0.27638398115429913, 0.39752032520325203, 0.26463414634146343, 0.59297101449275369, 0.18326719576719577, 0.31982114779874216, 0.36288244766505634, 0.42562003845964202, 0.355352042435508, 0.0, 0.48446557276491342, 0.0, 0.27009493670886076, 0.23513257575757579, 0.39990196078431373, 0.24260162601626015, 0.47540983606557374, 0.42549775208734747, 0.085174129353233832, 0.3698581560283688, 0.45982510288065837, 0.43169398907103818, 0.47581967213114751, 0.33931216931216929, 0.39543568464730289, 0.43811040339702761, 0.33050847457627119, 0.27868852459016391, 0.31459390862944159, 0.019278806123102541, 0.31990950226244341, 0.37959763313609468, 0.89548611111111109, 0.39867841409691629, 0.3457417498316292, 0.25852385544902706, 0.28288389513108619, 0.30405228758169939, 0.12925223802001051, 0.24310231023102311, 0.31962415280345041, 0.19904040404040405, 0.20694444444444446, 0.2974032105760151, 0.1276595744680851, 0.32601552319981869, 0.31374655832381981, 0.31719937609863591, 0.37935323383084579, 0.29925808161102285, 0.0, 0.17809523809523808, 0.20748068844016804, 0.31779710144927542, 0.25314153439153442, 0.42822006472491908, 0.23969957081545062, 0.15022050716648291, 0.48614814814814816, 0.2723370927318296, 0.30514112903225804, 0.23584773142295268, 0.066266666666666668, 0.13056680161943318, 0.24591467823571944, 0.33927157561361837, 0.15644447017279806, 0.23357800613906313, 0.25424588086185046, 0.26023102310231022, 0.33422260470453241, 0.22441595217493907, 0.0, 0.28460317460317458, 0.38717948717948714, 0.23147095959595956, 0.30658669978070757, 0.36156084656084653, 0.29825662482566251, 0.39734972677595631, 0.22126984126984128, 0.36491712707182317, 0.28347164591977869, 0.301126721379886, 0.33767857142857138, 0.05883383383383383, 0.25804148370283109, 0.38492647058823531, 0.14845630559916276, 0.55233716475095784, 0.20334486735870819, 0.098129812981298123, 0.49155649568129739, 0.44142752023546727, 0.49146275149537788, 0.37050308562978129, 0.0, 0.12331712480566305, 0.19115557660430973, 0.25997576736672057, 0.33307771715086271, 0.39487794726146463, 0.18795620437956206, 0.32184659259699366, 0.36199307471095721, 0.25924479166666664, 0.31736881005173684, 0.37160036356009229, 0.26994633273703045, 0.15908602150537632, 0.30257633587786259, 0.33751422070534698, 0.32914141414141412, 0.20486322188449849, 0.3228571428571429, 0.0, 0.37939393939393945, 0.3585689045936396, 0.33929134431159502, 0.32043209876543211, 0.27181818181818179, 0.26151368760064408, 0.41340782122905029, 0.37301017024099048, 0.28625, 0.43058616130453947, 0.25125282499754348, 0.33271103896103899, 0.43254326561324302, 0.0, 0.29866953629426723, 0.36484536082474228, 0.22542087542087544, 0.0, 0.29098639455782316, 0.22350526045676161, 0.33513917429478801, 0.0, 0.2635688882016391, 0.48345398138572904, 0.15319209039548023, 0.26409947569788861, 0.0, 0.33950320512820514, 0.61350974930362112, 0.44706409681757059, 0.36525899346766033, 0.31388316151202755, 0.14740569107807661, 0.26926270834569072, 0.16512059369202228, 0.27318352059925094, 0.026269753338387079, 0.30894607843137256, 0.29573333333333329, 0.33060250546828396, 0.44195555555555555, 2.9938327046284653e-05, 0.4234348946490829, 0.52140038449863402, 0.37664946489800155, 0.23906581740976646, 0.23006093062651986, 0.13291640608713778, 0.12290780141843971, 0.21630369445600406, 0.32472035794183446, 0.36077634190019842, 0.35393574297188757, 0.30941475826972009, 0.35077186963979418, 0.17898243488794668, 0.43228097044797936, 0.037411689145793195, 0.053843466107617047, 0.13938922724720315, 0.37431829449677745, 0.33592072667217182, 0.0, 0.1612355309511827, 0.082571763327475095, 0.2565112196973291, 0.26139784946236561, 0.33130249208316126, 0.27718329306178807, 0.30949756252909044, 0.24314588753251953, 0.23265002970885323, 0.0, 0.33921568627450982, 0.25501054852320676, 0.35844748858447489, 0.31848816029143889, 0.22789855072463766, 0.30122036262203628, 0.36602040078130649, 0.22306338028169012, 0.44630081300813018, 0.44138785625774468, 0.31803703703703706, 0.28169326241134757, 0.37327703212185198, 0.36528052805280531, 0.28604719764011799, 0.50979729729729728, 0.24671361502347422, 0.24695402298850574, 0.29742037244326852, 0.26371400898124503, 0.34013409961685831, 0.23670551029528036, 0.11426139097605212, 0.3195700994546038, 0.27006872852233677, 0.27390402160666644, 0.20571671796215046, 0.29709864603481628, 0.28137375619820959, 0.32453039990469001, 0.37365625395219426, 0.47697654213727197, 0.3282051282051282, 0.30387096774193545, 0.40810234541577822, 0.082193396226415097, 0.21967071057192372, 0.47243243243243244, 0.22181701855406272, 0.59145253979787304, 0.33645390070921988, 0.23020202020202019, 0.4066870332654447, 0.4122465531224655, 0.38322147651006711, 0.22916666666666669, 0.34645390070921983, 0.34292328042328041, 0.0015299078323818052, 0.41619047619047622, 0.090673758865248227, 0.4398366013071896, 0.48370927318295737, 0.3254424778761062, 0.29068181818181815, 0.36501792114695336, 0.32056856187290972, 0.23989071038251367, 0.43385579937304081, 0.36418989923966127, 0.39146518190832125, 0.2608757788829818, 0.29510910458991724, 0.2338095238095238, 0.28323266876904168, 0.38496212121212114, 0.34508138711960368, 0.56592356687898082, 0.23178304816013742, 0.25318074092553322, 0.30352555173801349, 0.11018363939899833, 0.38395204949729311, 0.40408692831657483, 0.37319298245614035, 0.51337135614702156, 0.20200757575757577, 0.29340974212034387, 0.19259649122807015, 0.32538857023982881, 0.44394641674731317, 0.52919664268585132, 0.25492240445923731, 0.39631306173325459, 0.41750334672021422, 0.37888662593346906, 0.45415293716623117, 0.077799240658096319, 0.33423132183908044, 0.10164365548980933, 0.35045738171684743, 0.29954365227799806, 0.30157345589962092, 0.33201333295347707, 0.12638076673164395, 0.37369069624152801, 0.49542546385156738, 0.041680103192518539, 0.0, 0.35706827309236949, 0.18879651623119559, 0.12575459317585302, 0.27322916666666663, 0.31140096618357493, 0.46230144967746406, 0.039366148855199949, 0.42730533867904619, 0.28618843683083511, 0.40991810737033663, 0.42017730496453903, 0.41861030970836666, 0.38399168399168399, 0.37940562032481973, 0.15131074658899279, 0.065424430641821948, 0.20379032258064517, 0.29463917525773192, 0.10187566988210076, 0.13586421777632013, 0.22378600823045267, 0.33226183518410285, 0.3054248366013072, 0.0, 0.46755921730175071, 0.37811406217829935, 0.38011695906432746, 0.32360824742268035, 0.2975254730713246, 0.31985428051001824, 0.41394557823129252, 0.31302374301675978, 0.0, 0.34966632062880026, 0.34815895005468461, 0.2088888888888889, 0.27129492860659771, 0.37931684334511195, 0.26517006802721094, 0.63500526131182045, 0.0, 0.038265575037773641, 0.10840562369129525, 0.19128472222222223, 0.36430555555555555, 0.44996835665565005, 0.076043956043956043, 0.36405017921146954, 0.65116279069767447, 0.27572463768115946, 0.29871273712737129, 0.051535087719298239, 0.29984447900466565, 0.30360443622920519, 0.46411123637730173, 0.32515060240963856, 0.17699174895171108, 0.28721354166666668, 0.41675366170004113, 0.2213193116634799, 0.58198454359871687, 0.32170191496673017, 0.24564950980392158, 0.32529250325003617, 0.31319727891156462, 0.18828383512398383, 0.40852897102897096, 0.30446998722860796, 0.29166666666666669, 0.38065359477124183, 0.18958333333333333, 0.45737298636926893, 0.55412477054165865, 0.086285097192224616, 0.37009132420091323, 0.36580849141824751, 0.43658085142184078, 0.24897435897435896, 0.31977159172019981, 0.3335748792270532, 0.43781830129784782, 0.41156862745098038, 0.28844401041666673, 0.4971826205023761, 0.25779685264663804, 0.33940350877192987, 0.41221271448411811, 0.47252162813785281, 0.041353383458646614, 0.32183059059887142, 0.36552845528455286, 0.058885116015846069, 0.17940729483282675, 0.012232013678810995, 0.35491198182850653, 0.26583822269101454, 0.32327431725324346, 0.32098050569388148, 0.26967575351308404, 0.24099099099099097, 0.28327505827505828, 0.36530967378250528, 0.33379619402278532, 0.41097027312509438, 0.22456709956709958, 0.3757072570725708, 0.069353518821603927, 0.32646420824295008, 0.26785478547854791, 0.43333333333333335, 0.24462468193384226, 0.32482723869853153, 0.31530147895335614, 0.20494287133631398, 0.17989874582901852, 0.32769953051643197, 0.33796122576610382, 0.2434100418410042, 0.28901937343975248, 0.4255686274509804, 0.53788968824940042, 0.22553485162180811, 0.2634905042567125, 0.59616062881039944, 0.34606942524997969, 0.2668338907469342, 0.35145074224021594, 0.46450511005206474, 0.1156235833711101, 0.27835768963117608, 0.0, 0.26977389600848911, 0.32453027139874741, 0.16532994081531058, 0.25410135841170323, 0.21659657068909738, 0.3295899319564039, 0.30816602413257899, 0.56000000000000005, 0.24016129032258063, 0.46384754486020308, 0.49139784946236559, 0.078873239436619724, 0.13499025341130605, 0.30762651067821867, 0.40285780729180121, 0.3683333333333334, 0.30317839289711257, 0.32497908649824325, 0.23500405515004053, 0.2362727272727273, 0.41489937382431008, 0.28704496788008571, 0.26399535423925669, 0.27953348382242288, 0.24961240310077523, 0.2768259198242724, 0.14255634638196915, 0.0, 0.11855396065922383, 0.33907004830917875, 0.2859733333333333, 0.14257528556593976, 0.4872141372141372, 2.7110556850837715e-05, 0.26242462050322313, 0.063472388442468802, 0.61064356435643563, 0.3078389954820161, 0.21557177615571776, 0.47078891257995736, 0.14780408908057896, 0.27802879353408355, 0.25992342773492483, 0.40145916833667344, 0.055679632731559028, 0.44503168073030835, 0.32160084413626766, 0.56460744058728385, 0.6028320102982192, 0.19702154626109, 0.30473448496481131, 0.20523095082781972, 0.10298507462686567, 0.31751322751322753, 0.3353127474267617, 0.40347467608951709, 0.75045749459324573, 0.24756944444444448, 0.27974358974358982, 0.37464135952328403, 0.30198226395409494, 0.40264360313315928, 0.43780241935483877, 0.23817458428265378, 0.24540196269578216, 0.54492141684259909, 0.26031901041666666, 0.34092592592592585, 0.46880952380952379, 0.51255337835791515, 0.11571729957805907, 0.12517737402965973, 0.0, 0.30473602484472045, 0.0, 0.37456969564504677, 0.32286661703999459, 0.29514830995631181, 0.09211640211640211, 0.75861665740930229, 0.38032663788248539, 0.32759999999999995, 0.22708333333333336, 0.31372549019607837, 0.50777725405696583, 0.22232965009208103, 0.24743319268635725, 0.38187226722098772, 0.25111111111111112, 0.22700887033655098, 0.18789530518846095, 0.66317593297791322, 0.2417845117845118, 0.25758620689655176, 0.59985185185185186, 0.53163934426229509, 0.14161522633744858, 0.22967938586588396, 0.39476820776613764, 0.062969808995687007, 0.48535518520569182, 0.30899429833726377, 0.33948847344878996, 0.34161882531070592, 0.22523933855526543, 0.13105882352941176, 0.4021264367816092, 0.082947019867549668, 0.16847421584263692, 0.077338129496402883, 0.019587945879458793, 0.789097005061414, 0.34046618265189149, 0.42055555555555557, 0.58857142857142852, 0.50532353602759239, 0.33819985825655563, 0.28811594202898549, 0.11174517534758249, 0.26034604519774013, 0.0, 0.19901665344964312, 0.21836815135987386, 0.50166699352814281, 0.22738466590050896, 0.41695821185617105, 0.0, 0.28217922606924645, 0.19269456681350952, 0.6402706427765944, 0.54913580246913574, 0.72499999999999998, 0.25567010309278354, 0.30415254237288136, 0.47002973050733676, 0.67391304347826098, 0.3300078247261346, 0.40582123351538563, 0.35763558515699329, 0.52124183006535951, 0.24306930693069306, 0.56349206349206349, 0.0, 0.75053619302949059, 0.37319455443677635, 0.016820113314447591, 0.31489193543484206, 0.0, 0.37477734235838978, 0.23255813953488372, 0.40105910754614127, 0.38900900900900898, 0.3120258430815917, 0.0, 0.0, 0.55128771155261225, 0.0, 0.4284108527131783, 0.13773676542010685, 0.37357328145265883, 0.35576062639821027, 0.43077682221908931, 0.67739726027397262, 0.0, 0.0, 0.15180044647190138, 0.14028037383177569, 0.45475043558470846, 0.33958967926894823, 0.0, 0.49844295555345858, 0.32098245614035087, 0.085593220338983048, 0.0, 0.52805091594827591, 0.54251054852320679, 0.22600349040139617, 0.12637362637362637, 0.34379042690815004, 0.090544198637169795, 0.2876023746587511, 0.80859140859140866, 0.4486458333333333, 0.48729166666666668, 0.55199039121482496, 0.67868057751080191, 0.00010068972461360318, 0.46507525428818081, 0.28043143297380585, 0.0, 0.18954112554112557, 0.22579787234042553, 0.32233249163192201, 0.33206412825651299, 0.40273809523809528, 0.26739372908662784, 0.18588235294117647, 0.28484848484848485, 0.16457315273359352, 0.29377008396392656, 0.27244825124910776, 0.51867702470112109, 0.31151534838395328, 0.20607813752483187, 0.0, 0.44745913818722144, 0.16411003236245955, 0.13917565386684427, 0.43185590159133064, 0.3473027989821883, 0.47337180544105523, 0.33326679973386564, 0.16624201818124623, 0.0, 0.26198353886959613, 0.018587232872947158, 0.38231712267597628, 0.13647702861894534, 0.0, 0.28777800872999376, 0.27760416666666665, 0.18871584699453553, 0.22719123505976094, 0.34211461888509676, 0.36061111111111116, 0.29429766398041418, 0.037511374743015066, 0.0, 0.54563802083333346, 0.33444001096524634, 0.18857236411263917, 0.32521104148324614, 0.29440944881889763, 0.34308771929824561, 0.46331251286979203, 0.37936142634182468, 0.0, 0.11743486973947896, 0.34927418039471536, 0.43548689138576779, 0.55114695340501796, 0.29315960912052125, 0.0, 0.35593749999999996, 0.40641385767790261, 0.29240631163708092, 0.32649953139643861, 0.25763779527559055, 0.42188124084675804, 0.45543699186991865, 0.43281076801266827, 0.56923076923076921, 0.10784157363104732, 0.25871757925072048, 0.63958976220729724, 0.43293172690763049, 0.50341638484367446, 0.18698124305600941, 0.71864806718023466, 0.35683229813664596, 0.33603983634114626, 0.70263643626546179, 0.38374896093100586, 0.0, 0.25985361327789425, 0.28435672514619886, 0.17443535073237557, 0.28734016023770359, 0.42000000000000004, 0.15993958647987086, 0.28734627831715215, 0.28079847908745248, 0.2244155844155844, 0.32308234741048347, 0.37729384436701507, 0.54109900090826524, 0.41476444876153473, 0.31105354058721935, 0.34492073109158838, 0.41710778672803989, 0.36738710922423778, 0.17610891523935002, 0.50351115641635524, 0.31695115768125737, 0.28709055876685935, 0.29060123206112126, 0.36602095684544328, 0.45010426733126485, 0.30655686761963952, 0.26119842829076623, 0.22000891265597147, 0.47734574055610934, 0.38754186202277291, 0.30102564102564106, 0.44063218390804598, 0.36348489336492895, 0.34385964912280703, 0.14798206278026907, 0.26040046334602018, 0.36767497034400942, 0.47948473282442744, 0.27501683501683505, 0.10609026644915716, 0.43682291666666667, 0.37466467958271238, 0.38819007686932211, 0.42237250841315044, 0.39901960784313723, 0.0, 0.29285052080492996, 0.35931861198738174, 0.48824999999999996, 0.047863968521641376, 0.4385466724916266, 0.31610105580693815, 0.032925170068027212, 0.42719044393818117, 0.26644100580270791, 0.27862021857923491, 0.51839048672566379, 0.5225039037384035, 0.22004985754985754, 0.36942868161533804, 0.28200861927881732, 0.28402225755166932, 0.36731872717788205, 0.42582404087046227, 0.28063241106719367, 0.34260765809740745, 0.48055207026348806, 0.47579579579579578, 0.12262895174708818, 0.25093663911845732, 0.39011676929759559, 0.1766257040450589, 0.34834162520729689, 0.35248248220955913, 0.39137191854233655, 0.2902536125036862, 0.29078124999999999, 0.26248459115189698, 0.14300974415090406, 0.3256050605060507, 0.33791793313069907, 0.34572738418892268, 0.20283806343906507, 0.0, 0.35153075047412624, 0.28788604898828546, 0.32177248677248682, 0.24467005076142131, 0.1244973544973545, 0.13967686893462727, 0.20003209500120353, 0.32912170850338235, 0.24616769547325101, 0.14826284193083966, 0.30017580226181417, 0.34298153672498588, 0.37533121356650762, 0.3089103596349973, 0.44058394160583941, 0.27246721684977976, 0.23993399339933991, 0.11506024096385541, 0.23556430446194226, 0.42327750338014958, 0.2255157437567861, 0.0081637976004173187, 0.23809963099630996, 0.35741787498975996, 0.30139116202945987, 0.0, 0.0, 0.22960531805412618, 0.18618435630401062, 0.24613405665389668, 0.2954117777285809, 0.0, 0.42425494408637682, 0.27135734692734303, 0.087001436166192131, 0.26959837050190633, 0.31775523489204727, 0.31441860465116273, 0.38406835573101156, 0.35324281956585279, 0.087129143665189118, 0.34893216080402012, 0.0, 0.1950825064415328, 0.40649137863774676, 0.36822836661546338, 0.022341008771929825, 0.24614978902953588, 0.21670593970910862, 0.29302524819835712, 0.22736979166666665, 0.23808360477741586, 0.38424392935982343, 0.2902443836852045, 0.20350601779173208, 0.19426867219917016, 0.19633278598795839, 0.35847863878206826, 0.2080327868852459, 0.29345955249569705, 0.24590596936080295, 0.26358977013874507, 0.29994522048753769, 0.23187954309449638, 0.17746781115879828, 0.35719214437367303, 0.29347604485219164, 0.11988647217749639, 0.25181934336981282, 0.26995268138801259, 0.26626538255751742, 0.0, 0.0038657338088367407, 0.40462072649572645, 0.29681311475409833, 0.1208862000392124, 0.096749384741591476, 0.26196660482374767, 0.10851790519561168, 0.32791634840782785, 0.48212384785148638, 0.0, 0.26097624641085881, 0.44642906364563528, 0.35836802246852906, 0.42718898778720754, 0.34104266849858789, 0.24120833937986749, 0.32210200927357036, 0.33142164781906303, 0.044643542813259954, 0.36718142716484425, 0.34134829692949109, 0.29217549798203363, 0.34891131173659051, 0.34373738732678594, 0.19911297209443268, 0.068146336386344708, 0.37231465880370673, 0.36765610014017663, 0.44021972132904608, 0.39613292400495503, 0.029814511729405347, 0.28882926066795184, 0.22358689910195456, 0.28276131045241815, 0.40590277777777778, 0.46841747176486598, 0.40818806127839413, 0.040366262574155272, 0.40636792452830189, 0.39740740740740743, 0.43183954873080538, 0.36737413871146202, 0.39000000000000001, 0.26104584676161763, 0.44252346531448911, 0.036276002029426685, 0.39377819862975549, 0.31545172496088675, 0.34268867924528307, 0.3094485600869763, 0.3747789911596463, 0.36281407035175883, 0.23526504095659539, 0.3985326937382962, 0.3910829747448577, 0.37343260188087773, 0.34700435729847495, 0.0, 0.31419334603971139, 0.34888774207567158, 0.34406428201140488, 0.32590931738913803, 0.24606918238993708, 0.14708202835489037, 0.24427977119084762, 0.16484860842083801, 0.27677043217800595, 0.35414982660165317, 0.30130451969956512, 0.28990484913244802, 0.28646411628141721, 0.0, 0.24014560582423297, 0.29769475357710656, 0.42430068509843211, 0.4009350233755844, 0.14544513457556935, 0.0, 0.28646310432569971, 0.4995278040108882, 0.39494944090738854, 0.3380892804855325, 0.41614906832298137, 0.27346782431052091, 0.186147859922179, 0.35338345864661658, 0.35600053756215555, 0.39637232484649187, 0.30909417592854027, 0.049155265339966829, 0.17924836601307187, 0.41604030501089323, 0.27896534895070763, 0.24356751699276261, 0.22543166447841054, 0.30117647058823527, 0.45138597228055438, 0.16260812076469616, 0.18662240121911397, 0.44125965408462964, 0.31352644166888122, 2.6754421168098029e-05, 0.46337676880789985, 0.37812259271486731, 0.18598424385973947, 0.44461519395216265, 0.28608815426997242, 0.38870689655172408, 0.32625541378906703, 0.30957446808510636, 0.37718621399176955, 0.30385400714650335, 0.21736434108527133, 0.10945660628958773, 0.34905189620758487, 0.40597243491577334, 0.31230544613096056, 0.25639810426540283, 0.36523594377510038, 0.41900252525252524, 0.31615190389961489, 0.24607644364346326, 0.27338267543859651, 0.31147119341563784, 0.34186481021729676, 0.090149659863945575, 0.0, 0.40535018660274047, 0.26978577999737152, 0.22018250134192163, 0.25869107014220538, 0.31290244362421532, 0.1688368389963274, 0.0, 0.29857076994006454, 0.2664357974531672, 0.35090163934426227, 0.42360655737704916, 0.31145899219903017, 0.33909657320872272, 0.31484502446982054, 0.28535934721205153, 0.49532363617094566, 0.28215757335054364, 0.31989141034764501, 0.1202306637180528, 0.22995263759594969, 0.060953878406708593, 0.42043618739903071, 0.33814155471468121, 0.3546111111111111, 0.28049891001407318, 0.36882278879446018, 0.15033316653059076, 0.3103937814187302, 0.34890522283762099, 0.073481342015114665, 0.29590753964839828, 0.25296221178479927, 0.36420765027322405, 0.44191863995142688, 0.15942976719853519, 0.036149513568868405, 0.30603209739900383, 0.43489615413042937, 0.22327394209354118, 0.39001610305958134, 0.26899771791307087, 0.068246445497630329, 0.35971868558263609, 0.53784829721362215, 0.3699466666666667, 0.053150149171409228, 0.28651162790697671, 0.4761631246410109, 0.0, 0.029147524247064828, 0.31737370632236905, 0.0, 0.42089448125989321, 0.1786849731311369, 0.29387372926698774, 0.37589424572317259, 0.30106169723067788, 0.42339169684043454, 0.25776517237581231, 0.29393859572101738, 0.18272357723577237, 0.4150374736617502, 0.34670295809367291, 0.39778991159646387, 0.30010615711252653, 0.31317948717948718, 0.23237221494102223, 0.38540070138979088, 0.38774145616641909, 0.2597423510466989, 0.28417989417989414, 0.32733841407135889, 0.3223563264327392, 0.34817157435951945, 0.26339009287925691, 0.46162479275602603, 0.058616892990090701, 0.40082600586197703, 0.42992719708788346, 0.40760764626375751, 0.2004343105320304, 0.35313375690147875, 0.1682182985553772, 0.026563838903170524, 0.054805507285122311, 0.27896825396825403, 0.4180340557275542, 0.37212301587301583, 0.22846889952153115, 0.32397374040971288, 0.2341719077568134, 0.35546403075233396, 0.0, 0.38218709092739905, 0.35872934545920326, 0.33170995670995668, 0.23092955398082537, 0.061542449773169153, 0.31943166717775734, 0.23174570675402453, 0.17529215358931552, 0.33113678273131575, 0.39575559701492541, 0.25250549987778043, 0.09308938727331259, 0.0, 0.10563677627064971, 0.2537250728209724, 0.044512195121951224, 0.38620185671367091, 0.31209087408548325, 0.30798722044728427, 0.0, 0.010223642172523962, 0.0, 0.3768743667679838, 0.30023622047244097, 0.27145708582834333, 0.21528, 0.0, 0.33146741303478605, 0.32269616425274544, 0.23745318352059927, 0.32778298505816839, 0.45157461240310076, 0.070875290472501948, 0.037191304114153653, 0.0069821189636297288, 0.51410026239469675, 0.034499740798341109, 0.14099563876183385, 0.33206896551724141, 0.16767730029000794, 0.3732510288065844, 0.39740104257601078, 0.25592442939827453, 0.074491011891179237, 0.34564474259130751, 0.19077820116103625, 0.31462381664175387, 0.12814516129032258, 0.061912308505018485, 0.23792585170340683, 0.34210798510550267, 0.027077151335311574, 0.35326718754224229, 0.35914666666666673, 0.36653733470583577, 0.44358178053830227, 0.029972066336160251, 0.091523660946437865, 0.29222806221819059, 0.4927083333333333, 0.18150658253486021, 0.34363960016431605, 0.36883942766295713, 0.2131674442716433, 0.33382936507936506, 0.19574019635032447, 0.37885497183283118, 0.0, 0.40784016186140615, 0.30950022289365497, 0.31437403400309122, 0.32474907554146859, 0.30769040553907023, 0.18189429618001046, 0.35754738938167524, 0.36898765432098768, 0.30812407680945347, 0.27856107891217124, 0.26099458293753691, 0.32029810298102984, 0.30810840495345831, 0.14347648261758691, 0.28631605498801871, 0.43612833647883525, 0.051364660275551366, 0.5666245614035087, 0.35809806835066865, 0.088383838383838398, 0.29063518380881598, 0.20739598535121295, 0.27402232553514161, 0.018456875993640699, 0.30294270833333337, 0.23587924490859027, 0.41382481214859973, 0.42486293859649127, 0.25193384223918575, 0.12183629509962304, 0.33777919435114129, 0.20333552199606039, 0.40719428384422385, 0.48840189670639489, 0.34530703744228869, 0.0, 0.3029442881841406, 0.34733689282458657, 0.26501391348343029, 0.27675371223758322, 0.20847320894162957, 0.3240783001166388, 0.33435448577680527, 0.16059974130876645, 0.23877678267770094, 0.1673198754429292, 0.020198720566217503, 0.30602006688963213, 0.30943544171458448, 0.37593495934959348, 0.379520043632397, 0.33438452643750655, 0.0, 0.0, 0.34078609720775421, 0.34659280703707829, 0.29676746611053184, 0.036845885764452364, 0.25130718059623858, 0.15447312245294004, 0.31142833245044188, 0.31637612255678815, 0.34542886492039032, 0.2312983218265974, 0.33506728778467909, 0.15946578695328298, 0.0, 0.30129476584022036, 0.012507288629737609, 0.07188234038009822, 0.41823117515729658, 0.0046267087276550996, 0.34195962683813841, 0.28777056277056273, 0.12221796904905124, 0.0076655982905982903, 0.30907310704960839, 0.33717955026324853, 0.30914110271162831, 0.13931020153750262, 0.31232373411989961, 0.21103492954704961, 0.2382517081312262, 0.39020622747351019, 0.0, 0.39478870155463114, 0.3475232198142415, 0.2705454747239332, 0.37336760391515433, 0.30197653524997353, 0.0, 0.13599934352690174, 0.24439522446113121, 0.28657669501757393, 0.30126238631736119, 0.0, 0.20477401129943501, 0.36201460774525768, 0.0, 0.30005058977021593, 0.0, 0.26254511900561783, 0.30536082474226806, 0.44619651347068146, 0.00026120269328999311, 0.035889774236387784, 0.33333333333333331, 0.22801101169993115, 0.39553752535496961, 0.28173343241234888, 0.29455713319810678, 0.36875021476925196, 0.31091269841269847, 0.082885674931129485, 0.068465302184549659, 0.05178361714621256, 0.13602721947455187, 0.24226123369302624, 0.35104588394062075, 0.27014993779872981, 0.30370245708515647, 0.36483660130718959, 0.19287813546579183, 0.087714574217435212, 0.16667209113100082, 0.29393939393939394, 0.19468223086900127, 0.25349314837884246, 0.32403017241379306, 0.37875084860828245, 0.0, 0.24834067161727014, 0.094203145791395132, 0.29964967177987145, 0.18383035122597749, 0.34993319973279891, 0.17819812529503001, 0.25181265248616885, 0.12925057227216932, 0.35650698091456384, 0.0, 0.21776228419654714, 0.0, 0.34229979466119098, 0.0, 0.35169785169785167, 0.29082173624917163, 0.26918175720992621, 0.32012645613552798, 0.38701985047692711, 0.25933397155361054, 0.1079284750337382, 0.25000850832113808, 0.28652821696151332, 0.042427184466019417, 0.29921104536489157, 0.26014492753623186, 0.41756756756756763, 0.2813748079877112, 0.21580767330808498, 0.25691660316092907, 0.18043714696698593, 0.39732262382864786, 0.27129999999999999, 0.22238308474462137, 0.049528619528619526, 0.37493687081243054, 0.15188172043010753, 0.15427521710086842, 0.24867617107942977, 0.52934283452098185, 0.28456954311302646, 0.40108843537414962, 0.48737019365703055, 0.35950953130758145, 0.34392396469789543, 0.28283132530120481, 0.21434343434343434, 0.45055834823386526, 0.0, 0.29918772563176899, 0.30897945659377068, 0.29608216569174262, 0.50292929292929289, 0.0, 0.12307291666666667, 0.45059088919564999, 0.29850271799599448, 0.52102231821454281, 0.27676147382029737, 0.29970626631853792, 0.099587628865979383, 0.045073582788886693, 0.35412541254125413, 0.27762794682234981, 0.38342731942099778, 0.33185695538057741, 0.34329710144927539, 0.36532710280373831, 0.28688927483042237, 0.13741369022248742, 0.25085686306512162, 0.26093539703903096, 0.033917858790955241, 0.22301737484947531, 0.3060445917633447, 0.2546388336646786, 0.23991139362419339, 0.10447656222526988, 0.15746892966571419, 0.24685734463276832, 0.33473360655737705, 0.25661375661375663, 0.32307535364526657, 0.21499999999999997, 0.26615426105717366, 0.13497770345596433, 0.28301214574898786, 0.30766666666666664, 0.29292063492063497, 0.34685598377281951, 0.2880484017082956, 0.284845866633752, 0.0, 0.13749187784275502, 0.022972972972972974, 0.051506054575505111, 0.22417453215323818, 0.12402127589282765, 0.1223072020395156, 0.24846169450267092, 0.44265186990826866, 0.43752210113479278, 0.2141914191419142, 0.37300828553218612, 0.29326923076923078, 0.35260341902649095, 0.25625550517078266, 0.39100629755969568, 0.40740626541687219, 0.32487376654235833, 0.33131052697773866, 0.29023437499999999, 0.30556288768641943, 0.19495238095238096, 0.24745170371808564, 0.46829915248754617, 0.36524413687043444, 0.40417445482866043, 0.29429387584477112, 0.38673963640938541, 0.040839371412440012, 0.28876318605717777, 0.4273836482238822, 0.19194915254237288, 0.31845510390798587, 0.26690008079719901, 0.28904202659419587, 0.27415458937198067, 0.31722222222222218, 0.24673076923076925, 0.007575757575757576, 0.2705448717948718, 0.0, 0.05069306930693069, 0.26410356746885799, 0.18514563106796117, 0.3164042661249365, 0.0, 0.20919642857142853, 0.1898903817738222, 0.33394801851014233, 0.60444444444444445, 0.00014356265074078327, 0.021611721611721611, 0.2697752768717967, 0.3153896170562267, 0.30065292536166943, 0.10704099515480568, 0.075760792639773519, 0.16873828206374558, 0.058797343918091778, 0.19722799722799722, 0.35194800479285426, 0.18203326142926726, 0.20028690772541244, 0.20500267522739435, 0.23596455627705629, 0.33517960146827475, 0.25012845215157353, 0.07036342894393742, 0.24805375727280177, 0.14067596143507399, 0.47989489982639705, 0.28427599477699128, 0.33741510960976817, 0.32145053818554586, 0.047517514468473958, 0.029025594341934809, 0.28113148463866949, 0.0077958206637769294, 0.27262974386482502, 0.39177347857461942, 0.33376573291729483, 0.2364098687375438, 0.24109135411417465, 0.20148148148148148, 0.0, 0.33847634101920898, 0.20432287550256006, 0.28927417984021758, 0.36055016181229771, 0.10742673898952682, 0.32988557094257931, 0.26925022766366491, 0.24793745841650033, 0.34092948717948712, 0.26404590907528946, 0.025911031880933626, 0.23242541266532243, 0.13437202340454485, 0.059021581764923739, 0.27980798485514347, 0.2656483768831982, 0.092012887909106333, 0.49646074646074639, 0.13333333333333333, 0.18838418271689111, 0.14276076103089999, 0.22102333253152814, 0.34871237106167985, 0.13655533637167538, 0.21834961630776512, 0.19151061978276987, 0.16900210870008842, 0.31061581193686066, 0.0056563752062220134, 0.23728160778684218, 0.32199752673310544, 0.20817987302255428, 0.35553006952906607, 0.0, 0.14877350510768431, 0.42110556373693475, 0.26249088573313423, 0.13367983367983369, 0.0, 0.23550361329137995, 0.38235843767520095, 0.22806591500433654, 0.45682441581889516, 0.21871317464058448, 0.12103514248313361, 0.3842209209660094, 0.037326732673267325, 0.29115103127079173, 0.37019312357872591, 0.0, 0.30596288831746471, 0.082244224422442253, 0.060547747500085909, 0.03507157464212679, 0.079980276134122286, 0.10248508946322069, 0.15043148743750598, 0.041649611133851822, 0.32516233766233765, 0.24704560051380861, 0.21872274143302181, 0.33122112211221122, 0.20597862391449567, 0.25670773442847361, 0.29487427466150867, 0.28962017026850034, 0.19595660749506902, 0.10277808279345559, 0.27047526041666664, 0.095254458609669773, 0.028972868217054266, 0.3227869986168741, 0.031204977079240342, 0.27452333990795524, 0.19448742746615086, 0.099049429657794674, 0.099281314168377821, 0.21771043771043769, 0.24822039698836412, 0.13190825505360637, 0.051089108910891086, 0.059765355417529337, 0.26706507304116872, 0.33549999999999996, 0.20609597924773021, 0.092491909385113272, 0.50087189805499654, 0.3067065073041168, 0.62212658759315631, 0.17819499341238473, 0.15550161812297736, 0.29898989898989897, 0.02783409504828013, 0.052313883299798795, 0.25013149243918475, 0.31766803351756107, 0.36181774954997797, 0.13580002638174385, 0.2222879204201593, 0.0, 0.44847472066581473, 0.36076270112758141, 0.33879432146942073, 0.33427265541771201, 0.33202247191011236, 0.39200301299353463, 0.08689934243803743, 0.4094232059020792, 0.39482490143458238, 0.62422178988326849, 0.40440155512357673, 0.36270827313878456, 0.41632748381931006, 0.39482893351000575, 0.4239882854100106, 0.33794612794612794, 0.31003584229390685, 0.49858702633269109, 0.080751204270277321, 0.37453614843250166, 0.40704225352112677, 0.18658777120315581, 0.46108288294119554, 0.3110700095903548, 0.47115033677295193, 0.58961789000067166, 0.40814739688979046, 0.39067386000481086, 0.28281456841247749, 0.24984895333546575, 0.34456380208333331, 0.30359999999999998, 0.019528301886792453, 0.15663877573488935, 0.32361902238707119, 0.27700079035084701, 0.26556610262759661, 0.33744548286604359, 0.17257947371361532, 0.17542430414120841, 0.41586419753086418, 0.2143884399397343, 0.28932123449195124, 0.071215139442231068, 0.36234727241438652, 0.30356293029601195, 0.33950904392764858, 0.2212722646310433, 0.033818050093148415, 0.31692965154503616, 0.30665434380776346, 0.25412541254125409, 0.33838461538461528, 0.31491697982463157, 0.1576256264391169, 0.19571627620621498, 0.25589591567852438, 0.19330583259359826, 0.069744121715076074, 0.022468451831332718, 0.12584342211460856, 0.23789957292610328, 0.23911162388231902, 0.020893257894237759, 0.0, 0.20575048732943468, 0.33729852206601779, 0.19912670525010334, 0.054067617538299001, 0.019967637540453075, 0.23057761170792465, 0.12200647249190938, 0.046666666666666669, 0.39713135514143272, 0.022660256410256409, 0.050518632347291592, 0.28771417186877407, 0.41824045407636745, 0.26021857923497271, 0.045009911930064019, 0.23708737864077672, 0.31071535713311699, 0.35876840696117807, 0.40013333333333329, 0.34896057347670256, 0.43167358229598896, 0.18010928961748635, 0.36842537129728403, 0.10086927541866858, 0.17961867192636424, 0.27813515269655614, 0.27579365079365081, 0.30591036414565825, 0.32751937984496127, 0.42930918846411803, 0.054029464254470375, 0.30841097308488608, 0.16922807017543859, 0.50581333333333323, 0.47489626556016595, 0.25020366598778004, 0.14999999999999999, 0.33030612244897961, 0.11594771241830067, 0.49535519125683058, 0.053792912513842751, 0.36732673267326743, 0.24625990547599586, 0.10774206589852436, 0.0, 0.29854026055564281, 0.35512078938414426, 0.32901627742392076, 0.3110323886639676, 0.017456444795711488, 0.28553452084673248, 0.31423899713857473, 0.25902602854743911, 0.30843677113214119, 0.26052527385508778, 2.6709401709401709e-05, 0.28842180656180272, 0.37057153437847179, 0.26855449456700692, 0.34659564910479368, 0.30332056194125162, 0.1007936507936508, 0.19511691884456672, 0.35476190476190483, 0.22827804107424965, 0.29039215686274511, 0.22304468028181573, 0.33105372392909393, 0.19647834213201298, 0.88816562957015466, 0.28676567656765678, 0.31372168284789648, 0.35309407177846647, 0.20883534136546189, 0.41345525800130634, 0.19445636033657809, 0.30391068966676754, 0.2136190476190476, 0.28618027968866072, 0.34724409448818905, 0.28847487860469723, 0.3467975425464303, 0.21835055751971716, 0.097942307071098619, 0.30276933468422829, 0.35486979166666666, 0.48975625823451907, 0.029054610318331502, 0.27538503475534959, 0.066634178037686814, 0.29966495861253456, 0.097839393839129138, 0.17031410916580844, 0.41930171277997363, 0.38889073784404432, 0.22856196156394962, 0.35923800928313571, 0.018640350877192981, 0.16628232005590496, 0.31485729707846971, 0.0718571278200765, 0.40371485943775098, 0.11738387978142076, 0.27378198641029344, 0.16639566395663957, 0.30710004385751183, 0.18631074606433951, 0.087541750167000665, 0.0008547008547008547, 0.21407103825136609, 0.32347517730496456, 0.0079017264276228412, 0.30265377069493687, 0.14048816223235988, 0.18625850340136055, 0.32607585703865788, 0.32879704301075269, 0.29577559986481916, 0.29739142796218643, 0.26191293600659155, 0.029388574295749405, 0.24291777371381251, 0.095824777549623541, 0.0057688345580660669, 0.038414908725622643, 0.22902993024294699, 0.00507399577167019, 0.33820143637675681, 0.21380708566715922, 0.034907741325583837, 0.3562248995983936, 0.27808580858085813, 0.19371008939974457, 0.38428290766208256, 0.24707532325374565, 0.0093242365172189721, 0.14159749362100707, 0.064940199663931997, 0.38326873385012922, 0.2191952775139096, 0.067377398720682297, 0.00016733601070950468, 0.31286559370765721, 0.039402887139107612, 0.27011046133853156, 0.21721934895041073, 0.32826233941852601, 0.35302144249512668, 0.27822819853668185, 0.31865785460091511, 0.31686213539730285, 0.33283730158730157, 0.043498622589531681, 0.0037673651989639746, 0.31218471747299992, 0.26699759807846279, 0.055940257976917852, 0.28840155945419105, 0.27017374517374521, 0.22722457627118645, 0.27994071146245059, 0.074704724409448822, 0.13721492837532956, 0.072986247544204325, 0.23412175517195943, 0.1875, 0.34171990171990174, 0.2322327044025157, 0.0, 0.25130584192439864, 0.28527667984189725, 0.29204174820613177, 0.30144508670520226, 0.24171483622350673, 0.33765195137555981, 0.28420736388823981, 0.30237623762376237, 0.48135714751319991, 0.26714921309515904, 0.34302967563837128, 0.27621071391849744, 0.14419815683990547, 0.057372837814694294, 0.044246156115187493, 0.43770962276546449, 0.33008672016567436, 0.12467558731335737, 0.086965390630312098, 0.30615784908933219, 0.15400384368994235, 0.0, 0.47579572203459208, 0.0, 0.062683049991583917, 0.38846261160714285, 0.28119235836627138, 0.0, 0.27537863282848957, 0.0, 0.33640981169474732, 0.35506666666666659, 0.28537544049878016, 0.13783403656821377, 0.23004513217279177, 0.20838323353293414, 0.27392271247623035, 0.46903333333333341, 0.20280595441970753, 0.30503573749187785, 0.21427660117376879, 0.1780496453900709, 0.24178498985801217, 0.1887650142677019, 0.34528846153846149, 0.32644926291192738, 0.29267452277582523, 0.27491777739311057, 0.11163329246696635, 0.11679581429233724, 0.32889975550122252, 0.33018694000958665, 0.19233016047558504, 0.16547854785478547, 0.0, 0.25150955021565002, 0.34184392288924775, 0.24901561439239647, 0.19347464671654196, 0.05724206349206349, 0.14180854317463557, 0.30591917084497094, 0.33916360262533929, 0.29156352445306749, 0.431079108043536, 0.17882513661202185, 0.071690987124463521, 0.29417794902612321, 0.32273346966598504, 0.25462977276240528, 0.21693548387096775, 0.26696677090134363, 0.0047714121349531321, 0.32594881766728012, 0.036685823754789272, 0.10952993980724401, 0.083177570093457942, 0.051441531218858458, 0.31690187947294496, 0.11926638176638175, 0.083821478382147846, 0.1774108651688506, 0.22659289067739771, 0.18329067887931036, 0.0, 0.17488309953239811, 0.3846482577251808, 0.31754960114542852, 0.069342574523921674, 0.17839906232763375, 0.032030683113921425, 0.19655681935328684, 0.16159420289855073, 0.41408728759782842, 0.4703665956329719, 0.1927877947295423, 0.28063479308959421, 0.34815195071868582, 0.0567, 0.27412109374999999, 0.32807762280169794, 0.33348181970042878, 0.26866607278366161, 0.4034017669066558, 0.18822081575246136, 0.32842377260981909, 0.11481381543443064, 0.42637254901960786, 0.36663333333333331, 0.00088226644446622884, 0.2908519553072626, 0.074923071603913843, 0.00033602150537634417, 0.15076447345816871, 0.3832210306538863, 0.32776556295737208, 0.50027173913043488, 0.25244399185336047, 0.21821170282708746, 0.36802556866478525, 0.22925311203319501, 0.35791666666666666, 0.26494684177611005, 0.15901678739400599, 0.27345309381237526, 0.065152400261159413, 0.07950403651599279, 0.36705345631260539, 0.49845360824742274, 0.29456177586026927, 0.086100386100386089, 0.21403026134800551, 0.42707994535874588, 0.3599772346412875, 0.0, 0.21086519114688126, 0.00065963060686015829, 0.29153279153279149, 0.41725418071591563, 0.1972780126849894, 0.24160130718954245, 0.30593450396893579, 0.035462698876327275, 0.33492985495431232, 0.11034644823418827, 0.22325141776937618, 0.13569674647022714, 0.33161216293746415, 0.31584051724137929, 0.21209627648631971, 0.078719346960623604, 0.0, 0.39946815014060399, 0.040490196078431372, 0.23010645375914837, 0.3402601025068861, 0.36923944035541406, 0.33273809523809522, 0.23160469667318984, 0.12496550772626931, 0.36212723658051688, 0.14782997147864332, 0.20389344262295078, 0.13190354098815052, 0.27217741935483869, 0.19658444022770402, 0.15961650802377925, 0.25372566647073058, 0.38214040989223197, 0.10060240963855421, 0.30311673138380124, 0.27324735449735449, 0.43038576473784296, 0.36307651991614254, 0.31673400673400676, 0.49081939362258231, 0.42534110339533104, 0.37684630738522956, 0.34267464802862591, 0.53399130374767068, 0.082878492527615338, 0.27755924709859886, 0.39817115251897867, 0.40768469656992079, 0.32342975353996506, 0.30489417989417988, 0.41227144866385373, 0.42064063625262232, 0.19052642324837515, 0.40047101449275363, 0.0, 0.38372490096981288, 0.22729725440406287, 0.23480191256830601, 0.37220052083333338, 0.30434348809365436, 0.37174709142171952, 0.31170454545454546, 0.40035587188612098, 0.35994179750947486, 0.2509132420091324, 0.29397959183673472, 0.53557593616528154, 0.26676154332700824, 0.3387588652482269, 0.37926246447946266, 0.41802969516167743, 0.47526666666666662, 0.036482385538989311, 0.38496286916943301, 0.0, 0.34766496242665479, 0.0, 0.14774236387782205, 0.40889511828251057, 0.17879533370367431, 0.046442687747035576, 0.27561745468744914, 0.30208333333333331, 0.35399305555555555, 0.0, 0.29020381328073636, 0.05191910054277591, 0.042560675342947593, 0.20398092244920463, 0.3476797385620915, 0.31425399798799741, 0.29176555907172996, 0.25645261201734459, 0.041205533596837943, 0.066165664662658649, 0.34972445951674436, 0.064348603659375433, 0.26193895870736084, 0.0, 0.32373457956771245, 0.029222697105528335, 0.37821452365089936, 0.0, 0.39274853801169585, 0.22859195402298851, 0.26864919354838707, 0.38564257028112447, 0.34280421951525808, 0.0, 0.26169052488070893, 0.25933949801849404, 0.57372034956304618, 0.33001930501930499, 0.34380223736659377, 0.44394173093401884, 0.38436351486802545, 0.33865836323021725, 0.0, 0.40618310699371862, 0.31417238133656045, 0.22583829787234044, 0.50527806385169938, 0.42299032820675436, 0.36455603834289696, 0.26963921270192676, 0.38028846153846158, 0.22670454545454546, 0.034911810450378902, 0.28012820512820513, 0.49128558525407284, 0.29328169841983331, 0.25793288064768871, 0.2084090909090909, 0.3515186558280331, 0.3905895691609978, 0.53619691119691115, 0.32594059405940595, 0.27798374204959014, 0.0, 0.31855439642324884, 0.33084773610540608, 0.30285524568393096, 0.0, 0.35566610673213589, 0.25931039127213956, 0.35253659974453866, 0.33923476005188069, 0.27774385344689062, 0.35753885922247552, 0.3872489959839357, 0.24955206990852796, 0.25867107996760452, 0.30954808019028202, 0.16537282941777326, 0.21677373304782299, 0.17867512998852048, 0.27558781757929618, 0.42882267392701329, 0.41938906325980285, 0.2242936107391767, 0.28356527501656725, 0.28562831858407078, 0.36016666666666663, 0.28500334001336008, 0.37259887976358197, 0.49466950959488271, 0.2560679611650486, 0.28943003352743957, 0.31337374399301005, 0.33397740298018663, 0.20793988562308818, 0.24895165047847748, 0.2330014030044828, 0.30140603566529489, 0.31481905260060805, 0.2573895608304767, 0.17121451868117674, 0.32092661691542285, 0.0, 0.28513824884792621, 0.28871477482222807, 0.37000000000000005, 0.10735009671179885, 0.36955350528655123, 0.17825082508250825, 0.23172633694936398, 0.28437327443401433, 0.37191161815745161, 0.12750141041383201, 0.32213386348575218, 0.32337764412397907, 0.34609369687903718, 0.35636034708030417, 0.29990684056428002, 0.42833530756728466, 0.30363636363636359, 0.2872322482712093, 0.34485344239945465, 0.36017564483783976, 0.19248648462518508, 0.33508372139106313, 0.46912139544882225, 0.0, 0.37044364709432942, 0.43840136054421763, 0.27775428552841297, 0.27593891328570491, 0.2462306067448467, 0.0, 0.39993429697766092, 0.20870600347467991, 0.33907724686770363, 0.38014773483815745, 0.26050141125684878, 0.48953946703500312, 0.10915290860596238, 0.14674783723165652, 0.22475069478502532, 0.24818840579710144, 0.44837708347391864, 0.24958000134399566, 0.29209519919800986, 0.36207000421712149, 0.34079651941097716, 0.32925615589585538, 0.18257575757575759, 0.3616714202261091, 0.55356955380577422, 0.3873406412150785, 0.25080857590610522, 0.29946236559139788, 0.061063193704683688, 0.22257174392935983, 0.21605042016806725, 0.30556919216713035, 0.02268484272077213, 0.32478237697637241, 0.16866619618913198, 0.016492070612449533, 0.41871165644171776, 0.39914122137404584, 0.23999326712674635, 0.074035523620857538, 0.24856264587009735, 0.38811459089737887, 0.44343434343434346, 0.32458297335016945, 0.58993499338915834, 0.23309674027339644, 0.10312549579565286, 0.4262990821889448, 0.33113531155293563, 0.25281411621539401, 0.13523253818431438, 0.28227891156462587, 0.35811447811447811, 0.27881572230729967, 0.2814540558734433, 0.23739509465877301, 0.27911138120800832, 0.33112791430371774, 0.049828985312856282, 0.27425713055288703, 0.20506606467034061, 0.1900965602556613, 0.28806251684182166, 0.28142395711634943, 0.27503291525188833, 0.29004733017798812, 0.2179417554816373, 0.1787239767261965, 0.26128898416430402, 0.34796055118380809, 0.22610075366917887, 0.36741828351686773, 0.048289198044797768, 8.2642351450373265e-05, 0.0, 0.0, 0.32363279929696476, 0.31685714285714284, 0.55124907508544441, 0.01167481061227167, 0.40921296592289502, 0.41560610615626148, 0.11645833333333333, 0.013113897596656217, 0.23183461135695707, 0.2539033576924315, 0.30227750065634024, 6.4584880679432948e-05, 0.2741976729318501, 0.38619999999999999, 0.3212483399734396, 0.35869686800894857, 0.076579520697167752, 0.22757774140752865, 0.20750844024307902, 0.19716157205240173, 0.16744641497116747, 0.26019899156038501, 0.36076208127776721, 0.34783529723288759, 0.01574633884186484, 0.0267718641347954, 0.34473745503480757, 0.00028218296743608558, 0.26013911182450511, 0.060559581107526309, 0.36607166609028763, 0.32719721329046081, 0.14629629629629631, 0.25712228735986836, 0.23216894333529819, 0.0, 0.35023092760558683, 0.14758149316508937, 0.20732714138286895, 0.17817204301075268, 0.36044964920059469, 0.088029315960912055, 0.30095607235142113, 0.19597333333333333, 0.19341232689682075, 0.078339379722320718, 0.0, 0.0, 0.057616242082261501, 0.096089267299505537, 0.22405635300372143, 0.2775778897150929, 0.24891216984008205, 0.24659705898431095, 0.29835701735458209, 0.34317372588616674, 0.28186240826759751, 0.29557926829268288, 0.13999672202797203, 0.20782258064516129, 0.32864432864432863, 0.21682680530226736, 0.43619982790909551, 0.32718868950516589, 0.33644067796610172, 0.26777958740499458, 0.16872001037478926, 0.43968567860116575, 0.4291529152915291, 0.39397912623905179, 0.44778106508875737, 0.21468147787778047, 0.43448997103936504, 0.28803005904455176, 0.34411458333333333, 0.34275956284153003, 0.30077041602465338, 0.20134408602150539, 0.25746753246753246, 0.33531746031746029, 0.059024624752951234, 0.0, 0.40253132832080202, 0.25746876697447041, 0.10692057101994332, 0.3160063391442155, 0.19915277103232423, 0.25572178477690288, 0.42481363152289664, 0.3892595063375584, 0.065231259968102071, 0.39164037854889588, 0.35526610017889088, 0.34559505409582686, 0.52897310825650601, 0.0, 0.21823708206686929, 0.2563956639566396, 0.28215020576131689, 2.8248587570621469e-05, 0.31607433279121222, 0.21547649961049076, 0.11516869392922011, 0.26308529389225227, 0.26931310120579871, 0.30984, 0.3058103975535168, 0.38950185711164509, 0.17766525100729608, 0.20297717675984822, 0.22601707684580613, 0.1476608187134503, 0.13935558748756494, 0.29246646026831785, 0.28010247651579845, 0.0, 0.12359518674083324, 0.29636639918957103, 0.42769028871391079, 0.029339853300733496, 0.064078652882873274, 0.26757127192982461, 0.35290499356931165, 0.099643640350877194, 0.16892096636456297, 0.32954392754441131, 0.24750344827586207, 0.22091145833333334, 0.36597347306369732, 0.19920242024202417, 0.002545218238925593, 2.6968716289104639e-05, 0.16929009916574847, 0.28003812636165576, 0.23221850613154962, 0.068406600730452405, 0.0, 0.26752526464549503, 0.21739013933547696, 0.14761486040888108, 0.17958547031142599, 0.31237582348635362, 0.3026246719160105, 0.1888065273037543, 0.18211619514613925, 0.32843418785568834, 0.0085650283304783241, 0.026561248482029818, 0.28714208535926533, 0.26343626897330652, 0.16884851723216671, 0.44570751924215518, 0.37257957997622504, 0.23367894544886156, 0.28382138233106524, 0.28910735152161765, 0.094348508634222908, 0.37749146569761038, 0.37545551982851022, 0.31963645673323088, 0.36350796096558813, 0.24357106914907703, 0.12907520104325146, 0.25761336021922343, 0.43965142795091755, 0.30766266793393104, 0.0, 0.35637860082304529, 0.34281886387995714, 0.3663265306122449, 0.30730994152046781, 0.012330132745684454, 0.043874675360556996, 0.21467728161758629, 0.38146992635024546, 0.095761381475667207, 0.34902170999731974, 0.34564393939393939, 0.37364892598166644, 0.28597795848491331, 0.31081007115489873, 0.22592975206611571, 0.071896484628356461, 0.2582983987354821, 0.19140485104997557, 0.2472172057133476, 0.17895754896203933, 0.16461395841610385, 0.14093959731543623, 0.23526483472720033, 0.36407867494824014, 0.063851949585083834, 0.27631352874471665, 0.031092868137506415, 0.27256493506493507, 0.20684113063834247, 0.19396760740956262, 0.20828642901813632, 0.22984659222689771, 0.29767311858011325, 0.18390765459002995, 0.2961720867208672, 0.21222214430965569, 0.29868825707650787, 0.1840334390656034, 0.31883753501400564, 0.18233366109472304, 0.0, 0.28467320261437912, 0.16473090135776217, 0.25029527559055115, 0.21693086003372683, 0.14156956157857464, 0.030179282868525899, 0.19031849615272234, 0.0, 0.24378348894664228, 0.1777838372132656, 0.15059523809523809, 0.37084130019120459, 0.26488968684183273, 0.083616005269224442, 0.10916503587736466, 0.27493589743589747, 0.10657415105199207, 0.46600067727734512, 0.35752962160784818, 3.4505365584348367e-05, 0.0, 0.37531901146826041, 0.31912350597609562, 0.36823476856465409, 0.092956236177199919, 0.24822134387351777, 0.48808252103084526, 0.0, 0.074009096816114353, 0.29212598425196851, 0.0, 0.0, 0.12801839785358377, 0.0, 0.28134583628214199, 0.0, 0.33545885670340936, 0.2450031036623215, 0.5021611660244597, 0.3409255117839326, 0.32967939246074018, 0.46881891471747228, 0.34399234399234402, 0.33572895277207393, 0.07862622036262204, 0.30945121951219512, 0.33711698929090234, 0.3830612244897959, 0.18349834983498348, 0.012800000000000001, 0.3561751089324619, 0.19454473740101338, 0.32140456989247312, 0.28440860215053759, 0.05558035714285714, 0.30233632523759235, 0.30476601516739632, 0.0, 0.33375922771152755, 0.13729048436056487, 0.2575525812619503, 0.24034736138944557, 0.090993436651661458, 0.028613861386138615, 0.26062690439557124, 0.26064600825971612, 0.29403794037940378, 0.27505017755133548, 0.19736013000364805, 0.38351563999232396, 0.13689288090485693, 3.418102269619907e-05, 0.20896722325293754, 0.25869853917662683, 0.0, 0.17309143288291379, 0.22496309660488764, 0.14603481624758219, 0.21796826276765294, 0.12530737704918035, 0.25556008977759637, 0.30078489678780124, 0.379164808015647, 0.32245841035120154, 0.31061488673139154, 0.27167777413598454, 0.40006457862447525, 0.28608247422680411, 0.096082474226804118, 0.35776892430278884, 0.22225775503677644, 0.057147435897435893, 0.3707046070460705, 0.43976098191214469, 0.42048811817597948, 0.39494092699182065, 0.31010043330758125, 0.35825477548995288, 0.35773876229610263, 0.34463383243871049, 0.18323529411764705, 0.18277260796945838, 0.0, 0.3345238095238095, 0.33886255924170616, 0.2064806919234986, 0.28979484134837386, 0.31113306982872202, 0.50612175102599166, 0.29883253828772277, 0.2041348600508906, 0.022347914297131965, 0.0, 0.32928230664763031, 0.32088235294117645, 0.37198019801980198, 0.5472679114482849, 0.19597003696313503, 0.2435333333333333, 0.29120589784096895, 0.29912849747722953, 0.37634408602150543, 0.37378507871321015, 0.50049950049950054, 0.31893004115226342, 0.19227707006369427, 0.16545829453239322, 0.32296747967479672, 0.28301886792452835, 0.23387264980185335, 0.0, 0.18450095969289829, 0.30592312539382488, 0.23137286627295525, 0.035977242302543511, 0.0, 0.14907035257981244, 0.3036508721135513, 0.049202426421028983, 0.24680134680134683, 0.087083459176482428, 0.25840136054421775, 0.0, 0.3674074074074074, 0.27582292849035184, 0.25260000000000005, 0.3019662921348315, 0.2516245837509295, 0.2287566137566138, 0.24202492211838003, 0.20906722251172485, 0.0, 0.15605138607167005, 0.0, 0.15888533259114945, 0.2783821478382148, 0.19028591484651311, 0.28592896174863386, 0.1315202231520223, 0.011336699989693907, 0.40426575140965926, 0.33357142857142852, 0.0, 0.29616504684046169, 0.27511440744831939, 0.37942182827275911, 0.098429137113267479, 0.11413079635420131, 0.0, 0.31131178707224338, 0.2970731707317073, 0.2790483701366982, 0.37987034247920898, 0.57732671400741531, 0.10299946755013904, 0.10952380952380952, 0.49012626512379254, 0.23517799352750809, 0.39452223918905749, 0.37464212678936604, 0.37719992359955257, 0.36678513948497848, 0.20384291252317546, 0.19022967792667345, 0.2619644827932176, 0.19220232527061337, 0.15712418300653597, 0.41833882870152295, 0.0, 0.47807541926519531, 0.17731025152544247, 0.2784862766842251, 0.32816225109969449, 0.3584719350757552, 0.28289678557835368, 0.28950443329438452, 0.22593746717551905, 0.32388059701492539, 0.0, 0.34974874371859299, 0.4674144450446443, 0.32613420266232002, 0.21008432165626931, 0.37062744828534122, 0.19397561721058174, 0.0, 0.28969716919025679, 0.15807363532341656, 0.54081766363100303, 0.36264705882352943, 0.36223918575063613, 0.13673000356067716, 0.21064039408866997, 0.31479975274099631, 0.21814516129032258, 0.44616671979598338, 0.18020421607378129, 0.42760716570697371, 0.23443838742393511, 0.27857212333430603, 0.35016371971185323, 0.23518331651530439, 0.26172955974842765, 0.039499036608863197, 0.27618296011311694, 0.22960734445753983, 0.12094562963953721, 0.34477073673364245, 0.46317152103559872, 0.4112573451084155, 0.34213051823416507, 0.2813014555753145, 0.068388811460797977, 0.31402865711429523, 0.049722642460917801, 3.2885001150975041e-05, 0.39228948258369967, 0.0, 0.23435964624959055, 0.16524570354457574, 0.28536535721555056, 0.47707000033159802, 0.27977044476327118, 0.28916576024259205, 0.21710615280594994, 0.32648334801187334, 0.45323507450572997, 0.2677635209713024, 0.34608205900651628, 0.21904549651373806, 0.12305936073059359, 0.27350774014736701, 0.30693950177935947, 0.28376411891067843, 0.82541529996825724, 0.24280649926144754, 0.38281221429877493, 0.27401399491094147, 0.34810996563573887, 0.47456666666666658, 0.30803333333333338, 0.0, 0.25844635400490046, 0.32980247160321108, 0.35371072683622706, 0.3318379460280213, 0.21861791691007179, 0.2133364189367892, 0.28008722911271638, 0.21145975443383355, 0.17148628177074568, 0.3632169198127505, 0.31877982276755285, 0.11383543813979669, 0.3944527893247633, 0.31280444187076339, 0.30119448067549942, 0.24612041155896636, 0.0, 0.21027988762875874, 0.079433333333333328, 0.35096731154102739, 0.31206071605345653, 0.083301948163111594, 0.44552401369247263, 0.16024561403508772, 0.27531914893617027, 0.28193600505777811, 0.40732890246093051, 0.35813680466834708, 0.2103932584269663, 0.32293762575452717, 0.36423076923076925, 0.43808925204274041, 0.26065420560747665, 0.42036596105548124, 0.27036117823786815, 0.18909317221170552, 0.27673267326732676, 0.3028552416671707, 0.31569767441860463, 0.19154040404040407, 0.2398522800256904, 0.34068010075566751, 0.37030932173669073, 0.0, 0.37982964224872229, 0.19509145940255299, 0.35783339508875939, 0.35693057735332417, 0.31530910404149842, 0.073978919631093543, 0.3456455322508668, 0.36145109340566201, 0.32956210598057584, 0.33926192379429787, 0.2072545340838024, 0.50351816314850351, 0.38562248719975262, 0.0, 0.32864882090503506, 0.25937177228264169, 0.36187448415003209, 0.48015612700078719, 0.31044919859668429, 0.040878471901817842, 0.36913510457885812, 0.20776031434184677, 0.34283398184176395, 0.42390438247011952, 0.25770290382849359, 0.38106666666666666, 0.0, 0.43177808272887669, 0.33289317311501382, 0.53757225433526001, 0.38764195056780226, 0.081818181818181818, 0.22207149155531442, 0.249753465978305, 0.2722604463836214, 0.32446880958866792, 0.28470209339774555, 0.2859223300970874, 0.1259591864088731, 0.099047973454895036, 0.23769531250000001, 0.30431299238883697, 0.42436548223350257, 0.30705950458547882, 0.22401360544217686, 0.15677674039726799, 0.0, 0.24938345664200495, 0.26925403225806455, 0.2304650920819894, 0.34910556003223209, 0.58805898573312565, 0.36358353841946944, 0.2552371541501976, 0.39943830404058706, 0.30380399298993155, 0.36838516093835244, 0.47706987764110226, 0.44947380775400025, 0.30112244897959184, 0.05526782063513698, 0.0, 0.31477423638778224, 0.14691358024691359, 0.25677873286648301, 0.19893822393822394, 0.38407109322602284, 0.020884906384017295, 0.0, 0.1487037227302305, 0.0, 0.35734520437070011, 0.32767915844838924, 0.28644292563500967, 0.031764705882352945, 0.31401983426164926, 0.24446552814674255, 0.2794263613649588, 0.27368221223818262, 0.29348807221147649, 0.392747322659315, 0.24757449757449757, 0.10054824561403508, 0.30049800796812748, 0.069368646334938472, 0.033448005722265743, 0.21002346060997587, 0.32381974248927037, 0.19239533651298357, 0.31203416149068319, 0.11470138632649833, 0.23556896459657178, 0.27608769134192862, 0.33905634969960641, 0.38011194729371439, 0.021366290487287581, 0.36345750601879417, 0.22957541783452712, 0.24716282996846214, 0.0, 0.2460315364094979, 0.31506309148264983, 0.19784805143681933, 0.22609516038553729, 0.26155445801923577, 0.29190636778416984, 0.079245780590717296, 0.26459343648166678, 0.0, 0.27987012987012988, 0.30988193433608285, 0.28705599344866417, 0.47732644936551383, 0.31668965517241382, 0.33100511073253835, 0.26636764242996536, 0.18553326293558606, 0.15187843201217852, 0.29246961533642402, 0.0, 0.025508130081300814, 0.0, 0.06525298404985741, 0.28476994225694352, 0.28449212024897363, 0.30561391378347469, 0.32125214776632305, 0.22448871181938912, 0.25998592980536228, 0.11128804886962879, 0.21996527777777777, 0.17618666666666666, 0.030788730162921496, 0.2885802469135802, 0.29310392065536039, 0.035002736726874657, 0.24472843450479234, 0.21228318970219265, 0.29181726907630523, 0.34652665589660742, 0.16144859813084111, 0.2060483870967742, 0.27498271331766011, 0.18406460296096905, 0.0, 0.23964460633506438, 0.25395857093599977, 0.20684238551650697, 0.078883903533370728, 0.29829972526048415, 0.29626647144948748, 0.31840602284527519, 0.10269775483739733, 0.0, 0.12726792552489108, 0.27752932457642276, 0.27818897637795276, 0.0, 0.33473958333333331, 0.41647640280426546, 0.27087827426810479, 0.20178237139768504, 0.95462532299741587, 0.18683431952662721, 0.2371913498651721, 0.25204687340088017, 0.24783068783068782, 0.25928961748633883, 0.3008560727661852, 2.564102564102564e-05, 0.36350263239393005, 0.20790870488322716, 0.41399999999999998, 0.078796132370965541, 0.33572606214331008, 0.015586003157948352, 0.028749999999999998, 0.26975079168387717, 0.30228530872959541, 0.30576710816777042, 0.056476349351557875, 0.058950432771034234, 0.090298417300954448, 0.27633007600434312, 0.025737704918032785, 0.24217318169265145, 0.40297812936249416, 0.27585365853658533, 0.3130016051364366, 0.28944444444444445, 0.14259686938670774, 0.29766771488469601, 0.227488763754714, 0.22866661205319355, 0.43626473254759751, 0.33061430010070497, 2.6453626792233214e-05, 0.05064484126984127, 0.2316531165311653, 0.35229797979797978, 0.30163890739506988, 0.15731132075471699, 0.26931758530183725, 0.21641371557054526, 0.0, 0.33406051895387928, 0.097362869198312232, 0.22474425384595362, 0.25877450718521289, 0.069317275701833977, 0.2620533333333333, 0.12897246474143723, 0.18989729616432616, 0.31134217090328187, 0.33395161290322584, 0.27561937735902597, 0.13959841914007587, 0.0, 0.42472783825816479, 0.41406513559102104, 0.0, 0.31923701298701301, 0.32544973544973543, 0.30315452274948418, 0.010008254230293025, 0.0014313735885066001, 0.15710900473933651, 0.43441787534300269, 0.36485471665415059, 0.21358369152653142, 0.22522315735781689, 0.36622549840844365, 0.2914141414141414, 0.33912137082422339, 0.38951672296010353, 0.29770722143557343, 0.0094383775351014037, 0.42139771675408827, 0.2621261756314065, 0.37195137235242509, 0.228223598522102, 0.12913694147937566, 0.0, 0.03272727272727273, 0.2596969696969697, 0.0, 0.0090129339686861806, 0.10822766145679741, 0.31089929548280149, 0.25378167931359424, 0.0, 0.31342646901994242, 0.31630798660927784, 0.086262852155889483, 0.065501628001628009, 0.18993907459245843, 0.19206349206349205, 0.039785788923719957, 0.23118811881188117, 0.27003600823045265, 0.064356955380577424, 0.23479272648555038, 0.0059652928416485899, 0.092858903771879373, 0.26679982488781873, 0.32236220472440946, 0.26902695064096094, 0.35741256738105792, 0.17795749975442843, 0.52340484048404845, 0.30886162956696456, 0.3261494252873563, 0.33174731182795691, 0.18036567287102623, 0.32743999999999995, 0.43047494069550296, 0.3155466666666667, 0.30063694267515922, 0.0, 0.0, 0.35824354643852163, 0.060928961748633881, 0.074217907227615967, 0.0, 0.28201993860864366, 0.19865426898725796, 0.071996615905245351, 0.18084901242390017, 0.32381428135320406, 0.19714060503927588, 0.16615591397849461, 0.1744675186368477, 0.22105691056910573, 0.17386895475819034, 0.26557120500782472, 0.1103299931797912, 0.26879999999999998, 0.18047693920335431, 0.25871710526315794, 0.27736250545613272, 0.253243397611989, 0.20418719211822661, 0.12835978835978837, 0.29385674931129474, 0.0, 0.062442040185471406, 0.28033707865168539, 0.32612095264952445, 0.28383585898036762, 0.29315251108775353, 0.34736375719982276, 0.19508600825250522, 0.30522409973038628, 0.13791178112786151, 0.26221306650971155, 0.31997233748271087, 0.28161691542288564, 0.28732171156893821, 0.0, 0.32071745927266743, 0.034191876454410831, 0.10767590618336886, 0.17115369282695936, 0.34406417669427514, 0.30089089250254925, 0.40199723209682231, 0.22033898305084743, 0.015748031496062992, 0.0, 0.29332656007700125, 0.35785462244177846, 0.30760416666666668, 0.49906212379965836, 0.14782051282051281, 0.36147087884209683, 0.25025773195876283, 0.40324970619794598, 0.024884739841356203, 0.052076923076923076, 0.05993206968335707, 0.26693766937669366, 0.26383694839192218, 0.20999861897527966, 0.31562491857950548, 0.25007849293563583, 0.35295023879217374, 0.28170466883821932, 0.13028967746981984, 0.32776993820252054, 0.1200686539286706, 0.0085364829690167659, 0.041831901299845778, 0.3255756578947368, 0.19840255591054312, 0.26138663335415363, 0.073240589198035999, 0.058165303274876207, 0.084146981627296585, 0.40246153846153848, 0.12557007430181913, 0.18483172949120102, 0.2794708552940563, 0.068046348392847192, 0.32362410322711488, 0.28300506765581734, 0.30064699792960659, 0.0, 0.21707390980964714, 0.37880791199492281, 0.2157828282828283, 0.29548834903321763, 0.22978670634920634, 0.18164840295515094, 0.49073095268789479, 0.29608880046075708, 0.048224462954844366, 0.0, 0.014930718162034104, 0.098390292223873202, 0.11429257618615574, 0.17145686148576322, 0.38027444253859344, 0.29911094548551959, 0.11936070686070688, 0.33721556655806673, 0.021897018970189704, 0.12301994301994303, 0.035504971219256935, 0.030472636815920398, 0.442, 0.16871955728967433, 0.29137335376782608, 0.036928608115048792, 0.38503236245954692, 0.22348274293799586, 0.26339743429443097, 0.43717746182201156, 0.38768115942028986, 0.26980171489817789, 0.41901524568123583, 0.32928994082840235, 0.24334406870638758, 0.28138325533021313, 0.064228102829705161, 0.42677165354330715, 0.29616264014765431, 0.49399375975039, 0.33369759586727599, 0.22281080195505559, 0.25246096173035953, 0.2716111915098891, 0.4901322040339875, 0.24353225250086238, 0.32442816988576295, 0.19876733436055469, 0.49831011257811164, 0.27266666666666667, 0.36485853962970671, 0.27331809191091477, 0.12957320849124374, 0.40122347066167291, 0.44243827160493826, 0.31442710315949751, 0.15625674217907229, 0.22696099997412073, 0.21725544881727094, 0.32438730413820815, 0.3030661373426809, 0.41684698608964449, 0.19007881316643485, 0.0, 0.25779737029864441, 0.27753327323824162, 0.25063048245614034, 0.040919009113079198, 0.32508038585209004, 0.30137256559848929, 0.32067745619655141, 0.27730389697273788, 0.23635149572649572, 0.24522653721682849, 0.36766379450495851, 0.31092896174863383, 0.0, 0.24780233493247553, 0.21908063687724702, 0.33849287169042769, 0.30178668110449375, 0.2275323191942267, 0.16197861233591812, 0.026969620748441909, 0.14008937960042062, 0.26084235729444416, 0.24630541871921183, 0.21085209003215433, 0.30886116020787718, 0.21840873634945399, 0.21696887686062247, 0.28314931650893799, 0.015146480589245169, 0.3835623409669211, 0.26433172302737523, 0.20864518099893081, 0.030280770486451194, 0.40086206896551729, 0.08576227390180878, 0.29459388185654012, 0.37332317073170734, 0.054360976682798066, 0.32795374560080442, 0.19216402869964799, 0.14446236559139786, 0.4272571300693736, 0.45767360033116017, 0.38782450674974045, 0.51429333333333338, 0.32461656441717796, 0.41809002310861043, 0.47274013440452722, 0.17366203412715039, 2.6581605528973949e-05, 0.33439922480620154, 0.22867582897033156, 0.42243430444667684, 0.34779657477025894, 0.37542364177878196, 0.26677713338856668, 0.24977466199298951, 0.35844442691488526, 0.1735702191109201, 0.30128600823045265, 0.080376107340827868, 0.50339531968240703, 0.43942882272292205, 0.42362643134783062, 0.76589498717996363, 0.27864635868468834, 0.3536563423724457, 0.40744188520665997, 0.26128628628628625, 0.23795541054921154, 0.0, 0.35449396534286293, 0.45800487315465105, 0.21679999999999999, 0.22495167808820946, 0.096198830409356714, 0.32436284657413378, 0.31477423638778218, 0.26114285714285718, 0.20725602027883397, 0.24319526627218938, 0.26920130243248419, 0.29831664860039531, 0.1928525641025641, 0.21292296616270698, 0.22317757009345798, 0.31820499745028047, 0.20438191733083796, 0.34350393700787402, 0.24605733716362782, 0.44781339237013512, 0.37250656167978996, 0.23357861338013905, 3.0863244961575261e-05, 0.0, 0.030171277997364954, 0.2830018986709304, 0.13343454790823212, 0.06684795704106572, 0.0, 0.23439528023598818, 0.33510196253915492, 0.23269873079492315, 0.014235080540587268, 0.23915999873493785, 0.22267389340560073, 0.26756672873991311, 0.20447957839262185, 0.15488672947987123, 0.42863533007790655, 0.43172819870731949, 0.35189323401613903, 0.1829206349206349, 0.26205725204345209, 0.26590153027278773, 0.35792698493745218, 0.30981606133688494, 0.0, 0.25492744206194495, 0.29807091804871283, 0.030734061468122936, 0.24727522563317822, 0.30783648244769768, 0.35553264604811002, 0.36993399339933991, 0.36725260416666666, 0.19545880906944396, 0.26478996401304949, 0.047244897959183664, 0.24783226723525228, 0.7862996645803797, 0.16322657176749703, 0.34187540141297368, 0.34932487725040917, 0.3955300127713921, 0.32262626262626259, 0.39370370370370372, 0.0, 0.31891089108910892, 0.19719710669077758, 0.2854166666666666, 0.0, 0.31230042150977139, 0.36074652666623985, 0.1870080494252532, 0.26710311990978575, 0.15447712418300652, 0.11192930780559647, 0.28045104783518315, 0.29687672747374239, 0.4634719710669078, 0.32154789321742516, 0.37745098039215685, 0.26318504190844616, 0.29348942287944135, 0.21393758884451364, 0.22358376199993446, 0.26015530629853323, 0.3184738955823293, 0.3314091130209178, 0.2011148941851926, 0.41709994222992502, 0.17685377685377685, 0.29393792097770988, 0.11755319148936169, 0.097117837688754052, 0.0, 0.15354906054279749, 0.00067307692307692305, 0.0, 0.044091952447839942, 0.34905930665647977, 0.2614111986290083, 0.28239057239057247, 0.36732178547634908, 0.20550427350427353, 0.29482354392892401, 0.0, 6.7069081153588194e-05, 0.267849628278861, 0.0, 0.49187635638453858, 0.18367003367003368, 3.4277096044423117e-05, 0.3333106104502539, 0.36823476856465409, 0.27150341324019683, 0.071419141914191422, 0.0, 0.28131511924056501, 0.070822308511734988, 0.20094736532407545, 0.28330039525691697, 0.21622653515749285, 0.0, 0.27514524633106091, 0.21392213045676725, 0.0, 0.2637687060979334, 0.22274090227613469, 0.054259303803992992, 0.34595564253098493, 0.20489417989417991, 0.28507362784471219, 0.44686546933242971, 0.3354564755838641, 0.21606079277058943, 0.080922865013774103, 0.26227336122733613, 0.74840129992661708, 0.13483732151007369, 0.12911878562501905, 0.40127147766323024, 0.44214195183776939, 0.10197278911564625, 0.40963302752293579, 0.33373333333333333, 0.37088435374149664, 0.27950713359273671, 0.29119741100323615, 0.30469743307790109, 0.22079037800687284, 0.33959197786998618, 0.27263333333333334, 0.23660377358490564, 0.31463414634146347, 0.15633986928104576, 0.05077683615819209, 0.2799666666666667, 0.14320261437908494, 0.41517644659005914, 0.27134680134680134, 0.29797472736714559, 0.33210130047912384, 0.2942087542087542, 0.34945512820512825, 0.36395348837209307, 0.4748862897985705, 0.23093249826026446, 0.26586478639568645, 0.3585352581543485, 0.32858965551084501, 0.33009259259259266, 0.051017278396891928, 0.24191506108620511, 0.42434920634920636, 0.28045166723852899, 0.025500910746812388, 0.15393206753826949, 0.200077087494306, 0.36408288065575906, 0.0, 0.19829170024174056, 0.090288060304213213, 0.32183030134703511, 0.29386338539201773, 0.0, 0.35093648781861708, 0.23102527765876807, 0.34965588437715073, 0.21545352042094712, 0.22879061371841153, 0.50553650171484565, 0.0, 0.25843466346977223, 0.087519788065777149, 0.0, 0.41094234852196632, 0.19631120053655265, 0.35627622548222354, 0.39766922094508306, 0.20646864686468644, 0.30484366991286521, 0.057882414151925077, 0.10671950031901677, 0.3904663923182442, 0.13735638132698477, 0.28045081574662367, 0.32707549704459971, 0.23341168569509743, 0.26766029613202008, 0.19996384671005063, 0.24584942084942085, 0.22857618097139057, 0.2364672364672365, 0.030368763557483729, 0.27672750977835725, 0.086864070583008032, 0.17339216128305046, 0.35261569416499, 0.35665441050135732, 0.054860898382021225, 0.37273600439077942, 0.39244494560891485, 0.25966373098478784, 0.3909398242055443, 0.30256907740683747, 0.17013900035311866, 0.50520481276193052, 0.52079536039768026, 0.30411214953271026, 0.38758118277722409, 0.3182536026847404, 0.32163196713658854, 0.37158562082686991, 0.34324494949494949, 0.26163123673483146, 0.48632372983423655, 0.2506400409626216, 0.46280566280566282, 0.27046632124352332, 0.31408268733850131, 0.33403041825095059, 0.29433593750000003, 0.32458416500332671, 0.0, 0.10422792253878131, 0.25277413408019284, 0.4734243697478992, 0.18362179487179486, 0.24261100066269053, 0.24910891089108911, 0.10137163914289614, 0.29185260311020966, 0.31339646503593566, 0.32678420402055813, 0.33840603476549685, 0.34097917605072586, 0.31722752997018194, 0.34428034125309609, 0.41399751707014276, 0.36336042629253656, 0.1562381852551985, 0.28661555179908238, 0.041593903794253061, 0.16890502117362372, 0.48600754999532031, 0.0, 0.29368823000898475, 0.21597796143250692, 0.42666583361969324, 0.14427215539123717, 0.33554935789337137, 0.23963795255930087, 0.0, 0.20759493670886076, 0.0, 0.27560718057022177, 0.20787143554347068, 0.23457317073170733, 0.32422367894623449, 0.39165962242885322, 0.097053420011305819, 0.3185317132133087, 0.27896267571497818, 0.39964470284237724, 0.26467065868263467, 0.19447656172574412, 0.36447266900112768, 0.026616915422885572, 0.33372472276581866, 0.35274582306217478, 0.2961013645224172, 0.32601060304837648, 0.3402636095728489, 0.45792796855872681, 0.40502339795626013, 0.48396825396825399, 0.4014079895219384, 0.35019878351286149, 0.29469696969696973, 0.25016118633139911, 0.37057448229792916, 0.34609222523231087, 0.42215762273901808, 0.35959397511460378, 0.30964401294498378, 0.33197211155378487, 0.39400983761202074, 0.29930966469428005, 0.20944774851316908, 0.28894020170464196, 0.0, 0.41044950184932188, 0.36836823442831335, 0.29471947194719472, 0.15896334478808705, 0.34870967741935471, 0.44139310114980834, 0.33092369477911648, 0.24281609195402296, 0.32480392156862742, 0.37181758530183728, 0.67314194788835113, 0.32105429292929294, 0.41601368159203983, 0.18791322314049586, 0.0, 0.22059405940594057, 0.19749983242844696, 0.13899895724713243, 0.28157313610711909, 0.25467320261437909, 0.39229239016824574, 0.28263710008586262, 0.32101553411346062, 0.22971576227390181, 0.30133724722765814, 0.22544359949302917, 0.10231746031746032, 0.0, 0.18530744336569582, 0.26788778877887787, 0.22909249680929669, 0.26289890730154136, 0.17184976461289991, 0.36650262467191608, 0.20653184192814333, 0.23782696177062376, 0.015734055354993982, 0.25309278350515463, 0.3122843111229095, 0.22312499999999999, 0.26850650489181893, 0.31684203646820469, 0.2647712418300654, 0.22909482758620686, 0.33494949494949494, 0.17351689279063581, 0.42074155527301466, 0.41581484393695944, 0.2219626168224299, 0.13111338797814207, 0.37032193158953725, 0.51473272490221644, 0.48130006161429445, 0.36571428571428571, 0.30031924205756655, 0.42682967789608034, 0.12092174309833448, 0.40746371303435047, 0.0, 0.46641981180147435, 0.32237740533829923, 0.45126980681571527, 0.28750809061488664, 0.32672416755437961, 0.33023519221800252, 0.42529124193883916, 0.29279250161603099, 0.1838200095739588, 0.55076009656162328, 0.14368988633051588, 0.31516700749829585, 0.13651452282157678, 0.30475639728205872, 0.42281209781209772, 0.46737512548028659, 0.43008183306055653, 0.11224798896031773, 0.44442162902121829, 0.40633520719022453, 0.28154639175257734, 0.3337607680673374, 0.40229426433915211, 0.34621473135301239, 0.31689702833448513, 0.30218525766470972, 0.37252674995516766, 0.35621351941826718, 0.36158878504672892, 0.36343115124153502, 0.41163265306122454, 0.45071793623752737, 0.46005692599620496, 0.35221153846153846, 0.0, 0.34443005181347153, 0.22434567136441075, 0.31349451693729458, 0.15514112903225805, 0.39838103498120842, 0.31856710393541882, 0.0, 0.0, 0.30560961453105262, 0.29548296092071941, 0.28130544993662865, 0.28744756373023561, 0.18844660194174756, 0.0, 0.3447482749808331, 0.38195354187302299, 0.27407532511400107, 0.20842816976837591, 0.24251912585945318, 0.097200263504611334, 0.35288518348322723, 0.33154763861044462, 0.3378339557598391, 0.22360557768924302, 0.067819314641744552, 0.2586229086229086, 0.0, 0.29287519957424163, 0.0, 0.35515214384508997, 0.31235212247738342, 0.0, 0.41255989048596847, 0.39018175641243419, 0.0, 0.4244554455445545, 0.10630718954248367, 0.26645721125074806, 0.3711326860841424, 0.0625, 0.25502588583338937, 0.50552457838743892, 0.29313627416179938, 0.07754878950583545, 0.24627450980392157, 0.40312765595784467, 0.07003623188405797, 0.30755102040816329, 0.16915765548591499, 0.27906821072360932, 0.29052479052479052, 0.40064724919093847, 0.057516567840948725, 0.30008210180623973, 0.080204943125060407, 0.92435782948994061, 0.32373189026269822, 0.35697274411219898, 0.29416360918603068, 0.34072937968643491, 0.5073139158576051, 0.52006535947712418, 0.22085976538965874, 0.26243966804402935, 0.51489492989612973, 0.034866666666666664, 0.34711602951039566, 0.33618222891566263, 0.28333273964307337, 0.38767441860465118, 0.34404283801874164, 0.30519060951970711, 0.39494837502598568, 0.22319819819819822, 0.44808016953414026, 0.30901607351949761, 0.37538194444444445, 0.32001583583517534, 0.4922103213242453, 0.27512601904287753, 0.39816040457523, 0.20573636696758721, 0.0, 0.31320539870725744, 0.25163763697286201, 0.31176470588235289, 0.26433873144399467, 0.085070785070785082, 0.3318289786223278, 0.3724381383233944, 0.35193877551020414, 0.37414700721388183, 0.28041057759220595, 0.74432286151311922, 0.13477961432506885, 0.35792123480507437, 0.26968355468109528, 0.30340740740740746, 0.32095761934983424, 0.30969313200194837, 0.22277243957629622, 0.0, 0.27372612639185906, 0.41536351165980795, 0.37092825569534171, 0.0, 0.2714798753218593, 0.357305741805929, 0.14610069101678183, 0.44484536082474224, 0.31955614374427366, 0.44551547816473186, 0.069000000000000006, 0.3105610345503233, 0.42527087316762263, 0.29809347900948568, 0.34900596421471169, 0.0, 0.31766943291839561, 0.34662073490813644, 0.40903903903903899, 0.08764876679110431, 0.21548038901357275, 0.17861678393684571, 0.2219544758865479, 0.37689744539059605, 0.31568050208663578, 0.28974132574642725, 0.39512358049432206, 0.16171638634958849, 0.17363824798667979, 0.3392013888888889, 0.041223307998552297, 0.37336244541484725, 0.093190532019392244, 0.31713804713804711, 0.4176398584047375, 0.3306814020838188, 0.33823129251700679, 0.072162835968716921, 0.12620680005596754, 0.3654767609008146, 0.24471915124095961, 0.4212114268255423, 0.27441392703564987, 0.31671411707520308, 0.21737490570781995, 0.0, 0.32357563850687621, 0.28576463426356097, 0.38249622615616857, 0.31420423595757635, 0.2950592474533989, 0.5717829565703505, 0.38576455534229048, 0.3578661317977419, 0.22740824509098384, 0.098599119830684978, 0.23676162331191367, 0.2539899833055092, 0.32962267814380947, 0.23582280385078219, 0.22701388888888885, 0.22415861379540153, 0.28443174862273007, 0.29432692307692304, 0.34051226088072928, 0.40160131954228379, 0.29696890514763524, 0.26784138191905182, 0.49762634254738902, 0.47265827841022562, 0.29988654985503588, 0.0, 0.28343241654145157, 0.29468749999999999, 0.23804573804573803, 0.28520408163265309, 0.29486959211023678, 0.09683143219264892, 0.33339071753202038, 0.34261100066269051, 0.085654837591029945, 0.13985961487932133, 0.25048194739421664, 0.25846938775510203, 0.22968163582244081, 0.25453667287656107, 0.22064460220644602, 0.28379802625275463, 0.0, 0.2473606678124233, 0.34660921829175567, 0.32330038457871146, 0.42275643145294622, 0.35530280649926144, 0.0, 0.0, 0.0, 0.31275020880734999, 0.43886731391585765, 0.37223669271355103, 0.29280962939499522, 0.24970666666666669, 0.57063973063973061, 0.46805935046518865, 0.20776527385849797, 0.39576323987538942, 0.35608873358085552, 0.07638629283489097, 0.026752645502645504, 0.074993682082385646, 0.47699319473059876, 0.43015165031222125, 0.0, 0.24343859649122807, 0.33708748859596693, 0.32168330955777463, 0.31551825677267376, 0.39957186544342504, 0.30915412038537471, 0.036486486486486489, 0.52411472520429414, 0.34917012448132784, 0.21994438336674643, 0.39576612903225811, 0.41846547668465472, 0.4858385525400139, 0.0, 0.042295309639542956, 0.05058139534883721, 0.34721656483367275, 0.058719632085846629, 0.26826339086573109, 0.3273247496423462, 0.41430878552971578, 0.21355557250743765, 0.34624595469255665, 0.32308687363834421, 0.42006600660066001, 0.44764405629481013, 0.42787301587301585, 0.42493589743589738, 0.41811463950469346, 0.12919948831885816, 0.24601532567049808, 0.28460432772619559, 0.42962610899873266, 0.36410256410256409, 0.21947496947496947, 0.32039426523297493, 0.46170825335892518, 0.0, 0.34645535105657804, 0.29852233676975948, 0.36715797430083147, 0.32115518441196939, 0.31892361111111112, 0.16530911587554226, 0.30271241830065365, 0.15672303286513023, 0.39585838343353369, 0.30622844075811018, 0.35176412359471115, 0.35518297815035516, 0.28642432511451127, 0.28370413273823719, 0.13139310935159426, 0.38234471615449145, 0.24736495388669302, 0.34422222222222221, 0.40227739996836948, 0.23295532646048109, 0.011681535095101834, 0.36515151515151517, 0.36580113996200131, 0.1760322384622765, 0.39249853352196268, 0.29016136408179272, 0.24420831978025953, 0.45282953761214628, 0.039109981801325411, 0.2768316831683168, 0.32778942304388164, 0.0, 0.34831614649354209, 0.38625263991552272, 0.20455465587044533, 0.33289579967689825, 0.18029451656655687, 0.35583235145598385, 0.0, 0.33585271317829463, 0.28937325953174964, 0.35789308176100626, 0.52205373616236173, 0.16524852868184076, 0.0, 0.34030411512423347, 0.47171277062856753, 0.23919892804114004, 0.15359223300970873, 0.28297489846194818, 0.27608836907082518, 0.075818303273213095, 0.5247515556793908, 0.34502551020408162, 0.41681852695520122, 0.063896015050453225, 0.32508689429564508, 0.061315566171155599, 0.20445269016697587, 0.15735313707206608, 0.31136709156823761, 0.51186230987555503, 0.18388071867676525, 0.06174362393732289, 0.40174427659243112, 0.086683948788487994, 0.0, 0.29955177641552966, 0.25859763415052289, 0.38023120640661329, 0.46542699724517911, 0.30141314537689667, 0.035274183610597656, 0.43486312399355881, 0.26898192197906756, 0.21012916383412644, 0.23855984609042188, 0.050299999999999997, 0.086325728857950229, 0.36228879444386852, 0.39691714836223513, 0.46745704467353955, 0.40236626554757815, 0.38628337568896653, 0.0, 0.40502675531052373, 0.25128440366972477, 0.26682737461649242, 0.28419434194341942, 0.32990045809940416, 0.44957737321196362, 0.24459176552686671, 0.38490531902062475, 0.46680786056523854, 0.33507751937984503, 0.40712125197264604, 0.48310075874144431, 0.33808955031152138, 0.0, 0.33259819365679483, 0.42325114976313155, 0.38007980356046656, 0.32108068369784964, 0.35237759548833636, 0.24637480052730173, 0.0, 0.3804982117086026, 0.2825376264495435, 0.32958015267175572, 0.33153383065043845, 0.41922799422799423, 0.42977674386306031, 0.31171686084853806, 0.42738493100823932, 0.27067262958849836, 0.33591194968553456, 0.42327869920818534, 0.30143076820217957, 0.32863805970149251, 0.31477742842958795, 0.16998219089841235, 0.2584699453551913, 0.36798833457433611, 0.27828054298642535, 0.39751769672729587, 0.33990365042746645, 0.36827956989247312, 0.35866666666666669, 0.20306748466257668, 0.27111098973126502, 0.36677115987460812, 0.21351943076081006, 0.30190860215053761, 0.42039019939350025, 0.19488330341113108, 0.30859248022537655, 0.33289549729417328, 0.40201005025125625, 0.37315305269027038, 0.21704114226432608, 0.25190535624186738, 0.23858666666666667, 0.2384403694722215, 0.0, 0.43599177578184173, 0.25392541707556426, 0.43942598187311177, 0.032679738562091505, 0.27416125541125541, 0.22798189563365279, 0.31498394774714933, 0.42227784730913637, 0.70493925787168399, 0.14533116178067318, 0.16719184916758573, 0.25102658864592958, 0.20027472527472526, 0.37385197190707725, 0.22172634141393652, 0.22418032786885245, 0.2501574803149606, 0.082913472070098568, 0.19576379974326061, 0.0, 0.19154457137432357, 0.23499731954211472, 0.31279024767801855, 0.20271629778672029, 0.27386587771203152, 0.30534351145038169, 0.2571697859162515, 0.016467859509609013, 0.33411844918957445, 0.22781165311653118, 0.031649877484345224, 0.057008013038163788, 0.29316015015114771, 0.088389459323615999, 0.26574264202600956, 0.17916707624758349, 0.31475728155339805, 0.21513958230785457, 0.29847883597883601, 0.19588818021441173, 0.31598921402177177, 0.25478785639509821, 0.22468220338983053, 0.28754847329488059, 0.30241586191408132, 0.22862836963742528, 0.25384353741496601, 0.26562919237993021, 0.23417418649165983, 0.26186216037110666, 0.25571996817820208, 0.35607675906183367, 0.0, 0.2045279221868187, 0.26476190476190475, 0.14524201514652618, 0.24901042353872543, 0.2418201086236588, 0.39025499317919476, 0.30726669125783845, 0.40192226515569707, 0.19081385508768861, 0.43986932552916352, 0.53063324291460101, 0.30279797177591788, 0.37272453285111512, 0.16899862825788753, 0.35685358255451721, 0.45388888888888884, 0.22612977579101767, 0.35379130937469888, 0.45283469945355187, 0.43715627095908777, 0.38947916666666665, 0.33918300653594768, 0.42253375228755913, 0.37503763926528161, 0.28050939258632995, 0.0, 0.37121315038717562, 0.27429487179487183, 0.2533545197740113, 0.34844025897586817, 0.16203174603174603, 0.32871434365283225, 0.34713446578822033, 0.21797900262467187, 0.28715053022999587, 0.23962238885913228, 0.050657894736842103, 0.30702853166318717, 0.29497386134554276, 0.24837636622841755, 0.2701344560641043, 0.19615885416666667, 0.25897802950146265, 0.33880852387618599, 0.26743764620605581, 0.0, 0.0, 0.0, 0.0, 0.24212226383973059, 0.23623445825932504, 0.14109109591240407, 0.22133583607070231, 0.0, 0.29110864310446205, 0.11306042884990253, 0.0, 0.11336116910229646, 0.31008346925069552, 0.097597646674293187, 0.20242616033755273, 0.25698127675889831, 0.19289021164021164, 0.14653525093030273, 0.28650118773023031, 0.31647324306898772, 0.42678583897772504, 0.0, 0.29204463353937549, 0.19891149410392642, 0.28260445138617724, 0.29065119277885237, 0.35072775082404356, 0.20720899470899476, 0.30917054289885576, 0.12403349481856973, 0.30348208248816766, 0.32442304969559677, 0.37348484848484848, 0.34163713805075341, 0.40811965811965817, 0.40480054090601753, 0.28316664658392576, 0.37949167397020156, 0.34012345679012351, 0.081242178752552185, 0.23479303382130237, 0.43957528957528952, 0.12698143882942692, 0.35788065459523366, 0.37593080349884567, 0.38143683367012748, 0.39860452326940266, 0.17156051232900582, 0.37077534791252487, 0.36142263351893966, 0.261088295687885, 0.21914682539682542, 0.30079037800687286, 0.29441365475502362, 0.35818790763264591, 0.32679372197309414, 0.31891301469614719, 0.043261486538314027, 0.40060838513424146, 0.0, 0.22544421692317854, 0.35196254951386385, 0.37289527720739218, 0.26722208833958755, 0.31243822815897454, 0.24040313262292975, 0.264423740510697, 0.28104620268451741, 0.23743112947658404, 0.36004855210681458, 0.066532258064516125, 0.42991000707809501, 0.26064438017084818, 0.26761603375527426, 0.2235379661369066, 0.2158520027155465, 0.15825082508250826, 0.40819026938997083, 0.27892759562841529, 0.33057737829771172, 0.19558559158399361, 0.33769552156348193, 0.21726646872654898, 0.16329710144927537, 0.38084967320261437, 0.32793522267206476, 0.36171806310853499, 0.19679133922457367, 0.30446457457133619, 0.37480085420833192, 0.38503947726653964, 0.17354004120647143, 0.35768723671093677, 0.19186304266275619, 0.26743950250101389, 0.378980243057913, 0.23888174372165435, 0.12305139815422902, 0.21823710307176666, 0.30767926192252898, 0.31440027894002792, 0.23682008368200838, 0.36042996305005043, 0.022346179851250845, 0.29521158129175945, 0.20585725500904531, 0.03499437225007674, 0.30609196999166433, 0.26919883769198838, 0.26345438084699729, 0.37351367926135393, 0.36614279907871555, 0.33209071140105623, 0.3859117069304201, 0.31194705923986132, 0.31647152833269637, 0.31477545901125314, 0.22956901633091781, 0.40867146152802281, 0.36512570408023082, 0.016911790032032515, 0.2647969052224371, 0.36835954455908376, 0.25473790322580642, 0.28061558611656839, 0.2132074828772958, 0.20931630884589539, 0.034039177817630016, 0.27599891459195436, 0.16244224422442244, 0.33164954435304966, 0.061549527332511303, 0.038563109425785481, 0.0, 0.25266351756714822, 0.22658313579410769, 0.3958890316308461, 0.43688123172321458, 0.24544311753614079, 0.28773984198645597, 0.30508879781420767, 0.47075564278704612, 0.24854445577448112, 0.31387225548902192, 0.28035514588769528, 0.34545866804871728, 0.263212927756654, 0.31931848492931447, 0.34132479749150768, 0.27383871181498909, 0.43291056910569109, 0.26872953503601837, 0.37893847194050029, 0.37106036324786323, 0.36333264448577524, 0.43086096567771964, 0.37210424710424717, 0.316247093317157, 0.24563008130081301, 0.3482242499835882, 0.15445736434108526, 0.032848138280590036, 0.35450932238989236, 0.40703191670933603, 0.17509477147557401, 0.0, 0.48319432341590934, 0.41043543543543548, 0.061895551257253385, 0.35844741064418112, 0.10063328373187527, 0.33825745048322492, 0.0, 0.33668741355463344, 0.19374176548089589, 0.27729468599033819, 0.41007092198581563, 0.31105830164765524, 0.26936758893280632, 0.31478896643403126, 0.22418177076541923, 0.46016810099454164, 0.29512115258677146, 0.37455249153362369, 0.082996632996632999, 0.19676746265690728, 0.015390228531626256, 0.41226166995397762, 0.066733877524472338, 0.30400390625000001, 0.1115819209039548, 0.30862918779912851, 0.54805825242718453, 0.30346666666666666, 0.27709551656920078, 0.25469547628985134, 0.3139857881136951, 0.066604127579737341, 0.33285907859078595, 0.33506341843189408, 0.37651072124756335, 0.41223090928563777, 0.38716171617161721, 0.20252691641476753, 0.36926364234056541, 0.31766602192134102, 0.23910256410256409, 0.085372848948374755, 0.3179133858267717, 0.28615485564304466, 0.3068260170075845, 0.42460748792270531, 0.0, 0.15024924309611914, 0.3469605878423514, 0.23496107572540692, 0.23612778444711219, 0.016223067173637515, 0.14820796536201503, 0.16040185893931111, 0.33159652638610548, 0.0, 0.30652343882788863, 0.052855512124251963, 0.043186611804571069, 0.048843026891807376, 0.39290717141002424, 0.072116571993084716, 0.064976335361730891, 0.023334920742907682, 0.15526697569088141, 0.37551506895964593, 0.034044028427803776, 0.33373574782025489, 0.31466381037937946, 0.29334753625180404, 0.22468343629475407, 0.39274832419256539, 0.33577643908969212, 0.019939168638053395, 0.20226051768645786, 0.33971193415637863, 0.3568421052631579, 0.01859855926653569, 0.22039899230612106, 0.22977694168234347, 0.36998031496062994, 0.0, 0.14950278105511547, 0.27462973780969729, 0.036579651941097725, 0.2726623840114204, 0.0, 0.030675909878682843, 0.24627732240437156, 0.32240437158469948, 0.3339801788065701, 0.31603757354712175, 0.21016362278498202, 0.26514587423001423, 0.0, 0.03861342694164107, 0.08835384823481672, 0.24692162579317442, 0.33710181780694826, 0.27083333333333337, 0.36082184788157229, 0.28914728682170543, 0.27254812360769975, 0.36113902847571194, 0.0, 0.019262065469679589, 0.34089969973278972, 0.21520068317677199, 0.51317567567567568, 0.17322415993194384, 0.28199141170155662, 0.057993730407523508, 0.37570568055968234, 0.35558958652373662, 0.40772993603182278, 0.3819121447028424, 0.1448529411764706, 0.29713822329182799, 0.05517553566039634, 0.30297388288104471, 0.35465053763440857, 0.32414062500000002, 0.053486529318542003, 0.37957957957957961, 0.29968364277564574, 0.26938817270308985, 0.33795212253105972, 0.34116402116402111, 0.40844665271966535, 0.36941209095951194, 0.028015757141676537, 0.31690786367045359, 0.43547617424500645, 0.26602972399150748, 0.46968213899335431, 0.27528830313014829, 0.2007897603485839, 0.031466450216450219, 0.30316040218264406, 0.035748031496062989, 0.35298913043478264, 0.27959649790635704, 0.32024555903866259, 0.26143966547192354, 0.23668885191347752, 0.3660516605166052, 0.3767250530785563, 0.33442361607388271, 0.31396247240618103, 0.48748665638714272, 0.40451903688767643, 0.12447949700796956, 0.28484848484848485, 0.31764305177111712, 0.27297553363428634, 0.17477987421383645, 0.34003907862509286, 0.0, 0.36463630333849217, 0.30541666666666667, 0.085487528344671201, 0.027864992150706435, 0.30953825784740996, 0.38834536220261962, 0.081588603496654435, 0.37953699395067469, 0.0023346303501945525, 0.23125109771090685, 0.48376892370264374, 0.1343385880740233, 0.37364331890160724, 0.0, 0.28410663778058609, 0.25503160648114509, 0.11893146120894812, 0.051242512306506137, 0.06430817610062893, 0.33468887527157265, 0.17798261785620226, 0.23648648648648649, 0.027893333333333332, 0.11633554083885209, 0.0, 0.1168460640643237, 0.38138755204672037, 0.28460683598514624, 0.051875716703980779, 0.16842105263157892, 0.29686073059360735, 0.0, 0.12418673667389567, 0.12674684994272623, 0.43903865271036785, 0.22688556968275519, 0.27702348347998368, 0.36418922870007597, 0.0, 0.3195712098009188, 0.33762264757921828, 0.44822678211362826, 0.0, 0.0, 0.21990273988850673, 0.37043209876543204, 0.0, 0.0, 0.17988304093567251, 0.22435064935064936, 0.45233918128654976, 0.16460196655741346, 0.0, 0.40530821917808224, 0.32935982339955849, 0.36252723311546836, 0.2776539278131635, 0.28660960795140805, 0.4010291795801415, 0.22561274509803922, 0.40760869565217389, 0.39312431243124313, 0.29778779431824925, 0.35812133072407049, 0.1761057173678533, 0.19495133819951335, 0.404082774049217, 0.38325128995907715, 0.33988497403540119, 0.22010135135135134, 0.069118764984503839, 0.20972222222222223, 0.055843021302331833, 0.2076641307410538, 0.36163207713563411, 0.0, 0.0, 0.0, 0.30113760665062345, 0.29196081650522632, 0.30867924528301882, 0.4174024910823928, 0.052240437158469946, 0.21666184553080703, 0.21604095563139933, 0.060035211267605637, 0.38127276094068263, 0.32622185612300936, 0.33515901060070674, 5.4112554112554113e-05, 0.3336627140974967, 0.27085552005679803, 0.44490570513580835, 0.15535320088300222, 0.22589152620112371, 0.25178000206377049, 0.29571274005950776, 0.26819102060259614, 0.24358974358974358, 0.025722222222222223, 0.2152844487138435, 0.26544542325418585, 0.27989494283654337, 0.0, 0.32226185603181101, 0.14432568191110332, 0.10252152521525215, 0.17474302496328931, 0.0, 0.0, 0.090499999999999997, 0.38115091337977941, 0.30243315169180074, 0.0, 0.0, 0.13731675635553905, 0.29609788359788358, 0.36272365805168988, 0.0, 0.27984920775166405, 0.37000475109539144, 0.31081464660800456, 0.25110828025477705, 0.0, 0.32134331597222221, 0.13395210266987509, 0.29218749999999999, 0.28731617647058827, 0.0, 0.11362370502395008, 0.0, 0.34408185840707961, 0.22098249695944158, 0.16676550824338754, 0.041490400260331926, 0.27102032394511505, 0.0, 0.23096064814814815, 0.0, 0.099727668845315906, 0.0, 0.1557638888888889, 0.17569974554707379, 0.5013640137587474, 0.0, 0.50204654426382878, 0.33195876288659798, 0.086953551912568303, 0.055254237288135596, 0.22619047619047619, 0.33935483870967748, 0.080546265328874017, 0.13259792886087346, 0.0, 0.35931034482758617, 0.19195046439628485, 0.46520979020979025, 0.34473684210526317, 0.29213616415609062, 0.0, 0.0, 0.39764309764309763, 0.16720647773279351, 0.14066666666666666, 0.41000000000000003, 0.085229885057471255, 0.19004474272930649, 0.28994535519125686, 0.27020935887551156, 0.12635802469135801, 0.16666666666666669, 0.23345911949685533, 0.46495176848874592, 0.20270270270270269, 0.28511494252873565, 0.40863670893472798, 0.017816091954022988, 0.4000555555555555, 0.13627118644067798, 0.0, 0.32379352671361195, 0.33645014938585815, 0.38011299435028251, 0.24183908045977009, 0.0, 0.20022909507445591, 0.32391304347826083, 0.076666666666666661, 0.3612429378531074, 0.27525083612040135, 0.024999999999999998, 0.0, 0.49110425809512515, 0.19580139572131336, 0.0, 0.32374635181745814, 0.45991310041068983, 0.33872502378686969, 0.10305466237942122, 0.021260997067448679, 0.29023391812865501, 0.32648789318850419, 0.31785185185185189, 0.10683585755218993, 0.28658003930989295, 0.42064590542099189, 0.30596414617329354, 0.33302694318377662, 0.0, 0.24046803652968038, 0.34120141342756177, 0.51575897344923427, 0.0, 0.28870137451573535, 0.40843714609286524, 0.22983606557377051, 0.52575356953992602, 0.33300438596491228, 0.2545, 0.30615640599001659, 0.27218732153055392, 0.16843537414965987, 0.0, 0.41464725162538285, 0.28189743589743582, 0.26779761904761906, 0.34107902910387666, 0.0, 0.24783245130052922, 0.3079433412026108, 0.2301619788316473, 0.16272727272727269, 0.27200126930399832, 0.2939814814814814, 0.33284603239576632, 0.39451462983570068, 0.0, 0.17969791203909374, 0.0, 0.24152297929619898, 0.50152046783625737, 0.5301269125845095, 0.019342251950947603, 0.08924789738004478, 0.22889939230249831, 0.50101190476190471, 0.39086378737541533, 0.20136518771331058, 0.36863387978142076, 0.24897435897435899, 0.17856321839080461, 0.19196891191709842, 0.18692918989443719, 0.16223283310595726, 0.29900000000000004, 0.059249154854397725, 0.41489001692047378, 0.25864123957091778, 0.41268269958656023, 0.32027746217783887, 0.23400984009840098, 0.42213260585932866, 0.21198710593891712, 0.077238317491035352, 0.24377593360995853, 0.25348437221991577, 0.29690684570195419, 0.21551113773759598, 0.47464480874316939, 0.045877502944640755, 0.36059085841694538, 0.33840588032617436, 0.094011590470057957, 0.3273805956732786, 0.058511904761904758, 0.35900243309002433, 0.29270862212364845, 0.26544043199460005, 0.64357224118316281, 0.2403036413236864, 0.28642557651991613, 0.22870991376881025, 0.33216931216931217, 0.26192982456140351, 0.18995433789954339, 0.29408783783783782, 0.30816400769110847, 0.31525423728813562, 0.48987878787878791, 0.19670079635949944, 0.51197959909856483, 0.36712678936605314, 0.39936507936507937, 0.28628117913832196, 0.29386075949367085, 0.26698872785829303, 0.42363530778164926, 0.4193469785575048, 0.24486338797814208, 0.42897793263646916, 0.29015384615384615, 0.4802055684192692, 0.20759255999530599, 0.46042468645225382, 0.37251366120218582, 0.4504918032786886, 0.16489361702127661, 0.44584699453551907, 0.47504435245416909, 0.53441319221098182, 0.27370370370370367, 0.59338644856518363, 0.26013071895424839, 0.2598941798941799, 0.22861538461538464, 0.36283391405342624, 0.0, 0.32299229922992301, 0.27945355191256827, 0.16101235311840917, 0.23939393939393938, 0.30441941074523393, 0.27975308641975305, 0.3004343105320304, 0.0, 0.28812566560170394, 0.28413793103448276, 0.28700076018946263, 0.38991081382385734, 0.25606796116504849, 0.21514124293785311, 0.036560846560846558, 0.52180327868852461, 0.39111111111111113, 0.43443449380226556, 0.1846236559139785, 0.26499674305678927, 0.24588235294117647, 0.30967174355308741, 0.23390445003216184, 0.30023310023310024, 0.32799999999999996, 0.27450339780449556, 0.28949294812356641, 0.27000000000000002, 0.34766469056457422, 0.34735874001264583, 0.32711962833914054, 0.40960451977401136, 0.30851996959242151, 0.40449735449735452, 0.027627118644067798, 0.45431726907630526, 0.47614942528735632, 0.24777777777777776, 0.41788118423632437, 0.43625730994152045, 0.047506079117490066, 0.39397849462365592, 0.3280156565057526, 0.43115629846631054, 0.38361581920903953, 0.37458632888280274, 0.22245370370370371, 0.3752046783625731, 0.068113207547169805, 0.0, 0.2569791666666667, 0.30672131147540982, 0.44112200435729848, 0.0, 0.23427161012498687, 0.3854821492112443, 0.21148809523809523, 0.38656862745098036, 0.23985260770975059, 0.14192090395480225, 0.47882813426639781, 0.33355932203389832, 0.15034965034965034, 0.35111111111111115, 0.16367231638418078, 0.57855347349177333, 0.26693541566825468, 0.37268518518518517, 0.28950617283950614, 0.36630321910695746, 0.0, 0.30976779679494171, 0.27254305977710236, 0.34922480620155044, 0.4840201850294365, 0.32154882154882158, 0.61002331002331012, 0.42662266226622658, 0.20003769554564299, 0.45402200558691058, 0.27197112366603887, 0.40864618885096698, 0.41314685314685307, 0.29234088457389429, 0.45637550200803212, 0.5026711461144463, 0.47061524334251609, 0.079376048968308813, 0.27985651214128038, 0.29868559411146156, 0.20959752321981426, 0.35015432098765431, 0.2919625246548323, 0.28244618065313926, 0.4125489737442255, 0.25642133860212396, 0.14036839769196627, 0.47142857142857136, 0.31983385254413288, 0.38495670995670994, 0.0, 0.13316015360289135, 0.38727175860899887, 0.22440430856272436, 0.27362745098039215, 0.25859333685880487, 0.45600333229199208, 0.51556441785753848, 0.0765058521267485, 0.25815602836879431, 0.35963130760818623, 0.29437689162640052, 0.49376757014798711, 0.14063960128750908, 0.19382985353692739, 0.19539777202655564, 0.34537210756722958, 0.49319188494558974, 0.34930129687342915, 0.0, 0.2895335608646189, 0.24260767088065141, 0.22592571844714582, 0.21482165531571046, 0.2941410693970421, 0.32628318111413768, 0.19655172413793104, 0.22658985654580369, 0.39487179487179486, 0.2474202348475863, 0.0, 0.29211063250963498, 0.20441100453736144, 0.17590090090090091, 0.3371794871794872, 0.25669840278861661, 0.3194350282485876, 0.19218579234972677, 0.0, 0.23454545454545453, 0.32357305936073055, 0.5433298623163253, 0.38696374056022709, 0.42123983739837401, 0.35005518763796917, 0.31195191644496995, 0.35655172413793101, 0.28971061093247585, 0.33673355629877372, 0.36897651493186429, 0.29597846205620054, 0.39049999999999996, 0.45917190775681338, 0.25833333333333336, 0.40168687401159725, 0.4037953795379538, 0.38132877590258496, 0.36912820512820516, 0.25835322195704058, 0.57113992254588319, 0.33239277652370203, 0.056953128786777177, 0.28552188552188551, 0.46810897435897431, 0.45386075198671566, 0.2858381797775737, 0.38892462429097718, 0.22568027210884353, 0.49620181405895691, 0.429933110367893, 0.37898305084745765, 0.39551724137931032, 0.31054083885209716, 0.35924092409240921, 0.36322517207472954, 0.33726722808682247, 0.41623516720604098, 0.30754716981132074, 0.27386759581881531, 0.33131684130927946, 0.2770013449505877, 0.30965207631874297, 0.41805964347198316, 0.37982131183264328, 0.28050114348215177, 0.35167534062335537, 0.31820175438596493, 0.45197018104366349, 0.3974765258215962, 0.32671510176917534, 0.1517720190522322, 0.21976744186046512, 0.43221850613154961, 0.50645044298222897, 0.32739520958083823, 0.40275641025641029, 0.31356470520297969, 0.3848312964154143, 0.42660357518401687, 0.24276923076923076, 0.32649717514124299, 0.3256434586644526, 0.25196030384709628, 0.17964743589743593, 0.32593107876712329, 0.48781250000000004, 0.41933728981206725, 0.45544378698224852, 0.35540229885057473, 0.18844444444444444, 0.23100775193798448, 0.0, 0.4113807982740022, 0.27427083333333335, 0.29935323383084572, 0.14100684261974583, 0.19920924574209248, 0.50864422202001824, 0.42229556706310817, 0.36957494407158842, 0.38019047619047619, 0.40916666666666668, 0.47188945558059547, 0.45287878787878788, 0.11441997395685898, 0.10826759800084301, 0.44170323805005335, 0.057063008130081298, 0.44166666666666671, 0.069887005649717518, 0.27368100030497106, 0.33946151109002493, 0.31109289617486341, 0.35358255451713394, 0.42805907172995783, 0.46022067363530778, 0.32696969696969697, 0.54680735930735924, 0.25375661375661374, 0.0, 0.28019744483159115, 0.0, 0.18146464646464647, 0.44721187524323125, 0.25461711711711715, 0.35429540110460983, 0.32015384615384618, 0.0, 0.34561707035755485, 0.14698247890979882, 0.51015452538631345, 0.2012514220705347, 0.30522222222222223, 0.36292307692307696, 0.43344155844155841, 0.37401812688821756, 0.34847094801223244, 0.3643781094527363, 0.2907407407407408, 0.0, 0.35410726408689747, 0.14832347140039448, 0.28532671885900318, 0.5111842105263158, 0.23018707482993195, 0.25067243597240085, 0.30814558058925484, 0.2189485550317688, 0.53865578865578867, 0.22834199653471945, 0.28711303561041812, 0.23628852272187661, 0.029512195121951218, 0.55233968115135368, 0.26283603006752448, 0.41131694790902418, 0.4751868513336403, 0.28831446272164069, 0.17500277664655139, 0.25105342362678706, 0.27827840184339386, 0.26099999999999995, 0.31717730962323465, 0.31692957120639859, 0.27312499999999995, 0.43522300277732395, 0.26329059829059825, 0.096179868845633398, 0.24716217550093772, 0.26183431952662717, 0.33430894308943088, 0.15969877953778239, 0.26408790556091766, 0.18845936136916061, 0.25782792665726378, 0.17162698412698413, 0.30508350959083946, 0.30805919440723928, 0.58570527201346045, 0.21479229989868287, 0.33669274632011675, 0.47570266982521292, 0.50836695316611114, 0.4693040293040292, 0.54031437817845585, 0.27592040898892939, 0.55547878393757122, 0.57321304649548932, 0.43800000000000006, 0.17495648504667966, 0.31337325349301398, 0.15883293365307755, 0.42702378320331008, 0.40276674609478424, 0.26793855649856213, 0.19534136546184741, 0.516144578313253, 0.50590828924162268, 0.43046592440252462, 0.42851405622489952, 0.53653395784543334, 0.53688271604938287, 0.49064856711915533, 0.56509695290858719, 0.22049689440993789, 0.51816755979610507, 0.22361904761904758, 0.50191011235955063, 0.5477777777777777, 0.53224181360201506, 0.47171610169491535, 0.0, 0.49108523605931048, 0.52961038961038964, 0.77620833333333339, 0.56617161716171616, 0.15333333333333335, 0.78473317865429237, 0.46161625448193438, 0.23562391317383222, 0.53597492514970069, 0.36632231404958676, 0.55897435897435899, 0.46574663835810332, 0.43702943189596172, 0.148496695844722, 0.23259337561663143, 0.33766464302197602, 0.30405797101449278, 0.10500700280112044, 0.29594810050030235, 0.26535519125683055, 0.17771406727828748, 0.50392687880839548, 0.5535059218111309, 0.26497005988023953, 0.29660148975791434, 0.30017882469013996, 0.19143895119254464, 0.28235970277926026, 0.26063763801017248, 0.19329608938547488, 0.049468124674551806, 0.23763306199123355, 0.15333082423786223, 0.6092407869215849, 0.20222222222222225, 0.53403663104360666, 0.0, 0.45547984099943212, 0.43575000000000003, 0.3532569214625878, 0.30497835497835502, 0.30154038301415487, 0.35182421227197347, 0.37727890183742047, 0.30410000000000004, 0.266056166056166, 0.30715659047212129, 0.11299265197060789, 0.21023017902813299, 0.32216014897579137, 0.31313649351600853, 0.38487500000000002, 0.19668958844465945, 0.1835507596499705, 0.3949225341310017, 0.50926386029672732, 0.5306716852623562, 0.40616033755274261, 0.34962256654747714, 0.52465277777777786, 0.51980258347550579, 0.44151234567901237, 0.28126548818767555, 0.75826355963549541, 0.18301127214170693, 0.43891184573002756, 0.25217663639210774, 0.60678903310037624, 0.57076787050261846, 0.3633333333333334, 0.54213080024601923, 0.41440217391304346, 0.43954632049975623, 0.16401856017997751, 0.49565168285520672, 0.3880216265610722, 0.4713788855880009, 0.57609193297317096, 0.26039215686274508, 0.47395037473622936, 0.18237259816207185, 0.40861627826568014, 0.19090501792114697, 0.25753281297693281, 0.42111378205128214, 0.20490569998950275, 0.25697187781124109, 0.47822222222222227, 0.10364823781105729, 0.29375453885257807, 0.28385273900392194, 0.48399927020616679, 0.21580086580086583, 0.63645833333333335, 0.30006697923643666, 0.29375000000000001, 0.19320057779612049, 0.48118536197295148, 0.14752822109770342, 0.2916420069704741, 0.224280303030303, 0.34717637612632707, 0.26760665220535068, 0.31761786600496278, 0.25356125356125353, 0.23650205761316873, 0.140169992609017, 0.20466507177033494, 0.20309130122214236, 0.31938616938616937, 0.29150933768751913, 0.71435705368289637, 0.23757459095283925, 0.29421521035598702, 0.3620529327610873, 0.15369023488732564, 0.26134676978361066, 0.33442452198497141, 0.31862306121717948, 0.20306053559372891, 0.19127272727272726, 0.13171835622074782, 0.33609057843482332, 0.26007092198581561, 0.29361471861471861, 0.15041152263374485, 0.13941985868352547, 0.21626134301270417, 0.20192455735180911, 0.41226415094339619, 0.26160178068959727, 0.15211216969261188, 0.39429653793538877, 0.45507113736583737, 0.29020431093107835, 0.51072842438638166, 0.32261208576998052, 0.30054288816503799, 0.33561532192339033, 0.251463605771447, 0.45384660524617099, 0.37735017626321976, 0.20334821428571428, 0.79331989370475586, 0.43457733032459644, 0.27736318407960198, 0.033388888888888892, 0.44147963424771403, 0.44866977303472122, 0.11745086788122221, 0.58374861572535985, 0.32205720572057206, 0.51053540587219348, 0.093243243243243248, 0.50822035352668604, 0.50397739944985509, 0.55473455448618447, 0.39537003281079103, 0.82516103059581325, 0.18607468643101482, 0.61990407673860914, 0.022889842632331903, 0.80368955557626021, 0.31051546391752577, 0.31556067841264612, 0.44651598042038587, 0.29009926854754442, 0.43707713125845737, 0.36321052456729008, 0.066689384903731469, 0.32007428667904775, 0.27146032530077974, 0.38150173379567881, 0.38326180257510739, 0.36490581490581492, 0.31488575268817204, 0.41579162689213145, 0.28837732046661246, 0.20655131866285906, 0.37348643006263049, 0.3588992361619755, 0.27748125126680628, 0.26429174404862399, 0.36760908645203466, 0.21438450899031811, 0.39414063851129322, 0.40625510637602535, 0.33754910745054795, 0.28288819434578777, 0.29219449776071654, 0.24909456740442659, 0.34183673469387754, 0.29323106809123489, 0.22173507462686567, 0.4743498215196329, 0.26637233259749815, 0.25786185113979676, 0.42094283118543685, 0.3607095046854083, 0.38261496135202411, 0.20451218138819027, 0.25857305379489681, 0.22550287356321835, 0.33399608973721706, 0.27142264333633032, 0.32273049645390067, 0.40087707552222812, 0.0997115221449177, 0.41401700956346826, 0.073045267489711935, 0.43629871863320874, 0.31506147540983609, 0.0, 0.32312042581503658, 0.48459119496855346, 0.25010162601626018, 0.39611959287531806, 0.24815573770491806, 0.055723905723905724, 0.32503703703703701, 0.37334725121781492, 0.0, 0.30061886183236913, 0.28327495621716287, 0.21591683708248124, 0.23777561382764134, 0.30759368836291912, 0.23043758043758039, 0.31223140495867768, 0.22796559905100827, 0.33732337004639301, 0.27446130167106425, 0.34497681607418856, 0.26496467565831727, 0.35164174884246979, 0.39024941034776939, 0.076311475409836071, 0.0, 0.21122831930216046, 0.095666029318036971, 0.25429927414852044, 0.2594490358126722, 0.27811526479750781, 0.35652315720808869, 0.38010973936899867, 0.42747232126102458, 0.32548543689320386, 0.38220668220668214, 0.56042496679946874, 0.39950877192982454, 0.31952086968192195, 0.42492937853107338, 0.0, 0.27585780907378243, 0.51349901662792774, 0.4230259948428462, 0.34776219104876421, 0.38619517662797842, 0.261988911988912, 0.36157934700075933, 0.35698254364089776, 0.25203711710513188, 0.29764489178343534, 0.17377398720682305, 0.41830655957161977, 0.33286420431141012, 0.32305680119581459, 0.33333333333333337, 0.20645240936586973, 0.31158299831632474, 0.37533474277660328, 0.0, 0.0, 0.24832668514637277, 0.41756756756756758, 0.44455337690631808, 0.31187088408912544, 0.18537612775455031, 0.32080586080586088, 0.27197476272648835, 0.32260362254935215, 0.24859972677595626, 0.41348517715112076, 0.33683081649807251, 0.40909822866344603, 0.43234782608695654, 0.36749140893470789, 0.40797764227642275, 0.40751888080706744, 0.50678030303030308, 0.16787719242602045, 0.30241786326798265, 0.394078104156313, 0.29999999999999999, 0.30220440881763527, 0.19333333333333333, 0.25764309764309762, 0.15523255813953488, 0.46164869660161051, 0.34164969450101829, 0.31100358422939073, 0.47158730158730161, 0.25750507099391484, 0.13897270114942525, 0.21964285714285714, 0.27848426461143216, 0.33370515634557946, 0.31560308073167376, 0.21749572431862013, 0.15650165016501652, 0.37696476964769648, 0.16935028248587569, 0.090263691683569985, 0.049797160243407711, 0.29228650137741047, 0.1825918762088975, 0.20642701525054463, 0.23605592347314203, 0.26902887139107612, 0.45590142671854733, 0.30400141643059492, 0.3100736278447121, 0.28819875776397513, 0.26274900398406376, 0.17060367454068243, 0.15085557837097877, 0.29190581309786612, 0.020997807017543859, 0.27725969737653761, 0.22693854903592731, 0.16564153439153437, 0.10021505376344085, 0.24137336093857831, 0.15547926008968607, 0.24310938845822566, 0.18956582633053223, 0.32968421052631575, 0.3612097304404997, 0.12741830065359477, 0.21938483547925608, 0.26584229390681008, 0.29031250000000003, 0.26605734767025085, 0.30306748466257666, 0.37566248256624829, 0.38653594771241828, 0.27766854400639857, 0.080432294121607961, 0.39615305913648452, 0.22687366167023557, 0.0, 0.28707553707553712, 0.34065113500597377, 0.22277825099375353, 0.095355731225296447, 0.27939102564102569, 0.31886976073022588, 0.24404040404040406, 0.2776027374055629, 0.21586151368760065, 0.43200431034482756, 0.3198956294846706, 0.44747572815533981, 0.29200779727095516, 0.23494623655913977, 0.29824493131493951, 0.2216240160834157, 0.2550936967632027, 0.2847702761673212, 0.39144316730523626, 0.43015015764992348, 0.4838806787082649, 0.10914149443561209, 0.32987085906793939, 0.29809335963182115, 0.40163817663817658, 0.16787634408602148, 0.38832742988983854, 0.26263599072587834, 0.33161812297734627, 0.40988764044943815, 0.12097415506958251, 0.2256439119830613, 0.20613178972874741, 0.27593360995850624, 0.25624169986719786, 0.50520833333333326, 0.33423876592890683, 0.39415322580645157, 0.27593201754385965, 0.3609775641025641, 0.22488803582853484, 0.458031863706027, 0.29632390310011858, 0.34343042071197416, 0.30260896255371394, 0.36496815286624196, 0.35240825688073385, 0.3318445896877269, 0.085023664638269103, 0.45313725490196077, 0.37072434607645882, 0.40641321044546852, 0.43195229127432516, 0.059321401938851603, 0.25891861761426982, 0.21524822695035459, 0.39889366933005532, 0.40770114942528735, 0.19743083003952569, 0.31660787771898879, 0.26983640081799593, 0.27595190380761525, 0.2124327956989247, 0.36600660066006596, 0.41595507094062012, 0.29424836601307192, 0.28688981868898189, 0.45479164011724221, 0.30272435897435895, 0.25793361772968471, 0.44507422402159241, 0.29939811387556731, 0.32316602316602322, 0.31062618595825431, 0.2486984126984127, 0.43893014347636172, 0.38169934640522885, 0.25990161226614955, 0.34257425742574255, 0.28132735875661952, 0.34598237428719542, 0.26609112709832139, 0.3362092862092862, 0.26151362643623588, 0.25812672176308543, 0.27580989063897104, 0.31330798479087452, 0.34554903694178785, 0.037859649122807017, 0.27849462365591399, 0.15230240549828178, 0.30986798679867988, 0.30511551155115513, 0.34169847328244274, 0.24654227557411276, 0.33900990099009898, 0.042449874686716793, 0.35456413266803638, 0.24360776439089693, 0.37722457627118644, 0.28326460481099658, 0.4002751572327044, 0.3137711586405984, 0.48808411214953268, 0.35361281526925697, 0.32690935046395431, 0.39023367913653995, 0.23864097363083167, 0.41146584502425593, 0.46395018973584345, 0.42129186602870816, 0.26635928961748634, 0.18629476584022039, 0.44137296238011819, 0.47827134986225894, 0.37816849816849812, 0.011768996154356186, 0.35000000000000003, 0.42318996415770604, 0.0, 0.26404255319148934, 0.2631124913733609, 0.18307464892830747, 0.38055555555555554, 0.2920892494929006, 0.25836988304093567, 0.1852, 0.0, 0.30259887005649716, 0.37568196939454429, 0.4146600277528365, 0.27001455604075697, 0.3829869130100077, 0.30881941530283957, 0.0, 0.21694983818770228, 0.4130549285176825, 0.32994164843180163, 0.24175317185697806, 0.46475225225225225, 0.40414722985494278, 0.36344537815126055, 0.46379432624113476, 0.4816856780735107, 0.26341919700676353, 0.26176152494254423, 0.35580168776371301, 0.28733580611874954, 0.19723401341914285, 0.30099454779583001, 0.38686391134156883, 0.31997144582944376, 0.23674431503050469, 0.0, 0.14568822553897179, 0.3034108527131783, 0.0, 0.25624667729930883, 0.26910908988192755, 0.25556487695749436, 0.36135767467740654, 0.30524741707449699, 0.013631253513209669, 0.022366992399565688, 0.26028481012658233, 0.1555908850026497, 0.092297590499029358, 0.17460958535271942, 0.44358611685344362, 0.26329338168129102, 0.35050026329647183, 0.2015774900008391, 0.31830231246474899, 0.34711434735706581, 0.1006514657980456, 0.23243446497636444, 0.17381342062193125, 0.32400418709712964, 0.019201185117657112, 0.27142857142857146, 0.15833333333333333, 0.38844911147011307, 0.24034488457936204, 0.2131503543960187, 0.26121504446984695, 0.25791879830194842, 0.089709110867178921, 0.20729710766352222, 0.23431703204047219, 0.288849116800249, 0.27829172474971486, 0.18137727759914257, 0.29382428940568472, 0.28039058319957194, 0.31531581578801177, 0.24459901800327333, 0.26894060142386572, 0.30028863232682063, 0.36394355536332179, 0.0, 0.34498407643312101, 0.32040816326530608, 0.31964043332394293, 0.32706904674658432, 0.26800639295726675, 0.038314176245210725, 0.14849946409431938, 0.1984514435695538, 0.33796407826761954, 0.32679807363351665, 0.07912221722211929, 0.4152404921700224, 0.27612683438155133, 0.32414741474147418, 0.31275149537792279, 0.56313420512957091, 0.16065777729694641, 0.29480286738351258, 0.31571453550820577, 0.23642146904736444, 0.27570030826966896, 0.30482838859802214, 0.22597973725228235, 0.25951293759512933, 0.45360956094080473, 0.0, 0.41547309324934961, 0.26900902860872405, 0.22306309207524891, 0.45281765018607123, 0.31612583328742222, 0.0, 0.0, 0.28316561128773748, 0.40485884907709013, 0.27701845444059975, 0.32724409448818903, 0.0, 0.20493224932249321, 0.23919704173269943, 0.056274184632393587, 0.29378125258999366, 0.19827768945416005, 0.41248228386313024, 0.31146748327826579, 0.36244949494949497, 0.27737609007616731, 0.037029321389510962, 0.33157654834482364, 0.12672648178357804, 0.37001499250374814, 0.13972174900624648, 0.22553975776724594, 0.64341085271317833, 0.0, 0.21302049761505734, 0.24636653668911734, 0.033754960317460315, 0.45247983071022352, 0.36267309829001926, 0.033544303797468353, 0.23197659700149081, 0.32427293064876955, 0.27597874720357934, 0.21830615465544451, 2.6860780574283487e-05, 0.25673937360178967, 0.16510851419031719, 0.25834279842068258, 0.25123705555272152, 0.20711428643304575, 0.36693121693121694, 0.18614270941054814, 0.052215018908698008, 0.33341307814992027, 0.28761825264329438, 0.19351851851851853, 0.079643008924776881, 0.33126934984520118, 0.32178861788617891, 0.034158134243458475, 0.0, 0.22538846028468978, 0.20785507246376814, 0.056652620562394999, 0.24428472922081365, 0.21996615905245345, 0.14881149806522942, 0.27838439808778792, 0.1948880119175182, 0.33651062435134105, 0.28081232492997193, 0.0, 0.2655712342287071, 0.36178173476076031, 0.37710005350454789, 0.42543271915131209, 0.33637545501820071, 0.41464174454828662, 0.028076344970363858, 0.3041201488569909, 0.18697714072574195, 0.42364639082833006, 0.31092132505175979, 0.31621405750798726, 0.21736760124610593, 0.30443485494436934, 0.20132231404958678, 0.16974769529354683, 0.18360258481421646, 0.38914778642605719, 0.29772125066242711, 0.37023965856861457, 0.4265578455353467, 0.13507783145464305, 0.56067750677506778, 0.39661144578313257, 0.34325259515570933, 0.29967479674796743, 0.40425417339795366, 0.25091762927777178, 0.17822404371584699, 0.24198924731182792, 0.32362347422845261, 0.12571428571428572, 0.32266872746007214, 0.25450083946790647, 0.34646943901758304, 0.032348391914235428, 0.23453525641025641, 0.44434139821608787, 0.26013440860215054, 0.38774193548387098, 0.099869246861924693, 0.32241975308641979, 0.36492191871407498, 0.39272975639371632, 0.23126326963906582, 0.041820760225787616, 0.0, 0.081094104308390022, 0.28434684684684686, 0.034030100334448157, 0.026163419913419913, 0.12896261190100053, 0.88641997566142328, 0.046618462542133303, 0.18726797385620914, 0.58655555555555561, 0.3005722239406125, 0.31147721032399778, 0.36001669449081808, 0.0064656328808284595, 0.18913156526261052, 0.19613187954309452, 0.30145966029723997, 0.36891266387649324, 0.36228469713627559, 0.43125325013000521, 0.289956568946797, 0.28016169154228854, 0.37421135646687698, 0.26648059542796382, 0.32880493033226149, 0.29233388306644681, 0.17481634527089074, 0.56964999459868215, 0.0, 0.26004056795131847, 0.1521875, 0.41065815443846093, 0.43698615880944941, 0.26059637912673056, 0.0, 0.01755731696923208, 0.35543237855992132, 0.23534269199009084, 0.2356570686295735, 0.42620236530880423, 0.17415232133541991, 0.70027831299507604, 0.10807918673087212, 0.24522552913651452, 0.0, 0.44231840980865689, 0.23716505894962486, 0.38960014253353353, 0.0, 0.25814794289182696, 0.41730420777129057, 0.31717659688674182, 2.4828682093554473e-05, 0.24234013024447526, 0.24665045921123716, 0.38178477690288715, 0.2052214906100279, 2.5839793281653746e-05, 0.23895042194092825, 0.25196078431372548, 0.27092140921409213, 0.45383806519453201, 0.32818428184281845, 0.29811827956989245, 0.29889606892837906, 0.36862962669414279, 0.12235399300533803, 0.36081827309236947, 0.33349206349206345, 0.42137506688068482, 0.36044337606837606, 0.30955051783058984, 0.22631268436578172, 0.32391374885696589, 0.16716059663474492, 0.29010152284263957, 0.23822292323869612, 0.0, 0.23776492199709373, 0.18795602198900549, 0.28028846153846154, 0.19828857293312271, 0.12258974358974359, 0.0, 0.21286089238845146, 0.22425266175266173, 0.28614167387810607, 0.22513842746400889, 0.28282751643904913, 0.26194603965760099, 0.22086144519409406, 0.27877920576822524, 0.1010664212634656, 0.28466958471228782, 0.36984289348755478, 0.28310113519091845, 0.27677966101694923, 0.34917195066484746, 0.25028825995807125, 0.2869161358811041, 0.28000520020800829, 0.42945216815623966, 0.39290141756050245, 0.38617886178861788, 0.15327731092436975, 0.27780247365530947, 0.44842998585572841, 0.39113452867778131, 0.36610305958132044, 0.025689027561102445, 0.28834159603390369, 0.23150756390193006, 0.18630760986066452, 0.16106791083462932, 0.20922754995279047, 0.10858689411957681, 0.3108037649899838, 0.27753164556962029, 0.35311355311355308, 0.24318181818181819, 0.36367909746161076, 0.0, 0.20140788873689008, 0.32238924050632911, 0.22425474254742547, 0.12939590075512405, 0.42318435754189943, 0.32433108902960978, 0.29575520833333335, 0.30372454448017144, 0.34863945578231298, 0.27002645502645506, 0.15376857749469214, 0.040734737979470553, 0.26847102477354579, 0.43153898876996893, 0.25253995353914183, 0.33789777709010266, 0.16119085868269678, 0.21335403726708077, 0.22370550161812297, 0.34803278688524591, 0.18462347220396899, 0.0, 0.3927584300718629, 0.34357923497267762, 0.18518518518518517, 0.46743065503320747, 0.45420961533493504, 0.17437478588557725, 0.43044408774745857, 0.39641130387568835, 0.31349911190053281, 0.18516720604099246, 0.34631436314363145, 0.28568249258160233, 0.28014561300951268, 0.49443356227219754, 0.41647382920110193, 0.0, 0.30404265873015873, 0.32692553164330751, 0.44713044356875814, 0.34543094496365528, 0.032105305401717632, 0.29422224653936635, 0.40388232835196991, 0.28251121076233188, 0.12377136752136753, 0.3416929547844374, 0.0, 0.38177486599166166, 0.33265146825290015, 0.27461701003697836, 0.28057377049180326, 0.34679925419515228, 0.24859622256253192, 0.23821007502679528, 0.30471999999999999, 0.3458199356913183, 0.2606549364613881, 0.38142857142857139, 0.31796357615894039, 0.048727933541017648, 0.32463651050080777, 0.040199343995524932, 0.36566820276497697, 0.15103833865814698, 0.0042920847268673352, 0.22614027371743456, 0.030221697353588491, 0.19740010946907499, 0.35057113187954309, 0.068273420479302821, 0.058850931677018631, 0.41566973415132918, 0.30611111111111111, 0.26575185820468838, 0.22197686645636169, 0.25481182795698926, 0.28007936507936509, 0.14945131979832293, 0.32345483359746435, 0.0, 0.2419278996865204, 0.30451603484354467, 0.47182587666263603, 0.25397765741367634, 0.35247890295358647, 0.19531001589825117, 0.0, 0.0, 0.35154040404040404, 0.016795267489711933, 0.22875399361022364, 0.27351638161961678, 0.24813333333333332, 0.051264542235710669, 0.20127172315954805, 0.29061057519555539, 0.064183222958057395, 2.705554503395471e-05, 0.32753147235905861, 0.21622476411364716, 0.18041388911198566, 0.23664770533576998, 0.34901012891344385, 0.32771505376344084, 0.1394822006472492, 0.36805233746762983, 0.64744981009224079, 0.45024379152666544, 0.39095684591052865, 0.01241202067696621, 0.39904921700223717, 0.062677165354330711, 0.30422359603096266, 0.35022236773894305, 0.073399390243902435, 0.36788018800286781, 0.19903100775193799, 0.36888259551845776, 0.52374080362195818, 0.24625468164794007, 0.4416662383717942, 0.26397253037506607, 0.2931372549019608, 0.9114995902758809, 0.036146838156484458, 0.32010752688172045, 0.28254452926208651, 0.21598915989159889, 0.34032463485353487, 0.21868926377983366, 0.34355943586299531, 0.43823839662447267, 0.084948433062627671, 0.026797129810828442, 0.57319540405389935, 0.3549731182795699, 0.34504792332268369, 0.29346116775731751, 0.0, 0.46671810699588473, 0.077501337613697166, 0.16088, 0.2666145018257694, 0.2182067703568161, 0.21872860378153475, 0.35598006644518282, 0.077844311377245512, 0.44349206349206349, 0.30811301192327634, 0.22143395804820828, 0.25993964046713031, 0.18465609762073951, 0.18586021505376346, 0.31969469469469469, 0.32206790123456791, 0.25263432446531037, 0.0, 0.32253086419753085, 0.24902116402116403, 0.0, 0.22648663393344245, 0.25639158576051779, 0.20183867141162515, 0.076335877862595422, 0.0097796143250688701, 0.93624481989161623, 0.23224400871459697, 0.32176981541802391, 0.22733333333333333, 0.39403038856525135, 0.34183823529411761, 0.24456626539213794, 0.556747311827957, 0.048074807480748077, 0.13427845392537113, 0.23738523311424262, 0.37574750830564779, 0.38162134944612291, 0.29469320066334992, 0.20010319917440661, 0.45880098549137693, 0.60255360018078585, 0.21339313553833977, 0.31882210078931394, 0.42000525762355406, 0.34910721227356362, 0.2056904761904762, 0.40769585628612526, 0.35025139929797933, 0.28159972452468207, 0.32058723113690679, 0.21542741527567022, 0.23815060908084162, 0.12965622905295415, 0.0, 0.30881339241752837, 0.34989599583983361, 0.20356689368579017, 0.26187641723356003, 0.045949644225506292, 0.2564560179551662, 0.25088030367355091, 0.43521671826625391, 0.34219242902208202, 0.028723404255319149, 0.52542372881355925, 0.38592586704819432, 0.55393487987172518, 0.67128906249999998, 0.18552423780079769, 0.26882513661202184, 0.32659627953745601, 0.30312379483224067, 0.0, 0.32353896103896107, 0.36186750130412104, 0.2521522309711286, 0.1760940032414911, 0.15908168442415019, 0.33349333333333336, 0.052419354838709672, 0.33738476467734113, 0.23787404403839243, 0.25294117647058822, 0.21255612793036002, 0.084144295302013422, 0.43708881578947373, 0.25376952073236408, 0.38575110662856504, 0.16755663430420711, 0.11131447587354409, 0.20497912151805067, 0.23920119159265185, 0.38856619570905276, 0.359255676611343, 0.36176024279210922, 0.3458533975387908, 0.44056851188629764, 0.0, 0.26752873563218388, 0.26978319783197829, 0.43385050064439379, 0.17706270627062703, 0.37722674290741148, 2.72234775270193e-05, 0.29589351458510332, 0.29114666666666661, 0.35602240896358545, 0.34033970276008491, 0.30077309406918351, 0.44081367669335636, 0.3682687338501292, 0.3347641759406465, 0.366172009124903, 0.54439198080346785, 0.045523520485584217, 0.28430446194225723, 0.29674242424242425, 0.34968000000000005, 0.37456576001646896, 0.33255941356011792, 0.32399559572888131, 0.11200212426978226, 0.2871164021164021, 0.41825396825396832, 0.42525989709125278, 0.24250732467811734, 0.30773747223853165, 0.36970581573848049, 0.36846354166666667, 0.22611979166666663, 0.057416267942583726, 0.47889297137268383, 0.25122090284836013, 0.31977309562398704, 0.31169398907103824, 0.23948717948717946, 0.034472527176111996, 0.090327187412337751, 0.34203847728203035, 0.42495848767403244, 0.32046282518343683, 0.11386666666666667, 0.18982229402261713, 0.067846607669616518, 0.0, 0.23151282051282049, 0.44923449893277817, 0.29003110650274033, 0.33552237375068911, 0.43867949889779023, 0.32036414565826332, 0.2175169182717335, 0.47632655201342272, 0.38386111111111115, 0.51484926594194769, 0.28957645764576462, 0.0, 0.21028049713697655, 0.23635170603674541, 0.5820956464043282, 0.26416791604197898, 0.29653754940711469, 0.48599958822318301, 0.35002815315315317, 0.42275091003640153, 0.37619203381727606, 0.071076923076923079, 0.27854838709677415, 0.51887539936102234, 0.4828346456692913, 0.24155966421716052, 0.39585514940457345, 0.38962666666666668, 0.39560411702073717, 0.037333333333333336, 0.51197989235854979, 0.3231504307825247, 0.49173508483853312, 0.51369593192741025, 0.21255572065378903, 0.025782006723263633, 0.32186853002070392, 0.49226666666666669, 0.4433673469387755, 0.030026666666666667, 0.37406674581189819, 0.2760468843919055, 0.29892818863879955, 0.31837111228255138, 0.0, 0.3568924778646172, 0.30721623009758597, 0.27446868008948544, 0.0, 0.086218985976267537, 0.17356691810609595, 0.30418022528160199, 0.31374085684430514, 0.38705556159617266, 0.18494965553789083, 0.33273420479302834, 0.40276148582600196, 0.0, 0.35243844696969695, 0.24642126789366053, 0.0, 0.28748091603053433, 0.23575433231396536, 0.18915363613799949, 0.37000551876379684, 0.22377423033067273, 0.29276677667766776, 0.0, 0.40000516302243339, 0.34466603517575078, 0.46034906588003932, 0.057154953429297203, 0.34523456790123452, 0.44053208137715172, 0.31558080808080807, 0.0, 0.26835118383243484, 0.38683943089430889, 0.026546121593291408, 0.23914600550964185, 0.00023525106516454511, 0.23890585241730278, 0.1501626577287066, 0.30002754820936645, 0.20279428920615522, 0.19554060787244643, 0.21370923161967936, 0.34898116415610636, 0.22539082198688853, 0.37605110982045908, 0.22007987516199845, 0.27231244786811248, 2.5477057909352627e-05, 0.41462333825701619, 0.32248175182481748, 0.19036608863198459, 0.34377027903958468, 0.37901430842607314, 0.27646290491118075, 0.29867279224093923, 0.42928371327970394, 0.41956687023275208, 0.30336980561052262, 0.28564060803474484, 0.36785898095728259, 0.34758190327613109, 0.0, 0.0, 0.35011078589599803, 0.3795820745216516, 0.2723175965665236, 0.43324961835820164, 0.074469437031388988, 0.0, 0.41559420289855081, 0.063071895424836599, 0.29267926792679266, 0.84634314945389189, 0.25949537797611755, 0.031088082901554404, 0.18576943239765525, 0.386021505376344, 0.5662243947858473, 0.10925315760571114, 0.19732650739476676, 0.02193139410050611, 0.39281151047164042, 0.40945942306138389, 0.29758974358974366, 0.10599439775910365, 0.043570722057368942, 0.32372743037845553, 0.072437888198757766, 0.12427802734857087, 0.0, 0.26181415289753845, 0.2715846994535519, 0.097475631092226941, 0.38985456718796685, 0.44554064719810571, 0.30846333753116245, 0.23404864091559371, 0.26011662393806867, 0.29504470374299135, 0.091502732240437187, 0.22575268817204305, 0.26774165978177261, 0.30516471245114463, 0.23918757467144566, 0.32490607388854104, 0.17003657262277952, 0.18157894736842103, 0.30124930453694804, 0.26911810710121431, 0.33355840648210672, 0.41808149405772493, 0.0, 0.33246226126601985, 0.32998620689655173, 0.31478703455665685, 0.13800978792822186, 0.42605555555555558, 0.2935637998875773, 0.23322475570032575, 0.067384105960264895, 0.0, 0.29420520999468375, 0.12016666666666667, 0.0, 0.3401509492285103, 0.39120227038183691, 0.31786833855799373, 0.21632302405498283, 0.19655688622754489, 0.42359762675296658, 0.35369181380417331, 0.85851741428377826, 0.1945605573419078, 0.39194437155602208, 0.43741421905023331, 0.35117647058823526, 0.3410981237392578, 0.16641711812266896, 0.3489161375082111, 0.53163656267104542, 0.44685333333333332, 0.29559955995599563, 0.26075828819713115, 0.30648489122202205, 0.35242666666666667, 0.40142374833154493, 0.28870963128235938, 0.38636363636363635, 0.39828042328042335, 0.016809605488850771, 0.32709003215434085, 0.052307692307692305, 0.16501897214836997, 0.23516356024111579, 0.38630537325676784, 0.50551908231729314, 0.34670739986422267, 0.34423718428756217, 0.35563195808775383, 0.212414074729463, 0.3880200744698073, 0.29103295310519645, 0.40876865671641793, 0.52395467497183745, 0.38032089063523244, 0.36697894630804873, 0.24731481481481485, 0.25897932816537467, 0.42559748427672955, 0.22742150968603872, 0.31991869918699184, 0.28350305498981671, 0.14385421930267811, 0.22881624880990159, 0.151078431372549, 0.34228758169934642, 0.40369978858350947, 0.0, 0.18113590263691684, 0.22839731870810481, 0.0, 0.26705121703853951, 0.36351351351351346, 0.23135426889106969, 0.4100271002710027, 0.44592847910383454, 0.4757663983558828, 0.38732704402515722, 0.28025889967637535, 0.38203378817413902, 0.39425076452599389, 0.28858733472512177, 0.48832188420019623, 0.32166344294003868, 0.0, 0.36610390821751698, 0.0, 0.29551610949998403, 0.30330281758483485, 0.55793703951774953, 0.38343003899933414, 0.37009009009009008, 0.0, 0.36944444444444446, 0.32033547179898425, 0.30997038499506419, 0.28255338336178293, 0.31855769230769232, 0.057120352867044741, 0.41602091308001116, 0.30755305867665417, 0.24423205902079143, 0.35036962365591395, 0.43709677419354842, 0.29006947028904606, 0.31543985637342914, 0.28705206220419205, 0.0, 0.39596997768611808, 0.31992178437676061, 0.4209603452926895, 0.31443355119825706, 0.37295657726692211, 0.34865925020898975, 0.27662702979158676, 0.23593656493117895, 0.34008468595624564, 0.0, 0.3467990199158133, 0.091498470948012237, 0.31284313725490198, 0.26018819503849444, 0.56408428107953934, 0.26439232409381663, 0.45526838966202782, 0.29254912853274079, 0.0, 0.21030762247285173, 0.15026666666666666, 0.22056105610561053, 0.3654657933042213, 0.56581693755346452, 0.40231630239045224, 0.25238709677419358, 0.33235492577597842, 0.0, 0.3947627163083377, 0.29084142394822005, 0.20330788804071245, 0.2610891089108911, 0.0, 0.2619821542383684, 0.26498599439775911, 0.2477891156462585, 0.0, 0.32138347130629996, 0.17788778877887787, 0.47408797576715395, 0.33965672990063228, 0.33736192332683557, 0.40092409240924098, 0.32042229382326726, 0.39987681135928943, 0.3078412698412698, 0.15742642026009582, 0.39577269577269575, 0.14012820512820512, 0.28500547495209416, 0.39428007889546351, 0.37432795698924726, 0.64950687718367162, 0.29721649484536083, 0.0, 0.32540422885572134, 0.5747997864388682, 0.27384519350811487, 0.25181878306878308, 0.35545977011494251, 0.32120630399108274, 0.025445544554455444, 0.3141917293233083, 0.27959119496855345, 0.39733454490383158, 0.0, 0.0, 0.28916175507531106, 0.2503968253968254, 0.37201923076923077, 0.292052767052767, 0.0, 0.25323333333333337, 0.31944574770886119, 0.37789115646258503, 0.29924540682414696, 0.42260737989614505, 0.27238756613756615, 0.043523280295447483, 0.12890121227753418, 0.26661416783647751, 0.23866666666666667, 0.41306135357368745, 0.0, 0.30590194013115429, 0.075049115913555994, 0.23502366463826913, 0.31944665288599139, 0.21617192331478047, 0.35427103403982019, 0.53357778941854384, 0.28888888888888886, 0.25396718891535541, 0.24152527790205458, 0.53202490239527278, 0.46684636118598388, 0.30729372937293731, 0.029277813923227064, 0.29892655367231641, 0.24806278891882003, 0.31372141372141377, 0.29330202033200359, 0.33927323549965061, 0.20797665369649806, 0.36512544802867386, 0.43836234687298525, 0.35577319587628864, 0.15581015842795948, 0.37002355712603063, 0.31029703594040381, 0.36673139158576057, 0.26308833010960669, 0.3126275683766499, 0.28822178477690286, 0.36940594059405935, 0.31653252850435948, 0.0, 0.23031189083820663, 0.44831649831649834, 0.28021248339973442, 0.19237179487179484, 0.38980298001553565, 0.31820754716981131, 0.27014035087719296, 0.25977777777777777, 0.38323110931224508, 0.39906538844792627, 0.40333333333333327, 0.35162213740458015, 0.26376959781867754, 0.32977777777777773, 0.15193549489220678, 0.0, 0.45441576086956514, 0.58584281106773051, 0.2164068299925761, 0.34608220937700707, 0.24101049868766405, 0.40487206118402419, 0.28525641025641024, 0.25228486434177988, 0.27586771447282254, 0.30765379113018598, 0.40170940170940178, 0.28221088435374153, 0.30873180873180872, 0.010406635394986177, 0.08381742738589211, 0.0, 0.33333333333333337, 0.35686084142394825, 0.20522088353413653, 0.405241935483871, 0.0, 0.30713395638629282, 0.22708744247205787, 0.0, 0.078859483301827349, 0.26166666666666666, 0.32866108786610881, 0.61660240682322698, 0.062702702702702701, 0.28171736375158429, 0.43559048903213077, 0.0, 0.24781920342718777, 0.25846613545816738, 0.36009717395983887, 0.26153581267217629, 0.0, 0.183587786259542, 0.3235438596491228, 0.29207185305240413, 0.3836653386454183, 0.39345357381429524, 0.3466547541321604, 0.15822740112994352, 0.45804713804713798, 0.19072937968643489, 0.30423593239201502, 0.41529726118904481, 0.28863319386331932, 0.29365721997300942, 0.39532064095422226, 0.27142857142857141, 0.13385315139701104, 0.37496782496782499, 0.215771632471008, 0.35966666666666669, 0.31382691007437458, 0.26510090466249131, 0.12149122807017544, 0.1637839628893307, 0.31339421613394214, 0.30550992470910343, 0.045296743263349315, 0.25228825136612021, 0.33587837610574822, 0.30712719298245611, 0.33625065639768953, 0.37089793281653743, 0.12890625, 0.40172863666014347, 0.32513162513162519, 0.41597222222222224, 0.42095665591247022, 0.24944553163731245, 0.0, 0.38476394849785411, 0.30137555982085734, 0.25442011354420113, 0.19587461426019165, 0.37641076115485567, 0.34401622718052738, 0.32443443765412239, 0.18758234519104083, 0.19029749830966872, 0.0, 0.36286089238845148, 0.22225529100529101, 0.0, 0.3018153544504919, 0.32386443046820407, 0.2107072179981252, 0.21569683908045975, 0.2834561974969998, 0.50713804497770365, 0.27770961145194273, 0.0, 0.0, 0.33116083009079117, 0.34216666666666667, 0.27066256830601093, 0.3183574879227053, 0.38222784974513818, 0.39588996763754042, 0.20582329317269074, 0.25795610425240056, 0.62981261673796474, 0.46813922356091031, 0.31292929292929295, 0.1333701250919794, 0.41889957727257593, 0.21176075268817204, 0.0, 0.21331238687203302, 0.24620609147829781, 0.0, 0.21204307070425479, 0.26601307189542489, 0.48431771894093689, 0.33205175600739378, 0.30482553823311059, 0.2856802721088435, 0.13883053221288513, 0.34927541317239202, 0.51989361702127657, 0.25451807228915663, 0.27039603960396041, 0.25164904372037522, 0.30838095238095242, 0.43016060627129249, 0.0, 0.29614723082215344, 0.34453900709219865, 0.36733337995664034, 0.0, 0.32655168852628319, 0.26178343949044586, 0.33200757575757578, 0.24982958418541243, 0.35273333333333334, 0.10017929179740027, 0.26419009370816599, 0.3765993265993266, 0.28964237516869096, 0.21031227305737113, 0.4242424242424242, 0.046579330422125184, 0.21841238471673258, 0.39884155327826715, 0.30531400966183575, 0.43016567354389829, 0.25689999999999996, 0.23231292517006807, 0.01104417670682731, 0.098947368421052631, 3.5087719298245611e-05, 0.04172161172161172, 0.24218086611944523, 0.39505312084993355, 0.27429285681218463, 0.02829688535453943, 0.091700960219478739, 0.21501533897447997, 0.021294559099437147, 0.029128881560868371, 0.35879345603271984, 0.2787404314544189, 0.36551020408163265, 0.26316666666666666, 0.29185185185185181, 0.21080114449213164, 0.31294155427103404, 0.27884198953926109, 0.0, 0.44388888888888889, 0.37173931160930079, 3.5725768997177664e-05, 0.28891142663962133, 0.32937743190661478, 0.069467787114845941, 0.072289156626506021, 0.18356807511737089, 0.36421471172962228, 0.19367346938775512, 0.2831778606965174, 0.30806559571619807, 0.33858295334970184, 0.31433333333333335, 0.015035460992907802, 0.045395948434622468, 0.4480411046885035, 0.3096925930833444, 0.26638211382113819, 0.17347985347985351, 0.12537859666834933, 0.19308367071524971, 0.57251932481463952, 0.21028591352859136, 0.19016913319238901, 0.3361874559548978, 0.32075601374570445, 0.30528368794326238, 0.32907051282051281, 0.28069196428571425, 0.0, 0.11563670411985019, 0.47930648769574946, 0.36533957845433257, 0.34747028641943234, 0.43951822916666666, 0.22664816569649385, 0.38986531986531991, 0.26520028612303287, 0.2909153005464481, 0.067831959479590823, 0.24420572916666666, 0.30292668208790108, 0.050852629080923487, 0.43906581740976647, 0.3345214521452145, 0.29675925925925928, 0.22434953362788412, 0.47825292397660824, 0.24315403422982884, 0.11017060367454069, 0.0, 0.33422364672364674, 0.36733200266134397, 0.10183150183150183, 0.41452802610557798, 0.40578566732412885, 0.33477663230240551, 0.34142778300814852, 0.47859101455389158, 0.0, 0.17919947506561679, 0.046587926509186355, 0.40568862275449102, 0.39404079031230083, 0.32363138686131387, 0.47680272108843536, 0.32453968253968257, 0.35872862658576943, 0.67650804131490827, 0.43314028314028319, 0.2327789327789328, 0.084659090909090906, 0.30286998616874133, 0.24092904581441596, 0.11806615776081425, 0.35604865220249832, 0.15371035308198683, 0.52038309538220529, 0.32471947194719475, 0.055405925355906119, 0.0, 0.48950291682677188, 0.21560137457044673, 0.53568989071038253, 0.2364724919093851, 0.15295918367346939, 0.057058823529411766, 0.0, 0.46803186936195434, 0.42744107744107745, 0.36947831978319784, 0.051803607214428858, 0.3627410468319559, 0.35309575233981283, 0.4249056603773585, 0.34686868686868694, 0.038568588469184893, 0.096382978723404261, 0.39368737474949905, 0.46685137542054228, 0.34074858757062154, 0.28706743263575435, 0.0, 0.36495809155383624, 0.3726552598225602, 0.15909722222222222, 0.35380471380471379, 0.25061014771997431, 0.17820999367488932, 0.30549792531120329, 0.41152058432934929, 0.37755878284923938, 0.28029675638371288, 0.2910774410774411, 0.21234804862444018, 0.74073859689743005, 0.18996802557953638, 0.17006872852233679, 0.367085691720416, 0.52182130584192443, 0.41201020171574315, 0.37814432989690727, 0.30445816186556929, 0.26652157391094067, 0.34138991389913897, 0.0, 0.1458169934640523, 0.41456211812627292, 0.19339541596508711, 0.18588435374149659, 0.30359414758269715, 0.34223367697594503, 0.43922558922558919, 0.35500352360817478, 0.19768115942028985, 0.48061855670103093, 0.30758503401360543, 0.36694158075601374, 0.37118589743589747, 0.32093098958333333, 0.37100840336134455, 0.046241830065359479, 0.34653862883527953, 0.31929637526652449, 0.38498622589531672, 0.1517845117845118, 0.25986254295532646, 0.0, 0.26339662447257384, 0.33124999999999999, 0.26975694444444442, 0.0, 0.48584431889516627, 0.13018472156438188, 0.29764309764309771, 0.29745596868884538, 0.32297668038408778, 0.16295572916666667, 0.20577654086342656, 0.13811369509043928, 0.24990000000000001, 0.32638588912886973, 0.14396607958251795, 0.16285612535612534, 0.19836400817995914, 0.12510683760683761, 0.31375338753387533, 0.46341036414565828, 0.29348940835307852, 0.25306930693069307, 0.26702127659574465, 0.25259562841530053, 0.22685897435897434, 0.17152711378227015, 0.34587700908455626, 0.43663157894736843, 0.41547619047619044, 0.0, 0.2544197031039136, 0.31742424242424239, 0.32553264604810994, 0.0, 0.21096033402922756, 0.36709656084656089, 0.20459081836327345, 0.39167361066598294, 0.41526946107784429, 0.24683744465528148, 0.2183887977092572, 0.091178521617852157, 0.054654088050314464, 0.30418169481841228, 0.0, 0.4993851132686084, 0.39228494623655918, 0.2162811387900356, 0.0, 0.17977602108036889, 0.15771857923497265, 0.38654855643044622, 0.32607421874999998, 0.22166666666666662, 0.232951930032222, 0.092640194818372448, 0.40494219332914716, 0.3508484848484848, 0.27781787167038441, 0.2219680702081972, 0.33935462408516304, 0.36740878169449603, 0.0, 0.33364261168384879, 0.25369685767097971, 0.35509617953513223, 0.27161812297734633, 0.20143749411506234, 0.23257718966603655, 0.46144867833848269, 0.25884418901660278, 0.23539518900343642, 0.30426871429091307, 0.26094724532224534, 0.44105134716222016, 0.19880853422000555, 0.32791911285061964, 0.30584631954494973, 0.39342194955691884, 0.37193336698637053, 0.29932191291934329, 0.35664720027481961, 0.29014407334643094, 0.24569579288025889, 0.33448252321135991, 0.0, 0.2256712508185986, 0.26273247496423463, 0.39669270833333337, 0.29293729372937294, 0.22285095856524428, 0.22842942345924452, 0.27726337448559668, 0.26021471915357092, 0.19365781710914454, 0.26404106208666467, 0.17439024390243904, 0.37171717171717172, 0.0, 0.0, 0.23867867867867867, 0.34928443649373875, 0.24015140045420133, 0.29175438596491227, 0.19993838570548367, 0.047891392258809937, 0.20826518009146441, 0.45540540540540536, 0.30455153949129854, 0.41369047619047616, 0.34198084979054449, 0.36173820879703239, 0.39587628865979385, 0.0, 0.14044117647058824, 0.2470047449584816, 0.31096892138939669, 0.38055034396497811, 0.23194993412384718, 0.31081771976782652, 0.26877409878205522, 0.18976670566375337, 0.21083788706739526, 0.0, 0.4212151394422311, 0.36998232363811667, 0.30276134122287968, 0.38648838396732194, 0.44358974358974362, 0.31514035895075937, 0.36156126482213435, 0.37503652004544719, 0.084810126582278475, 0.24724524178125856, 0.34207152496626175, 0.22997764451226002, 0.54183526507098279, 0.256280701754386, 0.36244444444444446, 0.34054982817869417, 0.22513966480446929, 0.49827235772357725, 0.0, 0.23637426498401018, 0.37294474631289254, 0.0, 0.24896840747904578, 0.33758099352051835, 0.48755328495655853, 0.39750000000000002, 0.27114942194006814, 0.17593669250645994, 0.21516666666666664, 0.38612612612612612, 0.24038461538461536, 0.42182203389830508, 0.0, 0.31288039631988679, 0.31085753803596122, 0.25218253968253967, 0.38821548821548829, 0.26178323881537491, 0.32341269841269843, 0.39065489330389991, 0.26510934393638175, 0.022265880812049769, 0.36876291703572484, 0.31442374051069699, 0.28806022408963583, 0.10231941683233929, 0.53538241601143677, 0.29065040650406504, 0.33213215491408415, 0.16888888888888889, 0.33291545297002323, 0.11950830140485313, 0.45999999999999991, 0.090117252931323277, 0.40531788472964936, 0.45122126436781618, 0.46014107643250551, 0.19451178451178452, 0.21686159844054581, 0.39228274967574572, 0.35659203980099502, 0.26157509157509157, 0.43846405228758173, 0.21866456361724498, 0.26529284164859002, 0.34434416365824305, 0.13771446078431371, 0.16410006497725796, 0.36976633851263196, 0.24400428265524624, 0.091576784797123778, 0.23916666666666667, 0.37672764227642275, 0.34265658747300215, 0.20080246913580249, 0.25793650793650796, 0.32776595744680848, 0.38731808731808731, 0.41495576128172718, 0.51569602272727266, 0.31309089621472325, 0.29734269493062787, 0.36104122990915444, 0.41229124916499665, 0.20058299039780519, 0.34662356321839077, 0.21120162932790226, 0.34645163362996756, 0.28336748392566946, 0.1506172839506173, 0.18202511773940344, 0.26986882716049376, 0.43025693035835028, 0.35843987700275126, 0.30809716599190284, 0.37977124183006539, 0.43187850944359368, 0.097440911696281066, 0.33583333333333337, 0.26920216362407035, 0.34640449438202242, 0.52735051441377201, 0.3506702412868633, 0.19094650205761315, 0.30457912457912462, 0.30370920493460413, 0.33554286491263846, 0.0, 0.40420489296636086, 0.079994326643500466, 0.25147412458411572, 0.29749657064471879, 0.14690618762475052, 0.14702495201535512, 0.40404953145917, 0.24267019000880835, 0.0, 0.10790902919212492, 0.23895389306904438, 0.34256458727158157, 0.03271604938271605, 0.26924493554327805, 0.24069419509275886, 0.24625629949604033, 0.071918307804522255, 0.3485475781749639, 0.1987885462555066, 0.21312056737588653, 0.21622267759562841, 0.38452131376659682, 0.26411064425770309, 0.3350826972010178, 0.25315860215053765, 0.4103915408263234, 0.16997126436781609, 0.13649305555555558, 0.29215076071922541, 0.34688403525272588, 0.0, 0.043564356435643561, 0.27032873290070991, 0.41723646723646718, 0.0, 0.3792125378587568, 0.41554347826086963, 0.3329201101928374, 0.26967155835080364, 0.19834347532116295, 0.19541700168116363, 0.45147529328119435, 0.47577557755775579, 0.073505154639175257, 0.3446864686468647, 0.35202788339670471, 0.18292862398822662, 0.39414664202094885, 0.39787297485339423, 0.331941101514937, 0.33949315284117737, 0.23438346883468833, 0.3352145214521452, 0.28833057851239674, 0.29504048582995951, 0.29739688979039897, 0.31873840445269014, 0.25429487179487176, 0.23964527908189878, 0.26954861111111106, 0.16111111111111109, 0.35372848948374769, 0.32230869001297019, 0.39347568208778172, 0.10211838006230529, 0.34030189904236324, 0.31102507374631266, 0.12403333333333333, 0.29159212880143109, 0.30862818125387959, 0.15763888888888888, 0.37692556634304203, 0.28903420523138834, 0.14404209449336791, 0.35589941972920697, 0.3774390243902439, 0.0, 0.25025417574437181, 0.65771756978653528, 0.38916469661150505, 0.3144956579826319, 0.027376425855513309, 0.27591321444586253, 0.40494321977287906, 0.0, 0.25585106382978723, 0.12224583776124689, 0.24888438133874238, 0.24172543874036412, 0.0, 0.28962339743589743, 0.34734142588476663, 0.24254557291666667, 0.02730566534914361, 0.35441231438377108, 0.28384944520994998, 0.35595469255663431, 0.30374149659863942, 0.27718770875083498, 0.37393574297188759, 0.31145602365114555, 0.29293729372937294, 0.34055118110236221, 0.044616443068455455, 0.38231937190883003, 0.22979698755730191, 0.35414181577203441, 0.26727891156462585, 0.24700940860215051, 0.36510416666666667, 0.41012578616352208, 0.28291692589803202, 0.27524752475247527, 0.24159021406727832, 0.31706349206349205, 0.365144596651446, 0.33586251621271074, 0.37414965986394561, 0.25159722222222225, 0.010745305365786674, 0.21911764705882353, 0.24503645946141073, 0.09482269503546098, 0.25545392953929541, 0.22005532503457814, 0.28286852589641431, 0.3891, 0.27075163398692814, 0.26633663366336635, 0.32036262203626226, 0.41783333333333328, 0.031740614334470993, 0.22481776010603052, 0.28689450414690032, 0.38375616631430587, 0.5453059916693368, 0.31182692307692311, 0.37806513409961684, 0.35696839080459769, 0.29891826923076925, 0.40626622172784577, 0.47933506712588742, 0.36158730158730157, 0.40648323845667306, 0.09584183273183744, 0.4028712871287129, 0.43292440198313614, 0.39897672212245455, 0.22185686653771763, 0.3468652037617555, 0.35390804597701153, 0.22156203288490281, 0.30630380449875033, 0.3467719298245614, 0.34762340036563077, 0.3426732673267327, 0.34055016181229769, 0.41007905138339917, 0.40724358974358971, 0.27445972495088411, 0.4368884540117417, 0.31099827059646024, 0.26602931803696622, 0.17764611689351478, 0.31838283828382841, 0.34085034013605442, 0.38717948717948725, 0.28891089108910889, 0.022628205128205129, 0.31370442708333335, 0.19775208734746305, 0.28486328124999999, 0.23010223016970885, 0.48793756678864025, 0.25065666041275797, 0.2706860706860707, 0.27772914437635771, 0.40684255319148943, 0.31885225582548343, 0.25874999999999998, 0.43482032218091693, 0.30090290499869143, 0.26462728551336145, 0.53326118326118321, 0.22653825575173889, 0.28607046070460707, 0.31485215053763438, 0.19982993197278912, 0.4048325722983257, 0.24833333333333329, 0.25518771331058021, 0.30585676037483267, 0.33854901960784312, 0.28014109718858582, 0.27341426817623787, 0.36310907903331152, 0.11938880328710835, 0.041387619148860778, 0.23031301482701813, 0.43521809369951542, 0.20831365139348135, 0.29185724185724182, 0.22076160667709963, 0.0, 0.01950904392764858, 0.29727690288713909, 0.31856749311294769, 0.36202639981566215, 0.34451612903225809, 0.25555555555555554, 0.35473421158177276, 0.36184546615581098, 0.2768880091176294, 0.2505700871898055, 0.36223118279569894, 0.6928956228956229, 0.32631220177232445, 0.45513100436681214, 0.29858229598893499, 0.37560597899272824, 0.37903672903672908, 0.28671171171171173, 0.32394149345650503, 0.39930858806404657, 0.43687943262411344, 0.18943248532289628, 0.19738955823293169, 0.22412439613526569, 0.38180827886710239, 0.26157601115760115, 0.24331317204301073, 0.32865563668028674, 0.38634163208852013, 0.53863508178228992, 0.45737812911725956, 0.40631578947368419, 0.35400815435487498, 0.33855460044571795, 0.40791015625000004, 0.29080932784636487, 0.4047435897435897, 0.31835095965530752, 0.030626450116009282, 0.35577956989247311, 0.50319726133574472, 0.34444444444444439, 0.34277777777777779, 0.31272965879265097, 0.36393518518518519, 0.29904071048439035, 0.0, 0.21867757327880027, 0.0535632183908046, 0.36889110225763611, 0.39080033698399325, 0.26670068027210886, 0.14055330634278002, 0.27452091318113647, 0.58791452234075181, 0.14426176660219214, 0.45697211155378487, 0.054249815225424984, 0.037841530054644808, 0.36234691759496296, 0.35934173622140375, 0.38604810996563571, 0.20597677595628414, 0.047291321171918185, 0.42196512407780024, 0.31691489361702124, 0.28986666666666672, 0.22336037863421232, 0.1892744479495268, 0.11234635345534007, 0.34238249594813613, 0.16513157894736841, 0.029571984435797664, 0.24103174603174604, 0.5392776523702032, 0.3553439153439153, 0.22840794587591767, 0.26753291753291752, 0.28251412429378531, 0.25606823266219242, 0.34395046577787691, 0.28756944444444443, 0.28224331926863577, 0.32452766531713906, 0.28859289617486344, 0.27237708362515761, 0.26299694189602446, 0.0, 0.33907930107526885, 0.17397306397306397, 0.090288160935163786, 0.23281270422167039, 0.42720430107526886, 0.37798353909465021, 0.42768566730611124, 0.31354166666666666, 0.31758503401360538, 0.2732222222222222, 0.25351064518216526, 0.10560137457044674, 0.34370775773960632, 0.2823762376237624, 0.27525252525252525, 0.28104229357494792, 0.28261316872427983, 0.30399914073967993, 0.44549828178694156, 0.16583897667419112, 0.16097222222222224, 0.26256666666666661, 0.21565338923829491, 0.31679790026246718, 0.45875984251968499, 0.3064148681055156, 0.40483619344773791, 0.4262339418526031, 0.28214285714285714, 0.31235087719298249, 0.2450841750841751, 0.30154258886653257, 0.32776632302405495, 0.42850787132101303, 0.30081632653061224, 0.26971252566735116, 0.33489974937343359, 0.30060732032087301, 0.18664546899841017, 0.30463395638629287, 0.29884836852207297, 0.20591537435969406, 0.37180028129395221, 0.32029520295202946, 0.45366263440860216, 0.3678101178101178, 0.29135802469135802, 0.22844534962661237, 0.40893202565581843, 0.30619380619380626, 0.38167570825798675, 0.027121520706042093, 0.16055352798053529, 0.15644622578490314, 0.3823825503355705, 0.21138472519628837, 0.29540949400104333, 0.34301848049281314, 0.29238789696061063, 0.25705605213332744, 0.24202127659574468, 0.40106849104466136, 0.27730961298377027, 0.049862825788751716, 0.34540576794097927, 0.45291164658634542, 0.20114320096269556, 0.15410628019323672, 0.10111349873022077, 0.29044486215538839, 0.34886363636363638, 0.28129744651483779, 0.31295238095238093, 0.21718289085545722, 0.52011772728904204, 0.20993464052287578, 0.37388888888888894, 0.2204626334519573, 0.071024617431803064, 0.39252767527675281, 0.29630403734280836, 0.30488980716253444, 0.16757634827810264, 0.35858688302907371, 0.33966329966329967, 0.32939696736775903, 0.27254704301075267, 0.04829941264854528, 0.30357388316151201, 0.5141184573002755, 0.54000000000000004, 0.30639223560910306, 0.29748995983935744, 0.3906878306878307, 0.37211673699015468, 0.24450136612021858, 0.30290162774239204, 0.30813601566672599, 0.32778864970645794, 0.11382978723404255, 0.24781746031746033, 0.38246484698097594, 0.3852461782472244, 0.46237693389592122, 0.23414554905782975, 0.32623828647925035, 0.43608058608058609, 0.23032258064516128, 0.019471624266144814, 0.16316872427983539, 0.28807922272047837, 0.24877300613496933, 0.27942386831275723, 0.27444080741953081, 0.24803775459513164, 0.34353792415169665, 0.094700582935877048, 0.25981735159817354, 0.27935729847494556, 0.26267195767195767, 0.2164021164021164, 0.2011144130757801, 0.33897806313536649, 0.27832783278327833, 0.25339777387229057, 0.26326808047852096, 0.26958266452648477, 0.22488372093023257, 0.33095611285266457, 0.20493929359823398, 0.30035577449370554, 0.26321932681867533, 0.29448017148981781, 0.051918092275790563, 0.30111630321910698, 0.47711768050028425, 0.33214814814814814, 0.28146097046413499, 0.25475065616797898, 0.3320175438596491, 0.272755905511811, 0.33053435114503815, 0.32183629509962303, 0.23852988691437804, 0.35614973262032085, 0.38839383938393834, 0.21719181868435597, 0.37747673782156543, 0.26217549325025963, 0.0, 0.35706349206349208, 0.22733964248159833, 0.23336030204962244, 0.29507269789983837, 0.30657349896480335, 0.37655502392344498, 0.29006555723651034, 0.258868501529052, 0.084498644986449864, 0.33911399243652079, 0.36077147388346037, 0.25472046413502109, 0.0, 0.1789902280130293, 0.37534321801208126, 0.33837209302325583, 0.31712887438825449, 0.28520589730554141, 0.34423289183222955, 0.29036723163841804, 0.41461942257217854, 0.37377622377622377, 0.24382613510520487, 0.363558996321309, 0.31786393788244977, 0.27084038353073886, 0.4143785310734463, 0.32192841880341883, 0.33122923588039871, 0.081862745098039216, 0.2904802259887006, 0.30237713675213679, 0.24370485036119716, 0.32313195548489665, 0.27170086829548123, 0.33664041994750654, 0.018487179487179487, 0.32624798711755237, 0.39452654625068423, 0.32463116481663618, 0.31485632183908041, 0.35092290988056463, 0.39005991285403047, 0.40680600214362272, 0.3915742208135235, 0.008896256389004006, 0.27487352445193936, 0.089733115468409591, 0.32826558265582656, 0.2791932059447983, 0.32266940979812264, 0.23691056910569105, 0.39808917197452226, 0.2348246991104134, 0.29769310523587356, 0.26791856989793039, 0.0, 0.32824710588359951, 0.29706552706552708, 0.34194666666666668, 0.26213618890719387, 0.13512861736334406, 0.35986177565124938, 0.31303873431533008, 0.18662198391420912, 0.32816523459734903, 0.27816748232735183, 0.42820903094875706, 0.18063646170442288, 0.38959764474975467, 0.30791900889592316, 0.20237324703344123, 0.0010877118772094148, 0.33683634373289545, 0.19700913727156821, 0.18927907403042921, 0.36421024112706585, 0.18161764705882349, 0.31897347174163787, 0.23634408602150539, 0.15937803692905733, 0.24203114421123903, 0.29095119746949838, 0.27630121816168329, 0.27653251117962391, 0.31209765069810219, 0.093449709518433871, 0.23906838987614434, 0.19070512820512819, 0.23677960734642181, 0.18093663911845731, 0.24630528586839268, 0.29372329059829055, 0.34948430864265628, 0.45199043700656066, 0.37759170653907492, 0.29997208263539926, 0.26894793344068707, 0.27252365016205959, 0.27682795698924728, 0.38419158361018824, 0.21644818545605077, 0.41099877450980393, 0.70357843137254894, 0.21060177788701817, 0.52037899207710525, 0.40778386098547958, 0.37040547656661399, 0.24590163934426229, 0.35543010752688176, 0.071527777777777773, 0.11266778523489934, 0.31868159203980101, 0.043779904306220092, 0.36612111292962352, 0.26470110021137061, 0.2485403397027601, 0.47241863075196405, 0.27041467304625194, 0.39215526601520079, 0.066259453170447929, 0.32860250135943453, 0.3724358974358975, 0.19343750000000004, 0.020964360587002098, 0.48708586883029076, 0.0, 0.27112211221122112, 0.034280701754385967, 0.2843986254295533, 0.30310391363022943, 0.32677376171352068, 0.02094365241004752, 0.23728070175438595, 0.054295532646048111, 0.43522684981561055, 0.28267845448592011, 0.20825049701789267, 0.40285510349750175, 0.4536796832332059, 0.36423370025402202, 0.19028629856850715, 0.25202331961591218, 0.33491902834008097, 0.32324471710974773, 0.39935507463182746, 0.29108126721763083, 0.20407098121085596, 0.2083692528735632, 0.35221354166666663, 0.31303087501685323, 0.094876912840984692, 0.3110013175230566, 0.39156901041666664, 0.18364134154688569, 0.0, 0.23122065727699531, 0.0, 0.23704081632653062, 0.28875502008032122, 0.23493055555555553, 0.2698888888888889, 0.26327345309381239, 0.25029012219264113, 0.45299319727891157, 0.1987337440109514, 0.41023651145602369, 0.27159574468085107, 0.34148079306071871, 0.32401737762118149, 0.23959183673469389, 0.27173169062286101, 0.50270919067215358, 0.34469111969111965, 0.36729372937293731, 0.36158459595959597, 0.44727828746177373, 0.31219999999999998, 0.32575631510633341, 0.28593242365172195, 0.43491039426523292, 0.45850340136054418, 0.29812252964426877, 0.41324018629407855, 0.40003367003367002, 0.27459259259259255, 0.51478696741854635, 0.45699029126213597, 0.44795918367346943, 0.20870841487279843, 0.26367771280051983, 0.36086001255492783, 0.49770425388251183, 0.27697768762677483, 0.29543650793650794, 0.25731292517006804, 0.46556224899598397, 0.29942176870748299, 0.3522120518688025, 0.13699268130405856, 0.57962962962962972, 0.13893414799728446, 0.25138600138600137, 0.044156706507304119, 0.27597656250000002, 0.29543024167676624, 0.3745679012345679, 0.25280819498410456, 0.25378343118069141, 0.15888678051865909, 0.26891156462585036, 0.12682506887052342, 0.054158349966733202, 0.30897233334453894, 0.050911949685534585, 0.0, 0.36865248226950353, 0.19777205932146003, 0.2882943143812709, 0.33269230769230768, 0.18109325784458355, 0.31759980776492402, 0.30791912384161757, 0.19159693165969316, 0.0, 0.22749490835030547, 0.37604832977967301, 0.0, 0.35912348115069059, 0.3204201101928375, 0.13419540229885057, 0.04597294042643621, 0.14784313725490197, 0.31906750173973558, 0.2984158415841584, 0.20791806997044476, 0.28435672514619886, 0.37847707847707845, 0.32002861230329044, 0.2394420903954802, 0.20731792717086833, 0.1753917378917379, 0.27804643951419394, 0.21279149519890261, 0.17474332648870636, 0.25441276306856753, 0.20168352454008553, 0.20519277231428862, 0.34117808501149266, 0.32913432443099588, 0.34800430749991312, 0.26819140742725112, 0.15764746227709192, 0.16989836622845053, 0.27582606352521133, 0.38355300288835037, 0.36222229408530865, 0.46804005914773489, 0.53631188545799557, 0.097564370215727211, 0.50837951525672687, 0.02136299435028248, 0.28639633536565695, 0.40952994204764975, 0.38395349600972117, 0.31948662328271871, 0.08999330655957162, 0.23408203124999999, 0.47353272017468406, 0.33974622770919066, 0.49967912993548824, 0.38237037037037036, 0.44045275590551186, 0.34805861258810439, 0.24489795918367346, 0.34872298624754428, 0.31245136186770422, 0.40483138780804151, 0.31600968188105116, 0.27247765006385694, 0.46552878179384199, 0.35350168350168348, 0.30769476372924648, 0.060034722222222225, 0.38554873892297209, 0.10083160083160084, 0.20180802103879028, 0.0, 0.30054875474883919, 0.34644351464435141, 0.23223921636019934, 0.41430062630480174, 0.31226652176866132, 0.17566388665945493, 0.019712885154061624, 0.30883002207505517, 0.43454608454608462, 0.23122605363984675, 0.36594202898550726, 0.0, 0.3652143845089903, 0.3661505981703026, 0.36783575705731397, 0.28165997322623826, 0.27329615861214374, 0.3381276626734151, 0.50330261136712751, 0.25909412597310688, 0.25395480225988704, 0.33655965830807388, 0.28973305954825462, 0.36259689922480615, 0.24513379921595366, 0.0, 0.28494513031550067, 0.31072164948453607, 0.36738765224695508, 0.25711085466024031, 3.5161744022503517e-05, 0.26388416316963442, 0.31157786885245903, 0.24227891156462586, 0.24585048010973937, 0.33289562289562291, 0.22851697851697853, 0.34952670723461798, 0.26215846994535519, 0.30005948007417516, 0.33995671149274392, 0.28650306748466253, 0.23918067226890757, 0.37895791583166333, 0.41584543110451766, 0.33907972723217128, 0.32852760736196318, 0.35189150606709496, 0.18293729372937295, 0.1036745406824147, 0.35535846267553589, 0.077511034557002909, 0.40665954415954414, 0.37854938271604932, 0.31239754098360656, 0.37025052192066804, 0.29811246687820997, 0.097795071335927367, 0.35097833682739343, 0.25424374696875213, 0.32392739273927396, 0.35039220429178619, 0.26536010197578075, 0.0198429693076374, 0.49096774193548387, 0.41493333333333332, 0.30402181322426719, 0.26404761904761909, 0.25323691460055098, 0.44121732949956388, 0.25965277777777779, 0.25793534524855938, 0.24749322493224932, 0.3654851633054933, 0.19425982872069572, 0.32746913580246911, 0.28915295551492987, 0.34378006872852229, 0.36906110481775167, 0.31433054393305437, 0.34833672776646302, 0.3269573731510298, 0.26743421052631577, 0.3327491408934708, 0.36793333333333339, 0.069219638590705651, 0.26562724014336919, 0.38485436893203884, 0.39786666666666665, 0.2597619047619048, 0.31901360544217688, 0.39714285714285713, 0.0, 0.32863333333333339, 0.41411600279524807, 0.30915249453108462, 0.43565283751907868, 0.28820621468926549, 0.39806956232318191, 0.26202749140893467, 0.3400925721842627, 0.024785478547854786, 0.15922709216993203, 0.45990000000000003, 0.33016835016835022, 0.10516666666666666, 0.35519785378940305, 0.22020833333333334, 0.3861904761904762, 0.25105193951347798, 0.025274725274725275, 0.035535230352303521, 0.32241659886086249, 0.25888888888888889, 0.28620689655172415, 0.33945017182130582, 0.12154218533886582, 0.18625925925925924, 0.27623333333333333, 0.31840202458423722, 0.41787234042553195, 0.23920792079207917, 0.34292803970223323, 0.18100870038064165, 0.19414225941422594, 0.19191919191919193, 0.036559935423113143, 0.30227891156462583, 0.27793258121516923, 0.2505498281786942, 0.0, 0.4124493927125506, 0.21298930638673597, 0.2403994612529155, 0.43750862663906137, 0.35801526717557253, 0.41182346855042995, 0.18129735026949606, 0.44929609519784119, 0.28944549464398234, 0.31096969696969701, 0.3312541918175721, 0.12573185490465444, 0.20377073906485671, 0.3678254942058623, 0.29783546952654977, 0.28595238095238096, 0.35963983050847459, 0.0, 0.32206257982120051, 0.3304410701373825, 0.37372766744964053, 0.31880178457616321, 0.28797016861219193, 0.077264231634301642, 0.22485207100591717, 0.35289691497366443, 0.33122838276910177, 0.32129054520358868, 0.33927875243664718, 0.31704413745575294, 0.2672815533980582, 0.065434851863650847, 0.14862745098039218, 0.28201219512195119, 0.31533722438391698, 0.24910564836391086, 0.25791316526610641, 0.22679487179487182, 0.31705263157894731, 0.38133131236579509, 0.22646652864044167, 0.17784711388455537, 0.35063157894736841, 0.27412450706124236, 0.32518587360594792, 0.31528619528619523, 0.2809959349593496, 0.11702685003274393, 0.0, 0.34525812748199503, 0.31937862858936139, 0.34848184818481848, 0.28448218888374854, 0.26743827160493833, 0.34862542955326464, 0.24701312267415287, 0.24247416020671839, 0.23768792120269569, 0.27061965811965816, 0.2281972789115646, 0.40315626995954862, 0.041913841807909608, 0.58489629850153813, 0.23697257383966241, 0.33493013972055885, 0.28129189518586228, 0.26040361864996525, 0.25073859987154784, 0.0, 0.19767844767844769, 0.33355443663882772, 0.0, 0.2255438596491228, 0.21798120409276067, 0.40636963696369638, 0.28390151515151518, 0.30154142581888249, 0.30268608414239484, 0.3166982323232323, 0.069647201946472018, 0.38584353379457159, 0.49038810301051872, 0.2789923954372624, 0.29889753566796368, 0.0, 0.36292238648363256, 0.27652228499686121, 0.36876267748478703, 0.49050245098039214, 0.34760994263862333, 0.33172814207650275, 0.26016483516483518, 0.28556457065584862, 0.44237516869095816, 0.40522486772486765, 0.16118589743589742, 0.32441077441077443, 0.26974405850091404, 0.47035663152414425, 0.28557901713852857, 0.36712871287128712, 0.4630072380702846, 0.33185635870643476, 0.042033333333333332, 0.24838813668600904, 0.26746171967020022, 0.28573333333333334, 0.15363244451540795, 0.42483787289234759, 0.22799145299145299, 0.32807345689508588, 0.3458420684835779, 0.22634514435695538, 0.33932547478716441, 0.23883587786259541, 0.079179487179487182, 0.31977513227513232, 0.380752688172043, 0.41773147238057795, 0.21037251123956327, 0.11226890756302521, 0.34956230943247762, 0.32338404884194205, 0.39757152361942777, 0.30455259026687598, 0.26197486723802516, 0.3618143459915612, 0.0, 0.3265193370165746, 0.28851515151515145, 0.25663192386795414, 0.23662018592297476, 0.29588520055325035, 0.31480000000000002, 0.63283025899012479, 0.26243386243386241, 0.31167695473251023, 0.31047819971870599, 0.31849390919158355, 0.48812636165577339, 0.16816069057104915, 0.057875084860828242, 0.21836219336219337, 0.25500263296471826, 0.39629310344827584, 0.13479247730220492, 0.28393213572854292, 0.14731716945751228, 0.21605995717344756, 0.11983260553129549, 0.19054580896686157, 0.24964539007092199, 0.24350064350064349, 0.23061941251596424, 0.29914011488921399, 0.0, 0.035215053763440862, 0.40084569626603594, 0.44812992125984252, 0.36884113584036837, 0.24652789018744536, 0.34650793650793643, 0.34495645500350364, 0.3024350384049681, 0.30404896421845579, 0.056054557551563543, 0.28005148005148006, 0.0, 0.0, 0.31909650924024641, 0.34186241610738261, 0.38653594771241834, 0.3457922419460881, 0.31941838649155724, 0.46795343137254902, 0.3861386138613862, 0.39892373923739238, 0.0, 0.0, 0.36549707602339182, 0.34391025641025641, 0.42218875502008035, 0.0, 0.38174904942965782, 0.40327380952380948, 0.24857723577235769, 0.40709150326797383, 0.22957364341085271, 0.38573635789030125, 0.32338003502626972, 0.28807631160572333, 0.38230327592029723, 0.32213469994622124, 0.48633139909735662, 0.059942124844977261, 0.30482180293501054, 0.060161337350568569, 0.058098276047453497, 0.46937791836119896, 0.096835443037974686, 0.28463917525773197, 0.28952175605665859, 0.3826410457694801, 0.23228636106395018, 0.2136845039018952, 0.29341563786008229, 0.33709722698774136, 0.52049002962815005, 0.23951543880439793, 0.35109508547008544, 0.30026706231454003, 0.25184466019417479, 0.36987419939268673, 0.42188165176670933, 0.2284891598915989, 0.043551544149630271, 0.23465994124494211, 0.23802242609582058, 0.29909333333333332, 0.44868082368082363, 0.069868267467066869, 0.31593837535014002, 0.31913481953290868, 0.12113756613756613, 0.41519394078494382, 0.036790245977174452, 0.0, 0.30353021045485407, 0.35214486638537268, 0.36411416637660976, 0.050000000000000003, 0.47081663715714589, 0.30872801082543977, 0.33572351421188629, 0.29792703960428257, 0.051287262872628719, 0.34052532833020638, 0.39348600508905851, 0.41596194503171247, 0.12355864811133202, 0.25394477317554243, 0.2984882842025699, 0.29685534591194968, 0.2586584531143053, 0.038017845761631613, 0.31885090218423551, 0.0, 0.42716171617161713, 0.3945972495088409, 0.21230769230769231, 0.32942760942760946, 0.18447474434459249, 0.31800631800631801, 0.31991803278688524, 0.39311241065627034, 0.36666666666666659, 0.39172640382317803, 0.39035260191375015, 0.51297348484848482, 0.46542857142857147, 0.034641744548286606, 0.34550264550264553, 0.041951404707668942, 0.28431372549019612, 0.26172460804362646, 0.28955964981053184, 0.23367139959432051, 0.27239999999999998, 0.31033886583679116, 0.29716729021913418, 0.26179114799446751, 0.25661268556005395, 0.35976290097629005, 0.293222683264177, 0.13226804123711342, 0.29557551563539591, 0.39296431079614375, 0.28273964668404283, 0.36344569288389511, 0.27507937580220226, 0.24506423258958757, 0.31478174603174602, 0.22594580442466292, 0.029138702460850111, 0.35891783567134267, 0.12046099290780141, 0.11080431392931392, 0.19612097304404996, 0.16256371049949034, 0.26627576403695807, 0.25607476635514015, 0.41752400548696844, 0.12201018173544552, 0.24947478991596636, 0.20843413978494621, 0.24110878661087864, 0.355493556529826, 0.0, 0.3584615384615385, 0.21172839506172841, 0.23918575063613232, 0.20395189003436429, 0.37173169062286104, 0.33971275885103547, 0.11736178467507274, 0.08875255623721881, 0.0, 0.24535907859078587, 0.20756081525312298, 0.34689378757515033, 0.25316331854943908, 0.31875843454790825, 0.311002886002886, 0.23770976565387741, 0.47044673539518894, 0.29974309569685298, 0.001207729468599034, 0.17772341813437703, 0.13152322404371586, 0.25156576200417535, 0.25971937029431896, 0.55917678812415661, 0.3636839673494533, 0.12190382081686429, 0.28466235632183906, 0.26367791842475385, 0.0, 0.29863667348329925, 0.0, 0.53480589022757696, 0.33489461358313821, 0.040184453227931488, 0.29190093708165998, 0.38617253192151979, 0.363568376068376, 0.31467261904761906, 0.21975184439973172, 0.44871794871794873, 0.41078078078078079, 0.29137834299607257, 0.36922015182884754, 0.3804232804232805, 0.2031536371105353, 0.39656084656084656, 0.38089254177421544, 0.25200617283950622, 0.27688614540466389, 0.16663672296083365, 0.3404763400992899, 0.37471807160981119, 0.30968766543144521, 0.21930358350236651, 0.13262329557017841, 0.52098880597014929, 0.075254730713245996, 0.31725375081539464, 0.61559139784946248, 0.32985074626865668, 0.26435546874999993, 0.41079234972677592, 0.045993589743589747, 0.30230923694779116, 0.40591836734693881, 0.27049436253252385, 0.36689791199075017, 0.058049297459915904, 0.37100840336134455, 0.205016501650165, 0.44360875706214692, 0.38581349206349208, 0.37726130653266332, 0.4108369098712446, 0.20044359949302912, 0.35422885572139307, 0.41066272965879264, 0.22131147540983609, 0.3643468950749465, 0.27741637339589781, 0.34262990084439926, 0.27272095849973954, 0.34636228656273194, 0.40949033391915635, 0.1990332573101406, 0.42758964143426303, 0.45983104757344639, 0.26583665338645424, 0.25881958417169687, 0.24953271028037388, 0.32795175424820178, 0.40541251520831278, 0.34451046972269384, 0.32525839793281658, 0.33393501805054154, 0.42764430577223089, 0.41223799864773492, 0.43870333988212168, 0.24045368620037808, 0.24483752620545071, 0.46964643095396924, 0.36446955430006278, 0.44597806215722124, 0.073708904226022498, 0.44456272782993, 0.38285353044154835, 0.47037049277853055, 0.44345752608047684, 0.43335449063789272, 0.4246388888888889, 0.3277120315581854, 0.25878428705592804, 0.3007999999999999, 0.21600346020761244, 0.16098556183301949, 0.0, 0.24141586867305059, 0.2853812224322621, 0.43804713804713802, 0.27408149632598527, 0.42542460113226965, 0.14563345633456334, 0.0, 0.30455531453362256, 0.34258517034068142, 0.23771957504996319, 0.27559712710873563, 0.01542210744553159, 0.43323392975480457, 0.5323809523809524, 0.23575757575757578, 0.27092267706302792, 0.36409638554216867, 0.38278846153846158, 0.34432918395574003, 0.0, 0.15317959468902864, 0.0, 0.39704227616138882, 0.1304467638042093, 0.21132979633749785, 0.21442105263157893, 0.20235808438762665, 0.36612903225806448, 0.13953982300884954, 0.24784843759025013, 0.2890380627701824, 0.3479256080114449, 0.25704467353951893, 0.023269809428284854, 0.40278323510150627, 0.43326241134751775, 0.0, 0.33206157965194111, 0.32939999999999997, 0.45215697923886855, 0.50089882305057154, 0.13310276679841895, 0.31776406035665294, 0.0, 0.30059028796921372, 0.45052434456928836, 0.20052806174260374, 0.28487836949375411, 0.369009900990099, 0.3668024439918533, 0.2624485596707819, 0.53218855218855221, 0.33623340321453532, 0.30688622754491018, 0.29193433261955748, 0.33308189655172415, 0.47459649122807024, 0.18709902370990236, 0.36297425474254741, 0.17342726081258189, 0.36836734693877554, 0.16772428884026258, 0.28128834355828219, 0.40445058317986499, 0.30737808625239488, 0.32057448008225803, 0.34670000000000001, 0.26945031712473577, 0.21522929500342231, 0.23531669865642996, 0.23798017348203224, 0.051732026143790855, 0.29889119889119892, 0.14975744975744976, 0.32676567656765682, 0.30220492866407261, 0.42051020408163259, 0.33905380333951762, 0.28660531697341513, 0.082971259373692513, 0.32633773921232295, 0.0, 0.31273613650213283, 0.02256305385139741, 0.36465408805031446, 0.092441773102930128, 0.44842573579739897, 0.44449788710619437, 0.39795661402309607, 0.25623456790123456, 0.36400330851943752, 0.0, 0.0, 0.34875, 0.33713561470215464, 0.27263443433859902, 0.31774333045040248, 0.2371777658431794, 0.31509259259259254, 0.39820368783522164, 0.25710260624559761, 0.31483883843927751, 0.45455971390030425, 0.05940428380187416, 0.37403433476394854, 0.26872186136027765, 0.048187022900763363, 0.29441673683528724, 0.29276934201012289, 0.24109543010752688, 0.3881656804733728, 0.38945841392649905, 0.3754175016700067, 0.40211805555555558, 0.24057971014492757, 0.0, 0.03626596980255517, 0.33119002229474293, 0.26918471753564821, 0.30232693426410706, 0.29051020408163264, 0.18840579710144928, 0.49991334488734834, 0.44052477150854946, 0.37031732391228245, 0.30386384840588104, 0.27782231128924512, 0.34644230769230772, 0.42224462365591403, 0.38845516915069789, 0.48770530712997245, 0.19103585657370517, 0.38952658884565494, 0.047556894243641235, 0.46645468998410178, 0.29205577172503239, 0.37559214326978629, 0.35019389074086671, 0.3122923588039867, 0.51302773213507258, 0.44130052724077329, 0.38000541125541121, 0.37551978537894032, 0.0, 0.35453277545327755, 0.38150033944331296, 0.42616666666666669, 0.38467320261437904, 0.84302600472813238, 0.39039713541666665, 0.51674809989142245, 0.39206349206349206, 0.092872284048754639, 0.42909550917141054, 0.41099493029150824, 0.43899739583333336, 0.41538461538461541, 0.36389438943894392, 0.1812007874015748, 0.33905622489959841, 0.34168991087829098, 0.30301490514905149, 0.41449449576110337, 0.32439315809332153, 0.090022858679575102, 0.29178451178451176, 0.44701575252745784, 0.2509621353196772, 0.1310682893847194, 0.3084310125688462, 0.3290973871733967, 0.40455403912625165, 0.0, 0.60300495662949194, 0.49040559620074436, 0.26214211902012041, 0.33230040736743149, 0.18940190657122502, 0.24205929062996293, 0.33930737506065017, 0.11004752206381534, 0.24788105157304985, 0.057011962331382032, 0.0, 0.32751533122178039, 0.20867346938775513, 0.15854023332336226, 0.19140064255930003, 0.0, 0.33171617161716177, 0.18312204351939451, 0.28103143996339625, 0.22408490215297258, 0.28585196607555902, 0.35732323232323232, 0.395348102265904, 0.35400372439478589, 0.30064655172413796, 0.38708676082570231, 0.2201778385772914, 0.015645586297760212, 0.29857009134630902, 0.29212253829321666, 0.35706907237793539, 0.0, 0.0, 0.35746338748391138, 0.33603696098562624, 0.37351002916921749, 0.42807377049180323, 0.065210355987055005, 0.33353174603174596, 0.48002672010688047, 0.37015425888665326, 0.22799207196218937, 0.020695592286501377, 0.14409503843466107, 0.25592515592515597, 0.30049435028248589, 0.0, 0.12119944211994421, 0.19792085848423877, 0.28104249667994685, 0.053278829308508809, 0.030893592004703117, 0.18033932135728545, 0.22894030851777331, 0.28508864872501233, 0.22679881580641009, 0.30607569721115541, 0.03864734299516908, 0.0, 0.41530365524107532, 0.28010437051532938, 0.2550910268403252, 0.27709150326797383, 0.30583864118895959, 0.25928143712574853, 0.37875593041644695, 0.096584280637022166, 0.2838, 0.0, 0.41327030812324933, 0.31820893148288065, 0.31826797385620909, 0.21849971799210374, 0.37364261168384877, 0.30000000000000004, 0.21965020576131689, 0.36101421188630489, 0.32637168141592926, 0.29550163289672365, 0.29947145877378434, 0.21800847457627121, 0.34317580852939183, 0.075799999999999992, 0.30260411319850805, 0.19985045930356762, 0.21185958254269452, 0.34144943277818007, 0.25882140274764998, 0.31773726358834553, 0.36079429735234214, 3.3738191632928474e-05, 0.22620995228357194, 0.18316896778435238, 0.022681451612903226, 0.44502598366740903, 0.24536082474226803, 0.31154684095860563, 0.33772102161100193, 0.33850345839446661, 0.45716845878136203, 0.28046716878463118, 0.28146578026142532, 0.28729040912139503, 0.41411949685534588, 0.37853789403085175, 0.35265548567435356, 0.36859460528919075, 0.25298457411133468, 0.18376322751322752, 0.14187763713080168, 0.45152084872087556, 0.34790849673202617, 0.44700336700336701, 0.24888167388167393, 0.38438934196189789, 0.25600885515496519, 0.27686314363143638, 0.15830052493438321, 0.38533333333333331, 0.34066926857473256, 0.55340681362725441, 0.26777180406212664, 0.52782326686574843, 0.43826923076923074, 0.34249512670565296, 0.30500000000000005, 0.24974025974025973, 0.30013745704467354, 0.41559786239144958, 0.42864173228346464, 0.28601493550577051, 0.77586206896551724, 0.34117100371747205, 0.50919632791109692, 0.43316232007980626, 0.33890956389782129, 0.54140786749482406, 0.42243333333333333, 0.20426666666666665, 0.34692144373673034, 0.23497267759562843, 0.16265432098765431, 0.39768022840827982, 0.20549143785675597, 0.056185567010309273, 0.54264133927061609, 0.29172539447901263, 0.39783879539415412, 0.27642706131078226, 0.27740225314777994, 0.32310686482661005, 0.094677600900466313, 0.29324146981627297, 0.25528707412671753, 0.11410493827160492, 0.29500703234880449, 0.27801147227533457, 0.22940552016985136, 0.20266666666666669, 0.40160000000000007, 0.36981068289384722, 0.20312707917498338, 0.22943632567849687, 0.18977361436377832, 0.10500306936771026, 0.0088563458856345881, 0.43815887156644395, 0.27047138047138047, 0.27936991869918698, 0.17582846003898636, 0.25804263565891472, 0.19180952380952379, 0.36327404479578396, 0.39759615384615388, 0.48010437051532939, 0.31375816993464056, 0.30647759103641459, 0.25019175280324335, 0.27324218750000001, 0.3974567099567099, 0.34414062499999992, 0.26247357293868928, 0.24215514215514217, 0.25285996055226828, 0.39561237373737373, 0.42675962815405039, 0.54053030303030303, 0.4602100765533203, 0.43945654196910472, 0.49297417384059983, 0.45643702157272092, 0.32470887918486174, 0.43188265635074141, 0.3623343237739125, 0.37245961438249092, 0.42363503497233534, 0.38963317384370022, 0.42227658290180137, 0.40747904577691813, 0.1649581589958159, 0.54296432616081536, 0.31179024716098863, 0.11630493394445943, 0.46552597847795624, 0.10796329188869153, 0.37049900068805092, 0.24450686641697875, 0.25804375804375801, 0.36695680206318504, 0.41515711645101661, 0.34984676523086244, 0.079581529581529586, 0.29891443167305243, 0.35508365508365508, 0.21227883934890304, 0.37279810298102978, 0.0, 0.3357142857142858, 0.32448028673835128, 0.50683455659551546, 0.50922431865828088, 0.28412356321839083, 0.19133466135458166, 0.32396404887736896, 0.33559310248922258, 0.337396694214876, 0.51401360544217689, 0.2763895971443141, 0.37301255230125524, 0.23099415204678359, 0.26328167788910728, 0.29471380471380476, 0.31132138114209829, 0.22666717856183055, 0.36681127982646422, 0.35541760722347637, 0.36458333333333337, 0.35233406272793583, 0.38672008182748041, 0.2369363179401873, 0.37114164904862573, 0.30808080808080807, 0.30813090418353573, 0.0, 0.3096102150537634, 0.29258865248226951, 0.26875951293759509, 0.25940740740740742, 0.0, 0.33212719298245613, 0.13594059405940595, 0.22639281497119546, 0.15755775577557757, 0.35954301075268813, 0.22365145228215766, 0.27285714285714285, 0.0, 0.33724489795918366, 0.27469008264462813, 0.22467191601049868, 0.36436039360393602, 0.26711994421199442, 0.39062720225510922, 0.31976744186046513, 0.40066934404283794, 0.33352187028657615, 0.46654135338345859, 0.23856345885634589, 0.33740814963259858, 0.44703417150225666, 0.43691489361702129, 0.42327713210018009, 0.52314392076982508, 0.39873684210526311, 0.49424435028248581, 0.39455006337135612, 0.29345833189192932, 0.20323529411764707, 0.39575702075702079, 0.46937669376693764, 0.21806640625000001, 0.056972006834012351, 0.38453360768175582, 0.08959595959595959, 0.48236278447121816, 0.47480392156862739, 0.082788671023965144, 0.33703557737092904, 0.28067876344086023, 0.16311541565778853, 0.43639403650550368, 0.22054421768707486, 0.31335942641404868, 0.44676018704074816, 0.24687074829931974, 0.31559070827989166, 0.31742424242424244, 0.042126984126984124, 0.27080723729993045, 0.31208053691275173, 0.1788033163520128, 0.4647828863346104, 0.37323503127792668, 0.32600694444444445, 0.26786495674711364, 0.35702113156100884, 0.37640297498309672, 0.2353829557713053, 0.31903439869989164, 0.0, 0.19955595026642983, 0.060673400673400671, 0.0, 0.36505376344086027, 0.3255354752342704, 0.41592754235299639, 0.090868071222796845, 0.22191601049868762, 0.14895219384413882, 0.29380196523053664, 0.23486312399355877, 0.32743055555555556, 0.27796030116358655, 0.2576088122742391, 0.31250903832248733, 0.31943319838056689, 0.17023346303501943, 0.3558095238095238, 0.23972508591065292, 0.32822892498066514, 0.28007392473118276, 0.26091081593927895, 0.17602040816326531, 0.53973799126637556, 0.1056969298965687, 0.26400483968542043, 0.32142977235280273, 0.54338383838383841, 0.2288609364081062, 0.1283904498944291, 0, 0.32687878787878794, 0.022198766368704027, 0.35190656609545001, 0.24186507936507937, 0.36101123595505619, 0.18491735537190085, 0.3303508771929824, 0.33603395061728397, 0.2372787610619469, 0.47154471544715448, 0.24756433514748369, 0.35418972332015813, 0.25655303030303034, 0.18906882591093119, 0.2980283425754775, 0.0, 0.21275538925129972, 0.2289934354485777, 0.54044395574187332, 0.26359266512373153, 0.34145919778699863, 0.020722563053851398, 0.4015948963317385, 0.33880903490759756, 0.3459546925566343, 0.47629977395235606, 0.22398625429553265, 0.33786581013561745, 0.26917525773195877, 0.36864349011588277, 0.4883957064113722, 0.37019133937562942, 0.021686351706036746, 0.14670970428987923, 0.2541767813794088, 0.24883720930232556, 0.2475872308834447, 0.27929680832906639, 0.2601234225488836, 0.26353740553282956, 0.25765067486302284, 0.33836869056327723, 0.0, 0.25283975659229208, 0.3001346801346802, 0.25932721712538226, 0.2959733893557423, 0.29284247886147741, 0.2390501142012629, 0.31934389140271496, 0.24889469155217947, 0.23925531914893614, 0.1470171513795675, 0.33948569058481959, 0.34732952636882775, 0.3673449131513648, 0.30331720801658607, 0.10083500334001336, 0.3943751321632481, 0.25295857988165682, 0.31012575747703136, 0.23495370370370369, 0.0, 0.20076807480380698, 0.41140536256769256, 0.28384562841530053, 0.169625042999656, 0.32255819617940779, 0.19556701030927834, 0.3669365201747623, 0.31393126571668062, 0.19603060576698189, 0.25110311587808021, 0.29037577628855132, 0.17228120321219545, 0.12212548089439126, 0.25483760683760681, 0.29485902675229231, 0.17756300303470116, 0.15719921104536488, 0.21594695798550276, 0.32518296739853625, 0.26932624113475179, 0.39215291750503023, 0.52556412453584689, 0.47082437275985661, 0.24690563725490192, 0.24629283489096571, 0.36105802308691992, 0.30436426116838489, 0.25173333333333336, 0.2743457300275482, 0.49456890699253225, 0.40290262172284647, 0.13479293957909028, 0.32225975975975979, 0.17488215488215489, 0.67621922268195078, 0.33804682686383242, 0.25893817204301073, 0.24139784946236556, 0.21608126721763085, 0.38350134408602149, 0.31601935223760241, 0.3215546503733876, 0.28998043455874789, 0.39875672043010763, 0.25932412940449201, 0.31753538717735225, 0.35780423280423279, 0.0, 0.23047808764940239, 0.17709176788124156, 0.19036460128196292, 0.15998370284860625, 0.32472527472527474, 0.30648116728876823, 0.20892156862745098, 0.24306463326071168, 0.45894607843137258, 0.27268817204301071, 0.34648943421949563, 0.28170068027210882, 0.26225968236277514, 0.33332200625254854, 0.26898432174505793, 0.27126917712691767, 0.19851449275362321, 0.35257365110890437, 0.21964539007092199, 0.2991924908551315, 0.20517006802721088, 0.30006930006930005, 0.16678958625267351, 0.35802707930367506, 0.18964237516869095, 0.10964631309214742, 0.28884057971014493, 0.18286807892826504, 0.36354581673306774, 0.37027116402116406, 0.26377271925180867, 0.38107714701601153, 0.26777777777777778, 0.18867924528301888, 0.22615942028985508, 0.2047775346462436, 0.18417190775681341, 0.3064510828485984, 0.29637584807882444, 0.058349769888231429, 0.35031225604996091, 0.29417656317069679, 0.16636663156822121, 0.32948717948717943, 0.14729458917835672, 0.33492822966507174, 0.085081777630926808, 0.19146067415730336, 0.35777777777777775, 0.39064100300194249, 0.50573170731707318, 0.34180000000000005, 0.47999325236167345, 0.34127155172413792, 0.22485928705440902, 0.19831893059681338, 0.36985186942815496, 0.12112839405103015, 0.32226924094154991, 0.34906673633487179, 0.3844422700587084, 0.363225371120108, 0.2231338481338481, 0.44324417009602196, 0.21221572449642628, 0.31205673758865249, 0.43704799474030248, 0.12734627831715212, 0.282970297029703, 0.36037296037296035, 0.37706333973128603, 0.40914089347079041, 0.048112603966730651, 0.45720538720538723, 0.38167344173441731, 0.36044776119402988, 0.33592233009708738, 0.40781144781144779, 0.27423599171958879, 0.26131071190951427, 0.42970748910863704, 0.32373602796138001, 0.22887517146776407, 0.25770933167501914, 0.35207260904903814, 0.46358173076923082, 0.52097396335583412, 0.28715064758009534, 0.30942933643020742, 0.26740740740740743, 0.31013333333333332, 0.11931421858364845, 0.37421124828532237, 0.0, 0.25075373441140197, 0.34423583662714097, 0.37980852313966745, 0.36913043478260876, 0.15578800557880057, 0.43398760330578506, 0.26857749469214437, 0.28117383571569726, 0.11777777777777779, 0.36920138888888887, 0.3193806541405706, 0.29778459441036131, 0.20085645131260471, 0.26919999999999999, 0.17032436162870945, 0.23919213973799122, 0.40485347985347986, 0.00072249114948341883, 0.21751352120694564, 0.10934948285247686, 0.36473968897903986, 0.23309128630705395, 0.26204090223453885, 0.12713659605551497, 0.2290829986613119, 0.46898148148148144, 0.30048985304408676, 0.26358811040339708, 0.25618169398907109, 0.02664783427495292, 0.27214656290531775, 0.49048706240487061, 0.41489213639526795, 0.45890868596881962, 0.27551480051480054, 0.27118700932698109, 0.30108225108225106, 0.33509143273534819, 0.37641975308641978, 0.29388316151202754, 0.13897911832946636, 0.46063756063756062, 0.33544176706827311, 0.31072377158034525, 0.23485113835376531, 0.32531249999999995, 0.19685566148185313, 0.48963864306784649, 0.49342762500657239, 0.23302405498281786, 0.34454022988505745, 0.35907522429261557, 0.24657320872274141, 0.25496074232690941, 0.26831232492997192, 0.44912280701754387, 0.26829599456890701, 0.20081799591002045, 0.30748840291583823, 0.30803508771929822, 0.26537940379403796, 0.4223675385647217, 0.26645344236349244, 0.28524316743110573, 0.43492822966507177, 0.17640595345120366, 0.12680086172074861, 0.3748890714872638, 0.35354683848146046, 0.39147101102060378, 0.31028225806451604, 0.26743486973947894, 0.16989130434782609, 0.29619015509103169, 0.31192922374429227, 0.23233333333333334, 0.38015567032807157, 0.18356299212598426, 0.30609888841244187, 0.3190573770491803, 0.36502301117685737, 0.23093922651933699, 0.25927871148459386, 0.41818504706091281, 0.28351320401152103, 0.20219461029530417, 0.29137521553827633, 0.26947055912914397, 0.30691056910569109, 0.25725103103238456, 0.0, 0.29356787609733304, 0.037542087542087543, 0.34535290006988117, 0.31676312180109062, 0.24079754601226994, 0.22836633841936296, 0.26489071038251366, 0.22854311199207136, 0.30724155152322291, 0.058589286332629248, 0.0, 0.32154150197628456, 0.2864801533764112, 0.17807348958507474, 0.42027519222986642, 0.28999999999999998, 0.28594080338266387, 0.35812917594654786, 0.46162906910336954, 0.27828810020876832, 0.41616033755274262, 0.35445034872135506, 0.38506449422946365, 0.42320129345189977, 0.35826411256145108, 0.4113143631436314, 0.12221375815586394, 0.35450660450660454, 0.40861723446893783, 0.32434301521438447, 0.31217687074829936, 0.42950937950937951, 0.20831586303284416, 0.28140311804008911, 0.38620823620823619, 0.44216981132075472, 0.346046103479699, 0.035944169659191005, 0.46642905634758997, 0.19121715076071924, 0.48935275080906143, 0.22770876466528639, 0.42517959770114944, 0.29807907437593884, 0.2505442176870748, 0.30360655737704917, 0.16795918367346938, 0.39271186440677969, 0.17018229166666668, 0.11962121212121211, 0.36682641107561237, 0.089943502824858759, 0.28126477541371159, 0.20126436781609197, 0.19929824561403509, 0.28543083900226757, 0.2731016731016731, 0.24444444444444444, 0.28969072164948451, 0.098938826466916346, 0.22133123983625863, 0.13929001203369434, 0.26515700483091786, 0.34617117117117124, 0.27573529411764708, 0.40240777161928604, 0.36248611282557708, 0.16922416568301318, 0.31661036036036033, 0.17163636363636361, 0.35096371882086164, 0.27059620596205963, 0.2653301193485802, 0.088819875776397522, 0.3152454780361757, 0.35508474576271193, 0.32492768205257205, 0.26979522184300342, 0.10490091372967841, 0.16111111111111109, 0.098280895231916979, 0.25124458874458877, 0.24785310734463273, 0.1678294573643411, 0.18755707762557078, 0.17140468227424749, 0.23546582340063243, 0.29657794676806082, 0.14547844374342797, 0.42508474576271182, 0.4332117812061711, 0.31580547112462004, 0.46607526881720435, 0.29640610961365677, 0.46038961038961035, 0.26389830508474577, 0.17492063492063492, 0.44607462106490481, 0.45991440798858779, 0.43378378378378379, 0.54760583278671981, 0.28513203214695748, 0.37294176706827309, 0.16531073446327682, 0.33034188034188033, 0.24123655913978495, 0.50375982042648704, 0.26444099378881991, 0.40345010615711258, 0.20474537037037036, 0.1704093567251462, 0.19848958333333333, 0.39166666666666672, 0.44161358811040341, 0.080258899676375409, 0.1738515466453478, 0.3102645502645503, 0.17213836477987421, 0.27312046813382523, 0.16738173817381738, 0.51396825396825396, 0.28917414948779563, 0.13434523809523807, 0.29767284229552649, 0.13305555555555554, 0.27881355932203389, 0.21936781609195402, 0.2057648401826484, 0.06039035591274397, 0.16920371156528594, 0.33154761904761909, 0.19050314465408807, 0.26611111111111108, 0.16175141242937854, 0.1735191637630662, 0.23079486752207967, 0.18284586398708055, 0.1539238400760411, 0.23855981416957028, 0.4065347078351596, 0.24051724137931035, 0.20822801828448506, 0.23704663212435234, 0.15177419354838712, 0.22049180327868853, 0.27076007573708416, 0.28643678160919539, 0.14146108926230486, 0.39270631206483281, 0.0, 0.28764367816091957, 0.16949458483754515, 0.16909274552908324, 0.21944444444444444, 0.0, 0.20761115297663904, 0.25174418604651161, 0.068587570621468932, 0.28105820105820101, 0.73282357537534193, 0.34011111111111109, 0.37251207729468594, 0.49561403508771928, 0.40853107344632766, 0.2821826782295303, 0.59850746268656718, 0.38398058252427186, 0.2751736111111111, 0.49725950782997763, 0.35327291037260822, 0.4189265536723164, 0.32295697700887777, 0.22454610672700179, 0.38431034482758619, 0.45503401360544216, 0.3891935483870968, 0.30936819172113295, 0.36045751633986928, 0.34621468926553672, 0.37781818181818183, 0.087864583333333329, 0.48774154589371976, 0.34446614583333335, 0.24862318840579711, 0.43454345434543457, 0.34720066232019048, 0.45786267995570318, 0.072918342180043963, 0.25060109289617488, 0.18020833333333333, 0.10563218390804598, 0.21892052194543296, 0.22330917874396139, 0.39065359477124184, 0.27994899939021012, 0.014540229885057472, 0.1011437908496732, 0.27609238451935081, 0.0, 0.014166666666666666, 0.21615315584804068, 0.43984962406015038, 0.22379310344827585, 0.12115151515151515, 0.23907203907203911, 0.15536828963795257, 0.25484276729559746, 0.36067796610169495, 0.10005807200929152, 0.27783505154639176, 0.27272727272727271, 0.0, 0.26824817518248179, 0.087128937230908685, 0.22575757575757577, 0.26397435897435895, 0.30949152542372882, 0.1127485380116959, 0.1580773606370876, 0.18146549026969525, 0.15804597701149425, 0.11982161718108203, 0.12028186274509804, 0.2964622641509434, 0.3021428571428571, 0.2953216374269006, 0.23565217391304347, 0.21667749365144981, 0.26241025641025639, 0.26206690561529272, 0.3800045625641611, 0.27418630751964085, 0.29499999999999998, 0.30491525423728816, 0.20938511326860842, 0.29169675090252706, 0.15426900584795322, 0.24846519170624348, 0.35699760765550242, 0.31949634910596214, 0.10027281331774401, 0.21242148581329867, 0.26523178807947018, 0.29041666666666666, 0.30368626550298572, 0.21117149758454107, 0.27926829268292686, 0.20941520467836258, 0.30064516129032254, 0.28121606948968519, 0.38034055727554178, 0.13078291814946619, 0.090656565656565657, 0.038714285714285715, 0.37683333333333335, 0.06720977596741344, 0.14380116959064326, 0.28005291005291005, 0.51556035258139954, 0.26327777777777778, 0.35724637681159416, 0.43715686274509802, 0.27928082191780823, 0.25630011454753726, 0.27176470588235296, 0.2215122470713525, 0.26203407880724172, 0.31741122565864838, 0.14935649935649936, 0.19761904761904764, 0.26592442645074227, 0.48858024691358026, 0.30143570536828962, 0.0, 0.19633879781420766, 0.34561105580605495, 0.22155913978494621, 0.28807092960773778, 0.25229885057471269, 0.37809364548494989, 0.39630111084849917, 0.29201520912547529, 0.26621621621621627, 0.0, 0.36279342723004693, 0.2026111111111111, 0.40665133755818517, 0.11365824308062575, 0.25661016949152543, 0.31403067063401235, 0.24456654456654456, 0.38074608904933815, 0.26742886178861791, 0.19957939011566772, 0.43420074349442384, 0.27016908212560387, 0.25366300366300365, 0.22590163934426227, 0.24903474903474904, 0.24336917562724011, 0.32475660639777465, 0.25667892156862748, 0.38018162393162397, 0.2463210702341137, 0.29457762557077627, 0.3749305555555556, 0.48317560462670867, 0.35467836257309943, 0.25427672955974845, 0.51482939632545932, 0.37362573099415203, 0.42823439392973289, 0.29588904160939655, 0.36458518650299471, 0.44901960784313727, 0.35833333333333334, 0.39422141119221416, 0.3128764153216092, 0.26949250288350635, 0.35690571049136788, 0.38966101694915256, 0.24554285011680804, 0.27071088720962777, 0.34070048309178741, 0.18181159420289855, 0.07914621366719983, 0.25497175141242939, 0.44175084175084178, 0.27925287356321837, 0.30217237436707139, 0.25709090909090915, 0.29373522458628842, 0.9208479404031551, 0.3701163502755665, 0.27046204620462044, 0.26112960559724652, 0.26625874125874127, 0.22361473745285756, 0.20432748538011697, 0.26488314883148834, 0.36896745230078559, 0.13743257820927723, 0.32673202614379088, 0.19022222222222221, 0.14245169082125603, 0.12262056904553709, 0.19922619047619047, 0.33567901234567898, 0.30149253731343284, 0.24254545454545456, 0.18910463861920174, 0.47523809523809535, 0.0, 0.2474051896207585, 0.21976190476190477, 0.45793103448275863, 0.40428596117287857, 0.302059925093633, 0.52289789789789798, 0.29301199261992616, 0.0, 0.39274853801169585, 0.32753722013865216, 0.085897435897435884, 0.25382317801672644, 0.1792668957617411, 0.25209675458854991, 0.22104018912529552, 0.039637952559300874, 0.18675175062118815, 0.39122807017543859, 0.33172054834689541, 0.26462379677621461, 0.15443425076452599, 0.28830508474576272, 0.112390350877193, 0.24841260333053791, 0.20365384615384613, 0.20844017094017095, 0.2654255319148936, 0.14898809523809525, 0.29574599260172629, 0.085804235832856318, 0.2703962703962704, 0.27344827586206893, 0.16672816728167283, 0.24569230769230771, 0.49056152927120672, 0.27120676596818988, 0.48806146572104014, 0.34142156862745099, 0.45333333333333331, 0.30863746958637472, 0.1919204247269177, 0.24557471264367817, 0.43171926006528838, 0.39921212121212124, 0.34804639804639809, 0.23153846153846153, 0.25797362110311756, 0.22753334540406783, 0.44899583639480767, 0.22497212931995539, 0.2057273768613975, 0.039221780208851316, 0.34584905660377357, 0.29561752988047807, 0.42372549019607841, 0.28888888888888892, 0.20163398692810455, 0.50622895622895625, 0.16186440677966102, 0.33251900108577626, 0.30337837837837839, 0.39429133858267718, 0.19786184210526314, 0.39555555555555555, 0.25590909090909092, 0.41179012345679011, 0.0, 0.45590643274853804, 0.40231182795698928, 0.29552238805970149, 0.20113908872901679, 0.53182831661092533, 0.49534358296137099, 0.50677419354838704, 0.18677462887989202, 0.18890909090909092, 0.29480593607305938, 0.18353535353535352, 0.56780471342595196, 0.34597701149425292, 0.5290560471976401, 0.19605855855855858, 0.51816091954022991, 0.14137894625699504, 0.23083333333333333, 0.35401002506265661, 0.25941114616193484, 0.62807116633719295, 0.45288516572142157, 0.15482804232804231, 0.30285087719298248, 0.41260306242638395, 0.44435028248587566, 0.28291005291005289, 0.3193144661179389, 0.23832199546485261, 0.24375570714937958, 0.0, 0.30029761904761909, 0.36473429951690822, 0.24683393070489845, 0.40027777777777784, 0.27030303030303032, 0.2956618334892423, 0.31854166666666661, 0.37450391504880404, 0.41246747101963577, 0.366504329004329, 0.48698775317946302, 0.25440613026819925, 0.36888609917435183, 0.15533333333333332, 0.35452292441140026, 0.33896713615023477, 0.66878746450730875, 0.3319490586932447, 0.0, 0.372027972027972, 0.38007736943907161, 0.48982917509552709, 0.24476740923629425, 0.30491525423728816, 0.15523421836077528, 0.3367872807017544, 0.46106938350561466, 0.33653846153846156, 0.35429917550058898, 0.24303728070175437, 0.4762609649122807, 0.39094827586206898, 0.37543859649122807, 0.37115942028985505, 0.29189016602809709, 0.33223322332233224, 0.6183760683760684, 0.0, 0.22139740465801552, 0.29326710816777041, 0.41021775544388606, 0.40118243243243246, 0.53802978235967924, 0.32412854030501087, 0.0, 0.25280528052805279, 0.43762057877813504, 0.29997193376368231, 0.22633819951338199, 0.39701432317934232, 0.39632352941176469, 0.28858333333333336, 0.3792473118279569, 0.30781945327399873, 0.27905555555555556, 0.32115600448933779, 0.36985458612975397, 0.076963829889707652, 0.31050605060506054, 0.22937956204379562, 0.41990610328638495, 0.36634366925064604, 0.1875, 0.36394458408838487, 0.71367711578813509, 0.36918542336548765, 0.3910062893081761, 0.43466160657811509, 0.33790123456790128, 0.25287356321839077, 0.0, 0.32606557377049183, 0.335448717948718, 0.23859060402684565, 0.40006172839506171, 0.41544525871641125, 0.0, 0.31212121212121213, 0.24223356009070296, 0.057373737373737375, 0.0, 0.22621880360799071, 0.26484942886812046, 0.20641821946169772, 0.26988505747126434, 0.46575481256332318, 0.2364367816091954, 0.39050314465408803, 0.18983606557377047, 0.25202991452991452, 0.3921081677704194, 0.3920157436041608, 0.22513397642015004, 0.45395395395395388, 0.23681015452538634, 0.40509736540664376, 0.41261737089201878, 0.22022222222222221, 0.32552602436323369, 0.20005611672278339, 0.18962365591397851, 0.39479479479479473, 0.25545876887340302, 0.073260073260073263, 0.3580071174377224, 0.27965235173824132, 0.54137777777777774, 0.2747863247863247, 0.22659235668789807, 0.21038207319039176, 0.34163591635916357, 0.21361285053090115, 0.38815051095752845, 0.26430421473981636, 0.18534313725490195, 0.24557692307692308, 0.22856341189674523, 0.26480263157894735, 0.21318627450980393, 0.33873056994818651, 0.38953356086461888, 0.28010928961748632, 0.0, 0.16477011494252874, 0.19305555555555556, 0.68838017965807019, 0.21105555555555555, 0.27863113897596659, 0.28207762557077626, 0.44298540965207628, 0.37484452736318402, 0.5788224396456898, 0.27779605263157897, 0.36712328767123287, 0.0, 0.36463146314631462, 0.21779761904761905, 0.35825381679389312, 0.16312984496124033, 0.25385483264385106, 0.36637831603229531, 0.18643274853801173, 0.22853290183387273, 0.29936708860759492, 0.22186051644228649, 0.058663460321478296, 0.19776055124892333, 0.34494949494949489, 0.29781021897810217, 0.0, 0.37198998266230016, 0.49096945551128823, 0.2799878345498783, 0.29949152542372881, 0.38169213355970572, 0.079187817258883242, 0.31005649717514122, 0.37153005464480876, 0.38254830917874394, 0.36264988009592325, 0.43192708333333335, 0.22901495907423086, 0.29800183739090491, 0.1488821138211382, 0.45726666666666665, 0.30292207792207793, 0.23999999999999999, 0.50149116769901347, 0.46341145833333336, 0.29585828343313375, 0.50144927536231887, 0.42999999999999999, 0.51745367950281695, 0.35049019607843135, 0.11886358888656778, 0.29200191570881223, 0.44782608695652171, 0.22766251728907333, 0.2243641231593039, 0.41364692218350757, 0.3725260416666667, 0.23456572769953055, 0.41347177848775291, 0.40710194730813287, 0.2552954292084727, 0.38750000000000007, 0.24784580498866216, 0.2828767123287671, 0.40014970059880239, 0.39824016563146991, 0.40192926045016075, 0.5143939393939394, 0.24961773700305806, 0.19654714475431606, 0.23724035608308605, 0.29481229372937295, 0.15766908212560385, 0.11127946127946128, 0.30435280641466206, 0.37531073446327679, 0.22777192718519634, 0.15294117647058825, 0.11061899103381224, 0.25244755244755246, 0.3692488262910798, 0.35016949152542381, 0.50981638418079089, 0.28921568627450978, 0.35376106194690266, 0.25675105485232064, 0.28057359307359309, 0.0, 0.29776181265542967, 0.46986635826265744, 0.37870762711864409, 0.42196299275945293, 0.40921212121212119, 0.26473315474963938, 0.33343880187734004, 0.37200929152148665, 0.48479166666666668, 0.15827625570776255, 0.21342724579350436, 0.40908496732026145, 0.41021806853582554, 0.16484895280378339, 0.086907092780900655, 0.46915887850467292, 0.27516339869281048, 0.0, 0.123221117061974, 0.33572275520103478, 0.44150082393205731, 0.26026831785345722, 0.23805460750853241, 0.28208699378615815, 0.21975108225108225, 0.40012165450121651, 0.11198830409356725, 0.257816091954023, 0.2642230576441103, 0.36142857142857143, 0.44376899696048638, 0.51376146788990829, 0.46838768115942031, 0.43647058823529411, 0.21499999999999997, 0.41162895418214568, 0.034828349944629015, 0.29888752590837953, 0.45639344262295084, 0.34323116219667943, 0.36997181655137079, 0.41569634703196345, 0.46231096408317579, 0.2258587557050204, 0.48767584465552488, 0.38696655132641289, 0.12030548068283918, 0.29839743589743595, 0.33513800424628454, 0.35577709611451946, 0.3079365079365079, 0.51961961961961955, 0.27090643274853804, 0.50161725067385443, 0.33066562560999413, 0.51666666666666661, 0.40830388692579506, 0.58933102652825842, 0.1742094861660079, 0.25648351648351647, 0.20240931956579294, 0.22396870554765291, 0.32821522309711293, 0.30686468646864684, 0.52401553345142393, 0.25333333333333335, 0.30841577260693886, 0.25050314465408802, 0.43152568847838635, 0.064139194139194139, 0.41159420289855081, 0.28085034013605442, 0.17193152454780364, 0.283469387755102, 0.29087136929460583, 0.39903846153846156, 0.24442060085836909, 0.20481407702523238, 0.15532212885154062, 0.27154639175257733, 0.1580861581920904, 0.25112016293279027, 0.26741100323624595, 0.2659877800407332, 0.29695035460992908, 0.0, 0.21071428571428572, 0.21055776892430278, 0.28493589743589742, 0.26483050847457629, 0.068721461187214616, 0.17595959595959598, 0.30507544581618656, 0.30598039215686279, 0.3288659793814433, 0.28795219638242897, 0.22609427609427607, 0.34263736263736266, 0.33801886792452829, 0.03311874105865522, 0.30829861111111112, 0.33944444444444444, 0.25758169934640524, 0.37467176333721119, 0.4156826568265683, 0.23773646444879321, 0.12197580645161289, 0.34797794117647063, 0.32247191011235954, 0.33068693547127576, 0.48907246376811592, 0.42228150406504067, 0.12247415105232773, 0.3369588062211013, 0.44679878048780491, 0.38787409700722386, 0.30913275193798451, 0.42923907496441138, 0.055023547880690735, 0.40579487179487184, 0.040610328638497652, 0.20907537792503625, 0.31741288222423825, 0.37109649563209163, 0.38568869376529658, 0.17770236299648062, 0.34011686991869922, 0.31488021137674349, 0.33667383785844618, 0.35762010009399686, 0.34426767676767678, 0.47554666666666667, 0.25213799805636544, 0.31865822443755892, 0.20670611439842212, 0.35676190476190478, 0.36924893836218808, 0.21956686038935655, 0.38897745388294236, 0.0, 0.28294824150374326, 0.33288335445479089, 0.2699036511156187, 0.39951612903225808, 0.39796921061251228, 0.31982585398526453, 0.35851063829787233, 0.36287911149081592, 0.35794953944733671, 0.32249733759318422, 0.39765733033269157, 0.47324352879027992, 0.15668288040604841, 0.28166955391944565, 0.43866264454499748, 0.3641556291390729, 0.22848649610000252, 0.40565182617968543, 0.44907120743034051, 0.51577909270216959, 0.28158165893869136, 0.31398389560624496, 0.35155717761557181, 0.46973118279569898, 0.13261728395061728, 0.23170671535007648, 0.3234920634920635, 0.42695312499999999, 0.35961934156378605, 0.37034201123021948, 0.34018872489716911, 0.45636958710976838, 0.36094488188976381, 0.01541148669474982, 0.41479338842975205, 0.52221362229102175, 0.39152131782945737, 0.38423999999999997, 0.34984732824427478, 0.37589013224821977, 0.41072583930411444, 0.4865531324651306, 0.33519566242338517, 0.43631002948378389, 0.76352886621840954, 0.37037825059101659, 0.0, 0.31290726817042608, 0.34147619047619043, 0.47828585707146426, 0.0, 0.19935825063877832, 0.10114356816969841, 0.1669600938967136, 0.18553672316384182, 0.15303500695856975, 0.21549382716049378, 0.21693749258688177, 0.23554006968641117, 0.24840319361277446, 0.092481490936941538, 0.21724336793540944, 0.0, 0.32173019858479801, 0.06274817136886103, 0.36909604519774009, 0.22801418439716312, 0.27313860252004585, 0.25429378531073449, 0.18157596371882087, 0.27512165450121656, 0.40080246913580247, 0.13778693685957982, 0.40303030303030307, 0.2255813953488372, 0.11987012987012988, 0.25583075335397321, 0.20432098765432097, 0.39721345951629866, 0.16236363636363638, 0.28114059853190287, 0.15235109717868339, 0.22187746812591672, 0.2205318844724049, 0.0, 0.23293650793650794, 0.24815436241610733, 0.0, 0.36846994535519129, 0.29534534534534534, 0.22729747716135276, 0.2346448087431694, 0.14508713174774365, 0.38322072072072078, 0.22561936936936938, 0.087725631768953066, 0.26409817351598175, 0.32182999152781705, 0.3469191919191919, 0.020150273224043717, 0.21767337807606266, 0.38047425763725695, 0.12895622895622896, 0.22815230961298377, 0.49531835205992503, 0.26118721461187211, 0.29086595492289447, 0.22620772946859904, 0.19005270092226612, 0.26384769262606056, 0.26900584795321641, 0.084671532846715331, 0.0, 0.42245892760426074, 0.20889724310776941, 0.33399122807017539, 0.10160493827160494, 0.27096560846560847, 0.46258106355382622, 0.32643487858719644, 0.28925518925518928, 0.39189497716894978, 0.46468401486988853, 0.5879330943847072, 0.42369696969696968, 0.01418352244696596, 0.35916305916305918, 0.097840132914897543, 0.39519125683060108, 0.012434793157830887, 0.010168471720818292, 0.0, 0.21641123882503194, 0.39421059128502656, 0.10581773343795539, 0.38281412253374869, 0.35459029159816557, 0.22438602735546853, 0.26696217494089836, 0.22254545454545455, 0.22963594994311715, 0.12395606620438326, 0.24308062575210587, 0.17971457696228338, 0.17439800538022437, 0.18803131991051455, 0.26654478976233997, 0.18256880733944952, 0.33734873487348732, 0.30003608371421703, 0.20957602339181286, 0.23002103049421663, 0.16279069767441862, 0.16533776301218162, 0.22124779281930546, 0.4449545765360946, 0.1324016563146998, 0.037533156498673739, 0.17704601818682833, 0.33162962962962966, 0.21003134796238246, 0.24437086092715229, 0.27784391534391534, 0.19809666917104937, 0.0, 0.27628696604600222, 0.18479166666666666, 0.27945041816009558, 0.26784565916398717, 0.0, 0.11858178053830229, 0.14158780231335438, 0.26583723319255792, 0.24243589743589741, 0.27961264016309889, 0.13765625000000001, 0.60866933042741256, 0.35207684319833854, 0.39618125731305182, 0.26866666666666666, 0.29476644791264545, 0.27256005796778326, 0.20010416666666669, 0.29129353233830846, 0.32483333333333336, 0.46989071038251362, 0.40718562874251496, 0.28528773072747016, 0.46933333333333332, 0.30694896851248643, 0.14413580246913579, 0.26090146750524107, 0.43148148148148141, 0.2156172839506173, 0.45448484848484844, 0.34155773420479302, 0.53187134502923972, 0.19975308641975303, 0.35765432098765437, 0.32419879238272181, 0.19451901565995527, 0.33274193548387104, 0.30144032921810698, 0.33315085158150853, 0.2581644144144144, 0.26354497354497358, 0.38379487179487182, 0.16551542661666996, 0.14418901660280969, 0.55979408658922913, 0.41136612021857927, 0.3648224043715847, 0.30301204819277106, 0.099999999999999992, 0.0, 0.48839383938393838, 0.1715819209039548, 0.12304452466907341, 0.20904761904761907, 0.26827586206896553, 0.18848283499446289, 0.2504519774011299, 0.056218448829738407, 0.29377705627705625, 0.30732006125574274, 0.13056497175141243, 0.29011630834298374, 0.23683060109289614, 0.28430498272210458, 0.17191697191697192, 0.16604540833615725, 0.0, 0.17269392033542977, 0.30322222222222223, 0.17163841807909605, 0.13604519774011298, 0.18819024363172204, 0.1642756984144105, 0.094485294117647056, 0.10217135162430567, 0.2766622301950119, 0.34882550335570472, 0.19215367965367969, 0.15851715686274509, 0.21951219512195122, 0.11904761904761904, 0.16650943396226414, 0.29857142857142854, 0.16685049019607842, 0.15253217851557802, 0.20376522702104097, 0.21885683760683761, 0.25519774011299434, 0.13395480225988701, 0.25839213170836006, 0.29677595628415304, 0.11672794117647058, 5.6497175141242937e-05, 0.3450176366843033, 0.25332261521972133, 0.32860772357723578, 0.88242862394314425, 0.47752075919335701, 0.39407646742057079, 0.44666056724611164, 0.55624044829342845, 0.17817745803357318, 0.42811181434599155, 0.35098328416912489, 0.16135593220338981, 0.36234357224118313, 0.54330943847072877, 0.084990189666448668, 0.37097483239916473, 0.10337104462183427, 0.2757222222222222, 0.23320361680210597, 0.23196814562002277, 0.28275862068965518, 0.55919117647058825, 0.081321402442455962, 0.45898507462686566, 0.051468926553672315, 0.21403207331042381, 0.42897060467195708, 0.21137656427758822, 0.44861612515042115, 0.18322717622080681, 0.0, 0.18725165562913909, 0.3049421661409043, 0.340282131661442, 0.3406890583590243, 0.087825248955991003, 0.24008231393620669, 0.16047619047619047, 0.26027944111776447, 0.1838855421686747, 0.22025124676472443, 0.35385450597176982, 0.13951011714589989, 0.21969696969696967, 0.46163522012578617, 0.15408293646184226, 0.15514124293785311, 0.15979381443298968, 0.246448087431694, 0.22650273224043715, 0.15200617283950615, 0.3783008658008658, 0.35555555555555551, 0.26621923937360181, 0.00028563267637817766, 0.22009966777408638, 0.33762475049900204, 0.23755274261603376, 0.30539374325782093, 0.28618209461435007, 0.30061728395061732, 0.32196717339955178, 0.2172316384180791, 0.073319755600814662, 0.2694541231126597, 0.33674121405750795, 0.32148760330578513, 0.17694805194805197, 0.00017301038062283736, 0.19218241042345277, 0.0, 0.11805555555555557, 0.44021164021164016, 0.080704697986577187, 0.16176821983273598, 0.24223356009070296, 0.14541184006832861, 0.29620253164556964, 0.34755555555555562, 0.38171462829736214, 0.09737136465324385, 0.23226415094339625, 0.20061315496098103, 0.30809523809523809, 0.26616499442586394, 0.22810165874478611, 0.38735431235431239, 0.29754738015607585, 0.49786620530565168, 0.28223223223223226, 0.24367374604609127, 0.37671957671957673, 0.29322732626619552, 0.0096522781774580329, 0.13689613526570049, 0.27755208333333331, 0.29363534477673564, 0.0041087962962962962, 0.28569023569023566, 0.54047026279391419, 0.28100000000000003, 0.36799768518518522, 0.0028285465622280245, 0.11176151761517615, 0.46217532467532463, 0.68308176100628926, 0.28381720430107527, 0.63736559139784954, 0.19647731704146629, 0.37851190476190472, 0.048064918851435705, 0.12851335656213703, 0.23610169491525423, 0.26494653882837205, 0.27630169819980621, 0.1964720194647202, 0.17901726427622841, 0.12421700223713646, 0.18079710144927541, 0.31894289641384488, 0.24160353535353538, 0.58099747474747465, 0.29067796610169488, 0.17399267399267399, 0.30823996909321716, 0.13248697916666669, 0.11506410256410256, 0.3247052518756699, 0.26704668838219325, 0.61092257415786833, 0.13781047797954496, 0.25536723163841812, 0.25937106918238995, 0.37206405693950179, 0.27106710671067108, 0.28699379086763005, 0.18779264214046823, 0.30163742690058482, 0.14979332469615644, 0.0, 0.095373891001267419, 0.27332268370607027, 0.3406367041198502, 0.25993827160493821, 0.41778241465252419, 0.12975778546712802, 0.23904020752269778, 0.28517316017316019, 0.22452380952380954, 0.25484835540367362, 0.11304071246819339, 0.39624017957351287, 0.28520467836257302, 0.18177539855285604, 0.029391891891891894, 0.27459119496855344, 0.13194752519171049, 0.30645695364238412, 0.20245614035087717, 0.32782764811490128, 0.16186534216335538, 0.088813559322033886, 0.16672705314009661, 0.32871647029330658, 0.092456102319531747, 0.22088888888888888, 0.45983870967741941, 0.34279100529100526, 0.13530430894763315, 0.51774671309047449, 0.26288377192982459, 0.36952968948610854, 0.32788888888888884, 0.053828828828828834, 0.14275362318840581, 0.4490909090909091, 0.23142857142857143, 0.17637931034482762, 0.27976155344390014, 0.092518866242795178, 0.2781818181818182, 0.26783950617283947, 0.13427777777777777, 0.26273946360153261, 0.13993939393939395, 0.27304597701149425, 0.14828767123287673, 0.082246376811594205, 0.10249221183800622, 0.0, 0.012543081530029945, 0.12445213379469436, 0.3456081081081081, 0.2035632183908046, 0.22246922024623803, 0.052025462962962961, 0.11170212765957446, 0.0, 0.16411509229098806, 0.1531578947368421, 0.21182974018794917, 0.43644115974985787, 0.15109195402298853, 0.19172413793103446, 0.22984356197352587, 0.14273224043715846, 0.44353312302839121, 0.10958049886621316, 0.30101839869464919, 0.22393034825870645, 0.24664602683178533, 0.0, 0.0, 0.19080664294187427, 0.2713985278654048, 0.00032232070910556004, 0.0, 0.089360587002096439, 0.18075210012967244, 0.18818884684981083, 0.0, 0.32835648148148155, 0.16091753774680603, 0.25129399585921325, 0.35516506922257723, 0.0014994232987312573, 0.28541666666666665, 0.27877252252252255, 0.050913242009132421, 0.28702380952380951, 0.22694915254237286, 0.19270152505446622, 0.23292307692307693, 0.29536527886881381, 0.0, 0.18755274261603375, 0.32118766215047567, 0.35776255707762555, 0.26007751937984491, 0.27454153182308527, 0.13299435028248585, 0.27419712070874863, 0.33232140550316491, 0.20388513513513515, 0.13089285714285714, 0.33152457476781799, 0.54286331245951203, 0.39980769230769231, 0.24902634593356243, 0.38113879003558715, 0.24593220338983049, 0.19292272146896086, 0.094636598108590708, 0.0, 0.043333333333333335, 0.45137395459976104, 0.14207920792079209, 0.33818818818818813, 0.18410553410553412, 0.16558791801510248, 0.52767962308598337, 0.19249408983451533, 0.25568828213879408, 0.19421768707482995, 0.0, 0.19082626453031734, 0.26722017220172201, 0.15234018264840182, 0.24326484018264843, 0.36308304891922644, 0.32800939518496763, 0.23375757575757575, 0.28782772605243617, 0.10398018352755728, 0.24300653594771243, 0.058678160919540229, 0.0, 0.25734989648033124, 0.21860465116279071, 0.37619047619047619, 0.22348971722365038, 0.21710362047440701, 0.28338833883388337, 0.25152141802067945, 0.21089108910891086, 0.0, 0.0, 0.23442708333333334, 0.14738766980146289, 0.34415509259259258, 0.081492842535787327, 0.25336217986200443, 0.1323178016726404, 0.16767964136385188, 0.29164741219963036, 0.25191885964912275, 0.38456140350877199, 0.11601654846335697, 0.18182827946240143, 0.16590594744121714, 0.12583333333333332, 0.16215277777777776, 0.2656146179401993, 0.23169312169312167, 0.13900979325353643, 0.30029585798816566, 0.23590182648401825, 0.21825396825396826, 0.16339622641509435, 0.17169811320754719, 0.0, 0.0, 0.18434371836688787, 0.28983050847457631, 0.44982269503546096, 0.58485380116959063, 0.21251402918069584, 0.20406779661016947, 0.14333333333333334, 0.40294444444444444, 0.274180790960452, 0.47202572347266875, 0.14591559723593286, 0.0, 0.14032073310423826, 0.29448315911730544, 0.44728434504792325, 0.25588972431077694, 0.193011270317721, 0.25034013605442174, 0.3839825096369599, 0.31725616291532693, 0.0, 0.23932203389830509, 0.0, 0.18376494023904383, 0.074285714285714288, 0.076827757125154897, 0.36503164556962026, 0.21304597701149425, 0.23835585837149562, 0.20391812865497075, 0.26208178438661706, 0.30700636942675158, 0.24661835748792271, 0.28832731648616128, 0.19627525252525252, 0.40539227592907462, 0.30558984306118853, 0.181685958426762, 0.44597701149425295, 0.19483726150392819, 0.070940170940170938, 0.28880407124681934, 0.23991181186531266, 0.29766147536981891, 0.13914223669923995, 0.31470155170460978, 0.076434676434676441, 0.14263583682368466, 0.34465962441314552, 0.14649425287356321, 0.22173423423423425, 0.13880308880308878, 0.25400471142520614, 0.2510182207931404, 0.0, 0.19280821917808219, 0.10263459335624284, 0.16638127853881279, 0.25198285101822082, 0.32133559705715903, 0.30347222222222225, 0.1378531073446328, 0.00015541464627626507, 0.24983664983664983, 0.32722832722832718, 0.33465227817745807, 0.14247512437810944, 0.30580645161290321, 0.11260275592879532, 0.18728070175438599, 0.15777385159010598, 0.36892981753703596, 0.0, 0.30321839080459767, 0.19099099099099098, 0.16128117913832196, 0.25795697244361099, 0.19888991674375575, 0.0, 0.19676089517078918, 0.2093716719914803, 0.49062126642771803, 0.068554223843436971, 0.30744444444444441, 0.38181306306306306, 0.21575562700964629, 0.45996621621621619, 0.4236111111111111, 0.39514124293785313, 0.28180790960451979, 0.46304579339723112, 0.37690156599552571, 0.43618568232662192, 0.37789351851851855, 0.20838779956427014, 0.48186619718309859, 0.43388683886838864, 0.43078431372549025, 0.068105515587529974, 0.5006779661016949, 0.29138753093125713, 0.32623138602520041, 0.2797915722700498, 0.052501078050884005, 0.27677595628415302, 0.19430754066042383, 0.34805442826450228, 0.18682476943346507, 0.1430602957906712, 0.31313958248055673, 0.28227777777777774, 0.26362612612612618, 0.17931216931216931, 0.50511494252873568, 0.37391537225495453, 0.0, 0.0, 0.041834820667310861, 0.11402298850574713, 0.38440392192797584, 0.39290540540540542, 0.0, 0.40620022753128554, 0.196028880866426, 0.30449223147939652, 6.5863136402555486e-05, 0.32772050400916386, 0.36221419975932612, 0.25634118967452302, 0.25374659400544963, 0.032282913165266103, 0.35575671518163532, 0.34543209876543207, 0.23048245614035087, 0.15912951167728237, 0.28756698821007504, 0.27003794166469053, 0.19463601532567049, 0.15878469053626065, 5.7587100489490355e-05, 0.085122938064114528, 0.51571046200395676, 0.19429824561403508, 5.5741360089186178e-05, 0.041696750902527079, 0.47864197530864194, 0.27796296296296297, 0.0, 0.10878962536023054, 0.36412918108419839, 0.28216931216931218, 0.27973137973137968, 5.8072009291521487e-05, 0.2973655913978494, 0.038308321964529331, 0.4242201211572213, 0.19154671410857732, 0.2525510204081633, 0.33194905869324476, 0.39066455696202529, 0.40656565656565657, 0.30598870056497174, 0.54033238751520063, 0.62793501048218026, 0.25345596432552958, 0.47742279020234296, 0.32177083333333328, 0.31142322097378272, 0.34524271844660198, 0.38553921568627453, 0.21930894308943089, 0.1367741935483871, 0.091499999999999998, 0.0, 0.35077359159088223, 0.26635802469135805, 0.58101394305251342, 0.13384275565637874, 0.40515463917525774, 0.3605882352941176, 0.37483333333333341, 0.29313022700119473, 0.15878136200716847, 0.47811447811447816, 0.18633960408213451, 0.64180151024811216, 0.27427652733118973, 0.35593525179856117, 0.21085390946502056, 0.070804195804195807, 0.29302564102564099, 0.18354700854700856, 0.13613974799541811, 0.17854541671001975, 0.14943064182194618, 0.15535519125683059, 0.27135761589403973, 0.31036458333333333, 0.27110745614035087, 0.23338983050847459, 0.40320088300220741, 5.6497175141242937e-05, 0.23237486687965919, 0.36794871794871797, 0.29015299190737787, 0.20978464419475656, 0.2393018018018018, 0.37329683698296834, 0.38887433869362525, 0.27138643067846607, 0.1477815699658703, 0.39685863874345551, 0.14821627647714605, 0.28666771769404592, 0.18858757062146894, 0.16780673181324646, 0.20765027322404372, 0.25256410256410261, 0.3267741935483871, 0.18788968824940047, 0.16835752562301648, 0.36029901182735136, 0.31244619358012543, 0.049208947081287507, 0.25449186646261973, 0.19798462255358806, 0.28220720720720716, 0.30641447368421054, 0.28255675029868582, 0.0, 0.0, 0.28565891472868216, 0.25870646766169153, 0.0, 0.50384180790960453, 0.27783171521035593, 0.24483568075117371, 0.31629032258064516, 0.31723554301833568, 0.20485651214128034, 0.15778508771929825, 0.36931119311193117, 0.20780487804878051, 0.26811846689895469, 0.11826666666666667, 0.36729323308270678, 0.16470170033769774, 0.31666666666666665, 0.31495433789954341, 0.19958628841607565, 0.2212719298245614, 0.31935140549677582, 0.35357905982905985, 0.34604166666666669, 0.25478855721393034, 0.34711111111111109, 0.28039839535205424, 0.35564784053156151, 0.23294444444444445, 0.26603448275862068, 0.4758479532163743, 0.50994252873563217, 0.28772204806687574, 0.32090476190476191, 0.25074200913242012, 0.32129943502824859, 0.32420765027322407, 0.31050228310502287, 0.3985321917046592, 0.19711864406779661, 0.55426247104683335, 0.31328594860579551, 0.0, 0.40548022598870054, 0.38644067796610171, 0.33357314148681055, 0.21247551783488636, 0.24688524590163935, 0.28468468468468466, 0.38967741935483874, 0.35685203574975177, 0.0, 0.44952380952380944, 0.32953736654804272, 0.21074481074481077, 0.35245007093746589, 0.026762820512820511, 0.2935093509350935, 0.29412103746397694, 0.1654876741693462, 0.23779569892473118, 0.35886904761904764, 0.24442708333333335, 0.34744729046872275, 0.29849428868120453, 0.30811111111111111, 0.3272988505747127, 0.27827777777777785, 0.34730473047304733, 0.27352941176470585, 0.22427652733118969, 0.14344632768361584, 0.65413907284768213, 0.41350000000000003, 0.29431749684914243, 0.25121412803532006, 0.64587750294464086, 0.0, 0.21705685618729095, 0.22511037527593819, 0.28866213151927439, 0.30663303909205553, 0.32336769759450174, 0.30214120370370373, 0.33320396961800741, 0.46021303258145363, 0.0, 0.33684486373165623, 0.31057173678532896, 0.41973684210526319, 0.325009048136084, 0.35044893378226716, 0.3720412595005429, 0.21917808219178081, 0.0, 0.45712074303405575, 0.54297382587711163, 0.29533333333333328, 0.33648339060710192, 0.42446089475378174, 0.55770736545388111, 0.158300395256917, 0.30475285171102662, 0.41194968553459121, 0.36736958934517205, 0.40822281167108759, 0.0, 0.38416389811738649, 0.12936678363798251, 0.23472959241278082, 0.26530715005035244, 0.21806903991370011, 0.36451977401129942, 0.33406779661016944, 0.080597014925373134, 0.25293094743927752, 0.35498320268757, 0.072950819672131142, 0.40606220347917765, 0.25952380952380955, 0.36083333333333334, 0.32324016563146996, 0.33459516298633013, 0.27018518518518519, 0.20508545227177991, 0.45106621773288436, 0.57603519668737058, 0.093258819420188613, 0.31199580932425353, 0.28355481727574749, 0.84990882311684657, 0.37604047657907624, 0.39032786885245901, 0.42170418006430865, 0.48421342134213419, 0.69877361966419282, 0.32768678483284724, 0.47311549994829905, 0.39847457627118649, 0.42533798250443505, 0.28754045307443366, 0.22480620155038761, 0.50571679859278806, 0.22705479452054794, 0.15853413654618476, 0.41361581920903956, 0.12031963470319634, 0.52258064516129032, 0.15476935105551212, 0.0, 0.38323170731707312, 0.46083916083916082, 0.28583760727161933, 0.39022598870056496, 0.17903374942209893, 0.2592592592592593, 0.27746719237333017, 0.52598012557472684, 0.060549393861232911, 0.14768361581920902, 0.30011037527593826, 0.27032258064516129, 0.23252599710412009, 0.3833855799373041, 0.44089347079037799, 0.33207452165156093, 0.41378205128205131, 0.46621621621621617, 0.27678380115706025, 0.23859154929577464, 0.28676633444075306, 0.35506399554813572, 0.36355358260770587, 0.35116731517509731, 0.49432059447983018, 0.41447811447811445, 0.4144144144144144, 0.34966101694915258, 0.23786848072562358, 0.22974747474747476, 0.2930323299888517, 0.23047188755020079, 0.31301301301301304, 0.14029239766081872, 0.073816029143897996, 0.3150770382384131, 0.49918032786885247, 0.31167695473251034, 0.40857449088960346, 0.32114197530864197, 0.075439277201928945, 0.36472320376914025, 0.0, 0.26520833333333332, 0.0, 0.39619005670869351, 0.31974885844748857, 0.36858974358974361, 0.25454545454545452, 0.46825938566552905, 0.33386627906976746, 0.4482969044713192, 0.35588928150765609, 0.27020512820512821, 0.24307291666666667, 0.38553054662379421, 0.16257861635220128, 0.44771762208067944, 0.28395522388059702, 0.43732694355697543, 0.55363321799307963, 0.62336142322097376, 0.41095890410958902, 0.61330585136837301, 0.24458204334365327, 0.41847457627118645, 0.22117263843648208, 0.33203125, 0.34139351603080786, 0.47936490062496478, 0.37677845528455289, 0.37918322401493754, 0.40018355359765057, 0.40267349260523316, 0.25772946859903384, 0.30077572051412715, 0.098340467952852867, 0.13125000000000001, 0.58573943661971839, 0.15793690535803706, 0.6212511938872971, 0.30874587458745878, 0.0, 0.33866666666666667, 0.41514285714285709, 0.25626693766937669, 0.44749999999999995, 0.38359788359788355, 0.30231316725978646, 0.18701870187018699, 0.12509025270758123, 0.34622393197003443, 0.05974661675784624, 0.28505555555555556, 0.36512247071352505, 0.24200206398348814, 0.32088675213675211, 0.24942857142857142, 0.40274725274725276, 0.18667820069204152, 0.32337398373983739, 0.42590529247910863, 0.2903458213256484, 0.028124406156964592, 0.33433433433433429, 0.49640287769784175, 0.28902027027027027, 0.50305164319248818, 0.31477539435620328, 0.34052396878483832, 0.2510076130765786, 0.33594202898550724, 0.25963455149501663, 0.12880313199105145, 0.35038888888888892, 0.49603909465020579, 0.36007827788649704, 0.33414071510957322, 0.51948291782086797, 0.49143446852425177, 0.24811991869918698, 0.0, 0.21499999999999997, 0.89923081895158674, 0.38415743343806846, 0.36132930513595163, 0.49214214214214208, 0.34717784877529279, 0.7554336468129571, 0.041711229946524063, 0.28013415892672855, 0.2827438370846731, 0.48163841807909602, 0.46639610389610392, 0.47245738796703918, 0.40573116968389461, 0.38606889564336372, 0.34972766884531586, 0.65670678015849726, 0.25167189132706375, 0.44561631944444441, 0.40541666666666659, 0.0, 0.54839395873218455, 0.28313268950919435, 0.0, 0.26218820861677999, 0.55411229498383818, 0.53735294117647059, 0.65914043583535109, 0.48395270270270269, 0.42730496453900713, 0.26499094202898549, 0.44954493742889645, 0.41296118062239334, 0.46098765432098765, 0.33933080808080807, 0.038596491228070177, 0.40481481481481479, 0.57156133828996269, 0.38560330785615837, 0.38183471638058436, 0.1802923976608187, 0.05483778351995406, 0.51254612546125466, 0.28959064327485379, 0.31043123543123541, 0.037913002139291656, 0.40647482014388486, 0.49121212121212121, 0.40700883002207505, 0.38746422104094869, 0.29360465116279066, 0.30881995133819951, 0.24779735682819382, 0.33500000000000002, 0.35757610112805394, 0.41821839080459766, 0.2678947368421053, 0.30570299962967534, 0.29249999999999998, 0.2064186725018235, 0.24898809523809523, 0.27349562526040117, 0.24013002364066194, 0.56928904428904425, 0.88250296559905106, 0.43208333333333332, 0.0, 0.25580000000000003, 0.53226190476190482, 0.42646059782608692, 0.41785125669550882, 0.29886904761904753, 0.27443415637860086, 0.52854545454545465, 0.45855263157894738, 0.47739393939393937, 0.33271375464684011, 0.54437908496732035, 0.33447653429602886, 0.1617178612059158, 0.40595238095238095, 0.41961253288686917, 0.59852607709750572, 0.0010558069381598793, 0.29194508565180416, 0.0, 0.54393459915611808, 0.5645674300254454, 0.070299884659746251, 0.21814671814671813, 0.34801169590643272, 0.28494623655913975, 0.34893992932862189, 0.0, 0.4534744842562432, 0.0, 0.33514357053682897, 0.21473880597014924, 0.27972322503008429, 0.40224586288416081, 0.3764984053667656, 0.27781456953642386, 0.45081300813008129, 0.5507497116493657, 0.34428010866284336, 0.38877551020408163, 0.22503267973856209, 0.3732572877059569, 0.36451689109378688, 0.3112582781456954, 0.26034482758620692, 0.080430107526881719, 0.26727716727716727, 0.34042792792792798, 0.4199029126213592, 0.38285714285714284, 0.39753451676528595, 0.43587878787878787, 0.31685534591194964, 0.45099320439100887, 0.35624999999999996, 0.28314028314028311, 0.36149642707019758, 0.28518518518518521, 0.49316091954022995, 0.31608187134502919, 0.33689265536723162, 0.24631006547552989, 0.2810493827160494, 0.33230385460592743, 0.07023026315789474, 0.68384716105225563, 0.1535545701616364, 0.38001428401380788, 0.22645179216449013, 0.35542168674698793, 0.33037156704361875, 0.23075471698113209, 0.45315418136542857, 0.53047883641117832, 0.25914913083257085, 0.28091503267973855, 0.43163017031630174, 0.36171310629514969, 0.053382533825338252, 0.4372106481481482, 0.39286989644089992, 0.35769639065817405, 0.2935785276438731, 0.38286549707602346, 0.24414556962025316, 0.35044150110375277, 0.33731913731913732, 0.28576388888888887, 0.49665551839464883, 0.32788461538461539, 0.22925790754257905, 0.39104785478547854, 0.28139410708218049, 0.43165996943799878, 0.35617283950617284, 0.18545454545454546, 0.37755331088664423, 0.21299254526091588, 0.42158671586715868, 0.3515151515151515, 0.35960346964064438, 0.2871184371184371, 0.35331729923153637, 0.35242316784869976, 0.014552641034854473, 0.2615802054396279, 0.10096774193548387, 0.21818937863846974, 0.34348290598290604, 0.28985428447150929, 0.35431654676258995, 0.22074951615741012, 0.24442090395480226, 0.41683060109289621, 0.55581544938892469, 0.43723958333333335, 0.16819248826291078, 0.35864527629233511, 0.3777937524506601, 0.58410852713178285, 0.35928458705944238, 0.24000000000000002, 0.4963030303030303, 0.3954941621443841, 0.32872454448017147, 0.0, 0.28615740177593962, 0.20969387755102042, 0.11471408647140864, 0.36838754485472852, 0.34023972602739727, 0.43298908921173929, 0.3849256900212315, 0.20625692137320042, 0.36376543209876544, 0.53942953020134221, 0.30918727915194344, 0.31900657061908494, 0.46740536588109577, 0.29179487179487179, 0.18102189781021896, 0.3813893873365804, 0.0, 0.33831300813008131, 0.47802511415525123, 0.18972431077694235, 0.36995614035087715, 0.25860745614035086, 0.35504151838671411, 0.35322085889570554, 0.42326732673267325, 0.25020833333333331, 0.23212025316455695, 0.26834490740740741, 0.35423762772991385, 0.37893518518518521, 0.46319018404907975, 0.43523609772688621, 0.26304791029561669, 0.36196868008948546, 0.36003401360544218, 0.33243967828418231, 0.32018701870187022, 0.45165562913907287, 0.32550254298861708, 0.42172284644194757, 0.38228516832462206, 0.42466216216216213, 0.32002275312855522, 0.30204455644006645, 0.46430143014301434, 0.54999999999999993, 0.24941176470588236, 0.55270833333333336, 0.0, 0.33553826199740594, 0.50799507995079962, 0.43907134107215773, 0.51484706407680292, 0.44319338422391857, 0.65872340425531906, 0.44268426842684272, 0.40292724924666379, 0.29003767525168306, 0.2862275449101796, 0.33176738882554158, 0.32395178197064983, 0.49528735632183907, 0.43645833333333334, 0.25385230605171955, 0.38090062111801248, 0.40668061467426597, 0.38450349107835535, 0.43050847457627117, 0.50442424242424233, 0.39355555555555555, 0.1630311614730878, 0.30674429888403687, 0.37521058965102283, 0.0, 0.28309115882310415, 0.36384892086330933, 0.11007866833884392, 0.40182795698924728, 0.29549878345498787, 0.3496045197740113, 0.0095688748685594099, 0.2908508158508159, 0.36212664277180406, 0.40477134549299498, 0.48052208835341359, 0.3241269841269841, 0.38013245033112586, 0.2812841530054645, 0.43494776828110165, 0.30861027190332324, 0.42123287671232873, 0.37007499107249137, 0.40091240875912404, 0.201010101010101, 0.061013986013986013, 0.33538732394366194, 0.20233702337023371, 0.21739130434782605, 0.31660756501182036, 0.26300675675675678, 0.50580200988284951, 0.36160409556313988, 0.36771819137749745, 0.30892193308550187, 0.50066201251805498, 0.12736842105263158, 0.55039548022598872, 0.065878163550807584, 0.33531982518871672, 0.1852208265802269, 0.11335021977203308, 0.5126702292708154, 0.31981351981351985, 0.4208033573141487, 0.45915813424345853, 0.46439264956261367, 0.24784615384615385, 0.18652125279642059, 0.34051724137931033, 0.50168295331161783, 0.25589149477253464, 0.35760683760683759, 0.33997754070746772, 0.0, 0.0, 0.25374269005847949, 0.31964085297418626, 0.0, 0.4178538753104169, 0.34296577946768059, 0.36175757575757572, 0.41003383845814328, 0.38414071510957326, 0.4471411192214112, 0.15170170170170169, 0.45772339960672931, 0.0, 0.36736596736596733, 0.47468756619360303, 0.038502737443465843, 0.31648681055155875, 0.34297052154195018, 0.27361080606193716, 0.31075085324232077, 0.33385617760617758, 0.0, 0.25272001934235977, 0.27192982456140352, 0.41173830657225496, 0.24229675952245591, 0.52334419109663399, 0.39752911272684277, 0.37762487257900101, 0.34353741496598639, 0.28947368421052633, 0.52153709601628995, 0.46267056530214423, 0.3409452736318408, 0.33276255707762564, 0.27688787185354691, 0.49032221657919983, 0.33515837104072399, 0.41222275925030877, 0.26789297658862876, 0.34451158106747226, 0.20970742431929645, 0.36015873015873012, 0.26969696969696971, 0.13608815426997245, 0.15501054852320675, 0.43463488296839609, 0.19932203389830508, 0.6819486784858082, 0.23343168406718115, 0.3162295081967213, 0.23120567375886525, 0.0, 0.35026881720430109, 0.47799019607843141, 0.042127921279212791, 0.53595628415300556, 0.30265765765765767, 0.0, 0.34631764238260182, 0.22148809523809523, 0.34574261813749929, 0.50134994807892008, 0.46965090090090095, 0.35669831223628695, 0.064892473118279573, 0.32374100719424459, 0.56397849462365601, 0.28464977645305511, 0.37103344768439106, 0.38395480225988704, 0.38357761492338438, 0.44784053156146181, 0.53680555555555554, 0.35893817204301076, 0.33005464480874319, 0.54447502488727528, 0.0, 0.21666666666666667, 0.5722081218274111, 0.31508664627930683, 0.35689838972114679, 0.4295693337951737, 0.40975877192982452, 0.20277092873077374, 0.37975308641975308, 0.52544483985765122, 0.29545454545454547, 0.37396551724137927, 0.45633512647361801, 0.5903938520653218, 0.33204678362573098, 0.4386363636363636, 0.28405315614617943, 0.51185043427057264, 0.36506410256410254, 0.23579610538373424, 0.222992700729927, 0.4674444444444445, 0.18700327255726976, 0.15122206247549341, 0.52132789317507422, 0.20170454545454544, 0.36840986394557823, 0.45754591429331909, 0.61551817269851072, 0.30513595166163138, 0.1155327580459983, 0.3444790882700785, 0.41577922821481733, 0.35262502828694275, 0.33033333333333331, 0.15107181136120043, 0.35690571049136782, 0.31241117953576503, 0.33499335989375828, 0.1957854406130268, 0.0, 0.54848910751932534, 0.27623582482300607, 0.22870748299319726, 0.0, 0.25308176100628932, 0.1744873341375151, 0.36673497267759564, 0.34171779141104297, 0.32761045353334117, 0.502344116268167, 0.25333333333333335, 0.5869212962962963, 0.0, 0.55212527964205826, 0.35762312510775246, 0.42756849315068496, 0.44532150265038029, 0.39749322493224931, 0.30466666666666664, 0.0, 0.0, 0.32310242341106538, 0.48575063613231551, 0.52509090909090905, 0.35833333333333334, 0.048207239663750213, 0.41789709172259509, 0.43306559571619818, 0.34511784511784516, 0.46318795430944959, 0.39612983770287136, 0.38734912829682611, 0.36211236983636574, 0.42655650634405429, 0.3463024282560706, 0.32811140121845084, 0.0, 0.34172222222222226, 0.5464112250404749, 0.3913516609392898, 0.468287037037037, 0.24977678571428574, 0.23232323232323232, 0.3437262357414449, 0.31765935214211077, 0.0, 0.19369230769230769, 0.089590854392298441, 0.2318607764390897, 0.52600472813238774, 0.44802927927927927, 0.62401878564240199, 0.40495055231045052, 0.47560827250608273, 0.33274231678486998, 0.38467948717948719, 0.4344370860927152, 0.43975490196078437, 0.51792943898207056, 0.32720430107526882, 0.38981132075471697, 0.35780415430267065, 0.49603960396039604, 0.14527439024390243, 0.48248587570621471, 0.4797202797202797, 0.0, 0.34718045112781959, 0.33126293995859213, 0.25454662503621206, 0.26468253968253969, 0.0, 0.25226586102719034, 0.26337448559670784, 0.27600958247775492, 0.34310575635876844, 0.23800813008130078, 0.33587458745874588, 0.077358490566037733, 0.39511175009802646, 0.084349064138625557, 0.071883202099737531, 0.39335443037974677, 0.25457256461232602, 0.38119550442595235, 0.11444286728176012, 0.42897286821705427, 0.33186997319034856, 0.49368169398907102, 0.4624495289367429, 0.23729993041057759, 0.14352075873415274, 0.094952795933188089, 0.35383873523232184, 0.19575878064943669, 0.21856209150326797, 0.0, 0.18892773497165744, 0.42274656255304699, 0.35317796610169494, 0.30776632302405499, 0.33493061794948592, 0.23184466019417474, 0.18230027548209365, 0.24036016949152542, 0.23076923076923078, 0.27222222222222225, 0.21436672967863893, 0.33789115646258505, 0.41036988110964334, 0.31733870967741939, 0.20987295825771327, 0.25626640419947505, 0.2745548135781859, 0.35675582990397803, 0.37504629162037501, 0.30421016005567153, 0.2267697594501718, 0.30973063973063969, 0.37714285714285717, 0.63509060955518948, 0.15887645380732937, 0.29766682538602812, 0.20038077106139932, 0.42716818399616674, 0.37371757171796383, 0.33187499999999998, 0.44966587626643678, 0.34181636726546905, 0.0, 0.38346666666666668, 0.35102252135645873, 0.26350515463917523, 0.16591139668583024, 0.39685448668821433, 0.30865319865319868, 0.25, 0.20870116692034502, 0.21154254190536814, 0.28095238095238101, 0.37629308034517878, 0.1922112211221122, 0.10389344262295082, 0.48588231126226655, 0.35264390896921016, 0.24904761904761905, 0.12536363636363637, 0.096707955222891981, 0.2902548025613661, 0.26007478188616534, 0.17304659498207886, 0.19421406647946188, 0.43124753516497971, 0.34585687382297553, 0.2167343256653135, 0.3955945927399987, 0.11180736688084483, 0.32143803843605034, 0.38739441195581548, 0.40671168546258524, 0.41325891739114873, 0.35794272123674559, 0.33898929049531457, 0.28555107526881723, 0.0, 0.23980072707688166, 0.30076775431861802, 0.38923472494756073, 0.33402909550917143, 0.15816044260027662, 0.0, 0.037524752475247523, 0.29512040557667935, 0.39114266396213654, 0.3483928749129267, 0.23449599353578884, 0.34812421705017477, 0.44143859649122813, 0.22299709148598623, 0.21056088270064363, 0.1723529411764706, 0.44804548685145701, 0.043798331813730454, 0.47236626637554585, 0.69465853752061046, 0.22382491088976983, 0.22565950503127549, 0.43468921072690742, 0.080208333333333326, 0.2181644359464627, 0.2590895013936203, 0.31591478696741859, 0.37812284334023466, 0.26620825147347738, 0.31858948226661232, 0.3351578947368421, 0.4274149659863945, 0.52657657657657653, 0.30631510416666669, 0.29724961079398027, 0.48704467353951891, 0.39697231833910029, 0.4437977660199881, 0.44327731092436973, 0.49756466241182395, 0.25997450605481198, 0.079696394686907021, 0.30844907407407407, 0.62233169129720856, 0.55504174694926145, 0.0, 0.12107097591888467, 0.45451251646903823, 0.0, 0.44465829391616379, 0.29063157894736841, 0.26660178426601783, 0.42278645833333328, 0.55406751141787713, 0.52098579069996398, 0.26381676557863504, 0.61374133949191689, 0.39313531353135323, 0.48673400673400674, 0.47310381925766543, 0.0, 0.33912772585669781, 0.39145049572185248, 0.05523903077930583, 0.25244261131207951, 0.066908713692946056, 0.22136835278858627, 0.22549999999999998, 0.23149173124014627, 0.31656726308813782, 0.26792514773473408, 0.3381278000471587, 0.22265680056377729, 0.32090247352261364, 0.21564460971479796, 0.26915032679738565, 0.27317619173031343, 0.28784958129246324, 0.34713438735177865, 0.3868577397662728, 0.23361403508771927, 0.24545226445866264, 0.28157894736842104, 0.1393939393939394, 0.18403669724770644, 0.25693421305489722, 0.24957953860311616, 0.29612004695282507, 0.088303219671240316, 0.2696904294043746, 0.43096153846153845, 0.00024860934149600672, 0.20783725195931296, 0.048386034255599474, 0.023625669503499491, 0.18868982810386353, 0.27224422442244228, 0.28071605582365983, 0.20821481782473253, 0.39111309447915338, 0.27339805825242719, 0.23305031446540883, 0.46833196384552178, 0.0, 0.20569444444444446, 0.23079141300865108, 0.018225039619651346, 0.27155642151844389, 0.11206563706563707, 0.34508250825082504, 0.23443496801705757, 0.31110013175230566, 0.69607339700797655, 0.30452755905511814, 0.5404712404712404, 0.30677083333333333, 0.45764565839848143, 0.26022875816993463, 0.32484596793409815, 0.41152058432934929, 0.25968302151133943, 0.226124182096617, 0.33970588235294114, 0.16264692413372006, 0.29011822999968639, 0.14874074074074073, 0.38048294576306119, 0.47957324144329216, 0.26232464929859722, 0.67637894457703529, 0.23515595640736564, 0.45102310231023096, 0.43586251621271077, 0.23761904761904765, 0.40902158039915631, 0.31865766559045106, 0.58206401947560604, 0.0, 0.3443894389438944, 0.24879520047208473, 0.42301518293090762, 0.34006074262760849, 0.37045622522340921, 0.14208507670850767, 0.29358533791523483, 0.10244802146210596, 0.33657965194109768, 0.33829284750337379, 0.0, 0.37570693618418649, 0.3172238705533294, 0.10382299031159989, 0.42589531680440779, 0.31784305129329238, 0.44734607218683653, 0.16570446735395189, 0.34925373134328352, 0.0, 0.27021419009370817, 0.26739718614718616, 0.30963302752293581, 0.15597014925373134, 0.27407314076920658, 0.3179749317274701, 0.22032136105860112, 0.25463958099966699, 0.34444444444444444, 0.089660795825179385, 0.24073724007561437, 0.2577799479166667, 0.31851581508515819, 0.15924528301886792, 0.3616071428571429, 0.34718954248366007, 0.30899187893415087, 0.1971943887775551, 0.094021376085504343, 0.27905544147843941, 0.33977035490605428, 0.45416429981876716, 0.36312127236580516, 0.33725563441663553, 0.29181321168645752, 0.077706792199058516, 0.53445781431948913, 0.37478813559322033, 0.00053774282449418561, 0.42286475175955873, 0.27622211675367819, 0.31347024016707276, 0.052033333333333334, 0.34657064471879284, 0.31160862354892205, 0.31514395592973704, 0.218765664160401, 0.22977124183006534, 0.42604163491724834, 0.53110743801652893, 0.0, 0.72376994994805932, 0.28726411992898943, 0.057104377104377102, 0.29125799573560773, 0.42705078125000001, 0.416379711493718, 0.22860593512767424, 0.15526149968494013, 0.31826797385620914, 0.13566126855600541, 0.2895431834403997, 0.10002697183369938, 0.0, 0.3397843610761539, 0.095670318205529473, 0.23289925085766294, 0.26151977793199166, 0.29260374832663993, 0.12256515775034293, 0.1531818181818182, 0.27289999999999998, 0.35540994623655919, 0.34595452141723959, 0.14972938327873522, 0.25196953352293161, 0.23163461538461541, 0.19795136277353964, 0.22154404486967996, 0.25155982383166137, 0.20728758169934641, 0.27044943820224721, 0.12552828902522156, 0.31439239646978956, 0.30445366338670415, 0.27039924721064662, 0.3207009857612268, 0.0, 0.24768668692593984, 0.18403709223381354, 0.21098406098406097, 0.21550604455989605, 0.13602033405954975, 0.27185473411154343, 0.33926282051282053, 0.076487252124645896, 0.1613204900402132, 0.31713804713804711, 0.4171970116214721, 0.35341530054644804, 0.38239299610894939, 0.26421404682274247, 0.24084645669291338, 0.23157894736842105, 0.27792659592972691, 0.32186512841642628, 0.32152103559870548, 0.27519822604488647, 0.34836651267905216, 0.064193813304133596, 0.50514076731990054, 0.13237433862433862, 0.68604130937290275, 0.30029126213592239, 0.4310293681400178, 0.41518962273492421, 0.34713011662474275, 0.43859649122807015, 0.40756666666666663, 0.48165639972621493, 0.22358904817254294, 0.29144230769230767, 0.47367864693446088, 0.22842140921409215, 0.045342237061769618, 0.0, 0.46373918829008642, 0.28171152518978609, 0.0, 0.2211670195541163, 0.4719741100323625, 0.20418033058398755, 0.0, 0.4112204724409449, 0.38507462686567168, 0.52018479033404408, 0.21724137931034485, 0.14604247104247103, 0.35492125984251971, 0.35464362850971926, 0.31643743710164374, 0.28610510243033466, 0.0, 0.29267393126571667, 0.21512925874397384, 0.28663393698995354, 0.19395743029048326, 0.15743691899070383, 0.21120902361649632, 0.1726143790849673, 0.31460905349794238, 0.2047614414063767, 0.29843333333333338, 0.10587023686920702, 0.38786105013762584, 0.30729237002025656, 0.24562887760857302, 0.12092053024695512, 0.22176391683433938, 0.23308972666688127, 0.29630337794773737, 0.18604417670682732, 0.16043316328127447, 0.14591931833311145, 0.31418157720344603, 0.29216232961586119, 0.14342746817631466, 0.3014987455433778, 0.12797307893361215, 0.29331209215403942, 0.27982478742592115, 0.33825462635251285, 0.18857421875000002, 0.27323869088983754, 0.244766880761423, 0.31695457453614845, 0.16350085740667458, 0.17501676727028842, 0.24870843820373562, 0.398064106632815, 0.17501587301587301, 0.10912457912457912, 0.15054200542005419, 0.24485148514851487, 0.30263492063492065, 0.0, 0.26583995349738421, 0.15179510783798, 0.093196167035220961, 0.29587301587301584, 0.0, 0.37576079263977352, 0.34455814561741915, 0.31946257989141641, 0.1545964912280702, 0.40011392574721882, 0.29201320132013198, 0.36738562091503263, 0.0, 0.24991841263625089, 0.26580493537015282, 0.21571895424836601, 0.21689793801063417, 0.0, 0.0, 0.36784009546539381, 0.33170715627781261, 0.38696210661528585, 0.0, 0.32512523583371283, 0.298887017404802, 0.33333333333333331, 0.69348046097091176, 0.0, 0.075677506775067752, 0.084586466165413529, 0.38697478991596634, 0.31502890173410403, 0.082058823529411767, 0.0, 0.39556634304207117, 0.35669934640522866, 0.44732320802693976, 0.14447964410892425, 0.1888, 0.35842032011134306, 0.36831895110040802, 0.16236320957450326, 0.2454208754208754, 0.088937531570971548, 0.39176666666666682, 0.36196666666666666, 0.21313064017927441, 0.25597359735973602, 0.31489071038251365, 0.2807291666666667, 0.21047619047619048, 0.0, 0.13022774327122152, 0.0, 0.339030431705591, 0.039084967320261441, 0.37505070993914807, 0.22617592175535681, 0.30336538461538465, 0.32108187134502919, 0.22668670674682698, 0.061818181818181821, 0.12298136645962733, 0.18574887582151506, 0.17676568955341332, 0.2057365919891378, 0.22552287581699346, 0.32404530744336568, 0.13018425678755124, 0.36393938352633931, 0.31736979524529341, 0.30023598820059, 0.25204620462046207, 0.16669902912621362, 0.0, 0.11675655797989704, 0.28316831683168309, 0.26272108843537417, 0.062679738562091497, 0.26750314529565783, 0.18301096067053513, 0.21131393923756694, 0.42904761904761907, 0.26014228700329689, 0.0, 0.62, 0.37996848187707927, 0.30405950668397602, 0.46987829614604454, 0.36578411405295319, 0.38900625978090769, 0.0, 0.54329588014981267, 0.45487483530961786, 3.2679738562091506e-05, 0.42194323144104806, 0.30870646766169152, 0.34464228137427005, 0.2809623430962343, 0.041187739463601533, 0.38213333333333327, 0.31324435318275157, 0.099826026443980503, 0.27584960231381056, 0.29643845089903187, 0.41811447811447811, 0.45828262339418524, 0.1068702290076336, 0.34249037227214379, 0.40033807092590035, 0.43178294573643411, 0.076685570258349087, 0.25462213225371122, 0.53445349626612348, 0.43475694444444446, 0.45210055096418728, 0.47173863525430348, 0.030272108843537419, 0.33680589680589684, 0.29420791549195247, 0.0, 2.8516026006615717e-05, 0.22915818058384249, 0.22207748830995325, 0.14404761904761906, 0.0, 0.20592864637985311, 0.2390007457121551, 0.020730027548209365, 0.32369942196531792, 0.15959555242030299, 0.0, 0.29460609154330442, 0.29274992642009223, 0.22515777395295467, 0.0, 0.18536725393806738, 0.0, 0.38484536082474224, 0.23852484963596077, 0.18555621030576833, 0.20503231428363955, 0.020235690235690239, 0.18084677419354839, 0.0, 0.20222443559096945, 0.20418271876719871, 0.0, 0.23743386243386241, 0.27577179708201643, 0.20883940620782726, 0.31456176673567976, 0.0, 0.077177884779564943, 0.40544145105361423, 0.32491971740526654, 0.11135265700483093, 0.33329629629629631, 0.1911801632140615, 0.2178825900247103, 0.1919207845857904, 0.21577325939617992, 0.31321935787844113, 0.61019023639669889, 0.0, 0.54232026143790857, 0.083107974408020577, 0.57074486012807557, 0.50521393972012918, 0.51295591708213062, 0.4503048780487805, 0.013586584531143052, 0.36694915254237287, 0.4896875, 0.45717736369910283, 0.31513114583694257, 0.18743112947658402, 0.31810035842293904, 0.34941580756013751, 0.3971474358974359, 0.43867533185840701, 0.39092783505154644, 0.4256893519593854, 0.60888678051865908, 0.0, 0.36258505799809615, 0.54692982456140349, 0.0, 0.12763802127300355, 0.48914041994750657, 0.33993055555555551, 0.49263261296660121, 0.39293040293040299, 0.44693877551020406, 0.0, 0.13022941970310392, 0.46523410202655485, 0.28600508905852418, 0.24400709219858158, 0.32091633466135461, 0.28123083582843333, 0.25633017664047286, 0.21853417899929528, 0.12738343771746694, 0.33970107888745921, 0.016443452380952382, 0.3298261816022956, 0.25185258700542545, 0.3141692150866463, 0.25326070038910503, 0.40454083139210611, 0.26478114478114473, 0.29373539036933144, 0.083398692810457517, 0.26782584790900654, 0.49157014157014162, 0.23195538057742782, 0.0, 0.18413978494623656, 0.20626892597126475, 0.22117722328854764, 0.0, 0.36688555347091933, 0.0, 0.57771464646464665, 3.5310734463276837e-05, 0.22158859470468434, 0.28407109322602281, 0.42971246006389785, 0.1062992125984252, 0.2924547283702213, 0.36351915312319749, 0.90673726137853983, 0.6875, 0.31663539712320199, 0.17507561176794062, 0.27565234451638215, 0.1444346807264206, 0.26915520628683692, 0.27292929292929291, 0.0, 0.03247356387539297, 0.14650223261747819, 0.013861386138613862, 0.2685734463276836, 0.025830639058953015, 0.32500000000000001, 0.2610772357723577, 0.0, 0.33456536618754273, 0.028649866253695623, 0.0, 0.46861979166666667, 0.29736905623943999, 0.00010615711252653928, 0.4965686274509804, 0.080191734680658114, 0.36519028871391079, 0.29126016260162602, 0.30383858267716535, 0.38958770090845563, 0.26689102564102563, 0.37074569789674955, 0.33695355191256832, 0.21941251596424011, 0.37427501408544062, 0.12300293177850248, 0.50824777549623545, 0.28694817658349325, 0.12268041237113403, 0.063990381404047836, 3.9396446440531062e-05, 0.19628893306825712, 0.30999787430029052, 0.18346235985050721, 0.0, 0.043307483130224596, 0.24888035828534869, 0.22471367462398234, 0.26951939432344996, 0.31184383202099736, 0.44888953721600239, 0.20207454289732774, 0.48305613305613299, 0.37435387673956261, 0.36185284324606654, 0.16441283408815463, 0.22822773064687171, 3.5385704175513094e-05, 0.20970052083333332, 0.38526970954356843, 0.42938404577583306, 0.045370370370370373, 0.26388232912758924, 0.21435546875, 0.1940496494220201, 0.25912511318574954, 0.18897110641296688, 0.36018090839107009, 0.17586538461538459, 0.2950171821305842, 0.24764110774261672, 0.38854082457558603, 0.2403402947703864, 0.24089850007281202, 0.26625033575073859, 0.23373196151790485, 0.39568393094289511, 0.24415204678362573, 0.28360599863667346, 0.20078616352201259, 0.30124418336028513, 0.30745514775820787, 0.29107711918419371, 0.25159422175950025, 0.29805543510890231, 0.047147057851785773, 0.0, 0.44038596491228077, 0.41539713541666662, 0.36603892027620843, 0.51288283908604759, 0.46666666666666667, 0.30822429906542059, 0.42653587712982954, 0.32374526904722728, 0.38149712542531966, 0.21011937497978064, 0.39560508752046342, 0.32940123927234166, 0.29621484739437559, 0.27202020202020205, 0.2671347692696967, 0.39894601461777346, 0.41255451713395636, 0.27431372549019606, 0.28333388765091294, 0.0, 0.41325966850828733, 0.36358146335261587, 0.41885354539430086, 0.30084718973256624, 0.22799352750809063, 0.39710763394973925, 0.12704280155642023, 0.0, 0.4046540880503145, 0.34632117722328859, 0.46372428566928137, 0.23609769189479338, 0.28992654060672018, 0.17972508591065292, 0.41376085504342014, 0.2182588992032746, 0.21106388586866989, 0.05869098334682956, 0.34094390026714161, 0.36916835699797157, 0.26732998390963125, 0.29567010309278352, 0.23212144164615289, 0.3537518212724623, 0.0, 0.28858350951374206, 0.21238579313355579, 0.31803058417045232, 0.35551077453115354, 0.20892018779342722, 0.0, 0.22002583979328166, 0.033040364583333336, 0.32151175100571672, 0.25105049497899007, 0.0, 0.304789644012945, 0.36269843911205779, 0.28760659273989686, 0.24447530864197531, 0.35806542583192325, 0.23410731095073739, 0.22222222222222224, 0.12718212610734758, 0.33276672023735937, 0.36537373737373735, 0.0, 3.3666633000033669e-05, 0.0, 0.024144869215291749, 0.16340136054421769, 0.19971482889733844, 0.26191841937539834, 0.21902983893934119, 0.33915662650602407, 0.23640838001489489, 0.31353501108358323, 0.34144869215291757, 0.092073170731707316, 0.41604394854471632, 0.38735521235521242, 0.27475538160469665, 0.21737949762389683, 0.13327402135231314, 0.29096954476318487, 0.49205128993573383, 0.3804311102101493, 0.27825670498084287, 0.21736666666666665, 0.46528685548293386, 0.36383647798742136, 0.33933203112491594, 0.26244178310046573, 0.17478070175438598, 0.34729253981559094, 0.33061238913035795, 0.32604373757455268, 0.39647501711156746, 0.25895895895895898, 0.33506167818896571, 0.27407045009784736, 0.3118937371142731, 0.04607017543859649, 0.079687903387739872, 0.43376237623762381, 0.23790436005625878, 0.22577866136514249, 0.25846743548227208, 0.21336609676749499, 0.17860944777112442, 0.38518880208333334, 0.42933459561806864, 0.21894833882920262, 0.22919375812743825, 0.18241106719367586, 0.0, 0.36393596986817328, 0.84831478741879462, 0.22336152219873151, 0.19867097701149425, 0.4533406957482054, 0.46700817586592935, 0.28108596074760106, 0.22613488747674051, 0.2535608308605341, 0.41531106832215658, 0.50134250163719718, 0.41831001847592475, 0.18046477850399417, 0.055464648530715213, 0.3303275116489558, 0.33545966228893054, 0.32191235059760959, 0.21776144815843715, 0.057912844036697247, 0.18087987002644071, 0.3333998669328011, 0.23680981595092024, 0.077248204529053982, 0.37512027491408928, 0.29877887788778879, 0.31560685927804089, 0.12101758579477549, 0.40115124381458922, 0.10698355635443713, 0.25059231535212717, 0.2768247561385806, 0.37339015151515148, 0.037901175176963779, 0.019750656167979004, 0.18613125518634771, 0.16815371645356189, 0.33329817158931091, 0.13229933282894285, 0.072698433679201646, 0.21635802469135804, 0.34493333333333331, 0.0, 0.076699669966996703, 0.27575366491280318, 0.20783208020050128, 0.47787524366471734, 0.3201408965540159, 0.40904761904761905, 0.38223169864960915, 0.12509063287642855, 0.42235926126068851, 0.0, 0.084915629793761715, 0.21880252100840336, 0.35840455840455843, 0.18323129251700679, 0.43003472222222222, 0.42383268482490272, 0.17259649122807019, 0.37771462758001795, 0.34433333333333332, 0.28167305236270757, 0.30220360024829301, 0.21740326741186586, 0.32630363036303633, 0.036708111308466546, 0.17773134730740717, 0.38680128376571271, 0.12216530054644809, 0.30091743119266057, 0.32892902408111535, 0.25772034459907228, 0.23983498349834986, 0.20243204577968521, 0.34504419191919189, 0.23818878925187745, 0.23211875843454788, 0.32092647754795245, 0.2806894243641232, 0.24597701149425288, 0.0, 0.034790240477444272, 0.28066104078762305, 0.14024761518165213, 0.31697690692792158, 0.28286290322580648, 0.30746460746460746, 0.2595751633986928, 0.030454254638515674, 0.39244690251006309, 0.20343042071197412, 0.11550783912747103, 0.20823412698412699, 0.10126050420168067, 0.23004557291666666, 0.19633123689727461, 0.0, 0.23730297723292471, 0.18957703927492447, 0.53636106395019811, 3.4293552812071332e-05, 0.22269163174259837, 0.2481935923653715, 0.18519973804846107, 0.2322946175637394, 0.19308862433862434, 0.11069347866942304, 0.18025318216595951, 0.14260780287474334, 0.24762088477366256, 0.18072536730709957, 0.025042371415724119, 0.19021263289555973, 0.12674104124408386, 0.19433962264150942, 0.038772052227648755, 0.016028225806451614, 0.18876010519138989, 0.22812499999999997, 0.11327433628318584, 0.15290447285428463, 0.04862018881626725, 0.21569579288025889, 0.3580339893251252, 0.0, 0.29467423628007572, 0.39485385470476686, 0.33917738605685249, 0.0, 0.39105610561056103, 0.14472123368920523, 0.21968791500664012, 0.25595703125000002, 0.19349221524173724, 0.19285714285714287, 0.54976156835040624, 0.33746770025839795, 0.44385404508876453, 0.45436430158107932, 0.23633897856575814, 0.10021029824114197, 0.21481848184818481, 0.38844678355156781, 0.37618160491271646, 0.23800131492439186, 0.32595315904139432, 0.21244224422442246, 0.21544795783926218, 0.058380952380952381, 0.3619274809160305, 0.3077887788778878, 0.27778877887788778, 0.36021080368906455, 0.0, 0.35027985074626866, 0.044119131751640589, 0.082546201232032851, 0.3909696928046183, 0.22179974651457543, 0.25702700845302734, 0.023388238321966286, 0.13786407766990291, 0.2582250203086921, 0.17570778735827278, 0.35628051194088922, 0.304629655499986, 0.30648634679989661, 0.25896333412330302, 0.32936289990388579, 0.26711519695958091, 0.26042924211938295, 0.25845720143516149, 0.0, 0.29800461245362475, 0.18589538102870465, 0.17502651444257283, 0.2887218534426656, 0.074090121317157712, 0.24293842034805888, 0.34664090266036368, 0.2029585798816568, 0.27295438212244616, 0.30319499341238471, 0.29919804741980471, 0.28807692307692306, 0.17886608144676919, 0.28357656869997983, 0.357757625721352, 0.030769230769230771, 0.3469759734879867, 0.22035490605427976, 0.18506535947712419, 0.0, 0.38648048028126969, 0.36087126461287, 0.37796728158719117, 0.56954198473282436, 0.46803914093277421, 0.43186915887850463, 0.34982782369146009, 0.29070037490461498, 0.5355322437436284, 0.51026402640264024, 0.40483345459146552, 0.48350375591515271, 0.11251857618002972, 0.23297755883962779, 0.2526468551073584, 0.088612836438923384, 0.0, 0.087081659973226241, 0.3956085753803596, 0.29857414448669201, 0.11907756813417192, 0.26763586412156942, 0.0, 0.36429999999999996, 0.083660882625507305, 0.10176100628930818, 0.02755175302141917, 0.36398506449422957, 0.47617135207496653, 0.511443661971831, 0.040607344632768362, 0.063368337483309875, 0.31056338028169012, 0.35850271002710032, 0.27526405451448038, 0.0088679245283018876, 0.26869103069389705, 0.064358001265022141, 0.28364008179959099, 0.19856850715746421, 0.29996699669966997, 0.28862704918032794, 0.31255845023380091, 0.30268486065266953, 0.21659822039698837, 0.23914650537634408, 0.33724554707379134, 0.30573686018550322, 0.33102564102564097, 0.30600731325091413, 0.3666666666666667, 0.20593832020997374, 0.23668779714738514, 0.01273100616016427, 0.25314591700133865, 0.33636061210911511, 0.27997284453496268, 0.25970341715022566, 0.28558225508317936, 0.3493724531377343, 0.12626774847870181, 0.35182926829268291, 0.078548795944233196, 0.36552706552706549, 0.40030303030303038, 0.32465564738292008, 0.0088521400778210114, 0.3332674571805006, 0.52222633509439043, 0.45755467196819088, 0.35132893121412212, 0.13553283767038413, 0.26832585339317283, 0.13221723748039538, 0.50361403508771929, 0.0, 0.34135416666666668, 0.25439761035512781, 0.0, 0.43173202614379086, 0.3936507936507937, 0.23564054831612793, 0.40011467889908259, 0.31, 0.258300395256917, 0.017921381385309701, 0.40373677248677242, 0.27832105226912746, 0.34888438133874244, 0.29519104084321479, 0.46950495049504948, 0.087515842839036753, 0.2863447644578116, 0.40449561403508766, 0.37520491803278694, 0.029902853673345477, 0.22400145243282499, 0.10217391304347825, 0.22434008594229587, 0.26241699867197871, 0.2445391414141414, 0.31003623188405799, 0.26789115646258504, 0.27289562289562291, 0.046225719203343986, 0.26772329536073963, 0.10109649122807018, 0.417719843843049, 0.41981660366792661, 0.21952380952380954, 0.0, 0.5189258108215794, 0.0, 0.21433542101600556, 0.30666666666666664, 0.0, 0.36892486362836535, 0.29545779685264667, 0.021226580590835729, 0.24493984430290161, 0.3748276700997486, 0.33552361396303904, 0.28307332829358811, 0.16995108315863033, 0.26961591220850484, 0.0, 0.26274725274725269, 0.25846759872138453, 0.3252333157245994, 0.39165664142665069, 0.36618970153713354, 0.29014492753623189, 0.056198506075080951, 0.36623505976095616, 0.33718165213495538, 0.24117031066543965, 0.32393933183029305, 0.011342348172621683, 0.0073321649558281765, 0.35566137566137568, 0.22893603936039358, 0.32795918367346938, 0.0122289972899729, 0.32086988304093567, 0.23635709143268541, 0.32924379394461178, 0.27203065134099619, 0.31224641004833642, 0.066927592954990206, 0.14280380176510524, 0.44079035949912482, 0.35988418471356398, 0.17374105668684647, 0.38008314436885859, 0.35415006640106239, 0.0, 0.38, 0.30010483179262365, 0.7574521934758156, 0.36505631393810312, 0.0, 0.40427103403982018, 0.25823943890638695, 6.8446269678302531e-05, 0.43518873960332694, 0.40841121495327093, 0.73694149963517752, 0.4503811503811504, 0.48392701998262383, 0.26742753623188409, 0.54575289575289576, 0.36176470588235299, 0.48582432519904201, 0.39189999999999997, 0.0, 0.36953227931488797, 0.44111111111111118, 0.3723320158102767, 0.27086773378264534, 0.21758879781420765, 0.33017298735861605, 0.38376260173493648, 0.25095084064977075, 0.29610389610389615, 0.3102508366973743, 0.37542598509052177, 0.36795131845841789, 0.35971390552228877, 0.2089403973509934, 0.3267698537095089, 0.36546666666666666, 0.24009708737864077, 0.22369224506411561, 0.25772621163025677, 0.37170874049945712, 0.48807615230460927, 0.35676767676767673, 0.32936051576929781, 0.26509263813739958, 0.29053117782909932, 0.91239091310401033, 0.28195950831525668, 0.39326029216467467, 0.23597773138482953, 0.19608910049311343, 0.30922391857506359, 0.26632589838909543, 0.37918637653736992, 0.29066666666666663, 0.25787351977828166, 0.43902116402116398, 0.28940288713910761, 0.31384093403851915, 0.25491952993073025, 0.029116273117041021, 0.0, 0.26389452332657204, 0.18930918131770555, 0.34362459546925561, 0.3628075947631777, 0.27621516111484429, 0.63539880278272121, 0.24485553206483435, 0.39058823529411762, 0.39340480831708902, 0.31826797385620914, 0.25152399481193255, 0.35415800415800419, 0.29058819669979985, 0.0, 0.3139816633922724, 0.3604674796747967, 0.38019525801952586, 0.40627788400254944, 0.36434040047114252, 0.12295374242276896, 0.35680566483084186, 0.61761550839016166, 0.19828884325804244, 0.08171206225680934, 0.066529774127310065, 0.28322981366459626, 0.27500000000000002, 0.29788732394366202, 0.23079680625712892, 0.53376646078545631, 0.32796554009277668, 0.38519588953114969, 0.79074421513445903, 0.2583495145631069, 0.29278110445775113, 0.24364623243933589, 0.23812664907651718, 0.0, 0.34223646723646722, 0.0, 0.079106858054226473, 0.33937542430414125, 0.3915107415107415, 0.039525691699604744, 0.33262820512820518, 0.25205802864154581, 0.34323616687030889, 0.26028905712319339, 0.24300676123558262, 0.19893119572478291, 0.29930502832447586, 0.22593036368762334, 0.30208468632289909, 0.39823008849557523, 0.23824541284403669, 0.36375640076004001, 0.32376783398184178, 0.0, 0.42999999999999994, 0.28807221147646689, 0.098373983739837384, 0.34691924358932047, 0.28111772486772485, 0.0, 0.43747714808043875, 0.36318944844124701, 0.21961069145845438, 0.29375961045617632, 0.28320208222103577, 0.27665606416816491, 0.24684365781710915, 0.32379180875615721, 0.25154310960951209, 0.12650375295609556, 0.22111553784860558, 0.05820049213651439, 0.25357997129644394, 0.3534541958522181, 0.30847723704866564, 3.1806615776081425e-05, 0.20344573493806797, 0.26948356807511736, 0.0, 0.11795379537953796, 0.33994546693933198, 0.25551720531325173, 0.27798729654624843, 0.0, 0.29774339136041261, 0.046465764799501784, 0.22134062927496584, 0.45796950796950797, 0.40303643724696353, 0.41787826314241838, 0.20398804266594198, 0.48143631436314366, 0.22389377525724186, 0.45569696969696971, 0.35330141046939645, 0.24622266401590456, 0.28384376387039501, 0.31774809160305345, 0.47077470483584016, 0.4599929378531073, 0.40683950019037074, 0.36304369299660866, 0.0, 0.32288888888888889, 0.24058641450389473, 0.32845584437941128, 0.30924182277484336, 0.21268902038132809, 0.3921761998685076, 0.36750809061488671, 0.081493055555555555, 0.42060031193302994, 0.42617364163322502, 0.36335830212234699, 0.42417169162938473, 0.30579842137219188, 0.38392543088287018, 0.37776673293571905, 0.27514910536779319, 0.33535762483130904, 0.34456450556647017, 0.49657064471879292, 0.037037037037037035, 0.24024230517354284, 0.45347478474784741, 0.39947033898305084, 0.36947791164658628, 0.31961563949635513, 0.36249999999999999, 0.33878908848968731, 0.22314102564102561, 0.59299516908212568, 0.26389713846476365, 0.33269100743745772, 0.31375770020533877, 0.046960587842351367, 0.32046370967741933, 0.21450855360142618, 0.31294363256784968, 0.18254458161865572, 0.14993373094764745, 0.3507095880927657, 0.30628626692456479, 0.69195255611440576, 0.39691228070175444, 0.32230340988169798, 0.15640406650572913, 0.36107804232804225, 0.0, 0.37850140056022408, 0.27734821488603512, 0.27127016129032255, 0.5662675546047411, 0.29306693989071037, 0.0, 0.28217687074829928, 0.34428658002828094, 3.3738191632928474e-05, 0.35826348592306034, 0.063284518828451874, 0.33355644801427936, 0.36295336787564769, 0.4541215403128761, 0.57632861153238035, 0.44292505046558578, 0.4610847502306577, 0.42773646783777641, 0.43854166666666661, 0.58372725970491335, 0.44926733160940768, 0.22410888754127078, 0.33625218914185634, 0.32476430108830756, 0.36006074411541389, 0.33208689458689461, 0.45507748643170076, 0.33733850129198972, 0.46202359962023593, 0.37311932555123217, 0.59323432343234317, 0.21853333333333333, 0.15959319975713421, 0.015294370566014556, 0.37777777777777777, 0.7883649932157395, 0.41310231023102312, 0.37740599107711925, 0.18819188191881919, 0.31937862032648762, 0.3229961832061069, 0.52094771241830062, 0.45448592010478062, 0.0, 0.22993333333333332, 0.37845987811071613, 0.0, 0.040963431786216593, 0.11928044588325601, 0.44846245215784619, 0.22503264829197886, 3.2822398004398202e-05, 0.23311820813363071, 0.32501569365976146, 0.15505975556082202, 0.32762516771414452, 0.3720720720720721, 0.30938149272814447, 0.2411352061244755, 0.18030787487226818, 0.33212710228839259, 2.9977816415852269e-05, 0.32558685446009389, 0.29180486456605864, 0.38239039476077868, 0.32969072164948454, 0.39972899728997291, 0.32525993883792048, 0.22876195998840243, 0.31536666666666663, 0.21275371583826116, 0.27472527472527475, 0.29750275178866259, 0.32637153006183395, 0.0, 0.24767863680234301, 0.23005503224281712, 0.40320247933884301, 0.14471701138367804, 0.23296364756623539, 3.3845529005618355e-05, 0.40854822532112467, 0.18586883029073697, 0.0, 0.27370661427635889, 0.13604456465739306, 0.31949375410913872, 0.35884882151712016, 0.42384105960264901, 0.072378040675262517, 0.24203743479594969, 0.40434500648508431, 0.26690524880708932, 0.35006816632583504, 0.39710851202079273, 0.28469183647955998, 0.42033003300330041, 0.11917491749174917, 0.24363992172211352, 0.33321620240224886, 0.48042226487523998, 0.35120350109409193, 0.23489375830013282, 0.31199787334593576, 0.32215909090909095, 0.39829999999999999, 0.2915374677002584, 0.34890034364261169, 0.31455897980871417, 0.29061589152198708, 0.44077608142493635, 0.31824915824915823, 0.39565603128183224, 0.35995630461922595, 0.17990384615384616, 0.3757943925233645, 0.42470588235294116, 0.12908745247148287, 0.13488045007032348, 0.54356136820925571, 0.062566666666666673, 0.42326007326007331, 0.41046666666666659, 0.24173850574712641, 0.38548177083333335, 0.28621031746031744, 0.042673649198542156, 0.042474963232719376, 0.30393352156057496, 0.24800653594771244, 0.26634909833276621, 0.32760942760942757, 0.062356902356902354, 0.18325407608695654, 0.36692657569850551, 0.070299145299145299, 0.41630448676978138, 0.16531007751937984, 0.34744768237825158, 3.3166395807767571e-05, 0.28221990257480861, 0.29840136054421768, 0.20179245283018871, 0.42975151776531867, 0.25358454414817178, 0.11821390751853159, 0.120127688172043, 0.25439153439153434, 0.43385675737182611, 0.33919053964023987, 0.3457792207792208, 0.10474995172813284, 0.38928746928746938, 0.12812661165549252, 0.41523809523809529, 0.42910920476345604, 0.21769067796610173, 0.30217941903004902, 0.30580439317707686, 0.27250933997509341, 0.18872865904193603, 0.17120095203464347, 0.37141648498259089, 0.0, 0.0, 0.0, 0.34551834565461792, 0.36654223051796542, 0.0, 0.37346050870147257, 0.25105519480519478, 0.42764796983368125, 0.17001262626262625, 0.2523658192090395, 0.46410774410774408, 0.28219696969696967, 0.4012995451591943, 0.26650066401062417, 0.31738348323793958, 0.044877192982456141, 0.31950844854070659, 0.15538643666497548, 0.0, 0.20112704918032787, 0.31000690131124914, 0.25848484848484848, 0.35221131399699412, 0.0, 6.9444444444444444e-05, 0.36677340237089529, 0.2867549668874172, 0.43585941790225152, 0.12528089887640451, 0.42070151306740028, 0.31603500079068053, 0.030027100271002707, 0.060446957458266018, 0.24760533746747135, 0.43314606741573036, 0.26589436970602892, 0.39130308318789997, 0.0, 0.29634036702099531, 0.25659258314467015, 0.25452050371327095, 0.35521505376344087, 0.28364632237871679, 0.40350877192982459, 0.17998751920122888, 0.28899572649572647, 0.33020114942528739, 0.32531635190904368, 0.099453551912568314, 0.44647943631002956, 0.43379204481189237, 0.35381740933172939, 0.30339927556422408, 0.29637946259619025, 0.2437878787878788, 0.1404488232074439, 0.30086477987421378, 0.0090140694377574496, 0.2701366120218579, 0.39968190666096953, 0.025744800449690838, 0.43900979325353651, 0.22082653616095704, 0.23925606808868341, 0.28805677266740137, 0.48073170731707321, 0.27832525578890688, 0.17400042310133276, 0.31773536895674304, 0.25320715036803365, 0.42460992907801415, 0.21177502127549838, 0.26078842344023656, 0.22746443821549264, 0.30286155372994428, 0.38626387813064805, 0.33442848410757947, 0.2826886230645746, 0.16809350489567848, 0.31467911795780651, 0.1335918054757802, 0.4007333087002245, 0.39165402124430948, 0.21730392156862743, 0.3688370846730975, 0.22993878686700056, 0.18129770992366415, 0.3634722222222222, 0.33213751868460395, 0.34827805311983734, 0.40476503536960579, 0.25990291706736274, 0.0, 0.41276326541371222, 0.53110761979575805, 0.2665194346289752, 0.16596457392275288, 0.3682404540763673, 0.31001834021091246, 0.39240437158469949, 0.055878336769391419, 0.0, 0.38531945441493182, 0.31011004126547453, 0.30509893455098935, 0.0, 0.35967048710601718, 0.46960020768431987, 0.29047277936962751, 0.27271033013844515, 0.32578635014836799, 0.17376923076923076, 0.23234997478567829, 0.12726562499999999, 0.12527745481450164, 0.26618666666666668, 0.27612100407637846, 0.093016045267808684, 0.07300933552992861, 0.14220303506017792, 0.035541535226077815, 0.095754985754985755, 0.31606133101348416, 0.39587932303164086, 0.42917333333333335, 0.21293665824915822, 2.7100271002710027e-05, 0.27145359019264448, 0.14272184367683038, 0.30620399579390117, 0.29296709129511678, 0.12026549922327355, 0.21300366300366297, 0.32753520935659824, 0.35193009911319773, 0.26738241308793459, 0.29162008126312344, 0.23334272829763245, 0.32081287506819423, 0.24799457994579946, 0.30476190476190479, 0.29207581036849328, 0.14997497497497497, 0.25394624573378838, 0.19532786885245904, 0.052040275569687336, 0.18596491228070175, 0.20673746280472824, 0.29589333333333334, 0.20529941706412297, 0.064376996805111816, 0.24332818703131892, 0.20179322559220722, 0.22631305252210088, 0.29106012658227848, 0.14182641107561236, 0.24710080285459413, 0.35195278228272142, 0.32077502691065662, 0.30167996533000235, 0.34751530879373538, 0.0, 0.10611433483773909, 0.21926734299260986, 0.31131233595800528, 0.33187397598775215, 0.34191273224906571, 0.0038559107052257738, 0.29423578508085546, 0.23077542475239551, 0.0507201646090535, 0.24176822123271619, 0.39935217740372636, 0.29488510423388792, 0.35629209032087672, 0.1366642760379313, 0.23671938611858176, 0.34211869643480836, 0.37318840579710144, 0.28509140977587388, 0.038087774294670848, 0.38680781758957655, 0.2646137223122636, 0.22057902973395932, 0.35193976518631959, 0.28658839526187802, 0.30112532921865443, 0.21634146341463417, 0.29311329218890186, 0.069544740973312397, 0.0, 0.040866541856111258, 0.22647081482242368, 0.45945537065052949, 0.3471694042128543, 0.20702896523662995, 0.22562191665791959, 0.13681015452538631, 0.3238862021451922, 0.26111951588502269, 0.340322418642025, 0.2165164321646536, 0.031078115262687295, 0.080403611258629853, 0.2264241534159912, 0.01465564738292011, 0.26926406926406932, 0.058514818852521355, 0.2247358439447304, 0.29940668824163963, 0.30053893829156558, 0.0, 0.3155070118662352, 0.32450451385285878, 0.27802179925166748, 0.37526474048895281, 0.33985441310282072, 0.13940329218106995, 0.0, 0.22754356379988755, 0.0, 0.071776350989834134, 0.38212052680590664, 0.29959060210174976, 0.52331551086638461, 0.014463469105604594, 0.26739600216099407, 0.0, 0.42032735096271689, 0.30359941489917458, 0.13717557251908397, 0.33500452042409795, 0.24332344213649854, 0.30942021103013162, 0.21182640419548529, 0.021951219512195121, 0.066720779220779222, 0.055871794871794875, 0.32332259796027912, 0.17383458646616542, 0.30150900363327765, 0.58024509803921565, 0.38746623446785522, 0.19290646084376886, 0.36564266009588342, 0.25456297029187391, 0.41977238939867739, 0.19473283687557755, 0.3081761006289308, 0.32014963880288955, 0.042396573392495321, 0.26494234504462416, 0.51855338122368089, 0.43087061899185752, 0.43017677426083334, 0.18106995884773663, 0.66615833266447289, 0.3439733333333333, 0.28276897503954534, 0.31573926868044516, 0.40592998955067922, 0.33296514482081491, 0.31937799043062204, 0.33919625060604436, 0.35028205128205125, 0.39550455656812628, 0.39088504088504089, 0.33263553408480939, 0.072623029144768272, 0.2408618899273105, 0.3150148647455332, 0.31430510314875137, 0.23491062601864965, 0.22298646549811404, 0.0, 0.14831405766411468, 0.22869234887693443, 0.25277777777777777, 0.12668252413600109, 0.052764227642276416, 0.25977272727272727, 0.016084303937881309, 0.24758128469468671, 0.028834804114439887, 0.23219881145326851, 0.0, 0.46584413232973787, 0.0, 0.49304657179818889, 0.038736559139784944, 0.035088181794216119, 0.21335802407347165, 0.049700378469301941, 0.33665577342047931, 0.70908765011650832, 0.27474920289291543, 0.56812488463465449, 0.39441942330589636, 0.19257062146892656, 0.46150116121787504, 0.21753501855915899, 0.14643803001524838, 0.23148148148148145, 0.53228421554601812, 0.13784501061571125, 0.37526417880200341, 0.19562114561172003, 0.27899127899127896, 0.037487231869254345, 0.021426026769810171, 0.24668003685836634, 0.26126878130217029, 0.0855893965031021, 0.32117643924660999, 0.36166928309785457, 0.21845515811301197, 0.038857360089065089, 0.25751173708920189, 0.3145521713296649, 0.36250034180088042, 0.35526592943654556, 0.028951612903225805, 0.15167427701674277, 0.23492183560262225, 0.2985660173160174, 0.18929909042268594, 0.36462904911180777, 0.35072239422084622, 0.31005549151542772, 0.28111355229857887, 0.030634920634920636, 0.42241935483870968, 0.42063626126126125, 0.39374668786433498, 0.03607900196696575, 0.3522923408845739, 0.34742822803135842, 0.31621477937267406, 0.2640734737979471, 0.19271159874608149, 0.37092363261093914, 0.35429097121829417, 0.057743837084673094, 0.24593685300207035, 0.38308943089430897, 0.44084194977843422, 0.29744744744744744, 0.17048067447717069, 0.17518089725036176, 0.35013484358144542, 0.41751322751322756, 0.45238805970149254, 0.25078917700112741, 0.1190419288881808, 0.089196525515743752, 0.36131254092595738, 0.30278223649010166, 0.0, 0.24415977961432506, 0.45617079889807166, 0.23536548377312702, 0.071363372334246125, 0.36161750082863775, 0.0, 0.52002299291051923, 0.29383946830265845, 0.23825357444305187, 0.051135452845311249, 0.33328772745929669, 0.337878787878788, 0.45001334400854015, 0.40836038961038962, 0.45950617283950612, 0.39065040650406507, 0.38284615384615389, 0.41324575807334424, 0.20228813559322034, 0.41002325442728521, 0.14052183173588922, 0.0, 0.18148012508099276, 0.32627906976744186, 0.3845435570690981, 2.5523226135783563e-05, 0.033159305771130236, 0.051217656012176559, 0.32421052631578956, 0.171225937183384, 0.28102458800610752, 0.27284515838780538, 0.14083576501679237, 0.45565063003970108, 0.30135910764565732, 0.0, 0.1298042246264812, 0.40498971193415639, 0.0, 0.0, 0.048569942797711901, 0.3876054852320675, 0.41853291861067909, 0.1778424847476428, 0.25105009875100837, 0.42348727328151198, 0.48170563270636108, 0.46342134213421338, 0.3141256830601093, 0.29699627857522598, 0.28903348244543853, 0.29913819380940504, 0.3552390869944555, 0.049181193872160592, 0.10537992235163617, 0.36590508727913312, 0.21949811641754768, 0.32698019801980205, 0.26406249999999998, 0.29547930283224405, 0.29668137731568062, 0.42156914752533015, 0.2570654849827671, 0.34129483814523187, 0.22738870792616719, 0.31336000000000003, 0.41169354838709682, 0.21054687499999999, 0.39115384615384613, 0.15438081524147101, 0.26407232704402517, 0.30082480091012509, 0.22058183795541056, 0.0, 0.33915187376725836, 0.0, 0.36116842919783337, 0.38454042499685653, 0.25382700684505288, 0.25400659333485653, 0.28279803091328448, 0.29744028869384387, 0.10548598688133573, 0.18682869944147795, 0.23341121495327105, 0.22147963424771405, 0.0, 0.06078966642253146, 0.26808620633946173, 0.23709095856861009, 0.054052243804420627, 0.29539682539682538, 0.12941477290887587, 0.0, 0.38656268374957448, 0.22240638428483731, 0.10936936936936938, 0.22259198208565295, 0.22657283966557992, 0.28092421320958205, 0.23084337349397591, 3.4164673727365902e-05, 0.0, 0.27639470013947004, 0.30600731124607816, 0.2123686124148873, 0.25077554288001602, 0.19809315209688846, 0.27565088846652791, 0.15838601833769156, 0.12235843549328662, 0.28824573744682275, 0.1578055843942954, 3.1420850876641742e-05, 0.0, 0.21697501312660222, 0.29988129557402066, 0.2062750957138855, 0.31900780551013486, 0.22728758169934637, 0.0, 0.30620300751879703, 0.36042866282789515, 0.35968921389396702, 0.56426902995328398, 0.54521516180444873, 0.3886554621848739, 0.43176126878130217, 0.34522241361840106, 0.099866932801064526, 0.40079681274900392, 0.54768115942028983, 0.0, 0.30104500307353843, 0.49749787234042558, 0.15720451527224438, 0.421312806751174, 0.58049450549450543, 0.35507246376811596, 0.31209286209286208, 0.50602265951103165, 0.3250252951096122, 0.34905821917808222, 0.32011226076959493, 0.20102686975868558, 0.40474260949226598, 0.35702772404900057, 0.43315345699831365, 0.41299319727891154, 0.49321113374066528, 0.54919236417033779, 0.24751805857025941, 3.2334206356904972e-05, 0.20968421052631581, 0.20008070094535393, 0.30469400210841702, 0.30547608727062564, 0.21402362114436418, 0.34036784162555944, 0.24232540291634688, 0.32796717171717171, 0.32297256251898349, 0.31689856825972973, 0.21602175709171026, 0.17361817565276366, 0.3885473860109811, 0.072106135986733003, 0.071259817380754736, 0.34464524765729582, 0.1746376811594203, 0.24298022686419143, 0.24771937071844125, 0.0, 0.28276081424936389, 0.0, 0.29459843638948119, 3.3134526176275678e-05, 0.0, 0.29823583420776489, 0.33314644870016819, 0.28835458491589805, 0.22293885794325546, 3.0921459492888065e-05, 0.16777180406212666, 0.15751836734693878, 0.3995333333333333, 0.22505038684090761, 0.2641846568440786, 0.27456155002505434, 0.17442214111922141, 0.27322351421188629, 0.17561117203121976, 0.3277111524401975, 0.26669747381392483, 0.14816602316602318, 0.33723608445297504, 0.46649594536918487, 0.19568220515950779, 0.18952332398674485, 0.17870662460567821, 0.36470588235294121, 0.46883116883116877, 0.27273320287018915, 0.43074892774661827, 0.28761950430065636, 0.3880670611439842, 0.37845948649549854, 0.38329609898608008, 0.39165131982811546, 0.40371991247264766, 0.26467751657625072, 0.30093021659286717, 0.24986338797814206, 0.37282475490196076, 0.42833307585354552, 0.21793398454957541, 0.22631103074141046, 0.19296218487394959, 0.17581560283687944, 0.14576822916666665, 0.41477663230240547, 0.36133637155686615, 0.22659007765868686, 0.29820359281437131, 0.32284827698840435, 0.32127107652399484, 0.53345610804174337, 0.1886425130337227, 0.0, 0.32645403377110693, 0.35243516761543325, 0.25520833333333337, 0.25684210526315793, 0.31040498442367603, 0.098924587535902747, 0.28606094221236178, 0.15044037940379404, 0.24193650793650795, 0.26929911154985198, 0.40705800139762405, 0.38647391159853772, 0.13649484536082473, 0.0, 0.14141123882503193, 0.41754617414248024, 0.20245202558635395, 0.30095093672005818, 0.28828312135218104, 0.25667469879518068, 0.27587690271343479, 0.26168193717277488, 0.36040856031128404, 0.1801825814619844, 0.30508578431372552, 0.24362005423823097, 0.029899856938483547, 0.18251028107263026, 0.26811722912966252, 0.0, 0.30255623721881392, 0.04415959196000134, 0.24727615702344943, 0.23536173089925624, 0.10418489355497229, 0.21866207090602138, 0.26619718309859153, 0.23134572588035082, 0.063904761904761909, 0.32929292929292925, 0.35140596059942752, 0.13312644478925867, 0.14807648898777853, 0.14732673267326732, 0.23719758064516133, 0.19545454545454546, 0.29339622641509439, 0.25873786407766991, 0.1909749670619236, 0.35305212620027432, 0.17738645635028555, 0.24260954643930394, 0.11423884514435696, 0.18054664008919219, 0.25495946747512027, 0.1945736434108527, 0.33125000000000004, 0.48223792145176947, 0.51970690578158452, 0.23949349760438055, 0.55764462809917348, 0.40816864295125166, 0.45424857945268104, 0.32996941896024468, 0.29143049932523618, 0.093830570902394106, 0.29569345540861308, 0.43675045734805884, 0.22840579710144926, 0.33736263736263739, 0.30997920997920997, 0.0, 0.3060161061108479, 0.2573237508555784, 0.27003333333333335, 0.36898054996646545, 0.24302367821406162, 0.43171617161716175, 0.0, 0.5172509481084081, 0.0, 0.21132019115890083, 0.53858974358974354, 0.23623949579831932, 0.079773462783171531, 0.29339933993399342, 0.10021100695285205, 0.225649925621591, 0.25839236218047429, 0.16083676268861455, 0.27004151514176294, 0.18744908930956955, 0.19787363716394665, 0.29392523364485984, 0.0, 0.34589273591310249, 0.2676234567901235, 0.17218683651804675, 0.22348607251341046, 0.32803617571059424, 0.31832993890020372, 0.23279999999999998, 0.26720125786163523, 0.0, 0.26202450032237262, 0.23084303864478561, 0.22152496626180837, 0.20022653721682845, 0.27667436489607389, 0.25068245354382501, 0.35416120481225788, 0.13797547940899088, 0.1463556316497493, 0.050206185567010307, 0.20768518518518517, 0.3390776699029126, 0.205466853064528, 0.17299973240567301, 0.24989939637826963, 0.33007246376811589, 0.27928571428571425, 0.0, 0.25257523732579279, 0.22135313531353137, 0.29524148186461507, 0.1425429553264605, 0.14154437456324248, 0.27506238562635171, 0.42222525970475672, 0.3841312056737588, 0.27476572958500667, 0.28102275392915782, 0.18683702989392478, 0.22476695876828545, 0.26450517517223365, 0.32589453860640305, 0.30115055884286657, 0.34526486756621688, 0.42553485162180815, 0.36000746129453459, 0.2671707414562654, 0.36354795439302479, 0.42870568410136761, 0.31853281853281851, 0.34087221095334685, 0.42778787878787872, 0.24311320754716978, 0.46099135914152917, 0.41959899904229353, 0.32316002700877788, 0.43468807492891787, 0.23162562505896783, 0.42303264060790974, 0.20553264604810995, 0.29594175960346969, 0.33520241143486856, 0.30802103879026954, 0.28325115880842017, 0.044866796621182585, 0.31270627062706269, 0.28484299516908212, 0.44789156626506021, 0.4300457404230989, 0.40805774369295905, 0.34616603295310522, 0.32294973544973549, 0.30367433958492951, 0.079820936639118462, 0.3743207422133864, 0.0, 0.038085808580858083, 0.33186848958333331, 0.40826972010178114, 0.30257452574525739, 0.020920502092050208, 0.045856873822975514, 0.37393081761006286, 0.33852353320438427, 0.33951235804943219, 0.25446601941747571, 0.36506024096385542, 0.39378881987577641, 0.0, 0.33697705802968969, 0.41221804511278193, 0.27862021857923491, 0.28046421663442939, 0.32500913226845551, 0.23769128409846974, 0.35514479359211337, 0.25662878787878785, 0.0, 0.31242484969939882, 0.35003138731952288, 0.31298873426110002, 0.36267190569744601, 0.054142394822006473, 0.29502635046113307, 0.26344294003868474, 0.24545733578882747, 0.1022881380384915, 0.0, 0.28182674199623353, 0.24558232931726906, 0.15231572080887146, 0.29364583333333333, 0.31500319897632756, 0.35629921259842523, 0.33967637540453072, 0.36313799621928167, 0.25013360053440215, 0.22101010101010102, 0.35452599388379202, 0.42906066536203524, 0.0, 0.023506571087216249, 0.044747081712062257, 0.3493146214099217, 0.30494131285320969, 0.40513547574039066, 0.2568072787427626, 0.40280054644808744, 0.24476675569911174, 0.30284008007872149, 0.47131381709407449, 0.24143166030270966, 0.31309974747474745, 0.36040829986613115, 0.083333333333333329, 0.12466532797858099, 0.12367120319588328, 0.35989684074790451, 0.35727149221193644, 0.26967276648805311, 0.10853096179183136, 0.2749939700916546, 0.25882539682539685, 0.2949615115465361, 0.27358121330724072, 0.21781609195402299, 0.11147186147186147, 0.2516171617161716, 0.48569444444444443, 0.240957095709571, 0.92281831187410557, 0.26794612794612793, 0.29264705882352943, 0.33556701030927838, 0.42555125399764349, 0.0, 0.17401574803149605, 0.34743433640633153, 0.25842548709847291, 0.30531697341513292, 0.0, 0.34439597315436238, 0.0, 0.33692076773225177, 0.26121853338197737, 0.31549937289590063, 0.42968948035487964, 0.0, 0.30174891774891777, 0.25415800415800416, 0.36549165120593702, 0.0, 0.26299112801013941, 0.0, 0.33556701030927832, 0.23290577368713078, 0.26770391639678137, 0.27463479415670655, 0.49476190476190474, 0.34868073878627964, 0.25450895314574362, 0.31597065266525265, 0.26303213865051323, 0.46237414801231708, 0.56312280942890514, 0.46056750136091457, 0.64705882352941169, 0.31643321493197507, 0.44017006802721087, 0.42409240924092412, 0.22228877457543511, 0.29584151931892605, 0.232215647600263, 0.28005226480836237, 0.40278699402786999, 0.075344352617079891, 0.29545454545454541, 0.34623352165725046, 0.21027727546714889, 0.23371014003711832, 0.19551422319474834, 0.42538841807909605, 0.5305096418732782, 0.16014585021414515, 0.0, 0.29787492410443228, 0.37695595003287308, 0.29108898210111744, 0.24077952297847582, 0.0, 0.29849771391247548, 0.38266129032258062, 0.48377641445126102, 0.26970793100355739, 0.30346539635680497, 0.46642710472279264, 0.36202496241652971, 0.19015456989247315, 0.40988074957410564, 0.37803533852166077, 0.0, 0.38111979166666665, 0.22530390275111964, 0.036561954624781845, 0.29577417173766057, 0.068498942917547573, 0.46781144781144779, 0.32704750138179922, 0.4211805555555555, 0.22609126984126984, 0.28888888888888892, 0.27870019743017121, 0.1875347222222222, 0.20347648261758694, 0.32769804725573887, 0.40549163357431356, 0.25399275265065091, 0.25037202380952384, 0.0094777562862669237, 0.46274323682961555, 0.29686582121013166, 0.38101736549418314, 0.34433266264252183, 0.29959100204498978, 0.34482645710543547, 0.051176085683782763, 0.27145281737949761, 0.42485726563938853, 0.16477627642436796, 0.37141216991963255, 0.29332200509770601, 0.26489951489951491, 0.33620689655172414, 0.2559837728194726, 0.27473495351492416, 3.3467202141900939e-05, 0.33345598073320848, 0.30464637216754409, 0.0083665338645418329, 0.50904290429042898, 0.29816792257419378, 0.35556653491436102, 0.34998841864928359, 0.16591989137813984, 0.30813648293963253, 0.22380657160570366, 0.31451267345660699, 0.23880106604359094, 0.16950718685831626, 0.33316115702479338, 0.24743339831059127, 0.28941391941391942, 0.25365111561866122, 0.2606185567010309, 0.16070038910505835, 0.29772008653686138, 0.0, 0.41136747326955547, 0.43230206254158343, 0.46526107725251198, 0.567228835978836, 0.42587664634351735, 0.41597692069924785, 0.31520641120614179, 0.47597067607928317, 0.2681114551083591, 0.33432343234323431, 0.35042037896850298, 0.41455445544554453, 0.36160896130346232, 0.542164418754014, 0.23823508344674449, 0.39181523500810372, 0.33735185248072813, 0.32089771891096397, 0.41817825276987941, 0.34467036352433761, 0.34983164983164983, 0.292939393939394, 0.44353252390965209, 0.41910569105691059, 0.35379061371841153, 0.16875420875420874, 0.31292628006396234, 0.44916331994645259, 0.39059748427672952, 0.37003472222222222, 0.44603322626325431, 0.34382447777933545, 0.19863945578231293, 0.20040629136015267, 0.37262202965269786, 0.41687608395568609, 0.17420001382265529, 0.44678400460713386, 0.43004141858659073, 0.29286694101508914, 0.0, 0.32618083670715253, 0.37336507936507946, 0.70548384143550313, 0.35120260905014261, 0.38612387547731541, 0.17992351816443594, 0.30025078154522666, 0.44093619558735836, 0.25032450674974038, 0.12405189620758483, 0.38692956267838979, 0.22130550033134527, 0.0, 0.27210729711298026, 0.34199905831707811, 0.29653641207815273, 0.37415881561238223, 0.25853741496598637, 0.27601824489271493, 0.30087540122556167, 0.2638829407566024, 0.28405349794238688, 0.32496639784946241, 0.25744107744107741, 0.27597944765574822, 0.33358302122347067, 0.37775250371212843, 0.2956765676567657, 0.28357227410232799, 0.29074468085106386, 0.29067278287461773, 0.22446581196581192, 0.35127688172043015, 0.0, 0.18176408820441023, 0.28000789032448958, 0.30387424993477691, 0.46051020408163268, 0.35564971751412433, 0.37825311942959011, 0.24624373956594325, 0.32064987814784729, 0.26924632600781984, 0.5222685683530679, 0.41593108582367339, 0.24034900284900285, 0.34274372816767229, 0.24326101249178175, 0.30607370336669698, 0.21329049306347969, 0.32476099426386229, 0.30559006211180129, 0.35610591900311528, 0.30605377503348685, 0.24784147204529372, 0.20075621760813589, 0.36497556516541846, 0.30096750811509254, 0.38404255319148928, 0.36138290932811479, 0.28120879120879122, 0.3274707133559796, 0.413087180861757, 0.378529667869138, 0.37029126213592239, 0.14012875536480687, 0.27608117099135066, 0.29206855873985149, 0.36372266366640882, 0.39503968253968252, 0.25418326693227095, 0.1048893647394718, 0.28976190476190472, 0.37924092409240923, 0.087674418604651166, 0.19804823917229675, 0.19754208754208755, 0.25908178006412741, 0.32735464127847674, 0.1638938259374727, 0.37892797675983991, 0.0, 0.23068358188811661, 0.34303884759788522, 0.41855840420975338, 0.27273333333333338, 0.0, 0.28335006639246041, 0.22914230019493176, 0.29175211150116431, 0.32829730550028668, 0.079925775978407554, 0.21448218724109361, 0.31498075136067971, 0.28892236547085204, 0.22691609389184281, 0.22048070301996919, 0.20029163628788665, 0.11733939328355517, 0.30082463560843503, 0.18119273131151081, 0.22897689768976898, 0.30292707127501245, 0.24466053748231967, 0.0, 0.26436883716798437, 0.30941733311571734, 0.29875637984328951, 0.31284987277353693, 0.37906666666666666, 0.072523894548891923, 0.37234458954560012, 0.15486326755484325, 0.31442127773322642, 0.18383838383838383, 0.45088757396449697, 0.24987683212218254, 0.37040247678018579, 0.17742987606001304, 0.41958176366571853, 0.26958492194806127, 0.33168387326450693, 0.26302443522360536, 0.37486824769433469, 0.31221546481320589, 0.26120973044049967, 0.36184818481848186, 0.010878243512974051, 0.42075907590759071, 0.26448992852501624, 0.2568862275449102, 0.368106551475882, 0.041835311724091016, 0.49790438768827772, 0.49012605042016805, 0.22195954820068295, 0.30777777777777776, 0.37258503401360543, 0.18510204081632653, 0.49910112359550557, 0.19383490073145243, 0.048647660818713453, 0.309246963562753, 0.21554677206851119, 0.49980807369969937, 0.25470588235294117, 0.33410774410774408, 0.3402091254752852, 0.354927536231884, 0.31376292760540969, 0.442691131498471, 0.42562936712246335, 0.54351063829787238, 0.24448559269726794, 0.30450469023811977, 0.37784576621974264, 0.2657924515742528, 0.071722399150743091, 0.33131510416666665, 0.32857142857142851, 0.36365249485414147, 0.34781887543539558, 0.42920727745289144, 0.33082060437743832, 0.34492581230827019, 0.31216947773570736, 0.0, 0.36802796173657104, 0.042499999999999996, 0.33491213170444895, 0.38161286808757849, 0.18281988590057052, 0.25681526077250899, 0.36183026216738123, 0.41235450404858304, 0.27930374668230357, 0.23376304481276861, 0.46054869244344621, 0.46386138613861383, 0.22684335258186189, 0.0, 0.30174337517433752, 0.38078833022967101, 0.33485142118863048, 0.20439773645917542, 0.31556634414851792, 0.19511657908813443, 0.39338235294117646, 0.031050019589917724, 0.35752380952380952, 0.27415808355514409, 0.24906081835719363, 0.32587807569953908, 0.349015873015873, 0.32894131563383056, 0.42234063548450756, 0.3358761987794246, 0.0, 0.062857142857142861, 0.23582291314633327, 0.36594250032522441, 0.37007722007722016, 0.25207644000270102, 0.17598215392241914, 0.33732921702574881, 0.36166341780376871, 0.23461538461538464, 0.42453009906019812, 0.27822580645161288, 0.36216366329301403, 0.33937153419593341, 0.26560080887231824, 0.42275570798005774, 0.0, 0.40804461720466456, 0.44419149004392849, 0.31751260504201684, 0.35367836984597717, 0.39168350168350174, 0.38923461859241681, 0.30210382513661205, 0.36585760517799354, 0.27182774490466799, 0.38385518590998041, 0.34088845654993516, 0.22025316455696201, 0.24194341943419434, 0.3936559139784947, 0.46517539400101676, 0.4347648261758692, 0.40637156270959091, 0.40566072413159343, 0.40114546002612456, 0.28592592592592592, 0.33186328555678063, 0.18167213801774112, 0.24694648895961802, 0.26976568405139839, 0.37179245283018869, 0.44267740028710556, 0.019839122750063123, 0.062739273927392744, 0.40993027354225736, 0.29337789985769597, 0.34148148148148155, 0.3052605925564878, 0.42369225238180835, 0.28798297314996724, 0.35431243387146316, 0.25465029761904762, 0.39815573770491808, 0.35026041666666669, 0.22089790701389997, 0.28398594377510039, 0.35153797865662273, 0.35535855627671364, 0.25126383822870674, 0.29286867517592224, 0.0, 0.052016042617028441, 0.19015896514046032, 0.24226154012468021, 0.33559431524547806, 0.28936139173565772, 0.2423818407960199, 0.36271151250908334, 0.078715277777777773, 0.27494989979959916, 0.21252233767952877, 0.17090729783037475, 0.42343733909998971, 0.27227207043720802, 0.32443044528822923, 0.28470491859234731, 0.20613910574875796, 0.35217803030303035, 0.18473481725748833, 0.30219465648854965, 0.4393762183235867, 0.42128984144483, 0.27189805499664654, 0.5271867612293144, 0.45122963061298993, 0.17543392964022081, 0.30717407736041275, 0.32888112606596115, 0.41451102019268843, 0.23437594530824615, 0.37903780068728521, 0.33813725490196073, 0.24804123711340206, 0.51819225057378149, 0.34188846641318132, 0.33757383007723762, 0.14897689768976899, 0.3898521505376345, 0.42754242862781211, 0.26273475688191406, 0.36953907815631259, 0.41806387225548908, 0.25692058346839541, 0.33846880907372401, 9.7276264591439695e-05, 0.29937293729372938, 0.49398651521593878, 0.32757517594369806, 0.64647798949836521, 0.29889520202020198, 0.025840952216663791, 0.48103042967219545, 0.33307086614173226, 0.19501718213058419, 0.20162085976039465, 0.0, 0.37263212977498694, 0.39865078528512704, 0.0, 0.085525400139178837, 0.44304319439194534, 0.080645161290322578, 0.27424877707896578, 0.30777552400270458, 0.22793077907211634, 0.39516827839589613, 0.17333018963252383, 0.34067499089192854, 0.052018633540372672, 0.34183673469387754, 0.35859893758300132, 0.46311300639658853, 0.058174097664543525, 0.023188301913841303, 0.27539840637450191, 0.29026580459770118, 0.24109579694323147, 0.24260013577732517, 0.25429375424523726, 0.2167013888888889, 0.35235357527847644, 0.085624816518250324, 0.38810879190385827, 0.36368421052631578, 0.34673606042334426, 0.32983711747285288, 0.51773800359250699, 0.29259999999999997, 0.25634575806082782, 0.38775510204081637, 0.25493464052287579, 0.43436777491940476, 0.32495735467786385, 0.88355640535372826, 0.12350661930900872, 0.17221141374837873, 0.3333985649054142, 0.28434048083170893, 0.41339662447257386, 0.30140247879973903, 0.36444879321591644, 0.33539215686274509, 0.45088408644400779, 0.065384211079575316, 0.28270963270963273, 0.22031914893617022, 0.42271603265472035, 0.18668095847308186, 0.071288153129849971, 0.12020858729513748, 0.0, 0.23582867528548404, 0.4443642611683849, 0.19936793080505655, 0.21934404283801875, 0.18650857752075728, 0.0, 0.12268550267453024, 0.10140449438202248, 0.0, 0.15953063713372226, 0.21847016200697242, 0.19212418300653597, 3.2372936225315638e-05, 0.034513775527201251, 0.11626153459480809, 0.3054354944335298, 0.12434829710880899, 0.31174968071519793, 0.22755905511811023, 0.067728944142882164, 0.10060120240480962, 0.28314067464341242, 0.28753493943830694, 0.28036303630363041, 0.27107722734377487, 0.32251902111261155, 0.22902187902187901, 0.0, 0.19045781441852308, 0.44881863224240798, 0.0, 0.26603122328129453, 0.33745210727969344, 0.30745614035087721, 0.26854022911502645, 0.40393948044533262, 0.12386363636363637, 0.17381206452827819, 0.41849196215172052, 0.42295510878545856, 0.24449152542372882, 0.24402250351617441, 0.34807907209741434, 0.34536855838225705, 0.35074906367041192, 0.27548799071184965, 0.0, 0.30571895424836598, 0.37667971298108283, 0.38896255850234007, 0.2813857677902622, 0.29633526214273193, 0.37843191770348228, 0.41255651813757638, 0.46106529209621994, 0.26011155272035003, 0.34279646017699111, 0.17367697594501719, 0.30290893760539633, 0.30037542542366935, 0.36674074074074076, 0.2259395825581002, 0.5040989159891599, 0.29622314622314622, 0.22622710622710626, 0.37740037740037741, 0.41329787234042559, 0.24583587061647025, 0.19972677595628416, 0.0, 0.2943412014922771, 0.16379647749510762, 0.39830567321713772, 0.3011950904392765, 0.25955204216073779, 0.021854214741414416, 0.21827956989247313, 0.24342465753424658, 0.38921582529778781, 0.25120000000000003, 0.19451097804391218, 0.25870909599428199, 0.26099021963518226, 0.29004005500089675, 0.21143714571523839, 0.10645161290322581, 0.39134266966996378, 0.28968964236263556, 0.2313131313131313, 0.37607810667218655, 0.078066666666666673, 0.0, 0.29747911316864989, 0.35289148797920727, 0.30714285714285716, 0.067342290298088664, 0.14688384241456867, 0.35814719742538592, 0.25284872298624755, 0.66682470583164521, 0.066801619433198386, 0.27817269143954448, 0.40216852540272613, 0.26150641671705971, 0.19510796221322535, 0.17220345345345348, 0.29681851048445412, 0.23766483423830564, 0.1144620811287478, 0.22186451591040024, 0.44418944987693748, 0.38305107572135622, 0.0, 0.27993197278911564, 0.64511547486723475, 0.44047619047619047, 0.286825117370892, 0.37763604188172839, 0.46207280710377141, 0.34929435483870969, 0.29335937499999998, 0.32306930693069313, 0.2017412935323383, 0.28704440026507627, 0.26778707336936397, 0.34808359997276878, 0.27940320232896648, 0.063841949197956493, 0.27169625246548318, 0.33021168321730215, 0.069648093841642236, 0.30022842726125942, 0.3853435946332493, 0.47370062370062382, 0.38004201680672267, 0.28610986120245063, 0.28558743169398909, 0.21400020854332488, 0.34264112903225796, 0.39903573454339197, 0.03980716253443526, 0.37140372005887867, 0.073515981735159816, 0.41551330287557109, 0.3428128045039518, 0.29343757246496838, 0.28483685220729371, 0.28432580424366871, 0.21311827956989246, 0.11753197347922177, 0.30986467236467236, 0.043005688199702914, 0.24503782488203135, 0.25773699452217302, 0.10575025518883975, 0.25943780554046714, 0.28926078955591822, 0.20924728315221014, 0.36870092790863668, 0.21773413139314002, 0.069817927170868349, 0.21890756302521011, 0.26547183850409239, 0.29262472885032537, 0.16699633699633701, 0.34170081967213117, 0.10596458189982978, 0.22151864035087721, 0.27578068264342775, 0.2417735042735043, 0.19487179487179487, 0.33533678756476687, 0.24090909090909091, 0.25318663625385751, 0.34025621118012422, 0.31295546558704451, 0.23352736541177282, 0.051721611721611722, 0.27622036262203625, 0.2862574687669745, 0.38599033816425127, 0.0, 0.012545772966088203, 0.23717171717171714, 0.28231079577072898, 0.10484519853069793, 0.0, 0.33944549464398238, 0.28540908635711187, 0.2815082285952365, 0.26988235294117646, 0.20396610404945476, 0.19244897959183674, 0.015327257663628831, 0.14896440129449837, 0.20626721763085401, 0.31972508591065291, 0.32741046831955922, 0.34467948717948721, 0.24150758688203625, 0.38778705636743216, 0.17590759075907592, 0.42249001244351297, 0.078483606557377045, 0.34787439139953596, 0.38336620644312946, 0.25164041994750658, 6.3810101139010308e-05, 0.23944444444444446, 0.42270376255028563, 0.33509803921568621, 0.0, 0.22168284789644011, 0.29246559519487808, 0.18930693069306931, 0.30237623762376242, 0.22318989071038253, 0.38387681159420289, 0.50670883649607046, 0.28235294117647058, 0.45124183006535945, 0.37561120655477737, 0.24542879217100183, 0.38921568627450981, 0.42828819141071306, 0.41832991536928454, 0.2314542046063203, 0.32482897650285869, 0.40736507936507937, 0.34279191128506192, 0.32274372941061352, 0.1278, 0.51638555225379812, 0.14554655870445343, 0.0, 0.21101364522417154, 0.28049320480942813, 0.24579923166861534, 0.0, 0.18584782775266265, 0.31355595309083684, 0.0, 0.4148129955792576, 0.20188015690518057, 0.28518518518518521, 0.3451937471712565, 0.36691698664582556, 0.40784898161947347, 0.38572834645669296, 0.22041302621127881, 0.2460991363669352, 0.33735059760956176, 0.36982180050914143, 0.3096288515406162, 0.31150627615062765, 0.24443352979698754, 0.06930527722110888, 0.029306549257017062, 0.40463292943692086, 0.32099867724867726, 0.29510582010582015, 0.14764492753623187, 0.27875243664717353, 0.2151979565772669, 0.23738840486178336, 0.32729372937293727, 0.3104752970606629, 0.48055138528729363, 0.50512048192771086, 0.61840105877162888, 0.094608614169539168, 0.24474676282576627, 0.53906979847858016, 0.37003267973856208, 0.22024062278839351, 0.36771043771043777, 0.35915789473684212, 0.40644176758985678, 0.34158040027605246, 0.25853413654618473, 0.42078431372549019, 0.41480657943498955, 0.55364583333333328, 0.43835814424049718, 0.37740514905149047, 0.28264718189718996, 0.30300970873786409, 0.44383074935400513, 0.33403324584426947, 0.47438867438867433, 0.40744215134459039, 0.42180746561886051, 0.31589225589225589, 0.43037323037323039, 0.44477350743757155, 0.50175264550264553, 0.078659286592865918, 0.23405947441217151, 0.26176861161549092, 0.26843800322061195, 0.38736017897091729, 0.2209428129829985, 0.30988745980707399, 0.19691119691119691, 0.33816939890710385, 0.2645052083333333, 0.0, 0.07497395833333334, 0.16397279510972823, 0.41428150765606597, 0.38752688172043009, 0.18912935323383079, 0.24783625730994152, 0.30051279192910096, 0.049224509208127459, 0.20769478948217454, 0.0, 0.26589085072231139, 0.53490956072351425, 0.33193180949468704, 0.34265132781421359, 0.42050489438433797, 0.45931372549019617, 0.14170863418481891, 0.37048717948717946, 0.25658121014895363, 0.011558307533539732, 0.34666666666666662, 0.26437960042060987, 0.33192169194096466, 0.22992719708788351, 0.46101954974736115, 0.30451355116847612, 0.27622276538148172, 0.0, 0.33842953718148727, 0.0, 0.35670892762810352, 0.25084699453551917, 0.36308043421014125, 0.16885884147945496, 0.35681942171303876, 0.25003338051112234, 0.049612403100775193, 0.32786625465494018, 0.17352649760329913, 0.32730150932066931, 0.25897561240562705, 0.27976786071642989, 0.38005464480874318, 0.074459876543209874, 0.17520640480360272, 0.30995970063327571, 0.39540318438623523, 0.33167938931297714, 0.21159553229374631, 0.071340117374683681, 0.34343198338525444, 0.25107755699531026, 0.32297520661157031, 0.14455469802768592, 0.081037277147487846, 0.25796984383414112, 0.35836038961038963, 0.40199743498785717, 0.44545454545454544, 0.027504305580546486, 0.13828054298642534, 0.27861241523213359, 0.3029628451794138, 0.21799849024048315, 0.0, 0.38594286671693057, 0.25287516359889728, 0.23989467492086611, 0.36265784057406691, 0.25486552062361262, 0.2869876133316307, 0.27342774974225409, 0.06585191610960861, 0.10834765792866351, 0.25498938428874734, 0.38883597883597887, 0.21196921443736733, 0.0, 0.3980158730158731, 0.28134977430364422, 0.23256270554164826, 0.091152886198290067, 0.43367293625914316, 0.2347641759406465, 0.24470694896272197, 0.29784772666128601, 0.0, 0.29957437808972426, 0.33191637258047268, 0.16366301629731828, 0.26208608809663292, 0.14908081682538066, 0.27160622844602361, 0.060479719991764463, 0.27839607201309324, 0.24666114790286975, 0.28909225822409096, 0.3001992186489354, 0.24267184148707999, 0.40829467939972713, 0.37320441988950281, 0.050294275013376133, 0.25675813008130083, 0.27799027375553248, 0.30580879720164156, 0.27856082119688408, 0.056640826873385008, 0.035954873792711631, 0.098883145405361972, 0.34543955902428969, 0.31136776537762784, 0.34762665044729979, 0.31000276250031389, 0.2341265662840897, 0.2595019330220415, 0.34629629629629632, 0.35317398323178673, 0.26718875100080064, 0.35741652983032296, 0.33633198648064849, 0.39817905918057656, 0.21871212955822408, 0.18208675004831718, 0.25151265126512651, 0.17531762269202597, 0.32027027027027022, 0.33350331463539012, 0.13604645107535282, 0.21635213323960417, 0.31090111726010233, 0.78067312322756699, 0.41493841456995473, 0.051310926310926312, 0.044968516098372338, 0.30615046677649638, 0.38852637302882004, 0.41529609584362359, 0.41552832462836481, 0.32843459222769561, 0.3211539540887916, 0.024452674000653523, 0.22327078633137071, 0.083817985998922984, 0.041783675358740932, 0.026577331099944167, 0.099767981438515091, 0.17764705882352938, 0.26799152093269746, 0.047808535178777395, 0.14787472035794186, 0.054149825591052546, 0.54957163714498225, 0.28853139595225735, 0.4154742547425474, 0.34695999999999999, 0.2531655844155844, 0.0, 0.26437400771149921, 0.0, 0.51755036812967292, 0.11515259048970902, 0.23498914223669926, 0.32158070310495251, 0.32576573590742125, 0.33440860215053764, 0.2925902301599958, 0.33261778330132191, 0.29002535234304716, 0.032612000110549155, 0.34089611872146119, 0.33319870759289177, 0.21007000538502962, 0.029317504110581611, 0.091357027463651042, 0.32620139685187116, 0.051181102362204724, 0.15259778166958549, 0.30587735147199491, 0.31496465148786323, 0.028624268521585512, 0.32888509392534765, 0.34284415715584288, 0.27259189807793072, 0.025364583333333333, 0.35885878061490362, 0.06841958820255982, 0.37380084296537641, 0.33857116269176563, 0.2056602230280557, 0.26993979434173365, 0.13100039026928581, 0.38450560652395516, 0.35587179487179493, 0.27576541612764122, 0.35752351097178681, 0.35107353730542123, 0.39046161693445541, 0.27387096774193553, 0.099103876133411095, 0.015163297045101089, 0.22939324177714271, 0.30110460295808927, 0.21669656409548779, 0.32006944638906781, 0.02276707530647986, 0.21697483924330963, 0.38642895008509803, 0.073120859347310455, 0.23596441721088984, 0.068633935385398109, 0.37172151898734179, 0.27904901857877612, 0.28697885361455666, 0.36280839895013123, 0.25888, 0.1055111821086262, 0.46089931573802545, 0.076065206371228086, 0.28834933675204727, 0.015883016985639653, 0.34232597895186712, 0.36617486338797817, 0.015772357723577237, 0.36328940142778693, 0.32079390115667716, 0.13546622603344635, 0.31627516778523496, 0.27992123889095843, 0.47351513070773454, 0.3387815351583468, 0.11684924360980699, 0.28251231527093595, 0.37497626217411362, 0.36250000000000004, 0.22546296296296298, 0.39519579632178159, 0.28025682182985556, 0.39251768346595933, 0.32149870801033592, 0.32250803858520899, 0.057626178591236824, 0.18718905472636818, 0.3142110762800418, 0.0, 0.32646750524109008, 0.29635584137191856, 0.33418079096045195, 0.15308449974079835, 0.3416929547844374, 0.35739898314155738, 0.32081939799331105, 0.32750527426160336, 0.22785388127853881, 0.25442834138486314, 0.17484076433121024, 0.02452047693105236, 0.42117459254872686, 0.22513982102908281, 0.33574597892401548, 0.0078453524132304029, 0.30226480836236935, 0.089473684210526316, 0.31136120042872456, 0.32448717948717948, 0.26666666666666672, 0.3165587918015102, 0.31671810559091024, 0.28599621519329554, 0.055153121319199055, 0.36115861198074234, 0.054865611525651288, 0.30379312878027287, 0.30813492063492065, 0.33703703703703702, 0.38751003015965241, 0.21514538289487695, 0.29106311102011567, 0.26842986090153365, 0.31199609088688007, 0.30701004227038386, 0.20358555885262117, 0.36897715472481829, 0.26525797777890514, 0.24410892423833916, 0.32077915070414936, 0.3909815544876406, 0.37837487019730015, 0.23323247604639438, 0.021376811594202898, 0.32800735531645253, 0.28440469224553483, 0.29556511712927808, 0.37075371549893849, 0.34092436974789914, 0.20144866973116035, 0.037353370452456888, 0.032863849765258218, 0.75135679950379908, 0.20657421674370829, 0.36194029850746273, 0.0, 0.089984101748807624, 0.29452380952380952, 0.16779350104821802, 0.17591036414565828, 0.37721688034188033, 0.14847328244274813, 0.27556012675821429, 0.095146173579538237, 0.26132768361581921, 0.060498523733817852, 0.039847991313789355, 0.0, 0.075027455602282161, 0.26390866492349907, 0.36622037466933, 0.32268881551795298, 0.20885384134915674, 0.12457824316463059, 0.064413722478238608, 0.18509432366128079, 0.19425791031185977, 0.10821777092963533, 0.0, 0.07226245393397418, 0.0, 0.19112151860893828, 0.035328082660115986, 0.062605752961082908, 0.045124205515180676, 0.080677346045119447, 0.22285928625013396, 0.23566452304394425, 0.16967171717171717, 0.0, 0.23081554460864803, 0.30633284241531666, 0.21139359698681731, 0.21375520650373867, 0.0071525465532124802, 0.0, 0.0, 0.18054670912951165, 0.097499374843710934, 0.078374870197300106, 0.23529258166436018, 0.0, 0.20262615859938207, 0.22047160552770484, 0.34167552150327163, 0.26514367587359705, 0.29625628838616092, 0.013018372703412074, 0.0, 0.19260264112289252, 0.0, 0.34472216262604588, 0.45052659294365455, 0.32429333333333332, 0.38428874734607227, 0.37336000000000008, 0.82020401623584704, 0.37053291536050148, 0.29036624203821648, 0.26817891033159186, 0.33243142872300918, 0.27340707275276527, 0.37032264584754543, 0.34651041666666665, 0.2216478614536867, 0.35856060606060602, 0.27133858267716537, 0.24461805555555555, 0.32490204962818836, 0.39378306878306885, 0.47916451245993175, 0.30928961748633882, 0.3385866666666667, 0.48329474032418129, 0.3955466666666666, 0.31086720867208673, 0.10353689567430026, 0.37457428693060874, 0.36757333333333336, 0.42596774193548387, 0.31991525423728812, 0.0, 0.30555555555555558, 0.33861918790828749, 0.38348402044979468, 0.37682083997873472, 0.10148752399232246, 0.28116291532690246, 0.022026666666666667, 0.32371273712737125, 0.34310716208939152, 0.058777170458878855, 0.36210666666666669, 0.18776332661659648, 0.040586666666666667, 0.39052576782925563, 0.4637726098191215, 0.38703412073490812, 0.59796747967479669, 0.4800042771599658, 0.0, 0.21186983195518805, 0.040973490645209061, 0.17210666666666669, 0.40997311827956995, 0.31619791666666669, 0.58091693282699997, 0.31071437390423984, 0.6193268676540612, 0.40315388798259921, 0.43619711042311665, 0.46057087566521526, 0.52705023096084536, 0.53913486005089062, 0.31875621890547262, 0.35136927422325931, 0.33678641184760305, 0.46602559210358951, 0.36505493912151393, 0.32014767932489452, 0.33792216835846484, 0.5822415933912779, 0.56042976939203371, 0.39255715045188727, 0.4647560242609694, 0.35909975669099758, 0.50435778674236764, 0.26983333333333337, 0.21803030303030302, 0.24577777777777776, 0.34342205323193914, 0.35841170323928939, 0.36712072649572647, 0.53088383838383835, 0.4482943519558778, 0.47776923076923072, 0.25227490421455934, 0.25581148216041022, 0.062708333333333338, 0.083827741407528633, 0.15982095839915744, 0.095693536489202036, 0.31455969746083196, 0.37373247033441209, 0.10721868365180466, 0.37388344226579528, 0.36434599156118147, 0.31308710503842874, 0.3311626746506986, 0.23819927712143282, 0.032407407407407406, 0.22309081527347782, 0.41728182965130328, 0.30596175478065241, 0.45822021116138761, 0.070683632734530932, 0.13623854436636651, 0.089978902953586501, 0.41065022719421784, 0.3320884146341464, 0.01030439121756487, 0.35566362493852793, 0.23992281870324847, 0.22724749544024744, 0.072663425175580762, 0.38489396071074983, 0.41396103896103897, 0.28127289856589555, 0.14255907491201608, 0.42702556472338699, 0.24136557185188875, 0.47010582010582003, 0.36173748529938138, 0.27549947423764459, 0.39079831703185619, 0.3872499868066917, 0.38524371362981152, 0.44828598693386185, 0.0, 0.28421052631578947, 0.0, 0.31496168121979223, 0.45103494040478803, 0.37759269640426041, 0.36761037825606213, 0.32784192713517818, 0.2304112554112554, 0.51881289007769715, 0.55148148148148157, 0.47015319598520866, 0.3632950741272119, 0.48256578947368423, 0.42189092762487257, 0.23427083333333334, 0.37371995820271681, 0.39284336951132176, 0.36281221586350754, 0.59280717680354567, 0.3404661727885186, 0.39733542319749215, 0.37532573289902282, 0.43960685349980083, 0.52358766838826476, 0.37867521158456041, 0.46983771378613193, 0.32815598149372116, 0.33444444444444443, 0.2500399936010238, 0.19217529096770669, 0.3138626834381551, 0.20948058497226424, 0.22578567748583203, 0.42990977563676042, 0.33986192405823196, 0.3063191153238547, 0.092872807017543857, 0.55095349980875352, 0.66790944691808374, 0.33545531542854018, 0.3813677975228863, 0.29496830427892234, 0.76067251461988272, 0.19327868852459015, 0.33149300155520994, 0.33343701399688963, 0.41522058823529417, 0.17994249957720276, 0.31992570973733087, 0.22704352441613584, 0.47432432432432425, 0.3615740740740741, 0.19366022783556214, 0.0, 0.39567430025445294, 0.41587677725118477, 0.38534439877477289, 0.17418964683115629, 0.5113211590200234, 0.49628626150324656, 0.26690831205206361, 0.1078048780487805, 0.34345682490491614, 0.34537549816262098, 0.33382804770088009, 0.037816634191364988, 0.41347962382445136, 2.714440825190011e-05, 0.0, 0.45404580152671753, 0.44542042042042046, 0.21149051490514903, 0.10387658227848101, 0.17602097130242828, 0.33176593521421105, 0.0, 0.48058080808080805, 0.13427030096536058, 0.25404150953347926, 0.48095507281488059, 0.44626004016064263, 0.30018115942028983, 0.24087423312883435, 0.0, 0.35258620689655168, 0.3677996886351842, 0.35567487502314388, 0.38715475089203127, 0.28365119031961067, 0.31485225505443226, 0.11055642225689027, 0.28850574712643673, 0.25854299178533724, 0.37594666666666665, 0.31544529262086518, 0.52549453249784972, 0.45750286368843068, 0.46281323877068559, 0.39066973415132927, 0.50075221348065213, 0.33473865877712033, 0.3893939797904391, 0.54461631480828332, 0.38558700209643609, 0.25407801418439713, 0.36091066733792021, 0.42198879551820728, 0.34651162790697676, 0.525099334042196, 0.04236220472440945, 0.25672, 0.31789446185997916, 0.04482960176878701, 0.0, 0.0, 0.37175853018372701, 0.36502020891291798, 0.31893819334389856, 0.051395117090184357, 0.30634803921568626, 0.3286526491202274, 0.42291666666666666, 0.33508280849078603, 0.030659237208355596, 0.39254843517138599, 0.35031461443277256, 0.16493197278911564, 0.27048902736385799, 0.27131350681536559, 0.30532608695652175, 0.28166666666666662, 0.16545384909996169, 0.22700286123032903, 0.32561717090323061, 0.3175675675675676, 0.37443718228031952, 0.32824780397595932, 0.054460580912863071, 0.1574724517906336, 0.40843537414965991, 0.21432919187940849, 0.32911301859799713, 0.15967417606761869, 0.27572314049586777, 0.65170284966678937, 0.20149769585253458, 0.27362006055430477, 0.18439943141435677, 0.29954751131221719, 0.28598848368522073, 0.24560669456066947, 0.29634057971014488, 0.0, 0.14133611691022965, 0.33902522154055892, 0.21322985957132301, 0.0, 0.29211344211344215, 0.15086923658352228, 0.0, 0.098567435359888197, 0.20229885057471261, 0.28301620859760396, 0.19910179640718564, 0.42078609221466368, 0.25898550724637681, 0.13554307116104869, 0.25934684684684683, 0.2030398322851153, 0.36701388888888892, 0.25490591397849466, 0.033781763826606873, 0.31922756421868775, 0.11061855670103093, 0.25715024757963195, 0.11935647756138866, 0.077366255144032919, 0.28606294155427103, 0.29839533187454403, 0.41684665226781864, 0.24959259259259262, 0.50745453925147554, 0.25573549257759787, 0.064203555245730223, 0.0, 0.087975951903807623, 0.39779930630307386, 0.39758503401360551, 0.33387978142076502, 0.2824652777777778, 0.095820745216515624, 0.17137037037037034, 0.37359832959554556, 0.29427402862985691, 0.21461075329039489, 0.0, 0.29347826086956519, 0.036768707482993199, 0.31764069264069261, 0.19237995824634654, 0.23284722222222223, 0.14123748211731044, 0.29662239089184061, 0.3197095435684647, 0.38376623376623376, 0.37438044778670315, 0.11393270241850682, 0.02104208416833667, 0.25148051232612589, 0.32437037037037031, 0.24934164934164935, 0.0, 0.0, 0.079737206085753798, 0.028650137741046831, 0.092937814668662397, 0.18341269841269842, 0.045164835164835167, 0.25973419540229886, 0.097961165048543686, 0.25522539826008361, 0.2468869731800766, 0.21875, 0.11269076305220883, 0.30895833333333333, 0.26964679911699779, 0.3240976645435244, 0.010711909514304724, 0.25857519788918204, 0.1102020202020202, 0.35666879148074543, 0.12783211083944579, 0.29557755775577566, 0.07010276172125883, 0.16444912090150024, 0.20234593837535014, 0.0097336065573770496, 0.35191082802547768, 0.35017433751743376, 0.19712084347120845, 0.30101010101010101, 0.27267481330617788, 0.32128042289196423, 0.1038921342208939, 0.39038059389376834, 0.51565882034632038, 0.17550328146891825, 0.1664133481946837, 0.40251238499646141, 0.21717791411042947, 0.16740850642927793, 0.15481029810298103, 0.29696969696969694, 0.43690476190476191, 0.36344670000331158, 3.5236081747709655e-05, 0.18047619047619046, 0.30363036303630359, 0.22648448043184885, 0.26086812458581837, 0.0, 0.22119062798852404, 0.16451851851851851, 0.093682600682326186, 0.5044362292051755, 0.0, 0.34178434955972753, 0.5138309840513533, 0.53333333333333321, 0.39483129935391242, 0.15602693602693601, 0.41792005420054201, 0.37603898921787898, 0.42681426814268142, 0.29037864680322784, 0.31368588124954916, 0.26746212121212121, 0.42055555555555546, 0.26238095238095238, 0.38046875000000008, 0.45127175368139222, 0.39858585858585865, 0.27558845861807135, 0.34540809642342463, 0.45758954168418642, 0.41429428628575232, 0.43835087719298249, 0.34429920116194629, 0.42790927021696251, 0.098649201801064276, 0.19776219104876422, 0.41434727228380175, 0.21493917274939173, 0.2703371379560599, 0.15496128218980731, 0.44788228053488505, 0.34827467218771568, 0.16232782369146004, 0.23217787114845939, 0.067331768388106422, 0.25293056807935071, 0.2428347743209204, 0.082203389830508483, 0.22906336088154267, 0.018043087971274685, 0.23073458073458072, 0.17958333333333332, 0.24177244270863246, 0.14208160442600276, 0.016666666666666666, 0.062115820122937558, 0.23858214042263123, 0.34397735128551205, 0.18953568953568956, 2.6041666666666668e-05, 0.20609523809523811, 0.31382398753894081, 0.19146981627296586, 0.0, 0.0, 0.42940839758914434, 0.25499181669394433, 0.38138888888888889, 0.31652684563758388, 0.0069128824046136806, 0.022471595679185091, 0.20669326241134753, 0.40545482248971504, 0.22020000000000001, 0.3669684775318578, 0.19675231977159172, 0.14461228600201409, 0.0, 0.30247748490746545, 0.28039977790116599, 0.22358757062146889, 0.11679790026246718, 0.16949293433083956, 0.30505494505494501, 0.11354021748388747, 0.23598415600243755, 0.16363510854933905, 0.30127591706539075, 0.27366757156111471, 0.38884462151394422, 0.24683673469387754, 0.30319516407599306, 0.27337370713119219, 0.38720760233918133, 0.19623756218905472, 0.18420652999240697, 0.22377389858686617, 0.32814035087719301, 0.19671507607192254, 0.31914373088685016, 0.33543823188521638, 0.28838174273858919, 0.58981697672667022, 3.687315634218289e-05, 0.31071729957805905, 0.07385998715478484, 0.320125786163522, 0.18283333333333335, 0.26834112149532707, 0.36259649122807025, 0.27549085985104943, 0.25556715379262351, 0.0035014477139586561, 0.20528735632183912, 0.093993055555555552, 0.29701823138524447, 0.25137037037037041, 0.2588297872340426, 0.026962809917355373, 0.27931511004752435, 0.0064049586776859504, 0.27780541539336223, 0.17593939393939395, 0.0083501683501683507, 0.18169164882226982, 0.1220794781335286, 0.11131944444444444, 0.18945981554677208, 0.26281786941580759, 0.0, 0.04027777777777778, 0.15806906272022553, 0.12418300653594772, 0.19799846035411853, 0.27777777777777779, 0.0, 0.44289164941338849, 0.25883785664578979, 0.14388661202185793, 0.19112021857923497, 0.19278711484593836, 0.065460992907801413, 0.27168758716875874, 0.23261044176706824, 0.23753472222222222, 0.095404970498837852, 0.27967479674796752, 0.2055902777777778, 0.0030621618862917217, 0.0, 0.18218749999999997, 0.10738795518207284, 0.17174066243833686, 0.0, 0.22620502376103188, 0.0, 0.19398521505376343, 0.34093444909344489, 0.21444631815626755, 0.0, 0.12720000000000001, 0.13942813942813942, 0.23231913455037187, 0.28297872340425528, 0.0, 0.27581204444129931, 3.4722222222222222e-05, 0.0, 0.22333997343957504, 0.0, 0.29059742023082147, 0.19913013221990256, 0.257766323024055, 0.28245716444047658, 0.0, 0.13681630546955625, 0.17824134219219778, 3.3467202141900939e-05, 0.233433734939759, 0.038787262872628729, 0.20230777155808921, 0.021314991998365625, 0.037653061224489796, 0.93438607235029092, 0.28590263691683571, 0.27564102564102561, 0.26056666666666667, 0.21907181571815718, 0.043340234644582469, 0.34806057964698195, 0.37740536001679376, 0.19507422402159247, 0.18705206220419204, 0.24752440725244074, 0.0, 0.19871794871794873, 0.16774193548387098, 0.20233333333333334, 0.0, 0.17144781144781146, 0.4143727598566308, 0.29648109243697474, 0.33285953177257521, 0.23131782945736434, 0.16040404040404041, 0.3282580222658808, 0.0, 0.34943502824858758, 0.46290436005625873, 0.23004855364836216, 0.52088394062078269, 0.36995305164319248, 0.056722330362326268, 0.055586232284189213, 0.044562856367092042, 0.48127957210450528, 0.0, 0.24893303899926419, 0.33721264367816101, 0.20151202749140895, 0.0, 0.0, 0.47826961770623738, 0.33020419350417979, 0.32539682539682541, 0.48342592251940697, 0.38479344729344728, 0.38542999289267943, 0.44266666666666665, 0.3984620886981402, 0.42535807291666672, 0.33207119741100322, 0.42491264849755417, 0.14959349593495935, 0.28615023474178403, 0.50196288365453245, 0.15124579124579127, 0.028592268417213712, 0.2941830065359477, 0.0, 0.36248241912798879, 0.33574554602157208, 0.0, 0.28892310782311786, 0.19284525790349416, 0.0, 0.0, 3.9308176100628929e-05, 0.1883058984910837, 0.52737798939508707, 0.2345819144911086, 0.12255927475592748, 0.0076923076923076927, 0.0284037558685446, 0.32816849816849814, 0.2279931972789116, 0.0, 0.095266437924515099, 0.16630648330058939, 0.26604938271604933, 0.40276806526806525, 0.18014035087719299, 0.164608471037826, 0.24440993788819876, 0.17919254658385095, 0.14636963696369637, 0.16432648401826483, 0.043236714975845414, 0.11876550013777901, 0.25603333333333333, 0.1845653661875428, 0.30468127490039837, 0.25539752005835153, 0.011854216908393058, 0.12447811447811448, 0.30925155925155928, 0.22663194444444443, 0.15061224489795916, 0.12959830866807612, 0.21493464052287581, 0.30784650630011445, 0.35336525671721203, 0.0, 0.11679611650485436, 0.019919517102615695, 0.29920684963329242, 0.27101256254274503, 0.17468396540252826, 0.42714378927847796, 0.0, 0.31316498316498315, 0.2662646198830409, 0.33936381709741548, 0.5630355846042121, 0.37456880357935723, 0.41569134458356016, 0.27680304750741735, 0.28999264164827077, 0.39321298577153574, 0.32173766058147396, 0.0, 0.5084449404761906, 0.14572649572649571, 0.28168316831683166, 0.2885017421602788, 0.2951456310679611, 0.19288231148696264, 0.26638888888888895, 0.45037068268859143, 0.44116161616161614, 0.63716814159292023, 0.0, 0.0, 0.41785763364023643, 0.23687285223367699, 0.47414163090128758, 0.23789617486338796, 0.025307377049180329, 0.16417208966015906, 0.27560483870967745, 0.24580877537655538, 0.20835044490075294, 0.28031189083820662, 0.31173222912353349, 0.21103603603603605, 0.3226408689748812, 0.19178172255095333, 0.2190034364261168, 0.0, 0.27641025641025641, 0.35438775510204074, 0.29844985370105215, 0.23282387190684134, 0.34714945593204577, 0.37009222661396579, 0.26232827187274038, 0.39529489728296885, 0.15737116764514025, 0.31931216931216932, 0.40928853754940714, 0.31519934961552792, 0.17080867850098619, 0.1423228346456693, 0.042367906066536204, 0.40255023183925809, 0.41696481812760877, 0.2360564304461942, 0.0, 0.41739130434782612, 0.15467196819085488, 0.25003436426116837, 0.25889341479972844, 0.0, 0.32920120296339767, 0.22282463186077645, 0.51712689020381331, 0.15454545454545454, 0.0, 0.33263473053892217, 0.39384879725085914, 0.2103989862140471, 0.1914342629482072, 0.20061099796334012, 0.18419827012641382, 0.17582644628099175, 0.23343454790823209, 0.19100418410041842, 0.14425176621708413, 0.16893714127653689, 0.82864238410596025, 0.1223419540229885, 0.4521505376344086, 3.3017466239640773e-05, 0.32094683946046021, 0.37035234572707804, 0.074735729386892186, 0.25828070175438594, 0.19566840926064227, 0.074845995893223827, 0.29130284130284134, 0.32346491228070173, 0.20865168539325843, 0.35033291344250495, 0.60709413369713516, 0.15312280701754385, 0.065038419319429205, 0.0, 0.35410933432502789, 0.42457873972198662, 0.17538841807909603, 0.33232848232848233, 0.38692307692307693, 0.28428960404159698, 0.049237322642277696, 0.32817829457364334, 0.0, 0.12668913051029979, 0.31388329979879281, 0.14355395467507129, 0.12488157781414176, 0.14588957883369333, 0.28041562117995239, 0.0031463204610187455, 0.32321864888067098, 0.41361702127659578, 0.0, 0.0, 0.22423645320197044, 0.32014336917562719, 0.10760719225449515, 0.28969068804797754, 0.15602693602693601, 0.34134936539746158, 0.13797865662272443, 0.30815806246016569, 0.074603174603174602, 0.1754940711462451, 0.51401433691756282, 0.23765188575035506, 0.23357338820301785, 0.20110635260528195, 0.23761904761904765, 0.30122549019607842, 0.30867924528301882, 0.2837719298245614, 0.18624561403508771, 0.21526326434301898, 0.34976232917409383, 0.0, 0.27368247694334652, 0.085089234312032233, 0.0, 0.089180107526881727, 0.25572493452420925, 0.28155216284987272, 0.2493362831858407, 0.32251037344398342, 0.41841319717203451, 0.24109155758942091, 0.27372400756143667, 0.26169590643274854, 0.30007396189201557, 0.31901881720430103, 0.33847425941903936, 0.27276648182378316, 0.24033264033264035, 0.34359903381642509, 0.18777777777777777, 0.14189003436426117, 0.27694206330676091, 0.3211224489795918, 0.45516917293233078, 0.31457407891298667, 0.4666288737717309, 0.4670333333333333, 0.33596850910283749, 0.20897004077291259, 0.22487289792725851, 0.4241192411924119, 0.52262626262626266, 0.36425309849967386, 0.28999999999999998, 0.27427230046948359, 0.21001187849991518, 0.30197740112994353, 0.066343669250645998, 0.30323691460055091, 0.43340000000000001, 0.24764858915349211, 0.39077635327635324, 0.023264604810996563, 0.18922264700527944, 0.022014051522248241, 0.32162407227054435, 0.53275566891443338, 0.29913419913419914, 0.35877270713336284, 0.31867695262060058, 0.3054, 0.33507092198581562, 0.25, 0.17125000000000001, 0.24600134408602153, 0.14651843962188787, 0.17991251682368775, 0.26079948420373955, 0.26904255319148934, 0.26104377104377102, 0.12414383561643835, 0.22413793103448279, 0.078217200251098559, 0.20275590551181102, 0.43920760889319682, 0.0, 0.044371822803195349, 0.063699633699633704, 0.063198968748911261, 0.43297029702970291, 0.15423611111111113, 0.078871681415929193, 0.0, 0.29445494643982356, 0.070424635573947736, 0.18984635938543754, 0.0, 0.038478949751018558, 0.17034261241970022, 0.36471529110684581, 0.20558002936857564, 0.0, 0.058774464535732374, 0.16503045026456786, 0.33215648854961832, 0.0, 0.052679418273790704, 0.14996878901373284, 0.29958992384299943, 0.0, 0.0, 0.31656271656271662, 0.24151262875687879, 0.2555659045158189, 0.27905811623246496, 0.0, 0.28001912045889099, 0.29845418519526878, 0.28421403567261211, 0.25671938160414154, 0.27104695970217485, 0.30946540880503143, 0.072575465639049458, 0.16370683579985906, 0.28043746149106591, 0.0, 0.37742150968603877, 0.41633663366336632, 0.54498281786941594, 0.40209973753280842, 0.18861622358554872, 0.50668016194331988, 0.40365296803652967, 0.20515789473684212, 0.44850340136054423, 0.56591065292096221, 0.51452045606975183, 0.28312699870183328, 0.2840250329380764, 0.36151761517615172, 0.3494189602446483, 0.0, 0.3595459236326109, 0.0, 0.50781144781144782, 0.45400516795865636, 0.19976988823142666, 0.1972747675537031, 0.34180418041804178, 0.48347193347193351, 0.82656428908196933, 0.39855670103092783, 0.26333333333333336, 0.21932308522114349, 0.21489743589743593, 0.34660531845518439, 0.32410526315789473, 0.27162534435261709, 0.088068181818181823, 0.24787367104440272, 0.43559837728194722, 0.22652536929993575, 0.060678210678210678, 0.053830227743271224, 0.0057755775577557752, 0.37192101740294514, 0.0, 0.31984232300366872, 0.091666666666666674, 0.20519750519750518, 0.032173624917163683, 0.20552287581699347, 0.32072829131652664, 0.37200147167034581, 0.0076359832635983262, 0.25769683080541572, 0.23225371120107963, 0.33191919191919189, 0.36560606060606066, 0.27846717675046617, 0.0, 0.12651227099896301, 0.34536489151873773, 0.34309999999999996, 0.0, 0.22676567656765678, 0.20601851851851855, 0.24411411411411413, 0.11656140350877192, 0.261547894808557, 0.27289999999999998, 0.24492850016627871, 0.26040026246719161, 0.36032388663967607, 0.0, 0.25662613033988152, 0.3060292023971129, 0.24190296156269692, 0.40254522980110125, 0.27053017484489561, 0.0, 0.18506704856138526, 0.0, 0.19709864603481625, 0.33454106280193235, 0.24257036353065897, 0.24108380592312539, 0.26391402714932127, 0.30304726368159202, 0.29110671936758897, 0.20587162654996355, 0.294811320754717, 0.27627659574468089, 0.40382240135214192, 0.31669941060903734, 0.34137695978186783, 0.2189100281479974, 0.198542999289268, 0.30460618846694792, 0.51378348805195717, 0.024124649859943975, 0.19148151871586069, 0.070582329317269071, 0.26086556169429098, 0.18993775933609958, 0.30395424836601309, 0.47666666666666657, 0.22372837172928411, 0.39660087719298248, 0.074036080650866656, 0.22763504611330701, 0.26522366522366519, 0.0043034281546316553, 0.17863247863247864, 0.28019029904135068, 0.23714368725183196, 0.30747807537331123, 0.19167420229944448, 0.30294049853468996, 0.0, 0.34805499664654593, 0.22914937759336096, 0.20295315682281062, 0.069944163610532933, 0.43577777777777776, 0.30503786631544288, 0.31493416493416493, 0.30192057291666663, 0.0, 0.32931492643722859, 0.019805303793219202, 0.24252414079534834, 0.19823232323232323, 0.22434335228811261, 0.0, 0.23960338852522142, 0.10865326020719074, 0.2053322721846399, 0.23977732793522266, 0.38738920904526003, 0.25027777777777777, 0.21198125836680051, 0.064333182561497518, 0.048014322916666664, 0.28058608058608059, 0.24634794156706505, 0.33026918273900374, 0.22189153439153442, 0.0, 0.34435509810228371, 0.25645450780063511, 0.0, 0.31911069063386943, 0.35966235632183918, 0.0, 0.21666666666666667, 0.1872086072922893, 0.27286414565826328, 0.29016913319238902, 0.32308500448042515, 0.28769017980636241, 0.21445705024311185, 0.0, 0.24245867768595042, 0.0, 0.0, 0.31304207119741095, 0.23679497144402015, 0.0, 0.2884562841530055, 0.43518900343642614, 0.26815415821501015, 0.32942743009320902, 0.0, 0.23455204216073783, 0.3267553584626755, 0.37953578470372545, 0.43445273631840797, 0.38062565720294428, 0.22374476987447697, 0.0, 0.27923728813559323, 0.22159172019985723, 0.2512178148921364, 0.082691007437457748, 0.33597650513950073, 0.33121546047188849, 0.19922558922558919, 0.37880870561282931, 0.33320683111954463, 0.32141049968374447, 0.25424231440904149, 0.20914071510957324, 0.34577319587628869, 0.40390237030253934, 0.26590153027278779, 0.31920057102069949, 0.34914089347079041, 0.2888272994976615, 0.26751412429378529, 0.19211209502471638, 0.21802490096208263, 0.029563492063492063, 0.0, 0.24308367071524961, 0.35750877192982461, 0.24331570176074196, 0.2969824561403509, 0.28361344537815125, 0.25399419026870007, 0.3343093093093093, 0.23066932463452938, 0.090423387096774194, 0.16451149425287356, 0.30003465003465002, 0.24770890530141915, 0.27855670103092783, 0.12806086341118189, 0.25166370509738334, 0.2408001571503405, 0.33525932510513184, 0.27414617486338799, 0.21272894374056325, 0.27813333333333329, 0.19933035714285716, 0.23295194508009154, 0.11467661691542289, 0.39937106918238985, 0.18728750923872875, 0.054279749478079335, 0.27829861111111109, 0.092371655820679688, 0.351298245614035, 0.08972346786248131, 0.32059426229508198, 0.25781466113416318, 0.20091664890215308, 0.21556886227544908, 0.25192439862542954, 0.38463364993215737, 0.0035980991174473865, 0.14765233447639145, 0.0, 0.27223966971311625, 0.28305434702455573, 0.26844887929108646, 0.25054199594377224, 0.38828124999999997, 0.25186522262334538, 0.23395424836601306, 0.48441514536849228, 0.31727207977207977, 0.3606761812387419, 0.43744089834515365, 0.50347917585961099, 0.32370748299319735, 0.0073673870333988214, 0.43670175438596492, 0.47112970711297064, 0.33821381142098278, 0.3634669479606189, 0.42436974789915966, 0.41613011401743794, 0.35631101813110183, 0.5551697530864198, 0.13607068607068606, 0.54996296545687162, 0.23941423544102625, 0.31303602058319041, 0.41564160971905845, 0.49298597194388782, 0.30491452991452989, 0.33964072706617437, 0.5040808543096873, 0.32051539491298525, 0.43569819819819822, 0.24245689655172412, 0.029479455763893589, 0.62925685425685429, 0.35401726427622843, 0.3602510460251046, 0.26996527777777773, 0.17432074221338631, 0.18390456989247311, 0.0, 0.30903490759753593, 0.36046726667488593, 0.6049123858020069, 0.0, 0.17288251366120219, 0.23687459389213772, 0.28116760828625231, 0.33803283028858877, 0.17840172786177105, 0.14949494949494949, 0.0400425108848435, 0.32930327868852455, 0.24632034632034633, 0.16338971106412969, 0.24265306122448979, 0.41466666666666668, 0.30749027237354087, 0.15747166138097782, 0.18687865497076026, 0.23326758711374099, 0.26004234724742892, 0.24990458015267178, 0.36537571872315117, 0.36746086323368798, 0.20228070175438598, 0.32880296286228805, 0.40295532646048104, 0.23768248175182483, 0.20182186234817817, 0.31411151605981125, 0.27100749375520394, 0.26001926782273604, 0.19549062049062046, 0.24139088407061826, 0.027746212121212119, 0.073134876883498706, 0.45452428476380574, 0.24726890756302522, 0.087440109514031486, 0.28610050890585242, 0.19640657084188912, 0.21275654334433819, 0.0, 0.24142461964038728, 0.23495276653171393, 0.29623385818807102, 0.26073391769425047, 0.32558770343580468, 0.27694260054666148, 0.31587628865979378, 0.32629198966408274, 0.35132551384343863, 0.0095138888888888894, 0.4060255094560915, 0.31603711066931744, 0.34362745098039216, 0.40560960463672113, 0.33700209643605866, 0.14167393199651263, 0.22302395428906308, 0.22009379509379509, 0.35870901639344266, 0.37537669725391931, 0.3719495569188821, 0.4905716406829993, 0.26848952897794476, 0.43652631578947365, 0.055006720430107528, 0.26993927125506073, 0.21794097920858485, 0.53279569892473111, 0.35452738116754023, 0.32171856245145802, 0.2892409240924092, 0.2783189033189033, 0.21478927203065135, 0.0, 0.34077192982456139, 0.24623337754650884, 0.31011275546159267, 0.18954848361213111, 0.20967847769028872, 0.32148465381870095, 0.19311206281227697, 0.26963040446304043, 0.0, 0.016234701223902089, 0.15753887762001351, 0.27112539284579257, 0.20591997725819061, 0.042414965986394562, 0.24398422090729782, 0.17397849462365592, 0.21590000000000001, 0.1222281951350625, 0.25465408805031448, 0.21186274509803918, 0.0, 0.038086162137294211, 0.28951270139369378, 0.17664439445321156, 0.1141732283464567, 0.20821995464852608, 0.020421052631578947, 0.2759868421052632, 0.23164300202839755, 0.028715728715728715, 0.127266530334015, 0.20350515463917523, 0.42166094435190538, 0.0, 0.29686360320933619, 0.020742396200719351, 0.1293, 0.0, 0.017361111111111112, 0.1956257982120051, 0.21831578947368421, 0.11679973386560213, 0.34790715372907155, 0.0, 0.24312714776632302, 0.0, 0.22282312925170072, 0.0, 0.26290630975143403, 0.26268635822775949, 0.0, 0.30425539210643621, 0.23988095238095236, 0.3410493827160494, 0.23008213552361395, 0.46441846320200042, 0.49817767653758543, 0.22991925201869953, 0.28500000000000003, 0.31298611111111108, 0.29244791666666664, 0.38847222222222222, 0.0, 0.21157407407407411, 0.27266619519094765, 0.3422935999726055, 0.47032748015532111, 0.0, 0.0, 0.32526539278131639, 0.37644032921810699, 0.3565656182418333, 0.0, 0.29033027710555914, 0.18381554815286147, 0.26097804391217561, 0.22268722466960356, 0.060834384975131765, 0.27591442374051067, 0.23994054570548892, 0.31538461538461537, 0.026105263157894736, 0.3305565065236411, 0.0, 0.14834327369118622, 0.24689922480620161, 0.0, 0.0, 0.34568231167529645, 0.28555798687089717, 0.37067840226755683, 0.086627389189559506, 0.31126257708536192, 0.32505070993914809, 0.0, 0.36221608348680168, 0.27567204301075271, 0.38112911283991147, 0.37694672131147544, 0.44621722846441947, 0.255, 0.23662572327682471, 0.22658402203856748, 0.23204384268214051, 0.020149075933426363, 0.31236111111111109, 0.24573252688172043, 0.43286686838124055, 0.23343749999999999, 0.28947550034506558, 0.0, 0.042696267696267699, 0.23502766251728907, 0.34602803738317756, 0.0, 0.022372382886352498, 0.37009433962264149, 0.39579710144927538, 0.28988149498632637, 0.0, 0.37569639058648752, 0.33432671081677712, 0.31807055435565157, 0.36102941176470588, 0.28813440672033597, 0.12644012944983821, 0.17090000000000002, 0.30044642857142856, 0.15030549898167006, 0.096114322414900449, 0.28453389830508474, 0.26721417178538703, 0.38704780361757107, 0.23999316939890711, 0.059022309711286088, 0.32800407331975556, 0.0, 0.39662534435261709, 0.33970588235294114, 0.19563333333333335, 0.29230267449445529, 0.61334598569830889, 0.35652777777777778, 0.029199747533468424, 0.38156862745098041, 0.060449735449735448, 0.22635971750894252, 0.16219162363740677, 0.25367838541666665, 0.25757575757575757, 0.22892063492063491, 0.031514550264550266, 0.12297628781684382, 0.13847270615563298, 0.14303079416531606, 0.29570161741743511, 0.26755725190839696, 0.2093086926762491, 0.34775967413441955, 0.25155279503105588, 0.40643863179074446, 0.34498281786941576, 0.31764967869186234, 0.0, 0.17281393819855359, 0.094735006973500693, 0.23104377104377102, 0.21305774278215223, 0.31216136631330982, 0.17945659377070908, 0.12357388316151202, 0.28877338877338876, 0.17917472598323661, 0.0, 0.17679520829127129, 0.22093333333333334, 0.0, 0.35777777777777781, 0.31448035487959436, 0.06045307443365696, 0.28746819338422391, 0.0, 0.0, 0.0, 0.057845117845117845, 0.35271535580524344, 0.35249662618083671, 0.29512695158492352, 0.3922308069659064, 0.27122736418511062, 0.22589439883675136, 0.40633769078091853, 0.17519841269841271, 0.33797216699801191, 0.26449416342412452, 0.38414457365589666, 0.30091651391434759, 0.51095140314852827, 0.13753674309229866, 0.45705572869541911, 0.30145214521452146, 0.36972386587771205, 0.37675791733762748, 0.2224372029871011, 0.31440027783916902, 0.37019607843137248, 0.050561797752808987, 0.19913258983890955, 0.42817139001349536, 0.4270350564468211, 0.35836568681826581, 0.0, 0.39884615384615391, 0.30252974824875345, 0.33440545808966865, 0.51617647058823524, 0.29342537804076263, 0.29541739638061881, 0.0, 0.24320300591967672, 0.25143678160919541, 0.22238466536712148, 0.31838283828382835, 0.23160621761658029, 0.35330055672041061, 0.043157564344005021, 0.38829644533869884, 0.1511185682326622, 0.03875, 0.1157030266905093, 0.17006734006734006, 0.25349462365591396, 0.21426218708827405, 0.28826530612244899, 0.35950064850843061, 0.18938802083333334, 0.34388440860215047, 0.14615668264557005, 0.29320445225541886, 0.24136904761904762, 0.26005188067444879, 0.30262440354464903, 0.18216666666666667, 0.35415814587593725, 0.25516025641025636, 0.0, 0.0, 0.0, 0.18562091503267975, 0.37565392354124755, 0.016025641025641024, 0.3739853626081171, 0.26182456140350874, 0.21311848958333332, 0.29929624219891121, 0.049693877551020407, 0.32714672075726842, 0.27361717612809311, 0.28405940594059409, 0.3331417624521073, 0.10020617207186568, 0.21035196687370603, 0.27967320261437906, 0.26729497354497361, 0.07326043737574553, 0.18637874847756677, 0.36010101010101009, 0.23764849028209148, 0.33933203631647213, 0.50802394170714782, 0.3321323960164031, 0.33639921722113503, 0.3290736984448952, 0.7196698333592898, 0.41390041493775936, 0.4247721354166667, 0.0, 0.4876486733760293, 0.26796056685150954, 0.36482200647249191, 0.42212196544210168, 0.37943058221369158, 0.34401386263390044, 0.038537549407114631, 0.2672261330929015, 0.39237451737451734, 0.49299463553171352, 0.36703260146373917, 0.28790650406504065, 0.41936936936936936, 0.50778463648834016, 0.0, 0.3564778645833333, 0.31085006131801451, 0.29479030033968995, 0.084993961352657008, 0.35657982631930524, 0.33542108987968861, 0.38749154834347538, 0.27869449966865473, 0.053996878793133342, 0.0, 0.26513687600644126, 0.19027762229933953, 0.23872340425531913, 0.29801156905278381, 0.34366027436106483, 0.38161616161616158, 0.28822314049586772, 0.22886597938144329, 0.029025497729654206, 0.25361604207758054, 0.28767123287671231, 0.0, 0.29371468926553673, 0.30583670715249656, 0.37218973359324237, 0.4008884150675196, 0.19190000000000002, 0.33304410701373832, 0.36366538952745858, 0.24331848552338531, 0.0, 0.25320000000000004, 0.16354795439302483, 0.0, 0.31359621047241071, 0.38978422247009498, 0.15937037037037038, 0.26322537112010796, 0.2446303489028317, 0.30524344569288386, 0.21673682438120895, 0.30296143250688706, 0.0, 0.22074542897327709, 0.34077079107505076, 0.30781326781326784, 0.37452830188679243, 0.25421937444264625, 0.32992047713717693, 0.25298710115410727, 0.25086445366528354, 0.027679095486701059, 0.26948310139165005, 0.33692748091603053, 0.24767206477732798, 0.11650626475394951, 0.0, 0.39068441064638781, 0.26747663551401868, 0.25112727512095578, 0.0, 0.0, 0.25881958417169687, 0.0, 0.0, 0.1205223880597015, 0.045770676691729323, 0.32722122838401912, 0.34038461538461534, 0.0, 0.77778793418647163, 0.27771084337349405, 0.23400511836212412, 0.20415493362450432, 0.38983164983164981, 0.27027123483226267, 0.38775577557755775, 0.0, 0.066633986928104585, 0.33586161011310711, 0.35661549707602341, 0.22351077313054499, 0.31286168255561136, 0.0034604519774011299, 0.19302379609040524, 0.25868185516680225, 0.30288501976617044, 0.37311707300486247, 0.21608860804430399, 0.36020922015413298, 0.10583795337652796, 0.43166351606805292, 0.15887691048034935, 0.26718573234843945, 0.26942131337619901, 0.25917926565874733, 0.22364407410162934, 0.33783212560386472, 0.31517406324740899, 0.3549344375431332, 0.34170243204577971, 0.22592213114754098, 0.03677996665645946, 2.7412280701754386e-05, 0.0, 0.0, 0.27217795484727758, 0.0, 0.069939879759519041, 0.18647464420366155, 0.034873949579831934, 0.25772277227722773, 0.19435257299334971, 0.29989583333333325, 0.24606456545157593, 0.21764705882352942, 0.23370370370370369, 0.24543930248155602, 0.0, 0.27678207739307537, 0.25702353834472286, 0.28153347732181427, 0.0, 0.28796296296296298, 0.22741338715102591, 0.16508591065292097, 0.22271531886916501, 0.33500347947112041, 0.2629970531523993, 0.2043624282257773, 0.2026027901374996, 0.0, 0.23175105485232064, 0.30892063492063493, 0.37431972789115647, 0.41591058514135437, 0.25117322291235333, 0.068525896414342619, 0.21605316973415131, 0.50105657805044312, 0.24550000000000002, 0.54335532516493878, 0.31623188405797104, 0.0227997227997228, 0.34256712508185982, 0.19003703703703706, 0.30960624575695861, 0.2568287037037037, 0.28073237508555782, 0.092640413169786939, 0.18343079922027292, 0.0, 0.0, 0.19206036745406824, 0.21588237358318424, 0.0, 0.28775260064741193, 0.27155383161119984, 0.021490280777537795, 0.0, 0.22634194831013915, 0.30367965367965366, 0.26692657569850553, 0.310099294486543, 0.25126114990144655, 0.32904509283819627, 0.39525425899833483, 0.24032738095238096, 0.22484969939879759, 0.3234736842105263, 0.20136612021857919, 0.25723404255319149, 0.13037037037037036, 0.20769124931205285, 0.0, 0.35087719298245612, 0.16666666666666669, 0.33121330724070447, 0.20331978319783198, 0.27819548872180455, 0.85205013280212483, 0.39413043478260867, 0.28592836257309939, 0.37113402061855677, 0.37196969696969695, 0.010378188214599824, 0.21039253539253538, 0.04607318936184987, 0.37979691876750699, 0.21280288146692863, 0.46678111587982835, 0.14143145161290324, 0.093112057570862106, 0.18513605442176873, 0.16190476190476191, 0.046330275229357794, 0.28700072621641248, 0.29405241935483872, 0.063251047973917091, 0.38838582677165356, 0.30588685015290523, 0.31573528367535331, 0.15328364008902393, 0.26984126984126988, 0.12832005312084993, 0.3176249144421629, 0.21021080368906458, 0.19714489650249822, 0.35789650537634404, 0.23959183673469389, 0.26714188730482008, 0.0, 0.27216235632183905, 0.26582100070472159, 0.56559583632447952, 0.30624999999999997, 0.0, 0.3522456140350877, 0.33747701360794413, 0.41391242937853107, 0.31320388349514566, 0.0, 0.27134057971014497, 0.29451137884872824, 0.48931145911011686, 0.32764993026499306, 0.33035828534868839, 0.320464135021097, 0.26133578431372551, 0.30719619823489475, 0.16985964912280704, 0.099562591126848565, 0.21000704721634952, 3.3003300330033001e-05, 0.0099023709902370978, 0.34724409448818899, 0.27590655509065554, 0.26291848617176128, 0.32966666666666661, 0.27930910399424247, 0.29552095276842838, 0.07976190476190477, 0.22012073972184013, 0.31727395411605935, 0.26829673985362607, 0.28036616161616162, 0.34079207920792082, 0.32625338753387534, 0.24899348727057427, 0.22891963109354413, 0.11489114125608597, 0.0094833018273471955, 0.27799999999999997, 0.4697265625, 0.11022727272727273, 0.2996188496188496, 0.34008838383838386, 0.34528651849923531, 0.031608529377679918, 0.10497427101200686, 0.30161649944258639, 0.32328431372549016, 0.44664031620553357, 0.3324168363883232, 0.20115283267457182, 0.22073434125269978, 0.32607019543427979, 0.34117838541666667, 0.41256510416666664, 0.22634099616858239, 0.0, 0.45935504469987226, 0.21922348484848486, 0.25166666666666671, 0.0, 0.0, 0.073290598290598294, 0.22894905858094178, 0.22715868701651684, 0.22287581699346409, 0.40607675906183366, 0.072211476466795613, 0.31549054448534075, 0.2943859649122807, 0.41563507414571244, 0.32565543071161046, 0.37267992287991719, 0.2081420555980617, 0.27800944274046252, 0.25225660863958738, 0.0, 0.1980526279053535, 0.39337517433751745, 0.25869415807560137, 0.35796491228070182, 0.38579348579348577, 0.20714756258234521, 0.16659850034083162, 0.23710748792270531, 0.32334213387171917, 0.21337777777777778, 0.22195286195286199, 0.12982760924762796, 0.36189044756179028, 0.15645833333333334, 0.0, 0.25107890951194695, 0.39693272917392824, 0.20999999999999999, 0.12483130904183536, 0.32327109266943294, 0.32744310575635882, 0.070321038251366125, 0.16467948717948716, 0.2474188790560472, 0.22143830947511928, 0.32732293697205977, 0.18572834645669289, 0.046304044630404467, 0.0, 0.1375251509054326, 0.0, 0.35060240963855427, 0.19523305084745762, 0.35078552515445716, 0.2218511292615985, 0.30235690235690232, 0.31844270797316926, 0.17931081682236596, 0.19019127023050517, 0.068214055448097999, 0.11895898534014167, 0.14786324786324787, 0.31806784660766962, 0.19361233480176213, 0.26886209029066171, 0.10344021376085503, 0.36520007833409496, 0.36286717752234993, 0.14090007041802702, 0.1681293153513583, 0.30780399274047188, 0.39168377823408618, 0.39460027812637788, 0.28084886128364395, 0.44988694094499748, 0.41678235882865722, 0.32040924442089924, 0.24876897825194913, 0.35964730290456437, 0.063230125523012548, 0.29520097166906761, 0.29251338676954802, 0.2881002087682672, 0.21393178893178894, 0.20627062706270627, 0.20289115646258504, 0.30757575757575756, 0.18212180746561887, 0.2347481021394065, 0.36274305555555564, 0.25606792075911439, 0.30592862624712208, 0.0, 0.21206347120470451, 0.40507912679051727, 0.0, 0.0014283395552670021, 0.1492630700778643, 0.40112802391954333, 0.38377192982456132, 0.22573673870333991, 0.24604743083003952, 0.24832343360797088, 0.33954575818303273, 0.18024568393094287, 0.28417359667359671, 0.078933116707284048, 0.0, 0.29103599717669204, 0.27590955675121698, 0.27134502923976611, 0.0, 0.29696369636963693, 0.12975234270414993, 0.44042185338865836, 0.27764741275571597, 0.15094736842105266, 0.3332288837824664, 0.090909090909090912, 0.43349769888231432, 0.271087786259542, 0.26803652968036529, 0.39822569432950444, 0.24759293113954908, 0.29531279531279531, 0.30997503041167807, 0.13634163208852004, 0.30574792243767313, 0.63962110192641997, 0.30558984910836762, 3.6231884057971014e-05, 0.35951923076923081, 0.24916855631141344, 0.20487077534791251, 0.29021820917983454, 0.42410462492949802, 0.2283751493428913, 0.0, 0.26849070100143063, 0.30748329064900998, 0.14765840220385673, 0.32057881285770851, 0.35134250163719716, 0.18482950591510092, 0.31687456687456683, 3.3602150537634409e-05, 0.0, 0.29711991844016822, 0.39677528852681598, 0.39015939015939016, 0.27972477064220186, 0.23616617824513014, 0.20119047619047617, 0.33131613756613759, 0.38015378727253751, 0.40561694290976058, 0.18681010617794441, 0.17175472928897587, 0.31759702286018082, 0.21517917511832321, 0.26224270146643347, 0.22020708082832335, 0.2814814814814815, 0.31588435374149665, 0.22007017543859653, 0.23510204081632652, 0.31385658914728681, 0.28473360655737706, 0.34321029461564512, 0.41975065616797902, 0.29408333333333331, 0.19120567375886527, 0.28761620185922976, 0.47266076241817478, 0.18518900343642608, 0.14817869415807558, 0.26866666666666666, 0.32659574468085106, 0.22308771929824561, 0.27896331201615621, 0.0, 0.05922558922558923, 0.26797499738101055, 0.2556209150326797, 0.34194915254237285, 0.39782542424550354, 0.35987104912747919, 0.36844891476971953, 0.2682184978274364, 0.2657032624881549, 0.08800403225806451, 0.34238793637678155, 0.31196666666666667, 0.0, 0.0, 0.26007362784471211, 0.27247267759562843, 0.41213657876943882, 0.2831395348837209, 0.081054421768707488, 0.34544927536231884, 0.3472565157750343, 0.22422680412371138, 0.28615023474178397, 0.25198633830666906, 0.049810092240911562, 0.21230565454602796, 0.34194968553459115, 0.2797594501718213, 0.37880701754385965, 0.0, 0.2791850220264317, 0.24734461728225859, 0.27044792301958392, 0.0, 0.22204641350210966, 0.45631859730198104, 0.32649722243360474, 0.25410156249999999, 0.26604575163398692, 0.37897227856659904, 0.33004261581383942, 0.10138620245003224, 0.091452074391988561, 0.019450171821305842, 0.39375424304141204, 0.17851766898430219, 0.30234487734487736, 0.34324229691876751, 0.36054347826086958, 0.24953977646285341, 0.3777919863597613, 0.19024390243902442, 0.31609999999999999, 0.26248226950354614, 0.28461608858790149, 0.15128335883052865, 0.20946585530764031, 0.075488281249999997, 0.22612794612794612, 0.23267730289973215, 0.46547868623340322, 0.41268041237113401, 0.23292011019283745, 0.27486347324075516, 0.31123078649164138, 0.18985801217038539, 0.32673501844144415, 0.34564926372155291, 0.30462532299741601, 0.40344827586206899, 0.3551596139569414, 0.33057717250324253, 0.024624316939890711, 0.29521035598705503, 0.23040210848737402, 0.0, 0.28282208588957053, 0.28398760330578515, 0.0, 0.06833526563459047, 0.33736192332683557, 0.1860128075497135, 0.27971468336812805, 0.34402628434886501, 0.31289502834430177, 0.0, 0.29343234323432338, 0.38279337652987755, 0.38468701500258662, 0.57065256493272898, 0.3329752604166667, 0.27794103400393971, 0.26917905166312805, 0.0, 0.0, 0.36886617100371749, 0.25050607287449395, 0.0, 0.3493412384716732, 0.26713333333333333, 0.034150326797385618, 0.40812412831241274, 0.37299558447594705, 0.36139030827109891, 0.32278481012658222, 0.34606188466947962, 0.32361120767572826, 0.050870357569282973, 0.0, 0.2182566918325326, 0.12134384687963337, 0.42866941015089161, 0.30088255261371344, 0.039181286549707602, 0.3056399132321041, 0.41643097643097643, 0.24739073711676451, 0.28534356725146193, 0.19952185792349728, 0.20728122912491648, 0.32470910335386721, 0.27236753856472168, 0.46248391248391241, 0.31850958001000679, 0.40224749991408637, 0.12709654686398872, 0.36856499356499356, 0.31250000000000006, 0.40513841143477486, 0.32200263504611326, 0.0, 0.17521623419827012, 0.24985601151907846, 0.21350844277673545, 0.31916820509247967, 0.36859649122807014, 0.31567781373606618, 0.36240997716493939, 0.26495813074014046, 0.048638748987426476, 0.21883333333333332, 0.1974059662775616, 0.28612303290414876, 0.4046315789473684, 0.23255900114853101, 0.34331997327989311, 0.26496453900709216, 0.43918010752688175, 0.41530581500451946, 0.48612290210931886, 0.30297029702970296, 0.3523194168323393, 0.36580459770114937, 0.43171428571428572, 0.52773462783171521, 0.52034139402560453, 0.10871898054996647, 0.3107596899224806, 0.54566720201103269, 0.24313688452335977, 0.35410577592205988, 0.20441970310391366, 0.40081214689265537, 0.61832935856536686, 0.44474532559638946, 0.37401292175161521, 0.38384942319368548, 0.42228499686126808, 0.0, 0.19245791245791247, 0.4134138162307176, 0.30706401766004415, 0.37959830866807615, 0.47895752895752897, 0.1643988249991559, 0.26945920600187556, 0.38417475728155337, 0.35906148867313908, 0.33163398692810458, 0.34535290006988117, 0.28276666666666667, 0.061382909328114812, 0.22945492662473793, 0.23839421613394218, 0.24090909090909088, 0.27801490514905147, 0.36701607267645003, 0.0, 0.2287353004833706, 0.17513605442176872, 0.25978886756238007, 0.2386955790889225, 0.25852713178294573, 0.043846153846153847, 0.0, 0.28222909776307831, 0.28891320204230492, 0.1226629766297663, 0.091348830734966593, 0.32879999999999998, 0.045464025026068819, 0.25680075622308579, 0.24980842911877393, 0.42572314049586774, 0.26258644536652831, 0.39451876019575854, 0.052151573538856778, 0.22584345479082324, 0.49454585930543188, 0.21308417226850215, 0.31586471408647132, 0.042261904761904764, 0.24756355932203392, 0.087755102040816324, 0.34754277276666778, 0.39151453684922244, 0.0, 0.26561653116531164, 0.3187376725838264, 0.48921213808463249, 0.0, 0.34966124661246617, 0.34831056793673615, 0.2698776758409786, 0.26488603988603987, 0.35722500338249225, 0.26151129943502827, 0.19693877551020406, 0.23774292196902436, 0.38010552451893237, 0.15400463559103786, 0.21986394557823127, 0.091799858425543016, 0.39528582034149956, 0.32237299930410579, 0.34911302584896092, 0.20391278375149346, 0.29756592292089257, 0.30135935101951328, 0.25335161486898233, 0.26894792135674617, 0.28763537906137188, 0.35625909752547302, 0.34513071895424841, 0.30135626860734371, 0.32642450142450141, 0.23379814077025232, 0.46590214067278291, 0.28242867084203199, 0.13962450592885375, 0.25240415854450943, 0.38993265993265991, 0.37470588235294122, 0.16530758226037198, 0.23025261860751697, 0.19879335333176043, 0.31777373547705667, 0.20617543859649121, 0.23087542087542087, 0.33677573278800277, 0.21691542288557214, 0.14639107611548557, 0.22569444444444445, 0.1229870421691259, 0.29314885697229343, 0.1429769392033543, 0.31512467191601051, 0.25257731958762886, 0.36029810298102988, 0.50197316495659039, 0.31822282363554349, 0.28354537743850722, 0.28123711340206187, 0.22589503312394879, 0.3276842105263158, 0.36486761710794297, 0.25516631280962493, 0.19786585365853659, 0.27873423015264515, 0.33493303571428579, 0.41108783017895789, 0.18216494845360826, 0.31769336071184118, 0.24154488517745301, 0.086300446270908909, 0.31048372594857038, 0.35942622950819675, 0.25280054644808742, 0.33287234042553193, 0.38562808557323097, 0.36974502487562194, 0.0, 0.35771144278606964, 0.37848776818653962, 0.19586080586080584, 0.32714776632302406, 0.31930006930006932, 0.02924220323678544, 0.2515856236786469, 0.29049743843992731, 0.25901315789473683, 0.3886170212765957, 0.30995975855130786, 0.43307589200229785, 0.36287726358148886, 0.31091680596631099, 0.42454997428424485, 0.085079365079365074, 0.34264507422402157, 0.39265197060788237, 0.0, 0.43625150421179304, 0.29355464402683706, 0.22387659289067738, 0.22015341701534172, 0.43606180144641682, 0.36370851370851376, 0.11101694915254237, 0.20846687563836155, 0.017639593908629441, 0.25531030070377481, 0.22748344370860926, 0.36791406791406789, 0.13013361462728551, 0.036867364746945894, 0.31532152230971128, 0.20581009296148739, 0.28897637795275594, 0.25685483870967735, 0.23625672043010756, 0.32413568166992829, 0.21195035460992906, 0.21200417536534447, 0.20326388888888888, 0.37362560890744606, 0.34429012345679011, 0.33103642244410064, 0.28724243151506845, 0.24152719665271968, 0.33451178451178454, 0.0, 0.28221052631578947, 0.25170575692963748, 0.34935606060606061, 0.12263464337700145, 0.0, 0.48468379446640314, 0.063602693602693605, 0.21109965635738831, 0.14803719008264463, 0.31709570957095706, 0.29124916499665998, 0.30581317204301073, 0.40011337868480729, 0.0, 0.39497574497574495, 0.40106609808102345, 0.31550546448087435, 0.71323176804751187, 0.40013605442176864, 0.33691206543967278, 0.20431222512246577, 0.0, 0.16931899641577058, 0.19131025118805156, 0.33139364780078678, 0.24265536723163839, 0.0, 0.25676132521974304, 0.4107719298245614, 0.3387573964497041, 0.067353951890034361, 0.33456310679611656, 0.31283367556468178, 0.20105657805044308, 0.34161656646626587, 0.30635245901639341, 0.50831586303284415, 0.35081967213114756, 0.41013107393728726, 0.27558015910840633, 0.33061155913978496, 0.37379432624113473, 0.34592198581560285, 0.29256666666666664, 0.38910106229339836, 0.028127183787561145, 0.34811946902654867, 0.34704072517947532, 0.37222222222222218, 0.39004893173780342, 0.079322476515178986, 0.30733056708160439, 0.32566793893129775, 0.36930501930501936, 0.22663934426229509, 0.33884353741496598, 0.32724425887265129, 0.41255845023380089, 0.14765406162464986, 0.34585760517799347, 0.0464508345063342, 0.31851851851851853, 0.45872210953346854, 0.36845662786331207, 0.40080321285140563, 0.30185553346587146, 0.027401620370370368, 0.28618465716225389, 0.26552254783888674, 0.23480971128608927, 0.29381199811053377, 0.12450579413769598, 0.30889136904761905, 0.37226640159045726, 0.29426559356136817, 0.35762195121951212, 0.36915561758548504, 0.4388443553774215, 0.36244035446489437, 0.35716891645384891, 0.53443655366474618, 0.26508250825082502, 0.22373845060412226, 0.29347319347319345, 0.27777777777777779, 0.26166666666666671, 0.39829931972789118, 0.18892906519196001, 0.17634976525821594, 0.21700409665736509, 0.1771076523994812, 0.25152091254752851, 0.18894799054373523, 0.061485642946317094, 0.0, 0.22098321342925659, 0.10267773547219275, 0.24891179839633448, 0.36866197183098587, 0.096619217081850534, 0.10669014084507042, 0.040079365079365076, 0.38513397703250868, 0.21227336122733614, 0.24564755838641189, 0.18522222222222223, 0.26799116997792494, 0.21696370030398762, 0.19464500601684717, 0.13202502844141067, 0.17106516120255746, 0.25946712018140589, 0.12122222222222222, 0.073104693140794222, 0.52716727716727707, 0.25938228438228439, 0.1687005649717514, 6.0168471720818288e-05, 0.15661016949152542, 0.20113636363636364, 0.0, 0.079180695847362509, 0.17282485875706213, 0.16775244299674266, 0.2160578911095796, 0.12186689714779603, 0.35931034482758623, 0.22942900564481114, 0.38674463937621839, 0.16351648351648351, 0.34727061556329852, 0.082341685104347306, 0.29803282030374073, 0.10329512893982809, 0.26565476190476189, 0.5150599520383693, 0.41451977401129947, 0.53157552083333326, 0.34321839080459771, 0.41122754491017965, 0.34758698092031426, 0.46988888888888891, 0.31038647342995174, 0.0, 0.33974358974358981, 0.2183076036128371, 0.23776186967049162, 0.19649122807017544, 0.28096791734638388, 0.51781609195402301, 0.33140589569160994, 0.51748903508771926, 0.14776928140983442, 0.11181372549019608, 0.28588308107803972, 0.0, 0.35139784946236557, 0.16354581673306773, 0.22071930376428647, 0.23152412280701756, 0.14140249759846302, 0.30921757770632374, 0.19542920847268674, 0.0, 0.25748194014447884, 0.3297181372549019, 0.28765664160401, 0.39221457130164367, 0.37307647807474259, 0.27733333333333332, 0.19290780141843972, 0.31892135337499294, 0.1462171052631579, 0.48847517730496454, 0.22880886426592797, 0.0, 0.35212169735788634, 0.43796610169491523, 0.37189781021897811, 0.20736559139784949, 0.44749455337690636, 0.19128289473684207, 0.17875275938189844, 0.20596774193548389, 0.29295212765957446, 0.41672794117647055, 0.11031518624641834, 0.1305820105820106, 0.30362554112554113, 0.0, 0.22078651685393258, 0.23675213675213672, 0.25, 0.30319148936170215, 0.41391752577319585, 0.23954951298701299, 0.064404761904761909, 0.29311767618418882, 0.4299189814814815, 0.22560185185185183, 0.32667682926829267, 0.22134944612286001, 0.15907172995780591, 0.24491329790089655, 0.094876126126126115, 0.19678362573099414, 0.27632183908045976, 0.20148398984114335, 0.29851335350611757, 0.23952850877192983, 0.24376543209876544, 0.45524179718760716, 0.19906432748538011, 0.46010101010101018, 0.28476190476190472, 0.29650000000000004, 0.30875420875420873, 0.33305084745762714, 0.19942363112391934, 0.38805346700083537, 0.15403800475059387, 0.20761689291101054, 0.39446617412719115, 0.15177824267782428, 0.0, 0.20721649484536084, 0.23137284208952993, 0.31673093401885172, 0.052804232804232805, 0.42194616977225669, 0.24393404004711422, 0.44674607284653894, 0.26614035087719295, 0.68268656716417908, 0.38181286549707599, 0.41539313399778516, 0.26100861008610088, 0.36386138613861385, 0.17535837864557588, 0.22880384342414153, 0.37846715328467151, 0.13621262458471761, 0.35640226773583944, 0.3448666666666666, 0.51787678767876788, 0.42265625000000001, 0.091802168021680217, 0.35443037974683544, 0.19614147909967847, 0.29672897196261683, 0.42264968843131945, 0.40536258379037182, 0.33099009900990101, 0.42137330754352031, 0.17883654532476803, 0.06986940298507463, 0.19393939393939391, 0.36064372211599749, 0.0, 0.079199999999999993, 0.33137626262626257, 0.0, 0.3952861952861953, 0.13175873511614286, 0.32953156822810592, 0.0, 0.43257575757575761, 0.51714467813894194, 0.16374916163648559, 0.27984126984126984, 0.32032796154933563, 0.21918020108275324, 0.33695941450432465, 0.0, 0.23662674650698601, 0.25313943652807602, 0.35761648745519714, 0.25574923547400613, 0.10376035691523264, 0.24050671550671551, 0.35855694692903994, 0.4629807692307692, 0.22105263157894739, 0.0, 0.035294117647058823, 0.13581033262561923, 0.41251448435689453, 0.33221757322175727, 0.29367496864361226, 0.32042293989196641, 0.13101754385964912, 0.286890243902439, 0.32469387755102036, 0.093230316409124353, 0.25332559938128385, 0.11259259259259261, 0.25559921414538311, 0.22414035087719297, 0.3516501650165017, 0.25063244047619049, 0.28086666666666665, 0.014412568306010929, 0.27905686546463249, 0.22775148323445099, 0.23689542483660134, 0.1561122244488978, 0.0, 0.0, 0.1483949121744397, 0.2568020631850419, 0.24052706552706554, 0.29230007120963497, 0.00010708931248661383, 0.27107142857142857, 0.28807017543859653, 0.029212707182320441, 0.21258644536652835, 0.21644777986241398, 0.027070707070707072, 0.0, 0.39704467353951883, 0.27823960880195597, 0.20377026074700494, 0.28521050737675424, 0.22309904601571268, 0.2054441163493195, 0.30821827744904667, 0.33760504201680669, 0.41573498964803318, 0.0, 0.30940428380187412, 0.22822128851540613, 0.36777553763440862, 0.20969795571903516, 0.15699588477366255, 0.25258019525801956, 0.0, 0.2691780821917808, 0.0060053981106612687, 0.27293832293832293, 0.17972582972582973, 0.23266961651917403, 0.16130952380952385, 0.36176844783715006, 0.31334824757643553, 0.32178148921363953, 0.0, 0.32759615384615393, 0.13326315789473683, 0.14586009992862242, 0.20195227765726684, 0.19022086499538382, 0.32927812385489191, 0.13768707482993198, 0.1206534142093568, 0.29796226933782344, 0.58352614530310043, 0.11031606077048291, 0.25016260162601628, 0.072335556609828933, 0.06161989087463652, 0.32708508077750631, 0.045114834658567381, 0.18322666666666665, 0.055016181229773461, 0.22246666666666667, 0.20173527037933819, 0.27537379938607787, 0.25697914119003529, 0.3442013888888889, 0.078194635766955678, 0.42087923401626687, 0.086096397530069355, 0.12077475321567455, 0.20430976430976433, 0.22623386484434319, 0.38448434949251187, 0.21495006242197254, 0.06629590694835362, 0.19479980637576932, 0.25327823691460055, 0.33124746313083481, 0.16067053513862026, 0.17234336912840109, 0.25694189806326878, 0.08644985478145506, 0.27671671262724268, 0.1878587345533122, 0.0038745570752061463, 0.091006944444444432, 0.32611255003531908, 0.33844197793890252, 0.27243966079582516, 0.089239926739926742, 0.25965092402464068, 0.097774191379194408, 0.015031448775807541, 0.15886392009987516, 0.31349206349206349, 0.31869322152341023, 0.31448010446017455, 0.35503934572695095, 0.10139504349253242, 0.082376339257073203, 0.26733735747820253, 0.29788461538461541, 0.16237745098039214, 0.43857289264668198, 0.36538851009248635, 0.37921768707482983, 0.43924302788844616, 0.18949465913174143, 0.36821052631578943, 0.34550762024371207, 0.46422487223168651, 0.0, 0.53880753138075321, 0.35594841635371643, 0.42166985340981517, 0.55137438879344525, 0.0, 0.38111772486772488, 0.40750950570342204, 0.0, 0.31201171875, 0.32159360971745443, 0.41084040144628792, 0.42791061528519436, 0.10627831715210356, 0.24233870967741936, 0.41599099099099102, 0.52706666666666657, 0.2224240589363205, 0.54260838663823741, 0.0, 0.39233974358974361, 0.5406796116504855, 0.12501248460232381, 0.28032679738562089, 0.30043420173680696, 0.38194444444444442, 0.40362037003380469, 0.3311517484760988, 0.38668658698539171, 0.27356841470765525, 0.3045805739514349, 0.35780952380952386, 0.35568627450980389, 0.24677072983108433, 0.32888506241928545, 0.3739720998531571, 0.47310457516339866, 0.28922651023300272, 0.21358625162127109, 0.34302721088435378, 0.42969696969696969, 0.26015520992304442, 0.27474397146876944, 0.25148867313915857, 0.32676553672316383, 0.29893617021276592, 0.39845712870236033, 0.19262508122157246, 0.060732171827608102, 0.49414464581013134, 0.36883499918073076, 0.35347648261758691, 0.43246164574616458, 0.24826115485564307, 0.27378507871321012, 0.32046783625730996, 0.37801837270341204, 0.35183397683397688, 0.32577597840755734, 0.36755775577557748, 0.39949518851553872, 0.25135967498853284, 0.32436170212765958, 0.23094986897185446, 0.23776150627615064, 0.2797030538214948, 0.40926221437544563, 0.3208910891089109, 0.42949379305754315, 0.28069196428571425, 0.22899011299435029, 0.30181518151815184, 0.0, 0.26840740740740743, 0.43397732185016463, 0.35564356435643563, 0.074276729559748428, 0.0, 0.37626861737182027, 0.43453303282152417, 0.27741496598639459, 0.3715, 0.39180384087791498, 0.35573846974140227, 0.27013179746298721, 0.30928104575163401, 0.39163194444444444, 0.22940074906367042, 0.32875494071146238, 0.32887139107611552, 0.27527832351015064, 0.2678964401294498, 0.48020631850419082, 0.15291495198902605, 0.30696369636963694, 0.2650558842866535, 0.31459546925566351, 0.31876721763085397, 0.16120233484261634, 0.38530842078320965, 0.4132666994374351, 0.33408106435643564, 0.1808357912870977, 0.28623898139079335, 0.31209789658885012, 0.34357444292126976, 0.13374513592206591, 0.36162919377041219, 0.38281496269832926, 0.40876933636027668, 0.39290677784904854, 0.49453760162601634, 0.18644240311458307, 0.22639843770899654, 0.047999562147665702, 0.14972876192512227, 0.0, 0.0, 0.51890240576073321, 0.0, 0.071906266456029488, 0.28628579257432524, 0.47965591851812761, 0.34515317371793208, 0.42541255028598013, 0.0, 0.0, 0.09419032597266036, 0.33213333333333334, 0.36930244941427054, 0.36718439922737012, 0.69917423616845586, 0.046724128525448695, 0.23409436834094369, 0.11597792435051822, 0.39261904761904765, 0.30282839635011105, 0.17438056419607423, 0.37023834304746045, 0.37624734607218679, 0.41270007871949621, 0.45159300579274836, 0.29087048832271761, 0.096736505958407978, 0.30637333333333328, 0.14409048685864159, 0.18298722044728433, 0.43072916666666666, 0.34391270770533872, 0.41828292053940797, 0.45341550572271999, 0.35699407146290663, 0.30038172963011711, 0.2887765367451699, 0.20844747071560879, 0.096857852638475614, 0.40005376344086024, 0.5379062273624261, 0.37471454741649723, 0.49154176984230419, 0.028584057757477532, 0.41101275709450669, 0.2304950901212727, 0.45927973291007607, 0.31628971459343025, 0.3595854644779477, 0.074833589349718385, 0.34501663848126124, 0.063023370368343268, 0.4999042171807011, 0.43697410564030181, 0.043663639952625344, 0.0, 0.41374309014284932, 0.36265382557517389, 0.096423515585352171, 0.15955135654019098, 0.10368381883903892, 0.30684292379471223, 0.31050044322669029, 0.37193838499808651, 0.38188666973794749, 0.32546666666666668, 0.0, 0.39218449364515862, 0.39892231933379735, 0.43671682626538993, 0.28328165374677, 0.21849206349206352, 0.038912860450431491, 0.13068122724908998, 0.33726743906542955, 0.27982587064676617, 0.45225012731512504, 0.29719712763493161, 0.05872395833333334, 0.30532808398950129, 0.42891472868217057, 0.047827036470845165, 0.23227060653188181, 0.044418604651162791, 0.48222573839662447, 0.40041268749503978, 0.39077039601817787, 0.0, 0.40131879279736243, 0.47870559791705414, 0.057752260209913746, 0.34470430107526878, 0.36804724491388735, 0.085523504273504275, 0.11066451595843139, 0.32022703818369452, 0.0, 0.0, 0.33651162790697675, 0.40771696252465478, 0.46698412698412695, 0.35391076115485565, 0.0, 0.33018666666666668, 0.0, 0.0, 0.34876707941929974, 0.3260678174105594, 0.023595800524934384, 0.36034391534391536, 0.35625331213566508, 0.37381333333333333, 0.0, 0.0, 0.43018636521182707, 0.30690666666666666, 0.28662504629384689, 0.37725806451612903, 0.11085961211996502, 0.21283976044009648, 0.43292231497791739, 0.44306763285024153, 0.3806475903614458, 0.48848667672197083, 0.34425620448803684, 0.39798731017266487, 0.12567497403946001, 0.22650053590568059, 0.33164062500000002, 0.38492063492063489, 0.46361652294261674, 0.34835978835978831, 0.64728047607910411, 0.49630996309963099, 0.47294855708908407, 0.27305302776417212, 0.54269737718013578, 0.31503859047322058, 0.36318669502258116, 0.20687156421789107, 0.22178456591639872, 0.5549433808967652, 0.35938997125519001, 0.33992307692307688, 0.14309127584467979, 0.0, 0.52570281124497986, 0.32061461749004094, 0.20927999999999997, 0.0, 0.28793801725655926, 0.21638981173864894, 0.29617182564750477, 0.34967184248439254, 0.27855477855477856, 0.35003703703703704, 0.020295489891135304, 0.016521594500194046, 0.0, 0.35573730168490958, 0.23336419753086421, 0.42057569296375269, 0.097479400407431055, 0.27733035048471288, 0.4299890350877193, 0.03304878048780488, 0.046689509569791988, 0.45374338992485391, 0.039446410918715522, 0.1423362485798082, 0.44865091501011201, 0.26332007952286285, 0.39674796747967489, 0.28156606851549754, 0.31155821434618203, 0.32343330186624064, 0.23328165374677004, 0.280764029749831, 0.03691542288557214, 0.21745065098698024, 0.2803117505995204, 0.54532710280373831, 0.28038095238095234, 0.31188212927756659, 0.19919972164231037, 0.36266081871345035, 0.20175417045426627, 0.38036605657237937, 0.37164948453608249, 0.35802126675913087, 0.40950095969289824, 0.44918981481481485, 0.54624094521415001, 0.33133202099737524, 0.38170624450307827, 0.12690017830699024, 0.17148414123279473, 0.25746031746031744, 0.37047034764826176, 0.32357651245551594, 0.33720349563046192, 0.35439346811819589, 0.39107570953522547, 0.26108195030189019, 0.37381821949387423, 0.3450989744812783, 0.30761154855643036, 0.088218923933209653, 0.31114864864864866, 0.26584902401105548, 0.2666425470332851, 0.029891304347826088, 0.069070208728652757, 0.0, 0.35809736711376056, 0.40171765968867418, 0.38823529411764696, 0.35228475228475231, 0.047645502645502651, 0.3493543758967001, 0.0, 0.3214285714285714, 0.15172413793103451, 0.3436462324393359, 0.42562869918068802, 0.0, 0.17154683948020225, 0.0879707700955593, 0.40437636761487966, 0.28806899537144953, 0.31049942393427843, 0.52163636363636368, 0.50589465677885526, 0.30767888307155328, 0.062791327913279141, 0.60506883604505624, 0.27759315206445118, 0.41442405708460756, 0.29999999999999999, 0.37166331321260893, 0.4185245901639344, 0.26361283643892336, 0.22420003132014407, 0.33906783796974138, 0.077247807017543857, 0.41283839212469237, 0.038075657894736839, 0.32975480450629552, 0.34137812276472301, 0.16242218449349177, 0.42099122124680521, 0.015488458988730188, 0.3892054283642391, 0.39607508532423208, 0.066032548933362661, 0.46148717948717949, 0.34150943396226408, 0.31843960990247566, 0.36643589743589738, 0.25800079020150141, 0.43665663527812831, 0.40248618784530388, 0.40344827586206894, 0.3825512405609493, 0.35202185792349727, 0.036291243758362977, 0.030037313432835822, 0.34955316184715751, 0.32559311981020161, 0.0, 0.047457627118644069, 0.3390756302521008, 0.29373973245716961, 0.22946127946127948, 0.19725752074688796, 0.68879598662207364, 0.40224863475746864, 0.37771428571428567, 0.48374720982142855, 0.32388888888888889, 0.31045611724024369, 0.22298969072164948, 0.45733684637211192, 0.28561101435941244, 0.054087301587301587, 0.42182363642166404, 0.53705234159779613, 0.049121431837481223, 0.46386371185877662, 0.2778968563263185, 0.26108845271475911, 0.28915151515151516, 0.33692047377326567, 0.27697641305020737, 0.31688734373844218, 0.4071063799180033, 0.20712945590994372, 0.29855555555555552, 0.41990594106920048, 0.31316812439261416, 0.34792792792792793, 0.33068376068376071, 0.43043209876543215, 0.044348850309827423, 0.43102423071205587, 0.58665589660743134, 0.34688612099644123, 0.29341500765696782, 0.33760575296108292, 0.058839501479812102, 0.0, 0.25588044184535419, 0.39699186991869911, 0.10895743447742932, 0.36590127870204864, 0.0, 0.3630338325013866, 0.3072445237053737, 0.52232529375386516, 0.38491433576003065, 0.14081364829396326, 0.2731061010791751, 0.4151291512915129, 0.10932046247818498, 0.31833173010856125, 0.53567134268537075, 0.0, 0.30642201834862387, 0.40001299587381006, 0.30779592523993937, 0.37632921006944448, 0.33305395495023576, 0.3919098482138294, 0.4375628589040651, 0.45574710852012346, 0.40545714285714285, 0.39615384615384619, 0.40695792880258902, 0.33326460481099657, 0.33363544813695867, 0.20011624809280473, 0.27368270332187861, 0.35810580204778153, 0.26936376210235136, 0.3519197207678883, 0.38095238095238099, 0.39798742138364779, 0.21749333333333334, 0.31822425059641113, 0.28790970933828069, 0.4581663630843959, 0.27287128712871284, 0.3223400903266464, 0.082439876393927178, 0.43552522582935593, 0.0, 0.0, 0.32892603850050656, 0.42141327623126335, 0.29489124936772892, 0.28585311266859059, 0.5355031446540881, 0.40234718826405874, 0.0, 0.41419646841333591, 0.37357753686620432, 0.31959308807134901, 0.43049382716049384, 0.22582733440364597, 0.0, 0.8561935416882982, 0.13778968080454745, 0.26825337439203384, 0.36210971855760771, 0.38616994697831941, 0.24262295081967211, 0.31429738562091503, 0.10234119232991279, 0.053969643899591357, 0.31980286738351249, 0.27013183080365566, 0.10113612231896368, 0.090452809601745773, 0.15552956465237167, 0.30595038026604382, 0.40230263157894736, 0.27931596091205213, 0.52773333333333339, 0.027601785025618424, 0.10764674205708132, 0.26913043478260873, 0.37451140065146576, 0.027376804380288701, 0.12331363860167405, 0.26994095544820185, 0.0, 0.28341283669913453, 0.15356744704570791, 0.32289085545722712, 0.19747222222222222, 0.26503601032749019, 0.13582849633117949, 0.44088588835830728, 0.03574074074074074, 0.36446809109590972, 0.057262917987251166, 0.31148225469728602, 0.26124133864071941, 0.085684395248380119, 0.23176605504587158, 0.10713359273670559, 0.27851477504035932, 0.11751732829237554, 0.2183828382838284, 0.35951915953936292, 3.2051282051282051e-05, 0.12807751886885732, 0.079621600315333066, 0.20862323804030428, 0.064053672316384175, 0.24979561033897238, 0.2396842878120411, 0.33500264970853205, 0.47739390061846876, 0.32355308813324085, 0.31804586241276173, 0.37831568022954121, 0.30059749002009029, 0.35611628286787522, 0.014267676767676768, 0.0, 0.23251730959446093, 0.0, 0.32521283562540926, 0.36194770669986875, 0.4112541254125413, 0.2756653992395437, 0.4907556012069077, 0.39695473251028801, 0.0362297837806504, 0.21270665909029413, 0.34484375, 0.36036440783726448, 0.038194991337218459, 0.0, 0.25965683863314137, 0.0041155479148758823, 0.0, 0.25087596355991593, 0.290135001870303, 0.27025349840206025, 0.0, 0.14321475625823452, 0.27766798418972333, 0.5197183098591549, 0.3507748815929374, 0.0, 0.13458688708137123, 0.26981068289384719, 0.021152143670165675, 0.21426441845827673, 0.22697123628951368, 0.1191358024691358, 0.20440696946740886, 0.0, 0.019541653762774853, 0.2830596107055961, 0.33213592233009709, 0.022022220024395873, 0.046917148362235067, 0.0, 0.27205960996826983, 0.43444986690328302, 0.11658641872820853, 0.26822006472491911, 0.18910622734545932, 0.25146258503401359, 0.22757255936675461, 0.20699346405228758, 0.27184532819595431, 0.094218557797799127, 0.032401069170089315, 0.048746612466124661, 0.41818181818181815, 0.0, 0.50285913528591353, 0.30124455930359084, 0.30760641093011037, 0.23827679473392641, 0.29706432181679704, 0.36788958770090852, 0.19926140012845214, 0.3152454780361757, 0.27122395833333329, 0.11471868058302651, 0.11720829116533603, 0.28554285870128454, 0.47073973386750612, 0.38074666666666668, 0.23338779956427017, 0.34859675036927618, 0.42247823860727085, 0.3272916666666667, 0.22855670103092782, 0.11912955465587045, 0.14159779614325069, 0.30566508273514642, 0.28833973626830028, 0.4253494938365126, 0.0, 0.0, 0.32453151618398635, 0.026574375678610207, 0.3227534272001697, 0.34201612903225809, 0.46629333333333345, 0.33421474358974362, 0.059332304980167477, 0.30124266011197592, 0.2076627309537582, 0.1835029176318799, 0.43897208867983267, 0.2716456470748207, 0.33979652902453616, 0.303802221874511, 0.0, 0.20042585342399891, 0.34383333333333338, 0.3597609561752988, 0.3269865875850913, 0.21916806020066892, 0.15754458161865567, 0.35020661157024796, 0.16446339729921822, 0.21925064599483204, 0.1984599589322382, 0.40382330327811561, 0.23746438746438747, 0.23743961352657009, 0.30838445807770959, 0.20519348268839105, 0.42861381242788854, 0.38992094861660076, 0.18582813582813582, 0.15968063872255489, 0.23106725146198831, 0.3845123166248669, 0.28027009222661398, 0.28157051282051282, 0.0, 0.34685039370078741, 0.39344618055555552, 0.23864468864468866, 0.0, 0.38247546909967289, 0.35482469333868111, 0.24346561808148562, 0.27450062421972538, 0.0, 0.33433333333333332, 0.38934108527131783, 0.28938853671421028, 0.1618661257606491, 0.30269808743169396, 0.39312668027078673, 0.31712036733355198, 0.24060577694570742, 0.38297419148709577, 0.10753205128205129, 0.28885293641805537, 0.33680704415789992, 0.058242068597608818, 0.26360320933625092, 0.38986960561304579, 0.43072968023665303, 0.0, 0.027039053502251074, 0.31220238095238095, 0.19577072899276574, 0.30822033898305085, 0.42829861111111117, 0.27711748633879779, 0.38944040252940776, 0.34258683340426227, 0.044315789473684211, 0.051838396070911966, 0.060466812545587161, 0.25113717128642504, 0.39517734199105947, 0.26611479028697571, 0.28742038216560506, 0.42856762513312036, 0.9705992563341308, 0.49703030303030299, 0.49132791327913272, 0.067143614202437724, 0.31194253421393064, 0.4318418314255984, 0.22339563862928349, 0.22679806362378976, 0.3794364307279437, 0.0, 0.29194068343004514, 0.0, 0.27744336569579287, 0.33864686468646865, 0.44730510105871035, 0.38857271019652923, 0.22478494623655915, 0.063743169398907104, 0.34645036051026068, 0.43224637681159428, 0.41799751022585818, 0.44751344086021505, 0.14471308833010962, 0.21838587023181652, 0.29640522875816994, 0.32663349059652297, 0.0, 0.057936507936507939, 0.3125174337517434, 0.57268322228952151, 0.23750000000000002, 0.21307493540051684, 0.42822580645161284, 0.27293801854563199, 0.10051750541268416, 0.3135714285714285, 0.28268821495078478, 0.31070879351321123, 0.29518419724605288, 0.44220605608406394, 0.36971830985915494, 0.23601307189542484, 0.38706182281708096, 0.240984126984127, 0.2989238740534077, 0.75780524196953913, 0.3604820220320975, 0.16353800378685421, 0.41529411764705876, 0.30412595005428883, 0.40002587991718425, 0.14590434690937204, 0.31484848484848482, 0.32893826021030426, 0.34969879518072289, 0.33371702637889689, 0.26205008082874209, 0.26075593084036991, 0.25780141843971632, 3.1565656565656566e-05, 0.42764317899823678, 0.35953294945617398, 0.36399133481319029, 0.51403770863383469, 0.30900888199633442, 0.069353155972874281, 0.042325949367088611, 0.41921600877192988, 0.08548777493247274, 0.38517234346318585, 0.21186839803538987, 0.0, 0.27742992951975087, 0.20938166311300641, 0.20805903956759753, 0.021851298390052724, 0.0, 0.23526451742762255, 0.39677615571776159, 0.47345679012345682, 0.0, 0.36039636127355429, 0.0, 0.31904255319148933, 0.38319672131147542, 0.38278980184768063, 0.43443527959992206, 0.40157088884470071, 0.33644545943041376, 0.035292164674634793, 0.29751491053677931, 0.28939960923270519, 0.35909367396593672, 0.3961558088110223, 0.32514840798704808, 0.51511144692104271, 0.3366798257555132, 0.26803081975495768, 0.18873426110006625, 0.27767973856209149, 0.39220953660174612, 0.25267489711934155, 0.43813199956507559, 0.21153751899230505, 0.055219563502498029, 0.35195804538548248, 0.39859773964001677, 0.35249061580602614, 0.05589422168798832, 0.43268633540372675, 0.30806697108066966, 0.14962269060629718, 0.2706681350954479, 0.29288659793814431, 0.46517361111111111, 0.23954966001560585, 0.29805154996401628, 0.11853932584269662, 0.33681204569055034, 0.47745850536174456, 0.29862281816531366, 0.38259462790817111, 0.20159829515183803, 0.28420479302832241, 0.32285714285714295, 0.015354190128272036, 0.15031919497944168, 0.051708348009862626, 0.30299426124706369, 0.38783587509077705, 0.0, 0.32976307622435846, 0.42766323024054986, 0.40638440860215053, 0.34442182928380616, 0.31482549265678528, 0.36976831730604703, 0.30470249520153553, 0.0, 0.033568090568024747, 0.1255420054200542, 0.28502300221502813, 0.18769099332960931, 0.0, 0.087659289067739773, 0.0, 0.21412263535551207, 0.31281166692802259, 0.39930371352785143, 0.33314866714462621, 0.44443319838056677, 0.31296143022678363, 0.36135419130317264, 0.22452685243382917, 0.323125, 0.47958333333333331, 0.2878153338829349, 0.26856755360371998, 0.27743634767339775, 0.29124448783115092, 0.43036211699164345, 0.43000707714083508, 0.28499373433583958, 0.41153573956121725, 0.3757371794871795, 0.20727147032020865, 0.26568832983927326, 0.16373329687980587, 0.17192479286169535, 0.30892978868438992, 0.12446404508146515, 0.34638911128903127, 0.15253996951327589, 0.22301960784313724, 0.27656862745098038, 0.33330248912741739, 0.0, 0.0, 0.41130604288499018, 0.25236760124610591, 0.29426863572433193, 0.21565211674993426, 0.42841305036426985, 0.30397461589846358, 0.19788891848694726, 0.24221304706853838, 0.12082834160533973, 0.060310662234722576, 0.25300330033003299, 0.26800136892539356, 0.22102330942622953, 0.22213438735177868, 0.3076405477239848, 0.40797072253558964, 0.3657691117301145, 0.28177771959680586, 0.27777601371733401, 0.44055564966965954, 0.17789991321955451, 0.0, 0.29172039362063112, 0.19837958972590933, 0.22944968496194049, 0.39390896921017399, 0.33331023731162307, 0.30511914113642319, 0.40616440730853237, 0.44192134229034602, 0.095587301587301582, 0.22233540457030321, 0.37856920361333196, 0.0, 0.36401089547156962, 0.37085449188138675, 0.40782871675029209, 0.36350772525623376, 0.17503239446225194, 0.46542937814200125, 0.37058130400628436, 0.0, 0.053023828245188198, 0.30536262855616403, 0.0, 0.33274329756241472, 0.25093163605184182, 0.033189998407389711, 0.36650804900273359, 0.29934988179669031, 0.19352083059534761, 0.50779320987654331, 0.39210362047440694, 0.14272218334499651, 0.0146484375, 0.37443448219133013, 0.28360911645332504, 0.0, 0.37576225709407268, 0.32386405889789543, 0.26365267925818303, 0.23391025641025642, 0.22704296545914071, 0.26500737463126844, 0.23249372457370382, 0.0, 0.35185601799775029, 0.38421497820287592, 0.32999763145428707, 0.82608695652173914, 0.30980825958702063, 0.48252688172043007, 0.42083333333333339, 0.16398058252427186, 0.19178134556574924, 0.09456666666666666, 0.25974981604120678, 0.063487475915221581, 0.19042627533193568, 0.0, 0.37130625120710742, 0.46577134986225893, 0.22833333333333336, 0.45496913580246917, 0.32000000000000001, 0.12607165706973769, 0.18811018131101814, 0.0, 0.13336633663366337, 0.42988145048814508, 0.34497245179063363, 0.0, 0.20507246376811594, 0.19768880208333334, 0.20413919413919418, 0.0, 0.2814814814814815, 0.3784505208333333, 0.32239263803680979, 0.27811158798283264, 0.30246788370520628, 0.31864171864171864, 0.0, 0.3122448979591837, 0.29309278350515466, 0.15893970893970893, 0.43234214390602055, 0.26889352818371609, 0.53052087274561743, 0.32959475187810816, 0.43620784964068549, 0.26403326403326405, 0.25985815602836881, 0.15757238307349664, 0.23790840595812646, 0.21918044077134985, 0.18121085594989564, 0.27449392712550613, 0.25529495380241651, 0.34309978768577487, 0.26680484579923525, 0.39882147251181765, 0.32244680851063828, 0.0, 0.23365821962313188, 0.43900048995590402, 0.33018518518518514, 0.2328576145577283, 0.0, 0.25452755905511815, 0.077087794432548179, 0.26410256410256405, 0.39968944099378884, 0.0, 0.44907604832977965, 0.29838403041825096, 0.42499999999999999, 0.30688329839273237, 0.15675230566534915, 0.34153645833333329, 0.38666666666666666, 0.0, 0.34139615244044258, 0.37892399313616631, 0.0067346938775510205, 0.031684210526315787, 0.074238142518903233, 0.032206284153005464, 0.0, 0.26262419338318144, 0.27734741784037559, 0.47727614747930763, 0.47532646048109967, 0.34678477690288712, 0.265625, 0.42986531986531984, 0.36768774703557316, 0.13508591065292097, 0.50519298245614042, 0.38643954575818301, 0.24259664478482859, 0.39562324929971987, 0.32627688172043007, 0.34158283031522474, 0.18437710437710439, 0.5020966990430451, 0.27534516765285999, 0.18082975679542204, 0.47359913793103448, 0.60779420825631536, 0.14811133200795229, 0.0, 0.43242138364779875, 0.2580766598220397, 0.45154808959156789, 0.3069883040935672, 0.0, 0.50622187851518552, 0.29342003301775543, 0.3713904775271043, 0.2610170641517115, 0.2735334713595583, 0.35512552301255229, 0.24937541091387244, 0.21811594202898552, 0.075452422650321066, 0.45585585585585592, 0.46806055257619983, 0.30134376948119412, 0.26568100358422941, 0.18281466113416323, 0.29332662642521801, 0.018412384716732545, 0.16244314489928524, 0.30260960675812842, 0.32819383259911894, 0.39281845408780985, 0.10015797788309637, 0.0, 0.0, 0.36420377867746295, 0.29640111809923131, 0.29382470119521914, 0.30701198026779419, 0.27011854951185493, 0.0, 0.30435267857142856, 0.13456790123456791, 0.13024691358024693, 0.31428571428571422, 0.32317432273262664, 0.23518775239587728, 0.2461635220125786, 0.35062545989698313, 0.0, 0.30496429433884154, 0.52855750487329445, 0.28078982597054886, 0.3270656779661017, 0.40221971020450104, 0.34210610164091126, 0.33323567708333329, 3.6528345996493277e-05, 0.24227395411605937, 0.30402661064425768, 0.22748868778280543, 3.4578146611341631e-05, 0.32024062278839349, 0.38999023930530774, 0.24496737470498406, 0.065629470672389126, 0.32744525547445258, 0.33684397163120572, 0.0, 0.0, 0.23683090024330899, 0.25976666666666665, 0.23810660573611159, 0.17317286947141317, 0.24786501377410469, 0.29430311716230745, 0.2923597025016903, 0.25848990953375089, 0.0, 0.5199249435486436, 0.44406206790597635, 0.089393939393939401, 0.0, 0.33146148308135348, 0.2138011695906433, 0.0, 0.39313725490196078, 0.20169956140350878, 0.30694915254237287, 0.48276601830663618, 0.23772264631043255, 0.25194016421099991, 0.0, 0.28516260162601625, 0.3193939393939394, 0.34948119325551236, 0.20099875156054933, 0.37084848484848487, 0.26391875746714455, 0.27122347066167291, 0.32002237136465328, 0.0, 0.42130730050933785, 0.20730676328502415, 0.20423523408598035, 0.24733115468409583, 0.46335578002244671, 0.21254480286738353, 0.12781649245063878, 0.32588300220750555, 0.4755833333333333, 0.43767949454336591, 0.3263152255437694, 0.16442199775533106, 0.630012077294686, 0.097618635760825703, 0.14609929078014183, 0.38544494720965305, 0.0, 0.34264705882352936, 0.15473835942475947, 0.057111111111111112, 0.30902432969215493, 0.18264435695538056, 0.48421658986175115, 0.099198993777307024, 0.29406186645739329, 0.26876325299405673, 0.28249097472924189, 0.04617623282134195, 0.0, 0.2922465208747515, 0.40164704997555745, 0.0, 0.34633812457221086, 0.43377930941279819, 0.34348852901484478, 0.2726967273704724, 0.30363849765258216, 0.24357088024564993, 0.40732421875000002, 0.3035649387121287, 0.58048001043500952, 0.34402437426287513, 0.35378822717866176, 0.32126642771804059, 0.059259259259259262, 0.4651631477927064, 0.46290944123314065, 0.40232401973665005, 0.27651363938789092, 0.066307893020221789, 0.24694881889763781, 0.31464435146443515, 0.020482361411087113, 0.0, 0.26460784313725488, 0.39561565253021924, 0.28653151344841427, 0.24591002044989774, 0.42729999999999996, 0.035217673814165046, 0.43825757575757573, 0.1104950495049505, 0.26158798283261803, 0.07269019504654145, 0.48845398523735356, 0.20183264177040111, 0.41608005521049002, 0.4037461773700306, 0.17299794661190965, 0.29236559139784951, 0.18614232209737827, 0.20059642147117299, 0.2927468520312233, 0.40888429752066113, 0.2175, 0.42880952380952381, 0.32330033003300335, 0.3788713910761155, 0.26390887290167869, 0.47232355829942468, 0.089462365591397849, 0.0, 0.37749908519344, 0.35596707818930035, 0.3444576877234804, 0.33242753623188409, 0.0087262187413277414, 0.32292477302204925, 0.085903814262023218, 0.31964167910836427, 0.35886075949367086, 0.3200201207243461, 0.24304658279496771, 0.24894366197183102, 0.25981884057971011, 0.26627373935821874, 0.21761403508771932, 0.22936337625178826, 0.29807009835400683, 0.25691588785046732, 0.0, 0.23076416337285904, 0.0, 0.29494301994301991, 0.33837285902503295, 0.47846405228758171, 0.50768721007289597, 0.33996794871794878, 0.35539085213545718, 0.29801840056617129, 0.23529615397929862, 0.29299184505606529, 0.22719109195402298, 0.34511427513548082, 0.21518115942028984, 0.019807975088660151, 0.35801980198019806, 0.38675656984785617, 0.60105193951347791, 0.0, 0.43178571428571433, 0.42225075150300601, 0.22229686500319895, 0.27191994996873048, 0.31212121212121213, 0.27388999337309472, 0.055490578297595836, 0.40935672514619881, 0.33379629629629626, 0.2335357624831309, 0.26059070145798136, 0.46163530133316116, 0.24706072351421188, 0.29551676933607118, 0.29489194499017679, 0.35231082996301288, 0.20319933806798593, 0.26591683708248126, 0.041897654584221747, 0.29738463091992323, 0.33725782919960645, 0.03591549295774648, 0.33083504449007534, 0.2606361829025845, 0.16086632278913679, 0.40421530479896239, 0.38634370150462183, 0.37658650634602542, 0.32543543543543541, 0.32658486707566464, 0.0, 0.24297718243504551, 0.25398115047123826, 0.0, 0.41774721676489851, 0.26526349105871183, 0.45339506172839505, 0.15056497175141242, 0.14546370967741934, 0.34133728590250328, 0.11943354376386281, 0.33634725142685495, 0.28785478547854793, 0.29260355029585805, 0.26061197916666667, 0.11228253305497564, 0.25860205682412407, 0.0, 0.0, 0.40637738330046014, 0.33420454545454542, 0.5086683417085428, 0.35451459606245761, 0.39404761904761904, 0.34438596491228074, 0.43947755702722591, 0.17054236458369762, 0.28915862434915268, 0.0, 0.25668927993388202, 0.35799428979300502, 0.28907044299201162, 0.50021820134949146, 0.0, 0.36773114863735162, 0.32928118393234673, 0.4813081009296149, 0.41556016597510365, 0.21415343915343915, 0.22422874341610233, 0.37107638888888889, 0.1664058016382324, 0.29753984753984752, 0.37811653116531169, 0.27555780933062884, 0.0, 0.030378006872852234, 0.22984591523652181, 0.29958419958419963, 0.0, 0.095627876397107167, 0.33576831921041528, 0.40900537634408607, 0.21826536473291211, 0.1863187719899119, 0.1975085252975155, 0.27649228705566731, 0.41995206992152623, 0.29343905472636822, 0.36189986282578879, 0.22913195208601878, 0.30567598212499164, 0.3371556473829202, 0.24996537396121882, 0.41618852459016392, 0.42955465587044533, 0.48377823408624226, 0.36467391304347824, 0.24847504752177488, 0.33540190090472616, 0.33462802509710193, 0.16821658109224086, 0.39904400857095768, 0.3666061705989111, 0.22518604097998574, 0.4157142857142857, 0.44248822369959573, 0.048848238482384822, 0.27254264825345248, 0.25822740112994352, 0.23517759562841531, 0.3336263736263736, 0.4031818181818182, 0.17684782608695654, 0.24807508140203022, 0.16068181007738117, 0.19778067885117492, 0.30651851851851841, 0.093655913978494626, 0.24810682893847191, 0.44049479166666666, 0.34935275080906147, 0.28607260726072609, 0.028082655826558268, 0.084092477570738441, 0.29769730368037783, 0.0, 0.094400197567450772, 0.14370370370370372, 0.0, 0.18005771303410631, 0.24893111638954871, 0.089058265582655824, 0.30945674044265592, 0.11023513139695712, 0.23082427505366818, 0.0, 0.25794257218692196, 0.4771090534979423, 0.2998673273224487, 0.40229166666666671, 0.31647727272727277, 0.13802889576883387, 0.10469333333333333, 0.22553590568060022, 0.035292580982236157, 0.36022282928919602, 0.29989333333333335, 0.33273437499999997, 0.27675521067824888, 0.33515815085158152, 0.72213535037637733, 0.26489907720128714, 0.22705274605764003, 0.34094850948509481, 0.0, 0.19381898454746138, 0.42051569506726461, 0.29378847229994404, 0.33467353951890039, 0.054922118380062307, 0.0, 0.0, 0.27835637863007856, 0.0, 0.25649895178197063, 0.23820885200553252, 0.28687967369136641, 0.027601060304837638, 0.11386123354806893, 0.081009440813362379, 0.32889740344155177, 0.25296582849774341, 0.22098278335724533, 0.31838374599856273, 0.063618771165940974, 0.2827882727334281, 0.097773138482950606, 0.014052287581699347, 0.29738145789101206, 0.27080328814537064, 0.16257636947292123, 0.33757961783439489, 0.30510677156504634, 0.33269028411083829, 0.63229467463568589, 0.34027727893111126, 0.51238003838771584, 0.45297261189044763, 0.28600533412357387, 0.30366528116519526, 0.056683528515002427, 0.04293906810035842, 0.24237995824634659, 0.0, 0.35638581522463675, 0.20650661099512874, 0.44528673896046506, 0.3464282125992163, 0.068969044047456712, 0.25757910228108905, 0.21690058265235079, 0.47344921608725288, 0.28705793829947335, 0.23743300423131167, 0.091608535084119827, 0.098118811881188123, 0.35608760207869344, 0.27056509298998571, 0.17865429234338748, 0.23614070502037304, 0.094666666666666663, 0.2390056092137143, 0.31795604788279436, 0.27613930803231218, 0.15280026990553305, 0.38355610922191163, 0.33053221288515405, 0.27691934589800443, 0.056158352688321145, 0.12036592887000616, 0.40343971631205672, 0.3669906407487401, 0.26033197831978316, 0.36457446808510635, 0.29910932759126946, 0.29180316194274319, 0.35533199195171028, 0.3099038461538462, 0.29247091033538675, 0.31734693877551018, 0.60088932806324113, 0.082184978274363746, 0.38444220430107523, 0.33350694444444445, 0.082623394185260324, 0.35116838487972507, 0.11367346938775509, 0.0, 0.45176870748299319, 0.42834757834757836, 0.25292216721672167, 0.20858396433373433, 0.0, 0.0, 0.3227285074018742, 0.019200055551697799, 0.091037852767253291, 0.13089430894308943, 0.12560175054704595, 0.084268879436580429, 0.38442411447337554, 0.29292189679218966, 0.36071452736991677, 0.31121138264936432, 0.34243668720054754, 0.22687285223367695, 0.060801144492131615, 0.38541666666666669, 0.24049284522245501, 0.30597826086956526, 0.077164502164502158, 0.35586405965430734, 0.40951072961373391, 0.014384011617855538, 0.34894736842105267, 0.33653333333333335, 0.1778542742398164, 0.0, 0.0, 0.2525598382573534, 0.24509998020194024, 0.33779466657699164, 0.11474078259641192, 0.36339763660236335, 0.43010416666666668, 0.20568909929396401, 0.29504227921827303, 0.2618037985960161, 0.21651684214208261, 0.0, 0.022946859903381644, 0.43106508875739646, 0.34754526402583569, 0.34761904761904761, 0.52601060304837632, 0.41185897435897434, 0.51731512400105051, 0.0, 0.0, 0.2244593586875466, 0.33600405679513184, 0.33505509641873282, 0.38061883713022782, 0.28004442798963347, 0.2185370741482966, 0.24136713508932986, 0.1007017543859649, 0.29743852459016396, 0.37251534638994449, 0.2680691454664057, 0.38138948884089274, 0.054319654427645789, 0.21117157280534976, 0.34807864164432528, 0.19383983572895278, 0.32507945377711034, 0.26193381666786308, 0.003452855245683931, 0.26869918699186995, 0.07275203383148765, 0.26905248807089299, 0.30501022494887525, 0.14474412171507606, 0.40133333333333332, 0.3849527665317139, 0.41564625850340131, 0.2349, 0.0, 0.44556231976930472, 0.0, 0.32405266538214517, 0.26430910281597902, 0.22073434125269981, 0.29273265373232493, 0.16425961965242925, 0.35547169811320756, 0.020134680134680134, 0.26554224995783438, 0.049079754601226995, 0.34499327956989245, 0.28712838398937057, 0.31363636363636366, 0.0, 0.0, 0.038901960784313724, 0.0, 0.0, 0.32817769130998703, 0.26027170311464548, 0.25590717299578059, 0.042438867438867441, 0.23933333333333337, 0.34567699836867866, 0.28216062544420756, 0.36299927378358754, 0.33156779661016955, 0.25077918160796275, 0.30885634588563454, 0.31693068966702176, 0.034399736147757251, 0.2583333333333333, 0.10913317623081333, 0.21547017189079878, 0.28920807453416147, 0.18431232091690544, 0.34876666666666667, 0.21959913909066453, 0.13788617886178861, 0.22290916502479791, 0.23119537540430804, 0.38504760943440669, 0.45130293159609125, 0.3017971990142454, 0.28424750989220904, 0.0, 0.1220408163265306, 0.017755681818181816, 0.37028070175438593, 0.38251721002727623, 0.0, 0.0, 0.0, 0.17222222222222222, 0.25801820728291319, 0.2448005698005698, 0.16062158469945356, 0.072667464114832547, 0.036055107526881715, 0.29060751398880896, 0.0, 0.033688684503901896, 0.040240261092979651, 0.38681392235609102, 0.15388655462184875, 0.17752839372633855, 0.20805709646867815, 0.0, 0.20865580448065174, 0.16849173553719007, 0.21415157612340707, 0.15436264485344242, 0.24282001299545158, 0.20393641180923544, 0.2898884239888424, 0.33023012552301256, 0.18233706932337068, 0.41036474665786432, 0.24485912916209293, 0.37711111111111117, 0.33472803347280333, 0.12327061919834975, 0.0, 0.0, 0.2473374827109267, 0.0, 0.14671314741035857, 0.2788634788634789, 0.37519776483657047, 0.37606060606060604, 0.0, 0.021139105626783075, 0.038080168776371312, 0.0, 0.28881877481565515, 0.24475383373688456, 0.26228724773002976, 0.38663194444444449, 0.29438630560650197, 0.70242785466545443, 0.27670807453416146, 0.041929092067086546, 0.19065269400545876, 0.24271499644633973, 0.33325399523971438, 0.064400584795321639, 0.33634857521537442, 0.28893371357028585, 0.34667673716012082, 0.4510599415204678, 0.47393680842554331, 0.090005344735435588, 0.21611916478255089, 0.23446763304890167, 0.28632653061224489, 0.43823938761308284, 0.39027181688125889, 0.24742745237671351, 0.31739431739431739, 0.29301655867530596, 0.4482646420824295, 0.24804964539007093, 0.27606296363307398, 0.29364375461936437, 0.019052558782849241, 0.4857601713062098, 0.32113760924307511, 0.25515789473684203, 0.297789566755084, 0.33576051779935273, 0.34194958847736623, 0.30020944845240866, 0.34116865869853913, 0.38388671874999997, 0.23899176954732509, 0.38621730382293762, 0.42280570142535628, 0.2845737913486005, 0.31270542146675079, 0.3724489795918367, 0.11729696639912937, 0.064002599090318385, 0.06545961002785515, 0.21315170836956174, 0.65482604328371841, 0.27013696685827837, 0.26535470028161456, 0.23704481792717086, 0.27435629784272786, 0.27763246143527837, 0.25698192120885049, 0.031953290870488323, 0.096946916776000855, 0.34555950266429836, 0.20644586894586894, 0.11680642907058, 0.34824561403508769, 0.43659022246635537, 0.32952286282306159, 0.2486808236808237, 0.50385789239052159, 0.32149812734082395, 0.26014784946236558, 0.30001967987404876, 0.39755927475592751, 0.01529435031973103, 0.20814035087719301, 0.16885080645161291, 0.37742574257425737, 0.27782231128924517, 0.38297281344397766, 0.3757995735607676, 0.33584974471188916, 0.55752949803346441, 0.0, 0.11274231757365454, 0.32036534697661639, 0.47970328282828284, 0.21452855061402898, 0.42208585014779587, 0.24475831763967357, 0.33275627970128985, 0.41995954634111105, 0.35020413672099066, 0.37873443983402494, 0.35511584644004734, 0.34816272542504112, 0.3014200298953662, 0.31461965425336819, 0.40860433604336044, 0.59368737474949906, 0.14137919221677916, 0.28973577235772358, 0.20417522245037648, 0.55773000743594936, 0.22869595536959555, 0.22850152905198778, 0.31434511434511436, 0.41083087073053398, 0.37120735005371763, 0.22771266673705698, 0.32623333333333326, 0.26048148148148148, 0.37472527472527473, 0.32273082942097026, 0.37635181382614646, 0.035442600276625172, 0.42604551045510458, 0.24611497157296275, 0.32064671620807389, 0.22740585774058578, 0.30783828117461642, 0.029725775827185857, 0.42008239648069262, 0.2931834403997145, 0.31651031894934339, 0.27606060606060606, 0.0, 0.28212389380530967, 0.24273498778449273, 0.38208852005532506, 0.2863528723092888, 0.36667015013759718, 0.050101010101010104, 0.33886442794243282, 0.29652777777777778, 0.47446292446292448, 0.21160835174232168, 0.34551168729129844, 0.0, 0.27531101111699313, 0.50238596491228071, 0.24071038251366123, 0.42462264150943391, 0.33683127572016452, 0.14584711823088978, 0.40101394169835242, 0.010941469426767613, 0.25973201244681526, 0.26461232604373758, 0.15941747572815534, 0.28740740740740739, 0.45843597070318914, 0.33190000000000003, 0.42793522267206474, 0.22320328542094456, 0.25179245283018864, 0.31079465541490864, 0.23346534653465345, 0.34273673945599553, 0.27842140921409214, 0.17487228607918265, 0.0, 0.45621942697414392, 0.50070735999447913, 0.44832942265111209, 0.44272976680384091, 0.48181277776205167, 0.23184523809523808, 0.37089429907109461, 0.55241502683363142, 0.20256241102739486, 0.20874999999999999, 0.0, 0.2715033887861984, 0.32244897959183672, 0.06835317460317461, 0.27159479808350451, 0.19592317508098026, 0.26437500000000003, 0.12068441834565152, 0.034270414993306561, 0.49555335968379449, 0.18889585326427605, 0.064421768707482993, 0.32757929883138559, 0.25884896872920826, 0.2835533193936226, 0.26528619528619529, 0.28589743589743594, 0.084462122840966103, 0.35582682291666667, 0.40909090909090906, 0.34163193270999959, 0.033211786734995564, 0.16379217225362763, 0.26531627576403699, 0.38510204081632654, 0.40649717514124289, 0.15318440896378377, 0.0, 0.35593990216631721, 0.26587551634810613, 0.33252969951083156, 0.27853682979789551, 0.30879917184265016, 0.028814669286182055, 0.0, 0.39373593536724827, 0.2875610166638613, 0.26617647058823529, 0.2719619823489477, 0.26775732788002726, 0.14863398757273893, 0.49104084321475622, 0.49814126394052044, 0.14336879432624114, 0.19573560767590617, 0.45697565705183701, 0.23465447154471544, 0.30938654841093866, 0.40669456066945603, 0.39253838525459089, 0.35996632996632993, 0.31901489117983961, 0.20429932150313151, 0.041568627450980396, 0.20495145631067962, 0.0, 0.016191520467836257, 0.10756529883103819, 0.23133074935400513, 0.36327367636092461, 0.35366528354080229, 0.36142284569138272, 0.48606121091151022, 0.050990930466912998, 0.29155068689952413, 0.0, 0.30178133564113657, 0.045562543675751216, 0.3430555555555555, 0.33956692913385833, 0.05299234516353514, 0.30377176015473889, 0.50653959241610058, 0.3726679712981083, 0.0, 0.028559576233326951, 0.055192730886633068, 0.0, 0.14393044619422574, 0.49969879518072285, 0.35567062645953906, 0.27141980778406383, 0.32389601139601143, 0.27096283560375611, 0.46064213564213563, 0.11696847753185782, 0.48567900387610197, 0.29941939890710378, 0.32829218106995883, 0.57693814322851744, 0.24002100840336135, 0.016949152542372881, 0.0, 0.0, 0.24003436426116839, 0.17713019768234495, 0.44615646258503411, 0.15182456140350878, 0.35821000704721634, 0.1787945297990883, 0.35446144040790312, 0.32065292096219927, 0.0, 0.26526181353767558, 0.35570355191256831, 0.23950432646084821, 0.40058236272878534, 0.0, 0.20071234024722395, 0.33976430976430977, 0.41384353741496599, 0.0, 0.30528846153846151, 0.40738373022215119, 0.24831683168316832, 0.31666284065195294, 0.0, 0.39182935647143891, 0.21081747709654688, 0.37427007299270071, 0.22958199356913184, 0.2270636420919975, 0.086179633143580014, 0.28423462712603581, 0.32567750677506774, 0.31223672043563139, 0.39748858447488583, 0.34815533980582525, 0.24029374201787995, 0.23545225059830183, 0.22945441422525506, 0.19021276595744682, 0.47692931377607434, 0.25322807017543858, 0.30179169511917536, 0.43068869622116795, 0.36596153846153845, 0.29235194585448399, 0.29186666666666672, 0.31168619791666663, 0.39261904761904759, 0.25760582010582012, 0.24071773636991031, 0.29707070707070704, 0.26642053445850916, 0.16727598566308244, 0.16439716312056737, 0.23373894180252858, 0.27513550135501352, 0.27821888412017171, 0.28612698000519343, 0.30850509193284903, 0.58539735099337742, 0.18156711624919719, 0.36765309667435181, 0.32869259081453034, 0.19352221245520321, 0.35281850765721734, 0.4235656401944895, 0.32215799614643548, 0.38439306358381503, 0.39473320431296655, 0.42313333333333336, 0.27056915364199352, 0.17861442842732092, 0.31225858914413496, 0.24293228139381984, 0.29583333333333334, 0.20438218390804597, 0.29505794137695979, 0.33723753280839902, 0.29725767814365905, 0.28527932674215722, 0.72440623832013862, 0.2681752365558811, 0.23407557354925776, 0.31867192636423403, 0.32319587628865981, 0.26686583544188031, 0.0, 0.24331372024605513, 0.028620749180044883, 0.34779185210544339, 0.33228758169934647, 0.54259785994853038, 0.40275049115913553, 0.3924849699398798, 0.048607237160177022, 0.28240031358015893, 0.31577492050324896, 0.0, 0.3185224839400429, 0.11283828382838285, 0.33977048157265188, 0.22784810126582278, 0.0, 0.074147529575504523, 0.052671466464569917, 0.062783584848586704, 0.52313631522896697, 0.12048192771084337, 0.40986969111969118, 0.24513184584178496, 0.27742150968603874, 0.25898550724637681, 0.11082062454611474, 0.3097938144329897, 0.098273431994362226, 0.27473439575033198, 0.12418232428670842, 0.16610863095238096, 0.32050739957716706, 0.27602217602217605, 0.17408963585434176, 0.35017361111111112, 0.2846007604562738, 0.0, 0.095703125, 0.39701255143321462, 0.45153149415750538, 0.33936314363143633, 0.4532087308848517, 0.3561061946902655, 0.35978583364594346, 0.11603241719520789, 0.54925240359941163, 0.21616666666666665, 0.096513249651324962, 0.33566945606694559, 0.28874532231871786, 0.21088362068965516, 0.3072959133752976, 0.49582555741086337, 0.27328070644902325, 0.35188035331905781, 0.42781084656084656, 0.53643276542496865, 0.48693069306930697, 0.53201054624121147, 0.28463333333333335, 0.23692468619246859, 0.3004532775453278, 0.29494190020505812, 0.35645390070921984, 0.29213780918727916, 0.32247026775629528, 0.0, 0.14992042163487884, 0.42401084010840112, 0.29523424878836835, 0.45786371626512251, 0.32405886379192334, 0.32740641711229945, 0.29763488543976352, 0.38863636363636367, 0.20061850480060411, 0.0, 0.20393112410656269, 0.28306503084887602, 0.21445170660856933, 0.27180194378775935, 0.37106227106227108, 0.50117187499999993, 0.39218068535825545, 0.29779693486590031, 0.52634751773049637, 0.40145081387119602, 0.34930264993026505, 0.0, 0.43381964615790863, 0.22422074603985692, 0.42467289719626167, 0.2062007874015748, 0.45556701030927832, 0.27407477940709707, 0.22320402298850575, 0.0, 0.063748495788206988, 0.0, 0.53537894030851774, 0.49088099956336284, 0.053293413173652694, 0.46137510879025234, 0.24493081244006029, 0.28218096161840095, 0.33931195724782898, 0.29771314557593431, 0.046847753185781355, 0.36561446521605884, 0.40690721649484535, 0.38141025641025639, 0.26561085972850679, 0.29948464094392074, 0.054351530021127241, 0.13816602521097421, 0.12091602028138745, 0.56596806387225551, 0.28141962421711902, 0.27700901821899299, 0.37704081632653058, 0.0, 0.056289993671331126, 0.2290172642762284, 0.42444184976824828, 0.0, 0.40178986933953825, 0.37015635622025833, 0.21252782193958664, 0.36726326297775247, 0.0, 0.0, 0.33580362726704188, 0.48030041127734407, 0.0, 0.38620928620928624, 0.12747325102880658, 0.31392649903288206, 0.21282205313042318, 0.44642800318217979, 0.38376227863253876, 0.3443421949556919, 0.32763551712670436, 0.31277923551521175, 0.42784488239033697, 0.044026866482897851, 0.053805910681495338, 0.19733333333333333, 0.33088235294117646, 0.0, 0.0, 0.37677419354838709, 0.15592123857676726, 0.15134751773049646, 0.48382464096749817, 0.42749391727493924, 0.18860936408106219, 0.33578732106339471, 0.10957523398128149, 0.41580320266647347, 0.092431630273478907, 0.25054466230936817, 0.31033562166285278, 0.35813534917206624, 0.25494623655913978, 0.0, 0.47515337423312887, 0.36205533596837941, 0.0, 0.13222222222222221, 0.52877621636890049, 0.0, 0.47978418248873106, 0.40073684210526311, 0.082164328657314628, 0.019094724220623503, 0.36513810853547757, 0.41584362139917697, 0.46114132305362432, 0.27356209150326793, 0.32972582972582976, 0.38722554890219563, 0.45873493975903606, 0.0, 0.28093832020997378, 0.21291500664010626, 0.34881194840461649, 0.28123689727463314, 0.28239154562563334, 0.42824267782426778, 0.2335098870056497, 0.46921941806349082, 0.44776074177322583, 0.52059875915044473, 0.27406687402799379, 0.017651349380014586, 0.0, 0.37533585008332487, 0.24064680660258386, 0.17181477103356121, 0.3754448398576512, 0.56173756470853031, 0.24021164021164018, 0.56004016064257023, 0.29851235501765006, 0.30478899952584165, 0.42601010101010095, 0.2289791969037252, 0.37758396250976306, 0.39064205742720043, 0.19472466906156194, 0.32903138528138531, 0.13311637184399769, 0.44729272419627752, 0.38872620790629575, 0.069959473150962515, 0.30103563734523836, 0.37377163933984869, 0.25007751937984496, 0.45500000000000002, 0.38245892951775307, 0.44553719008264459, 0.38396539074556629, 0.38762826293597208, 0.40567999999999999, 0.3884307846076962, 0.37908333333333333, 0.39122302158273381, 0.31890418818129662, 0.37529569892473125, 0.35600574712643679, 0.46042735042735045, 0.036406995230524639, 0.36138796603912882, 0.52596441166177621, 0.38436671966083724, 0.20332225913621266, 0.50930193813516966, 0.34402515723270444, 0.43805425143453308, 0.071357520548662373, 0.3934363132505389, 0.04439207519250267, 0.43402871850447028, 0.41642357436043065, 0.17754569190600522, 0.33099391062029104, 0.46078116639914385, 0.36769607332569526, 0.39354674796747968, 0.0, 0.39762460119574256, 0.078840579710144923, 0.31312465678198786, 0.32283582089552237, 0.12182914046121593, 0.30192690305524517, 0.42678857623288929, 0.45648148148148149, 0.3784313725490196, 0.27858853182104598, 0.41376057851023135, 0.28973426424911736, 0.60829087416971206, 0.34784005999089423, 0.36412082455247929, 0.60513086716572861, 0.35223880597014928, 0.34941520467836257, 0.43828051776984073, 0.0, 0.4022364217252396, 0.31168760831889081, 0.39524085896691818, 0.64427259545674231, 0.38209316394434356, 0.55575805599577388, 0.38203497615262327, 0.089215073912138246, 0.052053105980842812, 0.32898008251140687, 0.17708669897684437, 0.39188976377952756, 0.056809116809116808, 0.40716818642350555, 0.15933156019471068, 0.3229199208580652, 0.41390027322404377, 0.060069617105917454, 0.17646579804560261, 0.20922222518890343, 0.20161206448257932, 0.40485862419156554, 0.35446293494704989, 0.46083892530507553, 0.25712407991587799, 0.11202631647110628, 0.27547674990437682, 0.29103214890016921, 0.0, 0.22556879739978328, 0.48426871900490498, 0.50594834828324431, 0.19849012775842045, 0.24957729468599033, 0.20187018701870185, 0.35905631659056314, 0.2385730211817168, 0.35045032465265658, 0.27480107912440666, 0.38118642486079568, 0.058058574323079759, 0.038083048919226391, 0.32950877192982453, 0.0, 0.37912280701754386, 0.05714665868343146, 0.44770838201422036, 0.098228488792480112, 0.43662837132149651, 0.48377777777777775, 0.0, 0.17281420765027322, 0.0, 0.27432099555328066, 0.47554517133956387, 0.32439874520738932, 0.10401234567901235, 0.30114409400123682, 0.26933596968199047, 0.32479999999999998, 0.21711573886165664, 0.34096381960341288, 0.19649680555130988, 0.34817585209230117, 0.30071868583162215, 0.30395707578806169, 0.22012578616352202, 0.25683501683501686, 0.43707818930041148, 0.43061224489795924, 0.16089139987445072, 0.26178486728826228, 0.35744698106321721, 0.43301418439716316, 0.3757229832572298, 0.38504183740229325, 0.24030303030303032, 0.27838123995137448, 0.22086681974741679, 0.44012499999999999, 0.24924568965517241, 0.24786501377410469, 0.33021045485403938, 0.0, 0.25955775986774121, 0.22788600288600289, 0.04849726775956284, 0.14119097956307258, 0.015948243436395095, 0.32549394518801777, 0.35125000000000001, 0.25877378435517973, 0.4395216362970118, 0.37711562277179422, 0.28187057353145395, 0.35248904532720349, 0.097434288503102554, 0.21328725038402452, 0.28987095633728127, 0.032999828762934537, 0.31212438853948288, 0.30444677871148457, 0.35682773109243698, 0.383927323549965, 0.069461279461279474, 0.25153791130185982, 0.36282808398950134, 0.31250805931657, 0.46131205673758868, 0.039264413518886682, 0.38003913894324859, 0.42545518207282906, 0.45219999999999994, 0.23284518828451883, 0.31882270590980305, 0.0, 0.42356938483547923, 0.41423884514435699, 0.27840991976659374, 0.39624833997343961, 0.40585964912280703, 0.33663194444444444, 0.52123239079760819, 0.10561857556302186, 0.36978557504873294, 0.34928400954653938, 0.27751973235456523, 0.33868184955141484, 0.26630605478974001, 0.30072916666666666, 0.39041666666666663, 0.57636666666666669, 0.36759813705921485, 0.12656462585034012, 0.30693877551020404, 0.40458727401402561, 0.40822416302765652, 0.23438320209973754, 0.19607556546205282, 0.089145658263305325, 0.42093330174951782, 0.32019027484143769, 0.19402350014728503, 0.10508811629980114, 0.10549465654101234, 0.24014407334643093, 0.1529970658096968, 0.31611358193636679, 0.40601659751037344, 0.27226190476190476, 0.52889317889317899, 0.55306725794530687, 0.31958161865569268, 0.37613873339918785, 0.39718706047819974, 0.0, 0.32026588845654991, 0.0, 0.44510095212370859, 0.43413419094463362, 0.30638220277169953, 0.038027210884353742, 0.043197506123357828, 0.38392156862745097, 0.4107211723871963, 0.27094314231243688, 0.04333989501312336, 0.13233995584988961, 0.036996699669966999, 0.3506972111553785, 0.37067840834964122, 0.63608594179022515, 0.3655688622754491, 0.061684210526315793, 0.36329931972789126, 0.38604810996563577, 0.0, 0.29546581650726184, 0.22998001332445034, 0.36207482993197271, 0.3268121979670055, 0.0, 0.36929809796330587, 0.47181219388616796, 0.22371657668594064, 0.34590625303270472, 0.30535021097046411, 0.0, 0.50633134633698984, 0.34063986874487284, 0.37313725490196076, 0.33396039603960398, 0.0, 0.32162739399880957, 0.24220907297830377, 0.099999999999999992, 0.240534993984856, 0.28593737799640823, 0.28857278706712103, 0.32338759530187511, 0.06593727206418673, 0.26636302294197034, 0.35837264150943393, 0.44071694531649264, 0.41305987572285485, 0.27183394452949766, 0.33834999828196405, 0.040488979440637153, 0.062524654832347148, 0.38337703962703956, 0.10395033442962197, 0.36880430576564532, 0.25515728388945902, 0.35492382929317801, 0.25119022976609401, 0.45671010209564755, 0.0, 0.089091269055632541, 0.39986225895316807, 0.16531084656084657, 0.16710086840347363, 0.10846442463254277, 0.41446684680939516, 0.3986315789473685, 0.35151821862348176, 0.29231266149870805, 0.32390737116764512, 0.2550593631948192, 0.38236175383693444, 0.21768508592404898, 0.46304755019552424, 0.20021893066055485, 0.38766694408116359, 0.34036887907520452, 0.45901409438328306, 0.36632632498152745, 0.47546666666666676, 0.4033602150537634, 0.3420197740112994, 0.42352652086916842, 0.33959946777660266, 0.055414012738853505, 0.25781144781144782, 0.32174953015547586, 0.33427672955974846, 0.33475846916659246, 0.025016879286450376, 0.0, 0.0, 0.3737373737373737, 0.38137254901960788, 0.30841501882440731, 0.43079729796361127, 0.39673611111111107, 0.31260317460317461, 0.38480662983425418, 0.42833675564681728, 0.16640825131454767, 0.33434031431383865, 0.040080160320641281, 0.38612318840579712, 0.37062629136605363, 0.29076576576576579, 0.26563670746066292, 0.41382542878966733, 0.22864095844253093, 0.085203615314308923, 0.31351351351351353, 0.26193293885601576, 0.24192477876106197, 0.48138203228624121, 0.37056404042980584, 0.47044949581268164, 0.53076222903954429, 0.0, 0.35790255596447984, 0.1298816165464689, 0.22271872894279532, 0.014804944851580428, 0.0045166485767305069, 0.43054942817388947, 3.5793542844870788e-05, 0.25345762711864411, 0.36050392670157072, 0.0, 0.3409270216962525, 0.41047443006777573, 0.34820512820512817, 0.36065292096219931, 0.40414239482200642, 0.3147760717705046, 0.0, 0.46075821883317736, 0.40554786848520785, 0.0064503258412022873, 0.25697037373067666, 0.29357169766087882, 0.33356752537080409, 0.38316771031854069, 0.29799029799029797, 0.42198067632850234, 0.33670787155441884, 0.39001515042204754, 0.50194719471947191, 0.074098248024733776, 0.32043122483439412, 0.26643097643097646, 0.31551724137931036, 0.0, 0.039395500601064747, 0.014727296796399258, 0.028860594188703886, 0.0, 0.029622809245618491, 0.0, 0.46506802721088442, 0.0, 0.065303340149965916, 0.42927429274292739, 0.43118279569892476, 0.20715817252185387, 0.2020311679215549, 0.28023809523809518, 0.0, 0.21666666666666667, 0.0, 0.48891961719005855, 0.33384986225895319, 0.26447916666666665, 0.0, 0.42514774545335821, 0.36293995859213252, 0.39887755102040812, 0.34468791500664009, 0.46949932528286215, 0.034432802129308313, 0.12297029702970297, 0.38159922928709061, 0.38787289234760047, 0.027736636596203044, 0.0, 0.12656422226544772, 0.30995600456248984, 0.33690612190040992, 0.450941429409082, 0.49015583109919569, 0.31217850451371149, 0.45106666666666662, 0.32675159235668788, 0.42123287671232873, 0.44589956346429399, 0.47079545073304929, 0.3881830601092896, 0.35210870942758576, 0.30005991212887767, 0.27919871794871792, 0.48543852569276297, 0.21534079618467244, 0.24935241990456714, 0.64027777777777772, 0.38446424812293872, 0.14177350427350427, 0.27028236914600551, 0.47312553917707512, 0.49566593285635657, 0.2660300584104483, 0.38165198603955464, 0.38323451910408429, 0.39291482339723338, 0.32345679012345679, 0.32778925619834715, 0.040481927710843371, 0.29644308943089431, 0.43420060331825033, 0.29956280766979937, 0.032800169109357388, 0.24448919809593556, 0.0, 0.0, 0.15376663220728981, 0.2969883821483626, 0.28126666666666661, 0.049705882352941176, 0.31826388888888896, 0.066384747183843101, 0.3325710325710326, 0.34955056179775273, 0.0, 0.27405498281786939, 0.17082437275985662, 0.48410554054504817, 0.25949695319590305, 0.0, 0.32101147557631765, 0.24315675976487777, 0.34394372530755152, 0.043158660844250366, 0.037633333333333331, 0.34693813131313128, 0.029501827401139241, 0.038228699551569503, 0.038948884089272863, 0.2881144781144781, 0.40210919685837349, 0.30844660194174756, 0.44400641025641024, 0.27521293667448465, 0.46165765423900329, 0.46323259920701032, 0.48868585650194851, 0.61064488456230648, 0.38749735412403868, 0.57668980927300295, 0.38190571049136784, 0.28742937853107342, 0.25153494448073155, 0.18091884641180414, 0.17903271093640319, 0.0, 0.39887074732072214, 0.036363636363636362, 0.27979999999999999, 0.35022727272727272, 0.14170096021947876, 0.6163654618473895, 0.29117447386286494, 0.33301526717557256, 0.042469676007850454, 0.25957823040146699, 0.34117867867867868, 0.37434750186428045, 0.38339636232667024, 0.04331997327989312, 0.47345264727815067, 0.41337579617834391, 0.38865223463687149, 0.94221411192214111, 0.078949199721642299, 0.318627107970051, 0.22588356441469606, 0.27464545140089935, 0.29457831325301209, 0.30944233206590621, 0.27558752662639241, 0.0, 0.31533788914198929, 0.28730650154798754, 0.36099493029150831, 0.51847105187273723, 0.19404761904761905, 0.43174603174603171, 0.15880952380952382, 0.4022673188789001, 0.28610533953365647, 0.32829759584145551, 0.10527235246846721, 0.39169105190204834, 0.019904788188215814, 0.0, 0.0, 0.45959629384513573, 0.379275265724208, 0.52930367504835585, 0.043290938544790269, 0.34230030194894312, 0.057888148323578172, 0.57990678074320012, 0.36727974190973489, 0.50597808525013943, 0.10430193396062637, 0.42266540258684904, 0.31059570979642026, 0.0, 0.077990023117167531, 0.3014705882352941, 0.33336700336700337, 0.084876543209876532, 0.24459190444591905, 0.40600694444444446, 0.11992263056092843, 0.37573964497041423, 0.40539300057372346, 0.36148465295784837, 0.30469576719576713, 0.44073711676451399, 0.30912134968930105, 0.35838617833570596, 0.45740343347639484, 0.16102564102564101, 0.20222222222222222, 0.48617003224164268, 0.42585170340681361, 0.0, 0.36107715413363134, 0.20664136622390894, 0.26931796712639333, 0.26825745493936742, 0.36782077393075352, 0.42211550301686984, 0.0, 0.06145833333333333, 0.29785387670638497, 0.27551594746716696, 0.23503787878787877, 0.45343570872549716, 0.28255350018135655, 0.31265318627450978, 0.38856345885634591, 0.2727426217329641, 0.34851652180291193, 0.27650013217023522, 0.0, 0.29266817838246406, 0.43355328387295289, 0.34159751037344399, 0.18343926553672316, 0.255818553438386, 0.26441908713692946, 0.33367650843843072, 0.34798295649783523, 0.2152367604364801, 0.43689288090485695, 0.27769130998702979, 0.26794871794871794, 0.29615920127687029, 0.34685147159479807, 0.0, 0.0, 0.43321759259259257, 0.26906595129428978, 0.40016183244118014, 0.053012497668345461, 0.074433656957928807, 0.24692122713692341, 0.3951704735749213, 0.23840439276485792, 0.45286163522012579, 0.30242105263157892, 0.31541835357624837, 0.0, 0.40514103730664242, 0.22369565217391302, 0.34910208930193559, 0.31888323258033718, 0.63384650300714918, 0.048409669211195931, 0.27908374917333012, 0.23699587534372138, 0.49337349397590363, 0.27836644591611476, 0.0, 0.074093567251461989, 0.32491694352159467, 0.28344671201814059, 0.32742324489928953, 0.37089460784313716, 0.3294573643410853, 0.0, 0.38672222222222219, 0.27337092731829571, 0.48569110089261563, 0.37748538011695904, 0.25146396396396398, 0.43947649572649572, 0.21727053140096617, 0.27107676843824602, 0.25931249251407351, 0.33683206106870234, 0.060910087719298248, 0.23476190476190475, 0.27080335731414867, 0.34314112690889942, 0.39515723270440251, 0.34729277660760749, 0.51884920634920639, 0.51333333333333331, 0.29698717948717945, 0.1027946127946128, 0.39118632707774792, 0.20412186379928315, 0.027302586560832079, 0.28632575757575757, 0.21287878787878789, 0.44105865522174531, 0.40678714859437753, 0.29231950844854071, 0.053968362198281737, 0.0, 0.39030620707958735, 0.23251773049645391, 0.44504310344827586, 0.33676333021515431, 0.36837848766680142, 0.27372188139059311, 0.44120762711864403, 0.097368421052631576, 0.29028954802259888, 0.18722677595628417, 0.0, 0.32352737352737349, 0.38312701549984396, 0.063408896492728822, 0.37013346241615386, 0.46151234253505818, 0.16412541254125412, 0.10947580645161289, 0.43400000000000005, 0.45291005291005293, 0.31630218687872758, 0.17960872836719338, 0.41345945555635788, 0.21612377850162867, 0.10138600138600139, 0.41580009312432098, 0.38796296296296295, 0.33610545137011932, 0.51949339207048462, 0.31771894093686348, 0.56962025316455689, 0.3612373953170398, 0.13609916519099419, 0.36062449852901846, 0.4295234806629834, 0.15080593165699549, 0.35681003584229393, 0.29030186255619783, 0.28715277777777776, 0.34803711634546752, 0.33383534136546189, 0.44422183042154195, 0.0, 0.041899070385126164, 0.35813333333333336, 0.28454501685122774, 0.32889634601043999, 0.0, 0.38062792251169003, 0.11131816743433776, 0.36774305555555548, 0.26126126126126126, 0.26368534482758621, 0.38136856095694549, 0.0, 0.25966812227074243, 0.25405473897617842, 0.29645833333333332, 0.27262872628726287, 0.0, 0.097542087542087541, 0.54495399550822288, 0.1343809456697907, 0.31502498215560315, 0.39521072796934864, 0.46820247853618746, 0.43151823579304494, 0.36462371224026541, 0.3833333333333333, 0.13347732181425487, 0.26146369353916527, 0.38028814669286182, 0.29383983572895278, 0.3207784055241682, 0.28456032719836405, 0.45154826958105643, 0.25941176470588234, 0.36217814892136396, 0.41133740665308888, 0.5161157024793388, 0.50890635232481984, 0.45060140443579227, 0.041947565543071164, 0.13750932140193886, 0.44335460222644585, 0.28466386554621853, 0.034934640522875815, 0.37748366013071888, 0.40886818495514149, 0.27559523809523806, 0.37384353741496595, 0.41292929292929292, 0.35114204139900074, 0.20356394129979036, 0.35344001179854001, 0.20034704648976936, 0.27567010309278356, 0.34728937728937731, 0.29986376021798361, 0.3443655899714797, 0.019700139470013946, 0.28760855043420169, 0.36729588355697068, 0.0, 0.28630317306359981, 0.27428670842032016, 0.49972419499413911, 0.36325759037074185, 0.32971800433839482, 0.31555786555786558, 0.39676308539944904, 0.43014134153505895, 0.23014755197853787, 0.32512771392081735, 0.33800272665303338, 0.29616858237547894, 0.0, 0.24388145315487569, 0.24745519713261646, 0.52738095238095251, 0.19742457689477555, 0.37838865836791152, 0.0, 0.24889349930843704, 0.50750626953863065, 0.39582695122366313, 0.42871017871017869, 0.29315789473684212, 0.3053446705132099, 0.3658536585365853, 0.29434907010014305, 0.21444835437797558, 0.0, 0.28492063492063491, 0.32536997885835101, 0.19963204665370735, 0.46842948717948718, 0.48230874316939892, 0.45907622739018084, 0.4573539518900343, 0.42303030303030309, 0.23412384716732543, 0.44660618279569891, 0.0, 0.42158504007123782, 0.04917027417027417, 0.20211450878334417, 0.27400835073068891, 0.23946725563029148, 0.091557971014492756, 0.27830816629264765, 0.30454861111111109, 0.19519549370444003, 0.26438394611282628, 0.0, 0.28063524590163935, 0.067185473411154356, 0.25965794768611672, 0.3116910229645094, 0.41624022743425731, 0.18734309623430964, 0.33276439089692106, 0.0, 0.394410569105691, 0.11013605442176871, 0.21111625446369528, 0.3853675331382338, 0.29385416666666664, 0.0, 0.3455334768644337, 0.28976377952755905, 0.22471631205673759, 0.30192577030812329, 0.26774193548387099, 0.10370762711864408, 0.42024062278839347, 0.029660581566599308, 0.056413793103448275, 0.49595435684647304, 0.21452898550724639, 0.31074800290486565, 0.58593503626616217, 0.30355191256830605, 0.0, 0.33321917808219176, 0.0, 0.0, 0.19184042886483099, 0.40525925925925926, 0.29691287153973717, 0.32908378541289934, 0.26508250825082508, 0.33357791754018173, 0.171913357400722, 0.77455685045539124, 0.30361356932153394, 0.48902764744098748, 0.33131101813110181, 0.17333333333333331, 0.26843331621973854, 0.22855007473841554, 0.57326315789473681, 0.0, 0.31524380366110483, 0.089975977287617387, 0.29229720518064078, 0.29393939393939394, 0.25284992784992788, 0.22328722002635049, 0.13062908215881747, 0.43061339335959481, 0.3325604838709677, 0.30525400139178843, 0.44122807017543864, 0.27754629629629629, 0.25199738048461034, 0.36413124533929903, 0.28604856212696694, 0.27297476759628153, 0.0, 0.37801625807280792, 0.30736820470660775, 0.3355281207133059, 0.34976058702816981, 0.30921568627450979, 0.24941161503721138, 0.037517882689556512, 0.17008196721311475, 0.24335488505747124, 0.50671723795682533, 0.34206896551724136, 0.0, 0.53596916928347138, 0.13801665520666209, 0.081558497625557641, 0.24805436808067524, 0.08817090395480226, 0.37019002375296911, 0.43634713144517073, 0.080287114845938368, 0.32491301322199023, 0.29873188405797102, 0.42310267857142853, 0.3800701754385965, 0.42241645561801228, 0.303495145631068, 0.45555555555555549, 0.44628552971576224, 0.45668002672010688, 0.30014005602240901, 0.38901906149072257, 0.35866666666666669, 0.29688247870066048, 0.23245791245791245, 0.27900601659012425, 0.61051056045235319, 0.37234665270032968, 0.30673413779680814, 0.63244291397813523, 0.0, 0.52857142857142858, 0.53020971702290387, 0.50686490455212918, 0.0, 0.0, 0.22875816993464052, 0.32396251673360105, 0.65595844297870887, 0.40507476212052557, 0.29613821138211383, 0.18104542889390521, 0.28292433537832312, 0.48343251284825534, 0.35453558459061807, 0.11699346405228758, 0.32338656021290751, 0.26715879265091869, 0.30212620027434839, 0.36674737691686848, 0.36126709863210943, 0.20709046454767724, 0.2805553582842128, 0.37510504201680678, 0.3718139474705654, 0.41740819209039548, 0.39217687074829932, 0.44906204906204911, 0.24894230769230766, 0.22626582278481011, 0.33585588246151576, 0.33088450292397664, 0.26769278606965174, 0.0, 0.35162682602921647, 0.26018336607727571, 0.24298626174981922, 0.20896624472573838, 0.24364604125083164, 0.23977122745270568, 0.28287037037037033, 0.10098425196850394, 0.1784375, 0.38825187969924818, 0.29209799861973779, 0.70850646352723912, 0.098865979381443314, 0.18620331950207469, 0.25014430014430017, 0.39306280062326404, 0.15685674304705266, 0.54239387866642375, 0.28075435203094778, 0.27440384883558777, 0.27078130574384585, 0.34714375392341501, 0.39891273450824327, 0.20246913580246911, 0.24628180039138944, 0.30639223560910311, 0.47557972501539097, 0.091869095816464241, 0.38472838970318191, 0.41683065583741813, 0.38450152945433014, 0.045925925925925926, 0.349968132568515, 0.34026531658549097, 0.37983660130718949, 0.24965431919074305, 0.36954134366925062, 0.28539407086044832, 0.36498606025998453, 0.24148905735946216, 0.39298831385642746, 0.1202262142381903, 0.3019338959212377, 0.30007032348804497, 0.2564795564795565, 0.36924643584521383, 0.43828551912568309, 0.42212212212212208, 0.05902346319713471, 0.42002967896051246, 0.61174165653290091, 0.48534704370179949, 0.30105708245243129, 0.0, 0.31784946236559136, 0.12249084249084249, 0.31549450549450547, 0.0, 0.49993041057759219, 0.21656483367277668, 0.46234432234432243, 0.30817869415807564, 0.34452191235059759, 0.40455486542443059, 0.46384180790960461, 0.28206427101472215, 0.38144185132136943, 0.29999999999999999, 0.30140997830802607, 0.5207037967985183, 0.2515300267754686, 0.42904211956521737, 0.32201448543035205, 0.33019801980198016, 0.14741035856573703, 0.18544546850998464, 0.0, 0.3937454010301692, 0.33379609250668746, 0.1520128384607505, 0.42332002661343981, 0.40341044193077213, 0.40873604111078171, 0.30713790713790717, 0.29320743012716688, 0.43019999999999997, 0.44407501494321577, 0.29745102169791443, 0.42006109979633405, 0.47741367159971815, 0.0, 0.41010360001385954, 0.41412429378531079, 0.16291982665222099, 0.32618458734704509, 0.16382601581674391, 0.099825988138783336, 0.30110880110880112, 0.011680053547523427, 0.31050640961274556, 0.17725159693655732, 0.29366053169734152, 0.12002002717974394, 0.055984630163304516, 0.39600614439324117, 0.32923497267759561, 0.41064257028112461, 0.28348877012819168, 0.50859477124183006, 0.28127753303964764, 0.31823648671866944, 0.032698012206348666, 0.40276153346328786, 0.030766609880749574, 0.45886194029850735, 0.39234972677595631, 0.0, 0.49088378566457896, 0.032918395573997235, 0.036917562724014336, 0.34302369030715191, 0.40606526168130658, 0.031604120676968356, 0.39972225436870734, 0.032401862940785099, 0.031185031185031187, 0.39126984126984127, 0.32524655510119926, 0.0, 0.27817869415807561, 0.2238366320248891, 0.25833333333333336, 0.552878518894243, 0.27863911985766676, 0.19734740643010903, 0.26691331923890066, 0.18684536082474226, 0.36032863849765262, 0.24123711340206186, 0.3070841889117043, 0.38277363184079605, 0.26720977596741347, 0.27416167072929698, 0.39238683127572016, 0.20438957475994513, 0.33050936829894184, 0.043121149897330596, 0.25745574009855815, 0.30555555555555552, 0.17669376693766939, 0.056436781609195401, 0.13670595939751146, 0.38506583506583503, 0.28330592105263158, 0.23388203017832646, 0.14735248647255861, 0.26013235557145409, 0.31058259587020648, 0.28250718390804597, 0.22671719240748328, 0.39117216117216114, 0.40209403654809139, 0.2693994601889339, 0.31377730796335446, 0.200625, 0.045129244142348292, 0.51523906839082478, 0.27671905697445975, 0.3234504132231405, 0.33316418011434762, 0.090178571428571441, 0.20035765379113019, 0.0, 0.26768635467620644, 0.33061224489795915, 0.39715909090909096, 0.37898110661268558, 0.31555090655509066, 0.0, 0.29626200274348424, 0.29077800134138165, 0.29257322175732214, 0.31664391925867397, 0.3787321063394683, 0.44548133595284872, 0.0, 0.17730085073472543, 0.31812035158891139, 0.026666666666666668, 0.072786751175628717, 0.066733601070950471, 0.35255503144654088, 0.41482129635861892, 0.30195868945868948, 0.24364739471805852, 0.2047216349541931, 0.35021604236379589, 0.0, 0.1718888888888889, 0.19934477601310449, 0.28569886281848283, 0.30711248550444531, 0.0, 0.25243961519828362, 0.37700177131909052, 0.32714592274678117, 0.073264683447749807, 0.32143818108435357, 0.28226528638464016, 0.26315246898732003, 0.22376478775226169, 0.29422885572139301, 0.35788141720896605, 0.099523241954707992, 0.19707070707070704, 0.27421594104873448, 0.19310829817158931, 0.26813271604938271, 0.34470603453851628, 0.11066961000735835, 0.31042128603104213, 0.28766350527095164, 0.32724014336917562, 0.28153248587570623, 0.32643557422969188, 0.28658280922431867, 0.040754613243531149, 0.27192478100585116, 0.10268590613615258, 0.15188656572939196, 0.48577500514156446, 0.21943874058863794, 0.010335386721423683, 0.093333333333333338, 0.27685269283816061, 0.0, 0.0, 0.010868780241207483, 0.096633333333333335, 0.33556241426611799, 0.29109965635738833, 0.12579445571331982, 0.034854631507775527, 0.38063333333333332, 0.16828512396694215, 0.25585215605749489, 0.06931711078742181, 0.21145013123359582, 0.40542635658914739, 0.29671968190854869, 0.29072406212325369, 0.21235633225771366, 0.20511448339130767, 0.01087789742653769, 0.28544503298345958, 0.33401011849287715, 0.38062865497076026, 0.018141592920353982, 0.0, 0.40328389830508476, 0.31683955739972336, 0.36922305135762212, 0.24478808705612831, 0.34514541944323351, 0.10130423553719008, 0.26300114547537229, 0.42656574288853616, 0.39559319875183085, 0.21078331637843334, 0.36538844952482219, 0.34563046192259678, 0.30587044534412949, 0.17163299663299664, 0.22224310776942358, 0.39655172413793099, 0.33173325456022457, 0.31864754098360659, 0.33313878080415044, 0.0, 0.13010262257696692, 0.0, 0.46000851529712306, 0.33969979296066249, 0.38092948717948716, 0.095373430270984785, 0.24428399518652227, 0.36174112256586483, 0.41465608465608461, 0.38368421052631574, 0.30391812865497081, 0.36794900722021662, 0.45114942528735635, 0.33104026845637591, 0.42553191489361702, 0.34062629002771722, 0.52226895954472341, 0.53084425669379387, 0.20221861471861471, 0.4711678832116788, 0.21062271062271062, 0.55267933900085975, 0.43723361936693755, 0.33640350877192982, 0.20576923076923076, 0.34765161363251001, 0.40005688282138796, 0.30124293785310735, 0.51672413793103456, 0.47379863975917041, 0.36883116883116879, 0.52002806853400385, 0.0, 0.28401360544217691, 0.24157955865272943, 0.40464344941956876, 0.0, 0.059112671560804339, 0.47635135135135137, 0.2128275764639401, 0.0, 0.28266443701226307, 0.27746806039488969, 0.35745920745920745, 0.18606435524864529, 0.39405997693194927, 0.077467105263157893, 0.35693153000845312, 0.45031712473572938, 0.38174229066964127, 0.32386292834890962, 0.3046706989247312, 0.37787880799097362, 0.022457627118644068, 0.34242856173216585, 0.28834464863327763, 0.056167979002624671, 0.21700223713646533, 0.41871127633209421, 0.42336769759450171, 0.34226950354609925, 0.42245370370370372, 0.24982456140350878, 0.42770419426048562, 0.18668988846836587, 0.3299039520139706, 0.47119198385637739, 0.32227856659905346, 0.29694835680751175, 0.17604166666666665, 0.3521892655367232, 0.25496677340495127, 0.32005141388174801, 0.3878634732293269, 0.42650676506765067, 0.0, 0.3066411238825032, 0.37720411011036409, 0.21113074204946997, 0.48265536723163832, 0.26811669615291223, 0.31728636660143511, 0.26735065480775966, 0.25203358269902976, 0.31532207629768605, 0.0, 0.45729598893499307, 0.42316963978235417, 0.35026860011937788, 0.27493279569892476, 0.48234690887782017, 0.0, 0.42653820148749155, 0.061960678149639604, 0.43763227513227515, 0.27623103727429515, 0.39297618638534754, 0.58421102873325492, 0.39978723404255329, 0.33862828713574983, 0.36723044397463012, 0.28437052932761087, 0.0, 0.33752900639898742, 0.19622895622895623, 0.27596899224806198, 0.39718923198733175, 0.14732111260527991, 0.0, 0.3360149355057705, 0.041350266936366349, 0.058682634730538918, 0.35543859649122805, 0.069958847736625501, 0.40147766323024053, 0.40453774385072089, 0.17245712345050093, 0.11506411475971234, 0.28906926406926403, 0.20295983086680761, 0.35529395078363241, 0.58652395661231238, 0.21816745655608211, 0.41118596941503588, 0.44655287817938422, 0.12568764256004294, 0.44109255393180236, 0.29772565742714996, 0.0, 0.0, 0.34436201258746174, 0.32602361600981444, 0.0, 0.21533333333333332, 0.28408163265306124, 0.38323500491642076, 0.19046836483155299, 0.26400966183574881, 0.34247311827956983, 0.071897546897546891, 0.56830096607207614, 0.0, 0.0, 0.056163522012578619, 0.24894432534268826, 0.42907732293697204, 0.52400261159410322, 0.29653774700219554, 0.40320890635232481, 0.32875108702923267, 0.37520325203252036, 0.047518443997317236, 0.50237596783305094, 0.43905609439056087, 0.095138701858335575, 0.44236137545996701, 0.36493197278911566, 0.070314735336194562, 0.33300748331423174, 0.0, 0.29518518518518522, 0.43056489576328183, 0.056135170603674539, 0.073330813374110862, 0.39775176575919358, 0.0, 0.19717920353982302, 0.48226319570348575, 0.0, 0.2835748792270531, 0.052318275018189031, 0.4226981959318622, 0.034965986394557821, 0.009905254091300603, 0.25997056659308315, 0.13433818433818434, 0.30471491609047641, 0.25327445550482747, 0.39246633713993517, 0.0, 0.43823236314903269, 0.28709856035437425, 0.28186936936936935, 0.47055555555555556, 0.47410156909060236, 0.19453290870488321, 0.18292397660818716, 0.43474099099099101, 0.36276729559748433, 0.26086419753086421, 0.42176258992805749, 0.0, 0.22287449392712549, 0.35336076817558304, 0.0, 0.14053275737940962, 0.42578125, 0.31257425742574257, 0.0, 0.33977541371158393, 0.3288849347568209, 0.065017667844522981, 0.17181571815718158, 0.33649635036496356, 0.46691747282933244, 0.17089624156761965, 0.41101295641931684, 0.30254894717399333, 0.18650956284153003, 0.028393881453154874, 0.077871148459383754, 0.51179775280898876, 0.0, 0.49180440534689529, 0.28514056224899598, 0.29759595603362132, 0.24337050805452298, 0.31265432098765433, 0.12302325581395349, 0.15715737514518002, 0.064675767918088739, 0.30316742081447962, 0.0, 0.61854662527308268, 0.32515262515262516, 0.054316939890710382, 0.0, 0.26532385466034758, 0.40950704225352108, 0.088794084186575653, 0.22350282485875703, 0.19433465085638998, 0.23854166666666665, 0.21777777777777779, 0.2739514348785872, 0.39126004076249854, 0.40271464646464639, 0.25590643274853797, 0.33540640394088672, 0.43098577338310967, 0.12642558312797295, 0.31313131313131315, 0.3627884381831431, 0.23304093567251463, 0.0077188468510613418, 0.0, 0.30053704572709738, 0.24873817034700316, 0.19408224674022065, 0.24117357001972389, 0.35390442890442891, 0.35583333333333328, 0.26696726591321662, 0.43982960596379123, 0.15918635170603673, 0.0, 0.42283366668468558, 0.07477650063856961, 0.0, 0.0, 0.4353729603729603, 0.12558052434456929, 0.0, 0.0, 0.38766803237056857, 0.0, 0.052860696517412938, 0.16146628845734234, 0.033937198067632852, 0.36667180356500745, 0.29497175141242937, 0.45964912280701753, 0.51802721088435377, 0.32705867539662553, 0.28988855667300895, 0.4753472222222222, 0.54092592592592592, 0.17288461538461536, 0.26560587515299877, 0.30761904761904763, 0.30593834351470378, 0.29911564625850334, 0.37695113056163382, 0.35626015111927123, 0.27919822710283465, 0.24452154211066662, 0.18331313830707976, 0.20471894517696043, 0.36247086247086246, 0.28828203834510602, 0.46182795698924728, 0.32438524590163931, 0.5043619791666667, 0.39693473394179435, 0.36703727484708182, 0.078877551020408165, 0.04603104812798052, 0.43658618376928232, 0.25026636225266363, 0.33914565826330528, 0.35623742454728374, 0.009134246758009135, 0.59797879090002715, 0.56961974110032354, 0.43086419753086413, 0.14184397163120568, 0.33315412186379928, 0.23209219858156027, 0.32651757188498398, 0.59283707865168545, 0.42329122685585735, 0.19882729211087422, 0.30560968105835301, 0.33877675840978594, 0.21617312072892936, 0.21513333333333334, 0.44920325655834664, 0.23730514244759005, 0.1569791666666667, 0.43489810771470161, 0.0, 0.47736145912242878, 0.29802694388458684, 0.4115269461077844, 0.42592524532323861, 0.46681286549707607, 0.4263085399449037, 0.21799733865602125, 0.060985939352871422, 0.39771945701357464, 0.22817543859649125, 0.20598566308243726, 0.44011142061281339, 0.31653947243421254, 0.0, 0.38250492962534849, 0.47316735822959888, 0.11432686372676772, 0.42379942714726776, 0.28798111837327522, 0.24070247933884298, 0.52317903335602456, 0.49688149688149691, 0.12020202020202021, 0.032971800433839481, 0.25534653465346535, 0.30124521072796934, 0.29698544698544699, 0.12763975155279503, 0.52034862519145209, 0.29952766531713898, 0.35569314306525845, 0.33367626886145407, 0.4584521384928717, 0.38166666666666671, 0.52202658262537682, 0.44079301075268817, 0.52122905027932964, 0.32994350282485879, 0.3050237610319077, 0.077767704240958996, 0.42090909090909095, 0.27467432950191573, 0.027438596491228071, 0.49008363201911592, 0.33034557235421158, 0.18797553334327913, 0.30477663230240548, 0.42026217228464413, 0.31281086167495631, 0.24999999999999997, 0.26128364389233955, 0.45957018366142421, 0.23207482993197279, 0.30635495784265904, 0.30225103040124002, 0.066249130132219905, 0.62566616926028562, 0.21994244117149148, 0.17207407407407407, 0.15147679324894514, 0.30217186024551468, 0.36350877192982461, 0.20630252100840335, 0.0, 0.33487873340271862, 0.10432595573440644, 0.068751091703056766, 0.46424361493123778, 0.21746287595596556, 0.40849602313810557, 0.23885281385281387, 0.28369636963696371, 0.28893528183716077, 0.13906048906048907, 0.34237111612567261, 0.37510416666666668, 0.0, 0.30547263681592046, 0.27865168539325841, 0.18238795518207285, 0.36592982456140349, 0.070774945129157524, 0.26506261709890544, 0.41677501083441676, 0.16654314452091054, 0.31504950495049511, 0.27282051282051278, 0.0, 0.0, 0.16026871401151632, 0.37667356797791585, 0.0, 0.0, 0.14999999999999999, 0.25434847430672897, 0.34680276403942611, 0.44657258064516131, 0.088105263157894742, 0.40160726764500354, 0.48838080959520241, 0.64101769740154124, 0.29791666666666666, 0.22290794979079498, 0.36711825322476044, 0.27651515151515149, 0.30106128240754432, 0.50333861086253184, 0.13219017032746458, 0.21352890422778256, 0.22337482710926693, 0.26374999999999998, 0.25787249031349069, 0.0020813750503558479, 0.2817450417862043, 0.32540521494009861, 0.059528832630098449, 0.4201686121919585, 0.41584440227703984, 0.31348005034184834, 0.30199004975124383, 0.30305907172995777, 0.36684472934472939, 0.35868320610687021, 0.29590747943413764, 0.063828269861645984, 0.31581284153005468, 0.36994011111912833, 0.43670741646291766, 0.0, 0.3076896311760613, 0.32509983730217423, 0.4459770114942529, 0.25785854616895876, 0.15045072015434255, 0.20184069611780453, 0.42004459436281522, 0.25587392550143268, 0.26302083333333337, 0.0, 0.28469785575048734, 0.27739820565907525, 0.19760831209566748, 0.2869903955940627, 0.39014830508474579, 0.42531835205992513, 0.19873333333333332, 0.35831509846827131, 0.37988764044943818, 0.39332641770401106, 0.23609958506224066, 0.42063073515451954, 0.25862492326580722, 0.41731560512803084, 0.5516169565504927, 0.51669989015906592, 0.34377637130801691, 0.033197764772013361, 0.3616958969186217, 0.30606791181340232, 0.0, 0.0, 0.29562189974427699, 0.020775193798449613, 0.33153691958857745, 0.22721300138312586, 0.49338062188522336, 0.52290247865316153, 0.27365695792880262, 0.42370863246366658, 0.44208830164357071, 0.2175199089874858, 0.2166637676117586, 0.43511777301927196, 0.31203648898018871, 0.24722884273446069, 0.31742424242424244, 0.34734482758620683, 0.0, 0.60264187866927599, 0.23306397306397306, 0.3118808567603748, 0.12144781144781144, 0.24237928720285401, 0.25756958587915818, 0.39122807017543859, 0.360784837159637, 0.28768253968253971, 0.0, 0.36473157672255885, 0.25810897435897434, 0.51317260656883301, 0.0, 0.34794871794871796, 0.44208149739630748, 0.055251641137855578, 0.0, 0.25538796892029669, 0.28091021550882217, 0.34299277313305937, 0.22669220945083016, 0.0, 0.49526176275679246, 0.3004947433518862, 0.33573217624439977, 0.17249279432414455, 0.17661723758337108, 0.35561204536566288, 0.31009852216748768, 0.30619611691315624, 0.44450686641697884, 0.28962009762091678, 0.28181216931216929, 0.29999999999999999, 0.40583981630624766, 0.27849999999999997, 0.33606557377049179, 0.0, 0.0, 0.31081834657744317, 0.37931392931392938, 0.35042918454935623, 0.42872200263504612, 0.72828998055545358, 0.44062905317769124, 0.36622602867250048, 0.32494780793319411, 0.24442217768871075, 0.37514064697608995, 0.043666780471150565, 0.41165895395678659, 0.39760682621158583, 0.061303030303030304, 0.21241202815099167, 0.0, 0.026447222873998592, 0.0, 0.42079831932773115, 0.47303921568627455, 0.42341701392417924, 0.38454963839579226, 0.37901106500691562, 0.31079759217456737, 0.26857331790378575, 0.32950937950937953, 0.32310693981901972, 0.0, 0.23921312011778659, 0.33732638888888888, 0.395539314516129, 0.29466416021979613, 0.53437257581914221, 0.052895518574120802, 0.54309107791001943, 0.45112527114967466, 0.34970214767204888, 0.42143635868083945, 0.21795634920634918, 0.2741794097594234, 0.36945267476312965, 0.46608044401350768, 0.30783532536520586, 0.36759249627240886, 0.3320390387238954, 0.027977508945305846, 0.43837992246480306, 0.29909154437456326, 0.30074152542372884, 0.25439142461964037, 0.078127259580621833, 0.32296933835395381, 0.37354937595795928, 0.33278950522740891, 0.071687462863933446, 0.478336686787391, 0.22966926070038912, 0.31645344705046197, 0.55655125594025789, 0.50974702380952375, 0.27073741138639185, 0.34432234432234432, 0.33156028368794327, 0.42329020332717193, 0.17325185750989516, 0.0, 0.10376126201560773, 0.48672847121858359, 0.3554994488104975, 0.46723404255319156, 0.43704534638656606, 0.37102361203800815, 0.23300268650547634, 0.33837508028259478, 0.33739999999999998, 0.39063136456211811, 0.3006396588486141, 0.32984482136412852, 0.41899534264803728, 0.29771084337349402, 0.24874821173104433, 0.36562500000000003, 0.59432773109243697, 0.36409589295669953, 0.46452599388379207, 0.31358422939068104, 0.0, 0.057190775681341718, 0.38945070467751775, 0.42893484868507992, 0.46957928802588994, 0.26450335161486899, 0.24533657745336576, 0.1382260101010101, 0.20002732240437157, 0.037308054770220075, 0.23391632373113852, 0.23580739273574047, 0.23810692853246049, 0.043115942028985506, 0.26396613845454225, 0.27209567198177675, 0.41181938911022575, 0.044477513227513227, 0.20373015873015876, 0.0, 0.035260586319218239, 0.043498349834983498, 0.31003640145605826, 0.061358811040339703, 0.051112966054535344, 0.046659919028340081, 0.20423497267759563, 0.12954666666666667, 0.28851828520274525, 0.38318270849798974, 0.0021141649048625794, 0.20763338615953511, 0.57441852726849241, 0.37956468767493162, 0.18981797497155858, 0.070020449897750511, 0.29155737704918033, 0.10832189123037431, 0.33908554572271388, 0.2544336569579288, 0.13996659639131506, 0.32966804979253111, 0.36902984061473293, 0.30241591140739921, 0.35018711245868506, 0.23787342401093101, 0.0067733333333333335, 0.063664894639082814, 0.33589453027832289, 0.39773334758900886, 0.0, 0.2474342228027617, 0.18568554182236277, 0.40312500000000001, 0.20966996699669968, 0.41427690410114099, 0.0, 0.11969955252503729, 0.21980615254951535, 0.36650548033526759, 0.23638474087087466, 0.34190850335825618, 0.27418420544506661, 0.36359228008922512, 0.44035154514880381, 0.34371333439035984, 0.35310069920930531, 0.25659511185826978, 0.24924391847468769, 0.23908382066276801, 0.14347202295552366, 0.28849849849849851, 0.2910133843212237, 0.29576763485477181, 0.041941440253231335, 0.017548354041245037, 0.29609053497942384, 0.33094771241830062, 0.24767851942925553, 0.25015723270440254, 0.18712680902742634, 0.31583333333333335, 0.0, 0.30454034537961105, 0.073406112042709012, 0.36153396790488301, 0.26876912214638737, 0.12257217847769029, 0.33072132493840678, 0.3335733882030178, 0.35366482251469022, 0.42882105811056997, 0.34954096045197736, 0.39581736909323112, 0.25731869028594739, 0.28924665443923647, 0.30580912863070542, 0.34510774809958861, 0.29152925657212853, 0.0, 0.05894931926723216, 0.022713996082608844, 0.30574720456785504, 0.038991769547325104, 0.51089083501748311, 0.64766506724336015, 0.3924951032610563, 0.28794612794612795, 0.37834366858694446, 0.28892361111111114, 0.25068681318681318, 0.36018467475192945, 0.33464805825242716, 0.33603042876901801, 0.19819359236537151, 0.28033103822541805, 0.33095125733162539, 0.34505532503457809, 0.07875494071146244, 0.29836734693877554, 0.0, 0.13424561403508772, 0.36399437412095642, 0.39408805031446542, 0.17851063829787236, 0.60988057568643461, 0.39240740740740732, 0.37745098039215691, 0.35585996955859972, 0.44253333333333333, 0.0, 0.28913580246913578, 0.37212858926342074, 0.27424897084339811, 0.24932704072714562, 0.3524400218102508, 0.21388888888888888, 0.3916015625, 0.34955572761125242, 0.44973333333333337, 0.35119861781009287, 0.29950354609929075, 0.30600146539665624, 0.29040084388185655, 0.43773186644492773, 0.3920715249662618, 0.45531007751937985, 0.34767473299986484, 0.070026350461133063, 0.43379530916844344, 0.3607910906298003, 0.29591836734693877, 0.45738636363636365, 0.32125000000000004, 0.069641577060931895, 0.36587301587301585, 0.37629251700680277, 0.25783730158730161, 0.35278323510150622, 0.33112976305429692, 0.28394265232974913, 0.33069973549517356, 0.37262369791666666, 0.22154471544715448, 0.26390070921985814, 0.20542717086834736, 0.33122666666666667, 0.23803921568627451, 0.20858961045876934, 0.42973199329983247, 0.40368217054263567, 0.29366013071895425, 0.20490448806927095, 0.27173742138364781, 0.41344498092311854, 0.34983936303953067, 0.36594202898550726, 0.37867599429977983, 0.27555338541666663, 0.27570194384449243, 0.34018952062430324, 0.084146341463414626, 0.33171973112776959, 0.36037735849056612, 0.16061915046796255, 0.37527345998848588, 0.31932404627786959, 0.38765306122448984, 0.43080210387902695, 0.26055276381909548, 0.16451520367183017, 0.22633252697670625, 0.28265271684103943, 0.51494337248322153, 0.27878479293957903, 0.29315942028985503, 0.30527156549520768, 0.30879184025283729, 0.36705526770293606, 0.25225490196078426, 0.38068805052351667, 0.42310345960508594, 0.39169944391699446, 0.37700162013488558, 0.24014456863663744, 0.37440428566459105, 0.45686274509803926, 0.21216307277628033, 0.193249826026444, 0.32555780933062878, 0.3395622485062797, 0.24102564102564103, 0.29179536679536683, 0.31287461773700304, 0.42461089494163429, 0.26606765327695558, 0.30064350064350065, 0.46095054592164414, 0.24376299376299376, 0.20244444444444445, 0.38089430894308934, 0.56093931944624154, 0.0, 0.42658336638899913, 0.37304147465437787, 0.39109560446114383, 0.19362261669953978, 0.47788778877887789, 0.015160642570281125, 0.47094535993061581, 0.43205685459564069, 0.21825082508250823, 0.29298969072164949, 0.3153957879448076, 0.30008319467554079, 0.33709981167608283, 0.25113788487282462, 0.41123188405797101, 0.44261437908496742, 0.30417475728155335, 0.0, 0.7719844357976654, 0.0, 0.2664965986394558, 0.3281663516068053, 0.0, 0.28828733191790518, 0.28642611683848801, 0.42636916835699801, 0.0, 0.16342398884239887, 0.38658005927981337, 0.46633333333333332, 0.40622961513372469, 0.23628205128205129, 0.30614035087719299, 0.29329511291337484, 0.33100215757756118, 0.3562543675751223, 0.39524590163934431, 0.26653569089718399, 0.26479560707748628, 0.48441704035874444, 0.15226293103448274, 0.38609406952965231, 0.35489089541008279, 0.31891159714752398, 0.43359223300970878, 0.40856589147286826, 0.33109193095142514, 0.29632768361581918, 0.36396083538320551, 0.15870646766169155, 0.34823232323232323, 0.31704892966360859, 0.33568759342301946, 0.35876034754053499, 0.28609195402298854, 0.22879403794037939, 0.38855744881754589, 0.23693502824858759, 0.3340510366826156, 0.31050475846283582, 0.24787324542747768, 0.36365159128978225, 0.41378751013787513, 0.34407744874715263, 0.23196159122085047, 0.34604031677465807, 0.36078685689580631, 0.091242937853107331, 0.33528052805280528, 0.46880954061110719, 0.3645256744995648, 0.19177231734413802, 0.29389922265408103, 0.44282990083905416, 0.32598992080633554, 0.32927063339731288, 0.21401360544217685, 0.45535993740219094, 0.41684322033898302, 0.116146400871739, 0.42417355371900822, 0.22682539682539682, 0.28393009377664108, 0.30745798319327733, 0.24932885906040267, 0.40816993464052287, 0.31021978021978019, 0.32416666666666666, 0.39938775510204089, 0.33598039215686276, 0.0, 0.07822463768115942, 0.25960108181203512, 0.39230523627075353, 0.49721520738921365, 0.15996666666666667, 0.49594976938878343, 0.27127659574468088, 0.33849294729027468, 0.12815533980582525, 0.26923333333333332, 0.0, 0.33352201257861636, 0.36055016181229771, 0.1342156862745098, 0.4274509803921569, 0.37707070707070706, 0.41244897959183668, 0.42623052959501562, 0.31673333333333331, 0.53572815533980578, 0.3614563106796117, 0.34456666666666663, 0.21627062706270625, 0.45030612244897961, 0.30069156293222682, 0.093600000000000017, 0.27329192546583847, 0.27100728959575876, 0.20192632646164246, 0.27054474987439892, 0.055828220858895709, 0.53512461059190031, 0.088002726653033408, 0.2264035874439462, 0.20928413091667755, 0.2696319018404908, 0.2673036093418259, 0.14894751813397811, 0.13952180028129396, 0.23206312548113936, 0.30529531568228102, 0.1760767350009404, 0.30416389889172468, 0.18090551181102363, 0.2377208174575684, 0.38641728708915923, 0.22864949258391881, 0.22801696020874102, 0.24850864607717285, 0.30381407237992741, 0.29699699699699705, 0.33727556596409053, 0.25159863945578231, 0.25607375271149674, 0.29474412171507608, 0.29531480038105135, 0.28180525941719969, 0.1484375, 0.31909030544488715, 0.15470430107526881, 0.36614105603078084, 0.14410150891632373, 0.26334622823984521, 0.13499262536873158, 0.33234126984126988, 0.24893390191897655, 0.15580484330484329, 0.15436440120941239, 0.27947154471544716, 0.26194331983805669, 0.37172897196261684, 0.37264673311184937, 0.31758409785932729, 0.13694444444444445, 0.17636363636363639, 0.4551590142141323, 0.44605788423153686, 0.11495859213250517, 0.54410404624277453, 0.21258644536652835, 0.28382513661202186, 0.25744830954577524, 0.3001577287066246, 0.20321350762527235, 0.16025641025641024, 0.26769702689948088, 0.41867124856815585, 0.36706802824772644, 0.073881431767337802, 0.29756860371267152, 0.38973922902494335, 0.60724139872740579, 0.19492063492063494, 0.0, 0.26759834368530017, 0.25686410406781468, 0.20422684791843673, 0.26419753086419756, 0.26721294399500017, 0.21203703703703705, 0.23919164396003634, 0.0, 0.23920417482061318, 0.32163841807909599, 0.27128442295564431, 0.53968749999999999, 0.0, 0.30041518386714117, 0.041609589041095893, 0.36554809843400443, 0.4260508308895406, 0.20105938109841093, 0.0056858564321250887, 0.36544444444444441, 0.26564971751412431, 0.37089864158829677, 0.133739837398374, 0.23135313531353136, 0.31737067991868084, 0.22785310734463277, 0.25627118644067798, 0.59682795698924729, 0.47846952010376131, 0.27794239658646436, 0.25300546448087435, 0.088369730827831394, 0.57169398907103819, 0.10629139072847682, 0.37653061224489792, 0.21062441752096922, 0.31821305841924402, 0.071871681663220249, 0.33744658119658122, 0.45670511275606823, 0.31080459770114943, 0.61782049770020042, 0.2973309608540925, 0.48577340920848433, 0.45743589743589741, 0.36672619047619048, 0.0, 0.014679911699779251, 0.29193168433451122, 0.22417791520485222, 0.44950248756218902, 0.18638418079096047, 0.26464766429136977, 0.2229017055655296, 0.23310734463276839, 0.12216374269005847, 0.13592995169082125, 0.15745473908413207, 0.30862068965517248, 0.19389830508474579, 0.0, 0.27323975421387903, 0.39446271929824567, 0.18106060606060606, 0.26925287356321836, 0.21978802447552445, 0.0, 0.13351190476190478, 0.34503676470588235, 0.22642015005359056, 0.30048746518105851, 0.29792618195284531, 0.26562208543182242, 0.33176100628930816, 0.46758658008658011, 0.23894736842105263, 0.0, 0.21927639383155398, 0.26943707996793881, 0.056883475063203862, 0.15062358276643992, 0.15616605616605617, 0.23015607580824973, 0.0, 0.17312752148745836, 0.25304726368159203, 0.27486219568213138, 0.18073474110500432, 0.29663287894675516, 0.29398454746136871, 0.21114790286975715, 0.0, 0.35734647820406223, 0.2311546840958606, 0.45856481481481487, 0.33024987986544935, 0.21750278706800444, 0.40571982549684926, 0.33739310702254471, 0.38321637426900584, 0.18636977058029691, 0.69221333021788645, 0.31404428281099589, 0.31608796296296299, 0.38219567690557449, 0.23629227053140098, 0.99968905472636804, 0.0, 0.3849274649618884, 0.35455635491606713, 0.61857142857142844, 0.096672886987392473, 0.43514254385964912, 0.23757861635220123, 0.34401429422275165, 0.7378357904551015, 0.32085987261146492, 0.17402985074626867, 0.31403207331042382, 0.26873920552677028, 0.30448717948717952, 0.46483805077327106, 0.07047619047619047, 0.16, 0.31111111111111112, 0.34482247057659976, 0.31533564814814818, 0.40046383690200094, 0.45861872146118721, 0.3410734463276836, 0.27876016260162606, 0.33987878787878789, 0.40887799564270155, 0.27248201438848924, 0.38844643246781585, 0.31552511415525114, 0.34009900990099012, 0.31691376701966717, 0.47430555555555548, 0.40058072009291523, 0.3614207650273224, 0.52169590643274855, 0.47315968289920729, 0.24398315282791816, 0.38693932076247239, 0.27420343137254904, 0.29627455166524336, 0.35071743929359822, 0.26510204081632649, 0.2483440170940171, 0.060222188709596336, 0.33096045197740115, 0.38838745184369844, 0.34856648706179738, 0.27793858902321356, 0.17354497354497356, 0.34387178220539, 0.39855324074074078, 0.39055047415969918, 0.31666666666666665, 0.21377995642701525, 0.30281569478553888, 0.25397274218175647, 0.38105263157894731, 0.34236641221374048, 0.30549323761297353, 0.35215749730312834, 0.0, 0.44012539184952976, 0.51165099268547554, 0.247108843537415, 0.28202054794520548, 0.30000580282017059, 0.5673144876325088, 0.21756401637841474, 0.2612474437627812, 0.31533101045296158, 0.42778132312273981, 0.45969699912595902, 0.076222222222222219, 0.47427737226277378, 0.23694158075601376, 0.39889582868614765, 0.5722564102564105, 0.34892272335535762, 0.28887395368729762, 0.39321212121212129, 0.53465346534653468, 0.31181102362204721, 0.34148550724637683, 0.35888888888888887, 0.0, 0.40441860465116281, 0.4245021973848408, 0.33010101010101012, 0.23451536643026005, 0.41266149870801033, 0.2667728237791932, 0.25342773657001577, 0.31917562724014337, 0.36648681055155874, 0.44149459193706975, 0.19548558619611112, 0.42050364152573755, 0.14065789473684209, 0.24826744753538313, 0.28849938499384992, 0.39746392654132057, 0.26432853717026378, 0.21409395973154366, 0.33532423208191126, 0.15353881278538814, 0.38588608431346638, 0.25477777777777777, 0.33939393939393936, 0.30561728395061727, 0.32642136699160423, 0.4221701024564869, 0.10150923605850476, 0.22717086834733893, 0.33435974901231696, 0.15878594249201278, 0.38489121186337666, 0.30463576158940397, 0.36583946240541826, 0.0, 0.40554016620498617, 0.2324718606552223, 0.26365591397849458, 0.32468989590475594, 0.22983392645314354, 0.38980632008154947, 0.47070357554786624, 0.24303322615219719, 0.47401960784313724, 0.15294825511432009, 0.31701397111058488, 0.41044369344816301, 0.51905710491367851, 0.5209459459459459, 0.037166666666666667, 0.3212599332028101, 0.46957026713124267, 0.34322751322751327, 0.2958740499457112, 0.3987442922374429, 0.31245847176079733, 0.34202334630350195, 0.40695006747638318, 0.43955109675225301, 0.34479166666666666, 0.34272222222222215, 0.31460229521171351, 0.44634292565947237, 0.42918050941306757, 0.05339506172839506, 0.54320241691842897, 0.59638620386643237, 0.4208896396396396, 0.16182598039215687, 0.29517233375884877, 0.34438888888888891, 0.37718120805369126, 0.34551724137931028, 0.17123552123552124, 0.26130760986066454, 0.30271806715224725, 0.58844765342960292, 0.4019253910950662, 0.18854059019405212, 0.33691314553990609, 0.39862525195100523, 0.32490118577075106, 0.47342342342342342, 0.14153974297953356, 0.35019083969465647, 0.25196408529741865, 0.11789906103286385, 0.33833096157755643, 0.19414715719063547, 0.32783119658119658, 0.32735326688815058, 0.40254975124378101, 0.30717054263565896, 0.28255761915417321, 0.46952621250350435, 0.28483146067415727, 0.21066122619794939, 0.0, 0.4295906432748538, 0.37842342092105985, 0.49979566816510018, 0.44262295081967212, 0.3462296697880729, 0.24543973941368077, 0.39473684210526316, 0.29604140932886303, 0.0, 0.30710491367861886, 0.34510752688172042, 0.30838573256913915, 0.44678135067777036, 0.34981818181818186, 0.61742975158531621, 0.17924430641821942, 0.10896589658965897, 0.28545647558386411, 0.23596491228070174, 0.1123076923076923, 0.38562340087130903, 0.27075351213282245, 0.098325884402696767, 0.46731220657276995, 0.72817745803357292, 0.33806818181818177, 0.34578059071729955, 0.41075514874141877, 0.47431693989071044, 0.46976351351351342, 0.29971751412429382, 0.38302005012531326, 0.23758620689655172, 0.34103773584905661, 0.45877777777777778, 0.27572706935123037, 0.3549199084668192, 0.44499999999999995, 0.31715849913206035, 0.3597849462365591, 0.59489337822671151, 0.2000401552670325, 0.51668174962292612, 0.38561056105610558, 0.0, 0.44021857923497265, 0.26620915032679737, 0.43206349206349204, 0.30064758009543285, 0.48395833333333332, 0.2876254180602007, 0.0, 0.039087947882736153, 0.24062165058949625, 0.3282051282051282, 0.11640522875816993, 0.38917624521072802, 0.36369047619047618, 0.36485090558501482, 0.18818223413294985, 0.0, 0.03826945412311266, 0.31793598233995585, 0.051484468851896344, 0.31506300114547542, 0.35912951167728241, 0.27895488632305676, 0.44144144144144137, 0.046167883211678834, 0.34297872340425528, 0.34755244755244752, 0.074777777777777776, 0.33651041666666665, 0.34372312983662945, 0.2758304929541639, 0.37692763938315538, 0.040432098765432099, 0.41421911421911423, 0.48202215279750071, 0.34834590829947765, 0.0, 0.0, 0.63045188848920863, 0.26273080660835763, 0.53990066225165556, 0.0, 0.13987262662936731, 0.57199977151996351, 0.30716783216783217, 0.11919354838709678, 0.28860215053763444, 0.45218295218295224, 0.46975088967971523, 0.39429824561403509, 0.29598108747044916, 0.24005050505050504, 0.69344330882792438, 0.32698135198135198, 0.4458045977011495, 0.0, 0.36304071246819342, 0.41930803571428571, 0.48366574965612102, 0.46710199004975128, 0.41524386690752285, 0.48122866894197952, 0.24362317918707463, 0.32015503875968992, 0.34358974358974359, 0.26018329938900203, 0.30171821305841923, 0.15946808510638297, 0.5159827213822894, 0.50586710102050991, 0.0, 0.089719882199849332, 0.2641785192314548, 0.33847303355522346, 0.049111144308335825, 0.29728852086377661, 0.26584806810740014, 0.0, 0.37080474532733976, 0.20664533260706747, 0.25, 0.11423948220064724, 0.2401064389368483, 0.48358765081618171, 0.030478074934575859, 0.055904819847225035, 0.33255908848363097, 0.47430511208953718, 0.23323333333333335, 0.1979256080114449, 0.046256826961502601, 0.29366422937002479, 0.097742513077976337, 0.30212907518296744, 0.24837424670593439, 0.41833674164962514, 0.25363681345868383, 0.37914056900688664, 0.31909999999999994, 0.4073237940307427, 0.14160532772520154, 0.45302104548540389, 0.21001095590249247, 0.26309419753916491, 0.36255162918770073, 0.37677812364025837, 0.29615127175368144, 0.34910734175603864, 0.5288022937573309, 0.5714882003531867, 0.32613099257258604, 0.065254179922832195, 0.16821257633272818, 0.27195801902263039, 0.090324858757062143, 0.33402777777777776, 0.19473282695943478, 0.31680251399391141, 0.38449166434691162, 0.27828125000000004, 0.34811199944623272, 0.57388406848998719, 0.22551594746716697, 0.32389493914157597, 0.19815238033926674, 0.16863923282350085, 0.37189087120718844, 0.36520912547528522, 0.37247765006385691, 0.076798679867986802, 0.3037710437710438, 0.36324575807334425, 0.11347381864623245, 0.28507670850767081, 0.18988801054018445, 0.20525262122086119, 0.10676666666666668, 0.34704081632653061, 0.060228034875922196, 0.054077669902912621, 0.32334010840108396, 0.359731963058121, 0.32124471259468146, 0.35076513639387891, 0.27102301360658493, 0.29591261451726569, 0.10693887854595943, 0.22112828591119427, 0.12422402159244264, 0.14645161290322581, 0.2537313432835821, 0.25785609397944204, 0.2372588157019295, 0.26420875420875423, 0.21520076481835565, 0.36427911716933659, 0.26075089464426521, 0.23355018587360596, 0.25284789644012939, 0.23408853258975251, 0.33428665351742276, 0.26726666666666665, 0.27390572390572387, 0.26841269841269844, 0.12033730158730159, 0.028511530398322851, 0.39075163398692808, 0.3121124031007752, 0.053665283540802217, 0.26841541755888654, 0.26944959802102658, 0.43768707482993191, 0.36934152996482456, 0.40898912867110165, 0.46085948948641919, 0.3662246128164704, 0.51004566210045654, 0.16127450980392155, 0.51442367601246108, 0.41382461407917492, 0.44249147898148772, 0.38551628551628553, 0.5771953993528337, 0.40994094488188976, 0.41884735202492213, 0.44250344782294609, 0.36316993464052283, 0.42289999999999994, 0.3031428571428571, 0.36572769953051643, 0.0, 0.33161616161616159, 0.40495049504950492, 0.4684135166093929, 0.29421568627450978, 0.08323432343234323, 0.37339933993399343, 0.46636666666666671, 0.36272365805168982, 0.28389121338912132, 0.35541422048271365, 0.32230866778626999, 0.25020661157024798, 0.26734192756292202, 0.20416247062772744, 0.29184472934472933, 0.29832065906210392, 0.26692470343690644, 0.50086902113459397, 0.23050624589086124, 0.38960535588442569, 0.23999309868875082, 0.23498702983138781, 0.29940725244072525, 0.40081841432225068, 0.23550135501355016, 0.32850964737192284, 0.11621503643262483, 0.36758740583349431, 0.33759999999999996, 0.16017301038062284, 0.28380681818181819, 0.28036437246963558, 0.2322007565522832, 0.31525770558894994, 0.071409332704868364, 0.27347298010913568, 0.21765015459509243, 0.0, 0.12090245520902455, 0.31649659863945584, 0.39223790322580648, 0.27810333963453054, 0.29533333333333334, 0.56377458670206337, 0.4331505179768434, 0.39593175853018375, 0.0032817109144542772, 0.38482772058584741, 0.30807715491259802, 0.30560466182151508, 0.44670658682634734, 0.18858334802279805, 0.24266554903604357, 0.4197645600991326, 0.26103379721669978, 0.11211046364327337, 0.23133612120381158, 0.38252923976608183, 0.26050656660412758, 0.32246093750000004, 0.26937293729372935, 0.40009708737864075, 0.13744894753377318, 0.26237887672865251, 0.303398451420611, 0.66159019751845705, 0.32083587455461754, 0.38119658119658123, 0.21595959595959596, 0.33530571992110458, 0.27751305483028721, 0.28653462622928272, 0.0, 0.20602693602693606, 0.33774543629634274, 0.34106620579633073, 0.42459477282982194, 0.033705973466226682, 0.23269947800149143, 0.19550307343901652, 0.39020522388059703, 0.36002506265664158, 0.23293018493632817, 0.287136, 0.12090831191088261, 0.0, 0.25862172916917886, 0.23382679013955915, 0.28667172901053184, 0.24826360314691071, 0.24791941875825624, 0.27169211195928755, 0.0035971223021582736, 0.076752171278529596, 0.26741209753468947, 0.19411347517730498, 0.30532186105799869, 0.35724764233321693, 0.23132628152969892, 0.3430244096050804, 0.15066666666666667, 0.37661163522012586, 0.38544577089154181, 0.18015241882041086, 0.37903780068728521, 0.4299019607843137, 0.0, 0.37785618279569894, 0.47632743362831864, 0.22354166666666667, 0.36913461538461545, 0.3709813874788494, 0.3449620427881297, 0.39057074983249074, 0.3818719554627697, 0.31631747764962803, 0.29173387096774195, 0.34537922243467173, 0.18470004388778233, 0.34181096681096684, 0.34374149659863945, 0.09734993614303962, 0.25954757152361946, 0.10111571117816294, 0.12939453125, 0.29762731116299607, 0.27225630538513973, 0.099656679151061175, 0.059353741496598639, 0.28655264922870555, 0.19063283208020049, 0.47355284302663525, 0.33888888888888896, 0.22494887525562371, 0.24023310326865477, 0.17164912280701755, 0.18501533989988697, 0.22458649457864599, 0.26676954732510288, 0.063059452237808955, 0.25244167558973357, 0.13077956989247311, 0.20917491749174918, 0.0, 0.30679133858267721, 0.039610866372980912, 0.20223846800802225, 0.16291666666666665, 0.0, 0.32989922331343474, 0.24953795379537952, 0.036410788381742741, 0.15619540601747006, 0.27118411577106405, 3.3200531208499335e-05, 0.0078877887788778873, 0.26226172963160033, 0.0, 0.10749601275917066, 0.29987029831387807, 0.5095349388612268, 0.54073787409700724, 0.225968992248062, 0.22422680412371132, 0.18928550563767016, 0.40546964490263465, 0.22326732673267327, 0.24674418604651163, 0.42612517580872011, 0.27698410238929005, 0.32861635220125784, 0.32271557271557272, 0.18809523809523812, 0.199478803672616, 0.36828703703703702, 0.37501650165016504, 0.095065359477124189, 0.29276666666666668, 0.29476778005694521, 0.10297236652014878, 0.34314354180026324, 0.35218531468531467, 0.24478547854785476, 0.21538179148311304, 0.33494096645892707, 0.27600694444444446, 0.014694296968659017, 0.22678565504428888, 0.28391632373113856, 0.0, 0.0977925234872873, 0.22446741334042342, 0.035852110046060003, 0.13752184711618068, 0.0, 0.33185840707964603, 0.0, 0.3558762737063495, 0.39581699346405225, 0.19682954934753494, 0.23313725490196077, 0.0, 0.065412541254125406, 0.26535812672176307, 0.28574782025486251, 0.26781074578989572, 0.084580626941541934, 0.097667975063495727, 0.23329861111111111, 0.11667376560401035, 0.0, 0.23086419753086421, 0.42041687914329418, 0.32737179487179491, 0.19143636180024912, 0.26201361373564969, 0.26753354544196983, 0.31984486102133164, 0.44994656216601353, 0.2916504854368932, 0.32198216735253771, 0.25340618063855214, 0.04544880696881707, 0.34673267326732676, 0.35536437246963559, 0.0, 0.21505305039787798, 0.37235594456601018, 0.44430152658836269, 0.31294648452186991, 0.26789405684754519, 0.31663557213930349, 0.38092273208393002, 0.35044772273400765, 0.036560212907518298, 0.41716006021073754, 0.28525390625000002, 0.082714776632302395, 0.0, 0.18239341654852878, 0.080087392892499915, 0.064779680716507707, 0.15421531408924863, 0.39909112490249943, 0.29657269209508014, 0.22249312110340982, 0.28600000000000003, 0.18637005649717514, 0.22765343951668271, 0.25194153355716081, 0.23187259218492018, 0.26021299181590934, 0.0, 0.025196959705688405, 0.2759519038076152, 0.53283963678039314, 0.084577435269080709, 0.28382506476934377, 0.14081153588195841, 0.0, 0.18964143426294819, 0.28875816993464049, 0.25787746170678338, 0.0, 0.051346801346801349, 0.30991174473862865, 0.35152088589851416, 0.0, 0.18393617021276601, 0.09924780610112828, 0.24602954755309325, 0.29189661194551164, 0.19244629244629244, 0.17272108843537415, 0.29957446808510635, 0.054183266932270914, 0.20089743589743589, 0.095200000000000007, 0.0, 0.1659322033898305, 0.34434156378600822, 0.2718449931412894, 0.32235336194563657, 0.30146258503401357, 0.24454545454545451, 0.2581153588195842, 0.34981500168180285, 0.029296066252587991, 0.15139268592258015, 0.2321737925299702, 0.32572786690433753, 0.18983739837398372, 0.23890070921985815, 0.23611670020120723, 0.334733893557423, 0.31785714285714284, 0.0, 0.39411512735180726, 0.23452107279693485, 0.10553221288515405, 0.31526580459770109, 0.20402298850574713, 0.28011035108272553, 0.28291941206284843, 0.23528619528619527, 0.065566343042071193, 0.23981670061099797, 0.43204592901878924, 0.34265840012097382, 0.43190000000000001, 0.21083890126206384, 0.24769433465085638, 0.20679933665008293, 0.053128286014721346, 0.33537964458804526, 0.22786815972955843, 0.084296415195291602, 0.20090261417501631, 0.067107309486780703, 0.39497991967871487, 0.0, 0.34350479511769838, 0.19139163916391638, 0.35111464968152867, 0.0, 2.8200789622109419e-05, 0.31604132680804786, 0.27795950155763238, 0.42131886564973525, 0.20690513047324191, 0.34901297236322615, 0.30790598290598292, 0.3278234649122807, 0.25998293515358356, 0.18741046831955921, 0.28565573770491798, 0.31893373193821623, 0.31777417612101572, 0.27571271929824565, 0.32705696202531637, 0.32281144781144783, 0.28524451939291739, 0.16146532438478747, 0.29649415692821368, 0.0, 0.27289853534281472, 0.31411384976525819, 0.34744693057946069, 0.34672086720867207, 0.28795541054921153, 0.37835497835497833, 0.37353448275862072, 0.083703703703703697, 0.389850592478104, 0.30239958268127287, 0.29576547231270356, 0.41153005464480874, 0.36290035587188613, 0.36961414790996783, 0.23198150872031939, 0.42679425837320578, 0.26658163265306123, 0.29190317195325544, 0.0, 0.250946021146355, 0.16627516778523491, 0.26489533011272137, 0.46722306525037943, 0.36245847176079737, 0.33489583333333334, 0.60445826853291851, 0.37852611029770616, 0.32981578467391021, 0.54469333333333325, 0.20331294597349642, 0.25139534883720932, 0.25603864734299525, 0.40187830687830689, 0.33111677168521247, 0.23453355155482816, 0.1932079414838036, 0.43990874932903923, 0.22859943977591041, 0.27133443163097198, 0.31218829516539442, 0.24363387978142076, 0.21961697722567289, 0.27651515151515149, 0.28769541099344426, 0.0, 0.12014245014245013, 0.33673747276688448, 0.47318407960198999, 0.38577912254160363, 0.28005376344086025, 0.32335958005249343, 0.25308123249299724, 0.23303407415073346, 0.072420193021529328, 0.28327377084687022, 0.0, 0.28014069264069263, 0.0, 0.21525037936267072, 0.18980607966457025, 0.0, 0.31642969984202213, 0.18539295392953931, 0.32878098128477484, 0.2643539788221998, 0.37238095238095237, 0.24223118279569894, 0.24642587432618945, 0.19947049924357033, 0.0, 0.13403569657907782, 0.25245137873124224, 0.35586319218241047, 0.32080712788259957, 0.16067880794701989, 0.0, 0.13966496308915388, 0.11014254385964913, 0.5449862195090539, 0.45135658914728682, 0.28193202146690521, 0.17848436671966084, 0.27525484199796124, 0.32591743119266053, 0.23027867095391213, 0.19477977161500815, 0.32925619834710745, 0.37537612838515549, 0.43031517094017085, 0.32239756367663353, 0.15225773718924404, 0.28382920110192839, 0.20823939881910897, 0.40554653679653679, 0.31342458541721507, 0.38911504424778759, 0.30360065466448444, 0.43626344086021507, 0.37510548523206755, 0.20506294471811712, 0.16812080536912749, 0.25738993710691827, 0.49005756148613294, 0.34438141545110751, 0.29897959183673467, 0.48828588374851717, 0.052939545202440375, 0.2974755700325733, 0.30733333333333335, 0.20768744068332803, 0.23271937086092712, 0.27437542201215392, 0.33705063378818312, 0.32605588044184536, 0.21784313725490195, 0.27051929384881879, 0.18590028363462394, 0.3958089526038619, 0.26105476673427991, 0.026901208244491825, 0.38794765840220391, 0.23271349862258955, 0.32790498749835506, 0.21977466977466978, 0.26210317460317462, 0.16588486140724951, 0.30975945017182127, 0.26369999999999999, 0.58460890324392645, 0.28727524204702631, 0.38311711518530428, 0.32426116838487973, 0.4784337349397591, 0.34710144927536229, 0.3025694444444445, 0.27116454333393147, 0.37296703296703299, 0.37885611730046392, 0.27415841584158418, 0.29991728701406123, 0.15037957211870256, 0.0, 0.27882395382395381, 0.37228340675477239, 0.27833675564681726, 0.460737812911726, 0.29659168370824818, 0.40657698056801195, 0.13174883687380531, 0.42337065562099546, 0.32221159974506058, 0.41803959131545343, 0.33346693386773546, 0.11636363636363636, 0.32193505632869451, 0.34377138945927443, 0.38712418300653589, 0.23259799613288804, 0.077306397306397309, 0.45699669966996703, 0.28412698412698412, 0.28675889328063242, 0.22337829158638409, 0.21632996632996634, 0.39891732283464565, 0.30206456456456454, 0.31028210838901266, 0.10027997814804698, 0.23243986254295532, 0.42519762845849796, 0.21090277777777777, 0.35961670088980147, 0.29188361408882091, 0.31800653594771244, 0.027895000357628211, 0.4196428571428571, 0.23352902804957598, 0.28957894736842105, 0.37600129198966403, 0.3213164622504126, 0.30022653721682846, 0.23805280528052802, 0.35587431693989069, 0.37379653941964591, 0.25496666666666667, 0.32548022598870052, 0.43340783950280765, 0.36586104243402795, 0.35522774327122153, 0.46138686131386863, 0.51539275013218955, 0.44008362885724878, 0.27340036563071296, 0.31227138643067848, 0.1821359357696567, 0.2851279655644165, 0.28081896551724139, 0.24826182804816005, 0.038795917666059582, 0.22645269921995806, 0.25754361956893601, 0.47174155971690768, 0.23251700680272108, 0.42317495588523629, 0.33474435037664152, 0.12995320338012997, 0.41313887880687628, 0.27027299962971685, 0.33679056007073144, 0.28144897891854442, 0.20512820512820515, 0.39562651856994097, 0.36562581656650117, 0.30456493134046358, 0.32742301026529796, 0.33345724907063196, 0.27288023754536456, 0.036029353326092139, 0.239840617097903, 0.38792751403777442, 0.061788013868251612, 0.0, 0.13479078850229809, 0.25422064639301784, 0.26428962389553523, 0.2556938658417941, 0.10832046384350701, 0.013634007257646449, 0.064127933732167505, 0.37943425076452608, 0.27254737050413103, 0.23261378678342329, 0.26845475088776499, 0.0, 0.065530899304321336, 0.24518167456556081, 0.23644298375582554, 0.0, 0.13049509445383239, 0.36118077324973874, 0.25431596091205211, 0.2613840464870576, 0.34394336654431046, 0.3053209346939863, 0.31955042560810998, 0.0, 0.14318753142282553, 0.080952380952380942, 0.22899598393574297, 0.0, 0.21986024470563034, 0.16534299877405254, 0.25074394788343474, 0.36732391339386444, 0.36925333333333332, 0.0, 0.0, 0.25991522449310184, 0.039212598425196851, 0.31806574738596344, 0.038954298358237494, 0.3416405433646813, 0.28992424242424242, 0.20100788425587254, 0.39827946989072299, 0.31673426288127865, 0.43723655258344168, 0.027410901467505241, 0.39261177465384206, 0.35422357106727353, 0.44741025641025639, 0.31814420477740385, 0.082627961896675248, 0.083777213253571528, 0.32514025440204419, 0.36120383185432448, 0.25855308679941569, 0.29719482515691042, 0.25522552255225522, 0.21574180448315478, 0.0, 0.11664000000000001, 0.25502034387714928, 0.25199896157840085, 0.48483768300445579, 0.11805366973609499, 0.030232558139534883, 0.10658108592049806, 0.36676871983809867, 0.049353765610514258, 0.11791709300074667, 0.12996455276979998, 0.23419154425314589, 0.073436650353452954, 0.26360332294911731, 0.0057498675145733966, 0.30628335434042209, 0.0, 2.6666666666666667e-05, 0.2451270088128564, 0.22560462670872766, 0.0012148101198964771, 0.52728256946950558, 0.37871354592532031, 0.16519203041027661, 0.34459619751245463, 0.34903632834165277, 0.14080281398717151, 0.35286939543964851, 0.31382885257423998, 0.3999660556687033, 0.39180148815618809, 0.33036007083360652, 0.42336769759450171, 0.47070084015739649, 0.26148959178156256, 0.36733735747820256, 0.43418300653594771, 0.42525094326190649, 0.33297858188106955, 0.25103635745837583, 0.38129322268326427, 0.21016403547823706, 0.0, 0.25284583234224745, 0.25862950216376462, 0.38088623890507489, 0.088406491816749977, 0.41962962962962969, 0.45864123957091779, 0.26643773356226647, 0.44652888904020976, 0.35750398697024188, 0.33368510638297877, 0.35301646603016468, 0.24370745330773258, 0.34235976789168276, 0.3666005200492678, 0.37074235807860256, 0.23113800958824932, 0.25904627387678236, 0.22293333333333334, 0.38721340388007053, 0.34101796407185631, 0.36085753803596127, 0.36024054982817871, 0.31250515548956531, 0.47143449419568823, 0.10254295532646047, 0.048901299823809051, 0.35441077441077434, 0.0, 0.20640222686151705, 0.16589080459770114, 0.057205387205387204, 0.30540092776673294, 0.33257080610021783, 0.34395280235988202, 0.30071507150715071, 0.34285925816243434, 0.38829199989229068, 0.54478041756659457, 0.36014005602240889, 0.17418732782369148, 0.28807588075880752, 0.4559033498077979, 0.2663611111111111, 0.0, 0.37439613526570054, 0.49711538461538463, 0.39912663755458511, 0.37396666666666667, 0.34478142076502738, 0.49429491728994929, 0.40399484536082481, 0.31656293222683263, 0.28812925170068027, 0.24108449767132403, 0.36324110671936755, 0.40966329966329967, 0.33207951070336389, 0.34547854785478549, 0.31983298538622129, 0.42775167785234897, 0.27020770572379893, 0.39726482617586911, 0.40311696248949547, 0.34058719190956505, 0.32398630858346494, 0.29256066411238824, 0.22872412576978382, 0.23606496371707295, 0.32164082516706727, 0.25960918514110004, 0.24641647473242106, 0.25284178187403994, 0.28534322820037111, 0.29085060757684056, 0.26699999999999996, 0.34538775235078023, 0.3698347107438017, 0.29603018372703416, 0.31676192353173038, 0.22742047026279397, 0.27211286089238845, 0.12217630853994489, 0.30982810164424512, 0.31390614216701168, 0.2781038374717833, 0.37039350405996252, 0.37481099656357386, 0.35047307132459971, 0.32762736138580101, 0.32159671109342886, 0.24973009446693656, 0.48717948717948723, 0.31998099484667958, 0.33365730741540683, 0.25877914951989023, 0.18202099737532806, 0.04202020202020202, 0.32331130690161525, 0.33144182726623844, 0.31578604044357472, 0.4679597701149425, 0.23472758249017767, 0.1984751773049645, 0.26713709677419356, 0.23732129420617007, 0.3716700473292765, 0.33322608322608321, 0.41801401469834215, 0.0, 0.29660556687033268, 0.27744883040935675, 0.29237804878048784, 0.38704096045197739, 0.32663906142167015, 0.20563163778647287, 0.19907038512616201, 0.39443306010928958, 0.51238468343232657, 0.52654569892473124, 0.53749154834347534, 0.47460317460317464, 0.52851371042522188, 0.34754208754208754, 0.45798022598870053, 0.30651917404129791, 0.53367697594501728, 0.40106060606060606, 0.44896065330363777, 0.36744796549784364, 0.39530244530244529, 0.72204301075268817, 0.39514024787997393, 0.49090972781728381, 0.24335337341349364, 0.3546052631578947, 0.27779787915054688, 0.36192488713860338, 0.37662559890485964, 0.38621052631578945, 0.5085187343594666, 0.27032520325203252, 0.17616546715943721, 0.23436426116838491, 0.144901547116737, 0.15890162734780641, 0.2146894590798534, 0.026274338952377761, 0.32601307189542489, 0.25243128964059197, 0.11366721191661155, 0.11278911564625853, 0.15416666666666667, 0.26414141414141412, 0.14963696369636964, 0.20087609511889859, 0.31769588313413016, 0.088786503620050583, 0.13582621082621082, 0.5084566596194503, 0.70276094276094281, 0.32287968441814596, 0.38630000000000003, 0.38898989898989894, 0.37421037167621563, 0.35506504896944885, 0.22325655790147156, 0.43172144302560883, 0.31165664662658654, 0.27942760942760941, 0.25104800540906019, 0.20759753593429156, 0.35164794007490635, 0.33925925925925926, 0.35988943703859205, 0.33264462809917356, 0.26615969581749044, 0.15573227302849568, 0.30540626999360204, 0.24099437148217637, 0.42305173542894559, 0.23355273719698186, 0.43748366013071899, 0.28305079713802217, 0.39798611111111115, 0.28098958333333335, 0.35316151202749141, 0.3836969535719037, 0.37686868686868691, 0.05469414075094528, 0.0, 0.022760155815247634, 0.16432893289328934, 0.26296953733394413, 0.19829333333333332, 0.25470016207455431, 0.21142485502140806, 0.2941325382538254, 0.30666018195342448, 0.32113728397878288, 0.28512182477967851, 0.21521972132904607, 0.11432143730803732, 0.17442922374429223, 0.42099679053606004, 0.084785449793073411, 0.10273744346584147, 0.32667723190702591, 0.32497563352826508, 0.2868924889543446, 0.23252726410621147, 0.34504268695418189, 0.0, 0.36749098133528518, 0.30441412520064209, 0.40051730027817084, 0.0, 0.42303618939374371, 0.31307888040712462, 0.27725, 0.38651457541191381, 0.15852417302798982, 0.065868263473053898, 0.40968503937007872, 0.3190777847258095, 0.3093464403655633, 0.13794271337333075, 0.2657964135021097, 0.30874583740203815, 0.25355149670218163, 0.47904685835995742, 0.24005102678906423, 0.33442356938211504, 0.41392060902664485, 0.32385572139303481, 0.32615591397849464, 0.39103726082578044, 0.0, 0.23275075987841945, 0.039724159630814417, 0.32130793510161143, 0.17898907103825135, 0.19948509485094851, 0.25402116402116404, 0.33489050306483409, 0.22015830290755004, 0.045476973684210525, 0.39741493420540364, 0.45573813249869588, 0.35945527195629129, 0.062100649522099594, 0.17199341021416803, 0.25640452577175582, 0.097714432460195164, 0.29870613918321703, 0.0, 0.26063596491228075, 0.055931438881371226, 0.28776389722328299, 0.22219742063492062, 0.34111928898764066, 0.69421670185085171, 0.35348232848232852, 0.27792479108635093, 0.32210489787824709, 0.33249886208466101, 0.26497124465783778, 0.079346707818930037, 0.21126344086021503, 0.23770576131687243, 0.11608955789587676, 0.34570293094883259, 0.34305551970678572, 0.066076923076923075, 0.12746642658864132, 0.04862561847168774, 0.30340115624296121, 0.11026041666666668, 0.32353166008408718, 0.34203119056675541, 0.31352249488752559, 0.27066326530612239, 0.0, 0.27791411042944786, 0.24008111013388059, 0.31032828282828284, 0.26379032258064516, 0.25965058020300613, 0.36626602564102556, 0.31638662961168768, 0.018596765779864372, 0.24720880300590448, 0.32815610267155576, 0.33265911542610571, 0.37575512405609496, 0.23401194353963087, 0.28717320261437912, 0.051424731182795697, 0.062983281086729362, 0.35069230769230764, 0.37165886635465423, 0.044153439153439153, 0.26440080563947632, 0.0, 0.43390625000000005, 0.401367881099566, 0.37790683605565639, 0.030002368608048002, 0.0, 0.38746820190119158, 0.32112820512820511, 0.0, 0.36285306290388941, 0.33857622675514049, 0.32319148936170206, 0.15387887887887888, 0.31523876404494378, 0.0, 0.059722923923737604, 0.34135416666666668, 0.19561007101355712, 0.27253414264036424, 0.46007352941176477, 0.059213421342134212, 0.34827940421160763, 0.28755901794145422, 0.32413625304136251, 0.22704517704517704, 0.17279920870425319, 0.17309692671394797, 0.41269841269841273, 0.0, 0.056562950752112096, 0.43412455334354261, 0.0, 0.075590283675896042, 0.30257286099939396, 0.23506666666666665, 0.23836122221959241, 0.0, 0.28901013681936527, 0.24503984000507922, 0.0761609907120743, 0.35275974025974022, 0.24201612903225805, 0.10751274483498792, 0.44502617801047123, 0.3535449735449735, 0.0, 0.43957973517559018, 0.28015844436442205, 0.056408185245018845, 0.39632433589256577, 0.12822899041173152, 0.10192525481313704, 0.38206192905445485, 0.3211177278973889, 0.26481577440205084, 0.31598145755756513, 0.35435982339955852, 0.11489524017110317, 0.33891347099311697, 0.032761641798969891, 0.060370812716828759, 0.28276062132440205, 0.025252395509543505, 0.29217368694747792, 0.38345827086456774, 0.0, 0.32331105181114428, 0.37549999999999994, 0.082276657060518732, 0.22979381443298968, 0.31378232018915414, 0.35556737588652476, 0.30144467935165609, 0.17731958762886599, 0.33639601139601139, 0.14114470842332613, 0.17578014184397162, 0.07257834757834758, 0.36248442044038215, 0.0, 0.32245241704564598, 0.30728952772073925, 0.21832611832611834, 0.27999318336741652, 0.0, 0.10965277777777778, 0.18283639143730884, 0.30784508440913605, 0.30268357860664685, 0.36151102464332041, 0.18735875706214689, 0.34400986610288936, 0.19727405594643282, 0.31039827481636223, 0.034230503795721186, 0.38022941970310398, 0.13551815766164746, 0.27655748233782923, 0.2337658017298736, 0.2819778188539741, 0.2804585152838428, 0.0, 0.46527802803704632, 0.23027210884353741, 0.19775438169425513, 0.042987804878048777, 0.2523758099352052, 0.30565679574791188, 0.0, 0.26290849673202615, 0.29832327297116035, 0.37933604336043353, 0.0039057239057239059, 0.22357001972386586, 0.14329861111111111, 0.22464596949891066, 0.32177882107459571, 0.22410665200659705, 0.032358498097341599, 0.12217847769028871, 0.26566358024691361, 0.20106965174129351, 0.19717948717948716, 0.31453732912723448, 0.29145211122554066, 0.29566517189835573, 0.29981287120657391, 0.37150418607018343, 0.36581469648562298, 0.18721498371335504, 0.26296592119275825, 0.50702908991783169, 0.086178207192699946, 0.18562401263823064, 0.36489028213166141, 0.30175865800865803, 0.25767441860465118, 0.29943589743589744, 0.18676016978197252, 0.24206602768903093, 0.21873742387250827, 0.21382860322760155, 0.1740273396424816, 0.0, 0.19408268733850131, 0.22608, 0.25603825136612018, 0.30419906687402803, 0.34122458063259797, 0.27403187818371033, 0.043722587719298246, 0.31205617382087975, 7.4738415545590425e-05, 0.23918799646954989, 0.22764165390505359, 0.27933227344992051, 0.38521126760563384, 0.33827361563517921, 0.0094551282051282045, 0.35385631273111456, 0.27717557251908398, 0.33335897435897438, 0.26879178605539633, 0.30273752012882449, 0.26072351421188633, 0.26609383524277141, 0.31736007924715209, 0.0, 0.21158098396904371, 0.26367521367521368, 0.062135665076841554, 0.32351145038167939, 0.26869009584664533, 0.27696236559139786, 0.31066137566137569, 0.27380146644106035, 0.033129147524247067, 0.14868012422360249, 0.235375191424196, 0.26836502810668583, 0.068718381112984825, 0.7250865779849176, 0.0, 0.0, 0.28187311178247737, 0.25582922824302134, 0.25358863939300724, 0.41734875444839858, 0.36337084673097536, 0.28090643274853799, 0.0, 0.37637124141740985, 0.30047690763052209, 0.24702380952380951, 0.3259398496240602, 0.44685835995740153, 0.33732356134636271, 0.30109546165884193, 0.18034116331096198, 0.20336043360433603, 0.26329072702108602, 0.36639784946236559, 0.3653501843075303, 0.27183441558441557, 0.11479999999999999, 0.091805555555555557, 0.18910463861920174, 0.33152173913043476, 0.037063119457485652, 0.031517703125456834, 0.21077777777777776, 0.38716670279644483, 0.21695953141640045, 0.1096969696969697, 0.30542791099228561, 0.19599673202614376, 0.0, 0.26828133552271483, 0.13596345514950164, 0.079741151611199157, 0.37967276760953966, 0.19172077922077921, 0.34792717086834729, 0.25116587175410698, 0.23272727272727275, 0.18456980937660997, 0.0, 0.055843408175014396, 0.2919753086419753, 0.0, 0.21470055413469738, 0.0, 0.0, 0.18814492753623188, 0.28623068432671078, 0.013097155126140634, 0.25089186176142697, 0.19070223414684484, 0.21897477187332257, 0.31007855590840716, 0.34055737598546537, 0.0, 0.24691480234936974, 0.22860275689223056, 0.2562581063553826, 0.27990638582413907, 0.30614241001564946, 0.22477331052181351, 0.13745197585071348, 0.30718480665090386, 0.12031459170013387, 0.26334677568537501, 0.0, 0.34583333333333338, 0.0, 0.36467889908256884, 0.41110050890585242, 0.27416432808781216, 0.53608697006510297, 0.39894230769230776, 0.31370083816892325, 0.19695593623751212, 0.37815873015873014, 0.42811572936935793, 0.33900102954481637, 0.50482539682539673, 0.23937841530054646, 0.46499759846301636, 0.27888702460850112, 0.39620901639344264, 0.11371308016877638, 0.36854882705946534, 0.28486029889538661, 0.34454545454545454, 0.30831636116768502, 0.28522154417617407, 0.25366297493176043, 0.43280657801760136, 0.28855874316939889, 0.36819105691056903, 0.0, 0.37327357237715808, 0.28494871794871796, 0.32375404530744339, 0.31048543689320385, 0.39498818938071273, 0.0, 0.044833660141579981, 0.28232931726907634, 0.0, 0.07705580029368575, 0.41837824257270273, 0.44093420562014846, 0.25332647462277091, 0.34127630685675492, 0.13563107796982921, 0.0, 0.055901287553648066, 0.48709281903436391, 0.35515771526001705, 0.30833333333333329, 0.097137404580152673, 0.18407859078590788, 0.19936882546652029, 0.20981370592149037, 0.3316435161715503, 0.32987358616101131, 0.39603301905246269, 0.18955862977602109, 0.28378006872852235, 0.21641843971631203, 0.4878280113815997, 0.36507118469368038, 0.47365585967747365, 0.36671591388771635, 0.44239935979958939, 0.33252250829252888, 0.29773172061984665, 0.36483956780189825, 0.0025554187192118227, 0.45619203856841545, 0.41696369636963693, 0.28123662463372068, 0.33378947368421058, 0.34083319278124474, 0.21641220104447326, 0.29899363576511895, 0.38151453074546027, 0.18649900727994706, 0.029797377830750895, 0.31072664359861596, 0.29570254110612854, 0.24942307692307691, 0.3245596136842821, 0.20200131233595803, 0.34030186255619782, 0.071621621621621626, 0.19656957928802588, 0.0, 0.27301943198804185, 0.18416817211364755, 0.29057584461769936, 0.095456058588548609, 0.40250809061488674, 0.27564308681672028, 0.33333333333333331, 0.41666897181267465, 0.32639113992436519, 0.039325529542920845, 0.092436520799567795, 0.014327956989247312, 0.26492557510148845, 0.066857298474945537, 0.34855415352260777, 0.18775964391691397, 0.19078726968174203, 0.23984792550553746, 0.3661408757138972, 0.071743753322700693, 0.25530179445350737, 0.24017023613399233, 0.16330845771144281, 0.21588190517616354, 0.25075315840621965, 0.28954056695992181, 0.41634460547504026, 0.37901286596098072, 0.1936995153473344, 0.039835575485799704, 0.35375308641975312, 0.32260917634051961, 0.21855203619909502, 0.12815699658703072, 0.0, 0.0012303452348729053, 0.0, 0.0, 0.31125541125541123, 0.28418490210449171, 0.23272386310360993, 0.30770241850683494, 0.11489583333333334, 0.26109437751004017, 0.25229963570127506, 0.27781706742102785, 0.19734490010515246, 0.35373047254812989, 0.27046153846153848, 0.26318795430944963, 0.36625707651770101, 0.058018938824590409, 0.19644939056703764, 0.29398652151373766, 0.054433760683760685, 0.29173290937996821, 0.37719155844155844, 0.0, 0.14702801780570829, 0.23822434875066456, 0.25171685155837298, 0.28651441000543776, 0.22913995726495726, 0.20544768069039912, 0.0, 0.040463768115942031, 0.033065810593900478, 0.24022809745982376, 0.30734989648033129, 0.34571266325951161, 0.21360930735930736, 0.21490587579321882, 0.16507363829729949, 0.26218985976267534, 0.29273427471116814, 0.29471057884231538, 0.32056910569105695, 0.25819019789513697, 0.0, 0.22738805970149251, 0.21054743479507018, 0.0063897763578274758, 0.25131856540084385, 0.30485302273987802, 0.20898268398268396, 0.0, 0.22407718120805367, 0.10478865703584805, 0.25732804232804235, 0.20157585470085471, 0.19893617021276594, 0.31614325068870519, 0.11067323481116584, 0.27562500000000001, 0.24948320413436695, 0.10347222222222223, 0.25558024691358022, 0.36171371966319954, 0.0, 0.29457050243111826, 0.38345961548373797, 0.38367240479916542, 0.0, 0.0, 0.41229703915950333, 0.24055640303022469, 0.21078793247699196, 0.28189043353446214, 0.32131970593509057, 0.10532039040950562, 0.34812792511700469, 0.41920062695924765, 0.32607999999999993, 0.30032258064516132, 0.34565096806571755, 0.45249164229001254, 0.27594839206624305, 0.37778637770897833, 0.32262295081967218, 0.060329019055465491, 0.44288389513108617, 0.43548982389539176, 0.26061554512258739, 0.2080581060709881, 0.20484420335562004, 0.40450375312760634, 0.28330605564648115, 0.0, 0.34894715560946782, 0.27104913678618858, 0.24334577114427861, 0.023046092184368736, 0.25080971659919027, 0.032080810739668335, 0.31434343434343437, 0.5238658643769859, 0.0, 0.20910832354940367, 0.20210597826086954, 0.47644687674699149, 0.28366297331814577, 0.30773584905660378, 0.28850642789952269, 0.54821931949021319, 0.14977336924390727, 0.14492455418381345, 0.021566586428989655, 0.21845441091306864, 0.21369416819709625, 0.23580637480014968, 0.27210072895957593, 0.42251169004676026, 0.2719179473292262, 0.22788978494623657, 0.32589105581708133, 0.35076869322152349, 0.23262311084183246, 0.23652410047522063, 0.22881096002453735, 0.26361592806679512, 0.36976744186046506, 0.3367461565619283, 0.42157706093189967, 0.36164135936370212, 0.22308214528173795, 0.4724070450097847, 0.39731404958677685, 0.3922340425531915, 0.3331013147718484, 0.34129593810444869, 0.40576171875, 0.23913604126370083, 0.39193657219973005, 0.34637978142076503, 0.3009552042160738, 0.36946749654218541, 0.3435923653715065, 0.0, 0.21272365805168986, 0.40408937605396289, 0.23845419847328245, 0.41680189317106153, 0.57951463240542478, 0.087079479172803856, 0.4525273224043716, 0.31326666666666669, 0.52363437832246207, 0.32560975609756104, 0.093630987398210352, 0.24506172839506171, 0.23846880907372403, 0.33828478964401298, 0.12261648745519714, 0.174375, 0.18451882845188283, 0.23097853814496103, 0.27757187218271062, 0.20306588388780172, 0.4530127693535515, 0.23635684450028863, 0.34153386454183265, 0.35118055555555555, 0.41977068083176788, 0.25539484621778885, 0.28293881948887167, 0.27816718587746619, 0.22347931873479318, 0.38655660377358492, 0.24666105499438831, 0.28348958333333329, 0.20106775333350527, 0.3035714285714286, 0.3176916210282516, 0.26897410094804303, 0.4061643835616438, 0.35653700702323071, 0.095585161964472309, 0.27189952904238618, 0.36865682974361574, 0.43504065040650408, 0.29564980967917348, 0.16484426772697153, 0.099811463046757171, 0.31118363501783186, 0.19709729439168611, 0.10860465116279069, 0.35057188969195147, 0.23717256027126732, 0.2353067047075606, 0.42426211566743044, 0.33319088319088325, 0.35639076576576573, 0.29945092099212894, 0.53590163934426238, 0.3122557230597432, 0.31293199554069118, 0.32527601204416196, 0.30928082191780815, 0.24963333333333335, 0.3244791666666666, 0.19972222222222222, 0.017121042686923996, 0.3056875398907879, 0.27174505794137693, 0.32709611451942738, 0.27991955680352126, 0.024576894775570273, 0.27948717948717949, 0.082872200263504614, 0.27451763140385893, 0.3215217391304348, 0.2891795865633075, 0.35632183908045983, 0.5077520814061055, 0.028216245511821694, 0.3964333333333333, 0.29901561439239643, 0.43115636789861178, 0.28841370733729449, 0.37434112381899548, 0.4378848728246319, 0.27998712998713005, 0.43047715053763441, 0.36624971121159111, 0.3767211997273347, 0.2882333333333334, 0.28418986438258381, 0.32323818738913079, 0.37685370741482965, 0.3236394557823129, 0.39645404951741497, 0.29307151979565776, 0.26302366702937979, 0.21627988748241911, 0.27163265306122447, 0.22216312056737589, 0.48323883417885216, 0.35756042720629572, 0.30395010395010397, 0.35442913385826769, 0.31586666666666663, 0.35197628458498026, 0.38149688149688149, 0.26389452332657204, 0.35979643765903307, 0.32300569800569795, 0.36092318534179002, 0.26391050583657588, 0.40521042084168341, 0.33140900195694717, 0.40761234071093227, 0.3025789910263178, 0.20930309007232084, 0.30020161290322578, 0.37041948316569101, 0.24968730456535335, 0.36096239643084771, 0.30964920997714396, 0.45821990972054716, 0.31113023522662075, 0.33402503293807639, 0.35348069943912902, 0.38828908554572272, 0.055322687957418494, 0.53978052126200282, 0.52501683501683494, 0.39053351215203946, 0.21933883189163819, 0.34081326875500884, 0.34518857459789237, 0.27123923127899269, 0.38469435644726035, 0.38401294498381877, 0.31632498101746392, 0.41776666666666668, 0.41675811533151619, 0.0, 0.39386138613861388, 0.55475701574264202, 0.55250397897620007, 0.45495107881569302, 0.34411046274935536, 0.13330128205128206, 0.40396995708154504, 0.41915887850467293, 0.43948171681305676, 0.35849428458809618, 0.41076555851523855, 0.43038015154906162, 0.34749943572050435, 0.41831675250311884, 0.389093588798821, 0.24305283757338553, 0.10545977011494254, 0.47627922184077159, 0.49603638726445742, 0.43644697328907855, 0.34908118944203143, 0.075779502697013557, 0.039292730844793712, 0.50915810289493302, 0.25034537201499901, 0.29622410161285251, 0.0, 0.44886067708333333, 0.55813953488372092, 0.42858959280333142, 0.19799868766404199, 0.42201342281879195, 0.55325047801147231, 0.33303143135084368, 0.35703612888395075, 0.3425221799746514, 0.50993527508090608, 0.48797662976629763, 0.51254061078622482, 0.24870550161812299, 0.19688000000000003, 0.0, 0.33074966991050908, 0.10822328485419092, 0.27920978363123239, 0.25270270270270268, 0.31005333333333335, 0.18563653881207196, 0.23789436900958469, 0.10359960552268245, 0.13936311246990071, 0.17534391534391536, 0.15796265371185669, 0.12628879332677065, 0.32245562933524224, 0.33394666666666661, 0.23614173228346458, 0.31213785076288553, 0.37110067814293163, 0.29687579375158757, 0.29715846994535516, 0.18118686868686867, 0.36051537144255075, 0.051536557698257192, 0.25402467609406792, 0.25010946907498632, 0.31076555023923447, 0.22459717198290036, 0.29581380979352251, 0.23969742977985031, 0.42623722617629956, 0.180103995621237, 0.13491200828157349, 0.32901234567901227, 0.20640350642755964, 0.38879515813716825, 0.27970668296205764, 0.35686884396060137, 0.32111210470693441, 0.2566606034667237, 0.29185715405313617, 0.4001794871794872, 0.23419405320813769, 0.32051851658259939, 0.28778832750322192, 0.26852835533970759, 0.24079215250786598, 0.0, 0.11605145413870246, 0.34246314529728555, 0.37389536459745193, 0.3740185400942202, 0.25417401223685576, 0.40329839051249472, 0.25589758817512953, 0.29362026862026863, 0.27514095335725269, 0.40312635403126357, 0.36797127681671166, 0.087768662282188631, 0.2117281578273123, 0.34337488078403, 0.41347079037800694, 0.31338016556182186, 0.36377104377104374, 0.31121898597626757, 0.2035324732849787, 0.37849237413955999, 0.33662073019397815, 0.0, 0.051523875707336443, 0.42343216652165189, 0.41778831702347946, 0.0300607822410148, 0.29003401360544218, 0.24779935275080911, 0.3167336010709505, 0.40038276248927601, 0.10577557755775577, 0.095792662403231227, 0.35147946859903384, 0.24576329331046309, 0.037693037117312381, 0.40933150362673987, 0.082891156462585019, 0.40052986512524091, 0.055784313725490198, 0.48186981214504143, 0.22269230769230763, 0.4005446876349264, 0.75486850722090093, 0.34532793633369924, 0.3730666666666666, 0.18688089321578105, 0.2788954635108481, 0.0, 0.8256023240392818, 0.86130625934823002, 0.26775577557755775, 0.0, 0.25112000000000001, 0.35299142491047086, 0.0, 0.34569270219696446, 0.29642857142857143, 0.44840942282049651, 0.0, 0.33065088757396449, 0.22858630564957041, 0.28534722222222214, 0.18330046022353719, 0.14564755838641191, 0.29902392733681293, 0.33779477374123645, 0.28598937583001327, 0.49050836550836552, 0.35924932975871315, 0.42798666744634817, 0.38709019181063803, 0.0, 0.40667828106852494, 0.16166792848407197, 0.43900928792569655, 0.17651515151515154, 0.42212126311066234, 0.42677966101694909, 0.21045366462265402, 0.34298173889343142, 0.3461538461538462, 0.37647714604236343, 0.2300450266066312, 0.0, 0.35193333333333332, 0.18201297541812989, 0.063523391812865496, 0.2575554063129617, 0.2884480337078652, 0.30950854700854702, 0.15125, 0.4661993769470405, 0.39259887005649718, 0.34184704184704184, 0.51645021645021649, 0.27995642701525053, 0.23577774099210946, 0.2713610471458005, 0.0, 0.058280273045373712, 0.63457304373698309, 0.44642058165548104, 0.29945828819068254, 0.0, 0.40802083333333339, 0.12562666666666666, 0.0, 0.39459588144268543, 0.26756661164819623, 0.35593607305936076, 0.0, 0.49141302499574913, 0.31942496493688638, 0.0001918018412976765, 0.27278911564625846, 0.24429629629629629, 0.28181285693366526, 0.51528287206846723, 0.25404382591710922, 0.0, 0.36858359957401493, 0.5572993402088271, 0.1669215643434564, 0.37303030303030305, 0.5165284215662358, 0.47555329719963862, 0.20245261984392418, 0.0, 0.1770973154362416, 0.40182567726737334, 0.22833333333333336, 0.28244234800838575, 0.39397042093287826, 0.58543859649122809, 0.45464782388379038, 0.33591598898636105, 0.27573388027176005, 0.30129504504504506, 0.29052511415525112, 0.30550108932461872, 0.25269953051643196, 0.089724310776942359, 0.40380434782608698, 0.14273809523809525, 0.24949769530788324, 0.4864512471655329, 0.036374777183600715, 0.49349046015712678, 0.40969689347251914, 0.29749670619235835, 0.30043832947765736, 0.33442206496098709, 0.43320941759603471, 0.0043740573152337859, 0.20328042328042328, 0.31616729088639201, 0.37918192918192917, 0.28415032679738561, 0.31124429223744293, 0.19283625730994153, 0.14091153455588076, 0.38517857142857137, 0.43197367733848646, 0.32311475409836066, 0.20811403508771931, 0.46542665619904583, 0.37452934662236992, 0.3456523010350272, 0.2886965674521958, 0.0043815972913762201, 0.3948087431693989, 0.17491856677524431, 0.00050335570469798663, 0.19636989516507589, 0.32273132839972707, 0.14529478458049888, 0.33966666666666667, 0.30821596244131455, 0.23799019607843136, 0.44086021505376344, 0.31778900112233444, 0.24483870967741936, 0.28431034482758621, 0.0, 0.41091811414392054, 0.19317673378076064, 0.30988056460369162, 0.43879907621247111, 0.3859861591695502, 0.20034011739535904, 0.16104129263913822, 0.21131756756756753, 0.12941176470588234, 0.38591127098321343, 0.19938996836873024, 0.0, 0.0, 0.24335705812574143, 0.3115336020696709, 0.37305326165271852, 0.40127096811129559, 0.25419448964704561, 0.20405252837364071, 0.0, 0.24955849889624726, 0.30661761050067127, 0.25802759585426333, 0.42273271390298123, 0.44392764857881134, 0.55774193548387097, 0.41176160337552747, 0.28028792912513839, 0.50305643137507239, 0.37470346583347797, 0.43578762100322677, 0.30263157894736842, 0.39258465224793487, 0.22300289307433427, 0.33132430190765827, 0.088811995386389855, 0.32683264177040111, 0.38907469342251955, 0.43940476190476191, 0.44661825276392803, 0.43783625730994158, 0.31858229875851024, 0.38321531312237217, 0.53599348534201963, 0.13962962962962963, 0.51618705035971224, 0.25264628445542958, 0.0, 0.15209235209235208, 0.48784906603361028, 0.41418630489445063, 0.14279866674463482, 0.29998188515186286, 0.24258361895757002, 0.36916951080773608, 0.36194071277894974, 0.67333929103366097, 0.33951044115613327, 0.3727086383601757, 0.39485150785460382, 0.32217171717171722, 0.26065162907268169, 0.31492271105826397, 0.25061317926636506, 0.370398773006135, 0.33797135340543705, 0.18484611371935314, 0.43111888111888114, 0.0, 0.38313767342582711, 0.33936923693705734, 0.19173615565533461, 0.70752164502164494, 0.33358631560511415, 0.31601516375613697, 0.39298793623438177, 0.35007849293563575, 0.42465667915106109, 0.28063794068270848, 0.0, 0.11549217002237136, 0.32838827838827839, 0.46005555555555555, 0.28340033793625824, 0.56203389830508488, 0.0, 0.14386471787899388, 0.030324359199953077, 0.31149425287356325, 0.37276422764227646, 0.063649652820075522, 0.3376791929679665, 0.19649717514124296, 0.20330818340104467, 0.080082864752885466, 0.23104838709677417, 0.64225522885722952, 0.0, 0.28313725490196079, 0.29077777777777775, 0.26951432697423422, 0.46479621972829299, 0.30900584795321639, 0.36178571428571427, 0.42363013698630136, 0.41921017402945115, 0.0, 0.32649122807017544, 0.3256527560812319, 0.41182428830365714, 0.43995407577497131, 0.25640608034744838, 0.22589388696655133, 0.046935483870967742, 0.5354643577274345, 0.25165525114155252, 0.49307315922890999, 0.51833377553727777, 0.30229791835631253, 0.36445717993079585, 0.40254169124349837, 0.28223223223223226, 0.36039925719591459, 0.37326527356835221, 0.22220279720279723, 0.11480225988700565, 0.25888824551244938, 0.43114754098360653, 0.26798414956309696, 0.41693914144077626, 0.0, 0.276274053711144, 0.27419540229885059, 0.25316009467694012, 0.58354497354497359, 0.54132760120784074, 0.42556634304207119, 0.35633333333333328, 0.31219272369714851, 0.34069069069069075, 0.32497249724972493, 0.25260210281608286, 0.44014675052410901, 0.0079714128642111044, 0.30610948191593351, 0.6667979002624671, 0.20032771535580524, 0.34618959107806696, 0.35878306878306881, 0.34740658441026839, 0.32566252180273453, 0.49759603218786375, 0.30173717982158693, 0.32711111111111113, 0.41576161108988702, 0.39723512877875294, 0.37492368318810015, 0.39160301148540966, 0.36880877742946711, 0.33120870124554125, 0.54213203292957879, 0.27182017543859649, 0.18267020335985851, 0.37556869881710653, 0.40284030010718114, 0.48102450149114079, 0.44306917136754476, 0.23943661971830987, 0.35567905522750953, 0.28262061403508776, 0.32547169811320759, 0.32045019157088123, 0.30604838709677418, 0.46533012563485698, 0.34185398846230353, 0.32211437012027855, 0.7875514403292182, 0.25788423153692619, 0.23146644312883116, 0.30541251859480489, 0.66476050830889544, 0.26778487752928648, 0.21125131440588854, 0.29578367979479503, 0.44085141219811708, 0.43038772120726188, 0.37788908531395277, 0.31624413145539909, 0.52863636363636368, 0.3656387665198238, 0.45444444444444443, 0.33985976267529666, 0.29502645502645508, 0.24115511551155114, 0.29659318637274545, 0.45731343283582093, 0.30065359477124182, 0.42126068376068371, 0.27965440356744703, 0.35567502986857835, 0.40660134555470262, 0.22435483870967746, 0.30344585091420528, 0.31276477146042364, 0.084500162813415824, 0.0, 0.26135015636795, 0.0, 0.44890019452341762, 0.35515873015873017, 0.25716666666666665, 0.33656565656565662, 0.3929562803608605, 0.39987878787878789, 0.37473915431081817, 0.37117758784425453, 0.44397849462365596, 0.66451204055766799, 0.25124809501287509, 0.23522607781282862, 0.18797814207650274, 0.3510416666666667, 0.42809216044205434, 0.47107039537126327, 0.21329923273657292, 0.0, 0.14860193187595322, 0.23127851340825639, 0.1144578313253012, 0.20289017341040461, 0.39515968063872253, 0.41994125987441766, 0.39539123828817424, 0.49883838383838386, 0.16856600189933524, 0.34764056224899603, 0.45311973829797469, 0.51475961259641601, 0.089234145777983137, 0.20550505050505052, 0.14035353535353537, 0.083392163783974585, 0.22963063552417165, 0.29773603082851641, 0.40293213525656185, 0.23317708333333334, 0.26192090395480222, 0.46860841423948218, 0.23655589123867066, 0.19149900821762542, 0.31008629989212511, 0.55631134000583027, 0.13527944111776447, 0.2740545294635004, 0.35283958142842631, 0.28283582089552239, 0.25359375000000001, 0.26239883793318114, 0.30179786200194364, 0.21207666339976045, 0.22796610169491524, 0.0, 0.35795940170940166, 0.27656533450607446, 0.20413943355119823, 0.37106339468302652, 0.28919860627177701, 0.2507227332457293, 0.13173289183222958, 0.29900199600798405, 0.34438278086095697, 0.21283185840707963, 0.0, 0.36414514145141452, 0.27787698412698408, 0.56985444854448553, 0.40592209285611608, 0.47483221476510074, 0.36482430745531325, 0.2026081147802852, 0.33361111111111114, 0.35797167396621349, 0.47377170299224236, 0.43995037862145603, 0.34213421342134215, 0.34573512906846243, 0.025840455840455842, 0.33448553054662378, 0.087771724758026137, 0.0915642784958247, 0.35970657584490429, 0.32699609156895582, 0.21738285047637562, 0.43555323862895862, 0.23305601774819748, 0.35546218487394959, 0.0060580681183696255, 0.12601338945227536, 0.53169270833333337, 0.22545270498256664, 0.29612961296129614, 0.47818256242325013, 0.2941330343796712, 0.29853620955315874, 0.3902056862856817, 0.21220338983050849, 0.43674298875491119, 0.17573289902280126, 0.41703586497890294, 0.35538089151187141, 0.29372358045138802, 0.31585670942673127, 0.32241192411924119, 0.32281156789002724, 0.54682561685611308, 0.23616959064327486, 0.28868378812199041, 0.44120439780109938, 0.31110256410256409, 0.32356225572305974, 0.29670008243146223, 0.40620741083596912, 0.26411058946270216, 0.19117411500880985, 0.32343572241183161, 0.1995542554673353, 0.4070521408284658, 0.44283039210123132, 0.41582010582010581, 0.13838612368024134, 0.25642013353877757, 0.27417643774427697, 0.37124939700916537, 0.32854497354497353, 0.36279380341880341, 0.27485832045337455, 0.24491935483870966, 0.48134674922600623, 0.19099313259376652, 0.38136933987997818, 0.28507812500000002, 0.47213459516298628, 0.4475895316804408, 0.24590301003344481, 0.23771071234366503, 0.39006514657980457, 0.1483707264957265, 0.36036552100381886, 0.26788478549314465, 0.55466448445171856, 0.30999446290143962, 0.87437678561425136, 0.01826710816777042, 0.33489417989417991, 0.16608259650636187, 0.39540287810067754, 0.27832774049217002, 0.33520833333333333, 0.27284580498866207, 0.25325914149443562, 0.33982300884955752, 0.24337641357027467, 0.35098191214470276, 0.35601774819744875, 0.03988559542381695, 0.25609853635127566, 0.02488962472406181, 0.29328703703703707, 0.30395622895622898, 0.33012600229095063, 0.36765704584040748, 0.36099114064230348, 0.37008695652173912, 0.37316455696202533, 0.39075340650018558, 0.32365196078431369, 0.36376306620209059, 0.45482295482295476, 0.36690613026819924, 0.28441732400654857, 0.043039677202420981, 0.0, 0.29372822299651569, 0.37137404580152672, 0.14905869324473975, 0.48765281173594127, 0.16950354609929077, 0.3744525547445256, 0.28069873997709049, 0.3147511020320396, 0.27630522088353415, 0.15954277046427218, 0.3477657004830918, 0.24848993288590604, 0.0, 0.43938699658876834, 0.13765027322404372, 0.21923076923076923, 0.5121775025799794, 0.23301886792452831, 0.41466431095406353, 0.37603305785123975, 0.44812056737588646, 0.54036397573495099, 0.36464546056991387, 0.10843293492695884, 0.30257898130238553, 0.37179487179487181, 0.29601677148846955, 0.23437283437283435, 0.22666089158392752, 0.3136333109469443, 0.45104318292091217, 0.28877022653721685, 0.37948585786998257, 0.30927177177177173, 0.22478462557985424, 0.56717886849958732, 0.3089855072463768, 0.17953405017921145, 0.33430583501006034, 0.18516469209738318, 0.25938144329896912, 0.33418891170431209, 0.20129831633862932, 0.23953634085213035, 0.23800813008130081, 0.10493079584775086, 0.3061076604554866, 0.41079335793357935, 0.23848484848484849, 0.29148296593186368, 0.26409523809523811, 0.24254742547425476, 0.16332684824902724, 0.30886962320773592, 0.2501707417019533, 0.3058166462334832, 0.27679548261866943, 0.3876152832674572, 0.37178282244071714, 0.20303961748633881, 0.38139158576051774, 0.034471218206157964, 0.31484210526315792, 0.20095773893242247, 0.31897880539499035, 0.4294923179692719, 0.25217883418222969, 0.39152076896670102, 0.25787321063394686, 0.40721053847931588, 0.28880053015241886, 0.30437541750167002, 0.23591782637508285, 0.15114709851551958, 0.055714285714285716, 0.22073536373678393, 0.11552962298025135, 0.3547182620502376, 0.21532713988164115, 0.28086687736602639, 0.25192307692307692, 0.030530973451327437, 0.20136200716845876, 0.26511857707509884, 0.28691650230111765, 0.13478260869565215, 0.19713760650442724, 0.63326745718050059, 0.064189189189189186, 0.42437810945273635, 0.2591256830601093, 0.33940329218106996, 0.27564971751412431, 0.31836158192090391, 0.28892438764643236, 0.31632996632996635, 0.2819170592683069, 0.34803278688524591, 0.380575117370892, 0.32320143884892089, 0.33143534994068796, 0.28446131692629922, 0.28213879408418663, 0.27461832061068703, 0.38850352207345273, 0.21701268742791233, 0.19570621468926555, 0.35180598555211562, 0.14602917341977309, 0.44518518518518513, 0.34543010752688175, 0.18774193548387097, 0.24625850340136052, 0.18056628056628055, 0.32515723270440255, 0.2835497835497835, 0.21721672167216721, 0.49681208053691278, 0.24989142236699241, 0.0, 0.30843434343434351, 0.39451977401129945, 0.31904761904761902, 0.28106540084388182, 0.0, 0.49240139554136358, 0.51822916666666663, 0.2727083874318359, 0.25526918671248566, 0.1960093896713615, 0.42666666666666669, 0.0, 0.20737950352554818, 0.0, 0.42809618513831132, 0.078888888888888883, 0.33782707622298069, 0.29510978043912178, 0.0, 0.27015366430260046, 0.22875816993464052, 0.16860465116279069, 0.22922535211267608, 0.42680467091295121, 0.23162385149071818, 0.36795302013422815, 0.30522875816993467, 0.41602373887240357, 0.64814930403844961, 0.36691782022078151, 0.39434731934731931, 0.35335463258785943, 0.367389118534242, 0.34413145539906104, 0.28208874458874461, 0.30564971751412429, 0.12530315278900567, 0.31045400238948623, 0.0, 0.53364008179959088, 0.28521046643913539, 0.29891077912029046, 0.43839331111236651, 0.0, 0.19071446668355713, 0.17896274653031413, 0.31583034647550778, 0.26475758697261287, 0.32594444444444448, 0.30791806420699569, 0.27804323094425487, 0.52635658914728678, 0.26094349972572684, 0.3235772357723577, 0.3387372013651877, 0.3745440688115847, 0.34723082641556191, 0.39694533762057871, 0.21550387596899226, 0.25957792207792207, 0.59788888888888891, 0.27340674388086955, 0.54914965986394559, 0.29192263936291241, 0.3283499446290144, 0.49988221436984687, 0.53588850174216029, 0.0, 0.34448315911730543, 0.48969795037756209, 0.35271317829457366, 0.16200564971751413, 0.36534090909090911, 0.36281609195402303, 0.46459034792368126, 0.47252559726962456, 0.49301294281441754, 0.40123456790123457, 0.0, 0.31877853881278539, 0.40149425287356327, 0.0, 0.28205596107055964, 0.4157894736842106, 0.36744966442953025, 0.32590310498973057, 0.4354718850631657, 0.31845819761129207, 0.18871994528331665, 0.23809523809523808, 0.24560557341907821, 0.288608305274972, 0.51566666666666661, 0.49076923076923085, 0.16356481481481483, 0.40329087048832274, 0.6874465811965812, 0.26139510117145898, 0.1236231884057971, 0.3633918128654971, 0.2699771689497717, 0.32915151515151514, 0.060833333333333336, 0.23763440860215052, 0.47672222222222221, 0.0, 0.47941176470588232, 0.26017039403620867, 0.29955621301775154, 0.24967948717948715, 0.55481099656357391, 0.28192267502612334, 0.061388888888888889, 0.40604026845637586, 0.33600823045267492, 0.2108225108225108, 0.40695402298850575, 0.34899665551839465, 0.24613526570048311, 0.45983870967741935, 0.29592711682743839, 0.25642809807819744, 0.38428690334020915, 0.32734249450657577, 0.27804231004693558, 0.42469015003261573, 0.34784181772133577, 0.17759952268885282, 0.28402915838303511, 0.31240489819578293, 0.211404828426105, 0.11806615776081425, 0.30328441649196358, 0.37570738440303658, 0.2172675521821632, 0.17535545023696683, 0.30165989159891599, 0.20931962667388068, 0.42627567925778653, 0.35370267260579064, 0.10448844884488447, 0.29840940525587822, 0.25310846560846556, 0.39851190476190473, 0.23866120218579237, 0.36776632302405493, 0.43136856368563686, 0.23614627285513362, 0.40057891529555145, 0.23816993464052286, 0.31052287581699345, 0.24223687826325918, 0.2236328125, 0.22347181794125431, 0.44715686274509797, 0.37820216049382716, 0.38453166451261817, 0.44927205810507115, 0.50235473119837704, 0.37891025641025644, 0.21199616122840692, 0.58328034536996753, 0.41346475729960941, 0.38166666666666671, 0.025513315714576133, 0.59985663082437279, 0.47589225589225592, 0.46062060140754951, 0.22371675943104513, 0.21387768817204303, 0.40923285811269516, 0.38030303030303031, 0.66667987007842822, 0.31695132653750085, 0.1530060882800609, 0.22741486546854062, 0.40075942849787621, 0.46205234159779612, 0.31023035230352303, 0.3249957052052912, 0.37778852353320441, 0.34178403755868547, 0.29287860166598384, 0.10155115511551155, 0.31777268215886922, 0.35611650485436891, 0.18246518824136154, 0.25656779661016949, 0.30572916666666666, 0.36681901279707491, 0.21969380654140572, 0.026757798298553043, 0.20690131124913733, 0.39627285513361465, 0.16388702796093227, 0.36061061061061056, 0.16644273832373641, 0.35292570677186053, 0.21952284946236561, 0.14061679790026246, 0.40055440055440056, 0.17205284552845529, 0.38878406708595392, 0.26366459627329186, 0.16122481358083457, 0.23820788530465947, 0.25016762773233203, 0.37416331994645252, 0.26114582601979924, 0.23529411764705882, 0.37113220815752457, 0.32332806740389675, 0.29724034119417964, 0.32887700534759357, 0.30089684326972466, 0.43449304174950293, 0.47424950870773191, 0.41943674303224859, 0.42402146464646462, 0.31533680497228284, 0.13025729373431708, 0.15278041374074777, 0.44218061674008802, 0.10822463768115942, 0.31815245478036175, 0.36964769647696472, 0.22147147147147148, 0.15162085976039463, 0.41398678414096918, 0.44467570833892844, 0.30101115760111574, 0.0, 0.2917963683527886, 0.31438258386866524, 0.36128257887517146, 0.16276901271866026, 0.0, 0.35841426629984419, 0.12801064537591483, 0.36746487867177524, 0.366283472155297, 0.19279918864097362, 0.21143724696356278, 0.11130185979971388, 0.45759075907590763, 0.10129435718440954, 0.37535641547861509, 0.30499075785582253, 0.38373703591094899, 0.0, 0.25062240663900415, 0.0, 0.52028985507246372, 0.23531746031746031, 0.29062286105407253, 0.28076673164392463, 0.43904475617902466, 0.29296448087431698, 0.43044184535412611, 0.28365508365508368, 0.21168826863791559, 0.24927944862155388, 0.48780835591045202, 0.33514845066770388, 0.32031111268956208, 0.27951920161001292, 0.29702343255224822, 0.32245926313722928, 0.42281831187410585, 0.33088858465349763, 0.32494919545590834, 0.068000000000000005, 0.33170835745406901, 0.27127165042526086, 0.26989860583016478, 0.47478716437459062, 0.30075459317585301, 0.20510821430798981, 0.41722995361166332, 0.53164721141374838, 0.34599873976055451, 0.38538461538461538, 0.30642248344475775, 0.19482931726907629, 0.090889953160359985, 0.3580921757770632, 0.29377238360525265, 0.28988764044943821, 0.44466978679147168, 0.31636409480584965, 0.54203308355718927, 0.41021090534979421, 0.35901882429817283, 0.38809872922776156, 0.41337955114743313, 0.28095930232558136, 0.27133333333333332, 0.084158415841584164, 0.38189978380449363, 0.17935415857515397, 0.0, 0.32422601030216136, 0.33692059343531411, 0.34266129032258069, 0.2997797356828194, 0.28426190476190477, 0.17339268051434223, 0.31923884514435691, 0.54579867638348822, 0.40596546310832027, 0.41263737567946068, 0.35917225950782999, 0.0, 0.34853282142055791, 0.383671875, 0.4401739539257169, 0.38166118421052625, 0.41829910479199578, 0.19051707945367216, 0.0, 0.39685467188395684, 0.40967431633915075, 0.24681704260651627, 0.26232114467408585, 0.28266452648475121, 0.37115525706868335, 0.26008620689655182, 0.29932659932659939, 0.34251949317738789, 0.2455229955229955, 0.32307015045187359, 0.37780612244897965, 0.33297401879491434, 0.28510638297872337, 0.39449050548274939, 0.034653055593875021, 0.27957333333333334, 0.17763085399449036, 0.20467318180559782, 0.13594666666666666, 0.419966825627203, 0.42644444444444451, 0.29733850129198969, 0.31566666666666671, 0.34120370370370368, 0.30990990990990991, 0.41052777777777782, 0.4194068939975133, 0.4024987506246876, 0.40173542894564507, 0.36104797979797981, 0.324390995991366, 0.27683796488759554, 0.28339670468948031, 0.32138857782754765, 0.52006394362521202, 0.32609990905955033, 0.31587752525252527, 0.40304585900068451, 0.28494568383537233, 0.33368442511552054, 0.21626665793523459, 0.26772908366533865, 0.36172707889125805, 0.3720353279745956, 0.38861254497106207, 0.4643238624225593, 0.22825947334617855, 0.26739393939393935, 0.21274954190375159, 0.30120311394196736, 0.30778911564625849, 0.0, 0.79073184717941369, 0.36862630966239818, 0.20852156057494864, 0.36943874058863796, 0.37628089210367688, 0.29256666666666664, 0.039602169981916818, 0.30218068535825543, 0.23523309547012042, 0.34500000000000003, 0.39581686429512519, 0.30946542422756251, 0.26232604373757462, 0.48589015151515152, 0.30952380952380948, 0.23292134076711224, 0.24117765004678518, 0.37275757575757573, 0.36344831975560082, 0.45037522817929826, 0.31863555004818944, 0.36393499308437072, 0.35426275331935708, 0.23916821849782746, 0.35406712172923777, 0.23600743227825408, 0.4813443264393516, 0.28945188017845758, 0.29261559696342304, 0.26592275227011125, 3.0750307503075028e-05, 0.29486945962355798, 0.22268041237113401, 0.37982791586998088, 0.53617021276595744, 0.30348356622712064, 0.40613176777560339, 0.34373716632443535, 0.33608974358974353, 0.39271040424121928, 0.22192441704636828, 0.40565984072810013, 0.31149283412192286, 0.40125549278091655, 0.41047690709090245, 0.46221995926680243, 0.34085257548845471, 0.35232843137254904, 0.2230691056910569, 0.38083441981747074, 0.31505281690140846, 0.0, 0.44410997391129842, 0.27223294723294722, 0.43845917740945367, 0.37616279069767444, 0.37122946404524643, 0.52412364563416192, 0.25536408743462519, 0.27567155067155064, 0.54099328462844076, 0.35862279098110916, 0.23352380952380952, 0.46577319587628868, 0.54788557213930356, 0.0, 0.32882049284114145, 0.29390084801043703, 0.0, 0.36313223644119441, 0.040086741016109047, 0.18024258450218442, 0.34625541354177669, 0.37400109469074994, 0.3972, 0.17698992198561869, 0.37011120151885002, 0.36057565355162391, 0.35059489776470909, 0.26323991797676005, 0.42334474885844742, 0.54051561021759698, 0.27795801791309654, 0.11564434440067531, 0.47504729423676439, 0.5151583902895549, 0.26555378463775409, 0.34121361889071944, 0.33507092804648775, 0.17793544796883692, 0.2027581287523034, 0.34838675012760928, 0.39604754007739079, 0.0, 0.41252032520325205, 0.30818428184281849, 0.40405989293187322, 0.4375993640699522, 0.31474039543481758, 0.17228650137741044, 0.34201550387596907, 0.2327881619937695, 0.41355976829910485, 0.48514088250930354, 0.36258397932816533, 0.42140826808956267, 0.29785395763656636, 0.42983471074380164, 0.37107349801768835, 0.33333333333333337, 0.23151515151515151, 0.35607993197278914, 0.41305057096247949, 0.38538159371492703, 0.03840245775729647, 0.087902298850574712, 0.35785446720331548, 0.80050135196034244, 0.0, 0.30511477045908181, 0.31484659386375452, 0.2337227414330218, 0.42534967782492533, 0.2291181364392679, 0.43864683645594771, 0.075594202898550733, 0.15373809523809526, 0.13785020011435103, 0.38054558318702336, 0.27443883277216613, 0.36002688172043013, 0.023419979612640165, 0.38377049180327871, 0.26010140609481991, 0.40706666666666674, 0.19527322404371586, 0.31756978653530382, 0.232875605815832, 0.23371384883077162, 0.43451422436929682, 0.28141126908899422, 0.39532212885154056, 0.3244288681204569, 0.28118457300275485, 0.36454592801732405, 0.11752066115702479, 0.031563769825665222, 0.28785357737104833, 0.3549991800142131, 0.25527354765933447, 0.33986928104575165, 0.35638602520045815, 0.18021636003112371, 0.2612384389264632, 0.40241935483870961, 0.43808360477741587, 0.38750000000000001, 0.2544791666666667, 0.037821482602118005, 0.40008000000000005, 0.076402373247033445, 0.02240829346092504, 0.33987447584071034, 0.33351562499999998, 0.06677740863787375, 0.38531608671889234, 0.25835978835978834, 0.0, 0.35290322580645156, 0.35793515358361777, 0.23814516129032257, 0.0, 0.29782608695652169, 0.30834666666666666, 0.29532786885245899, 0.7437144482366328, 0.28091397849462368, 0.062796071634893119, 0.05363765270506108, 0.41437159233887882, 0.044554455445544552, 0.28732142857142856, 0.28994614003590669, 0.46561827956989243, 0.29080551139374666, 0.1920552677029361, 0.3178813559322034, 0.2134710743801653, 0.35982333974584768, 0.38929610238510759, 0.25729953621328355, 0.39507002801120444, 0.23562778840025494, 0.29002801120448185, 0.41509333333333331, 0.31702198449056895, 0.35365333333333338, 0.034754521963824288, 0.39583333333333331, 0.39540322580645165, 0.33767667249966349, 0.37241653418124004, 0.18594086021505379, 0.36431216931216931, 0.39604975207069448, 0.0, 0.29602469135802467, 0.2875898286346048, 0.0, 0.058400000000000001, 0.44085932544607154, 0.45256632064590546, 0.51489136195018548, 0.4048600508905853, 0.41352303523035228, 0.079728997289972903, 0.11624203821656051, 0.24760436171384512, 0.44834625322997418, 0.35766985138004243, 0.056504065040650406, 0.4854602660056252, 0.30259765462559945, 0.44662860250135944, 0.33720991561181435, 0.23529411764705882, 0.2249523515170247, 0.50192307692307681, 0.42821637426900583, 0.30789621656357941, 0.0, 0.15195442638793522, 0.25113871635610763, 0.35584047081078241, 0.070643642072213506, 0.34366018931104492, 0.37922693266832924, 0.0, 0.39282858570714652, 0.4035348159766961, 0.36636413641364141, 0.39550495421712628, 0.45040186939886495, 0.3951492537313433, 0.0, 0.5117299712735397, 0.66969500324464637, 0.33536209553158702, 0.41029333333333334, 0.35512048192771084, 0.0, 0.42202760084925695, 0.3700374531835206, 0.0095090439276485795, 0.47864992150706437, 0.27089783281733748, 0.24841628959276019, 0.36545394952474597, 0.0, 0.46809216401724874, 0.23497206703910614, 0.35868918604350414, 0.38004037758498399, 0.043154761904761904, 0.14670358649789028, 0.34364354079922127, 0.131031031031031, 0.55596008629989213, 0.2311403963889177, 0.30562805872756937, 0.094035292401925041, 0.36779761904761904, 0.13837844017032952, 0.35126252944076247, 0.22036506993573476, 0.35764674205708125, 0.0, 0.20399783900594276, 0.19166666666666665, 0.28456908418580795, 0.023740803621958122, 0.33407396990577976, 0.39150589496248661, 0.0, 0.0, 0.17910761154855642, 0.27642413987591657, 0.055000000000000007, 0.39242991861516607, 0.02718621461776231, 0.097821587498706397, 0.31088628680613395, 0.31047261282298599, 0.34539574208006524, 0.18176100628930816, 0.090773809523809521, 0.22276422764227644, 0.16289537712895377, 0.26598746081504704, 0.30055266150144111, 0.31466666666666671, 0.18733373639661427, 0.030644257703081233, 0.061957090528519096, 0.07528822055137846, 0.27135224003288116, 0.24402129293678324, 0.32273215244229736, 0.094307692307692301, 0.0063779527559055119, 0.22218649517684885, 0.10325118134744347, 0.29106414534668146, 0.27961816305469561, 0.31625000000000003, 0.37887999999999994, 0.27609752847911534, 0.25208333333333333, 0.0, 0.26464052287581696, 0.51012944983818775, 0.26559068950373299, 0.21282828282828281, 0.46506535947712424, 0.0, 0.35476666666666667, 0.29155357373659047, 0.077669902912621352, 0.37608414239482202, 0.23645251880872306, 0.27751700680272112, 0.31886792452830187, 0.43977098988321783, 0.67524446731857957, 0.087046413502109704, 0.12694736842105264, 0.38647798742138367, 0.21839622641509432, 0.088619642007394112, 0.15908496732026145, 0.41835016835016836, 0.082580645161290323, 0.29198653198653202, 0.069068100358422937, 0.34795180722891567, 0.33660066006600659, 0.42771709937332142, 0.39153061224489799, 0.32851132686084139, 0.21107744107744109, 0.44723333333333332, 0.25, 0.28980582524271847, 0.29039999999999994, 0.0, 0.37140350877192979, 0.2686734693877551, 0.37055555555555558, 0.06560551489098021, 0.30724637681159417, 0.36706270627062715, 0.2905363642606964, 0.39193877551020412, 0.39742138364779872, 0.096190476190476201, 0.17467451952882826, 0.30895833333333333, 0.29205387205387207, 0.32019230769230772, 0.2003205128205128, 0.43692307692307686, 0.082088353413654613, 0.27726072607260727, 0.52219528823573969, 0.34444516295913091, 0.21826923076923077, 0.44640832388447937, 0.39367484204089948, 0.47403181189488247, 0.11972749673865778, 0.35494382403855951, 0.0, 0.28790650406504059, 0.45340067340067342, 0.27784787942516648, 0.23806853582554519, 0.0, 0.26468646864686468, 0.39250896057347667, 0.45521452145214519, 0.39520876112251885, 0.20510416666666667, 0.24174917491749173, 0.12843567251461988, 0.36085050892889486, 0.35733041575492336, 0.29090542040981121, 0.5113745704467354, 0.33803921568627449, 0.52428406230868652, 0.71882451721242657, 0.0, 0.35548822207017888, 0.31041666666666667, 0.31874999999999998, 0.29423868312757201, 0.33814240844924587, 0.093175582990397798, 0.24367924528301887, 0.26489795918367348, 0.25281207133058992, 0.29411972702521127, 0.048631578947368422, 0.32453900709219857, 0.081926290607773122, 0.033498349834983496, 0.28067816619662883, 0.13261904761904764, 0.028772997648360769, 0.26498127340823968, 0.19925170068027212, 0.29498316498316496, 0.092861952861952868, 0.26215277777777779, 0.24893683552220136, 0.34086666666666665, 0.1792233009708738, 0.33689768976897688, 0.39140461215932909, 0.38274914089347079, 0.43327055869428754, 0.3087143803843605, 0.15332681017612526, 0.021016880758625327, 0.48628865979381442, 0.44981468875274183, 0.26329787234042551, 0.35318869165023004, 0.31877192982456143, 0.31959259259259265, 0.24536490521491566, 0.0, 0.24567376684768844, 0.32055477637525326, 0.31266778523489941, 0.31879719525350586, 0.35690988006266533, 0.077516953573291594, 0.29060955518945636, 0.2609536601746138, 0.25429774452221954, 0.26438393839383945, 0.39416932907348246, 0.41905537459283393, 0.19214852607709751, 0.31507759891332621, 0.0044064282011404875, 0.2876758392646977, 0.073627617430673448, 0.27026951931091975, 0.30002653927813167, 0.32871604938271604, 0.30953947368421053, 0.33838461538461539, 0.41460472423273304, 0.22315436241610739, 0.42838125665601706, 0.13351822503961966, 0.25732986399849778, 0.5826240742787665, 0.40439821243719543, 0.29320209973753286, 0.16503999999999999, 0.28521907931225732, 0.25903954802259882, 0.0, 0.29596205962059624, 0.021405492730210016, 0.19887999999999997, 0.25041003376748672, 0.21588050314465407, 0.32143241787829835, 0.0, 0.24010248112189858, 0.2407135076252723, 0.34519544409389874, 0.0, 0.4080459770114942, 0.23048986486486486, 0.021257485029940123, 0.3506157010444213, 0.1875886524822695, 0.39363162878787877, 0.44393939393939397, 0.096204312420528626, 0.12287104622871046, 0.33178353658536586, 0.34182554814108679, 0.33266727871685475, 0.26352154531946514, 0.0, 0.12719298245614036, 0.31465750459906938, 0.4341284132113169, 0.38679553978202319, 0.31746411483253589, 0.0, 0.33155389591605972, 0.13362197266946288, 0.24611280487804879, 0.33881650380021711, 0.0, 0.0, 0.45605345911949691, 0.37037037037037035, 0.34515625, 0.0, 0.3542257217847769, 0.15785353535353536, 0.29649118368792532, 0.42035815268614513, 0.5288666666666666, 0.25264060356652951, 0.3797619047619048, 0.36552996699904189, 0.46388301620859757, 0.23528012774776608, 0.39435374149659863, 0.26479289940828399, 0.26448824343015215, 0.0, 0.16931818181818181, 0.38302228982624459, 0.29604292421193829, 0.24496281271129144, 0.0, 0.3094293667362561, 0.20507812499999997, 0.27616035717607662, 0.27744253847718492, 0.0, 0.18763371093886999, 0.24499299719887954, 0.24353182751540037, 0.0, 0.0, 0.25016600265604244, 0.16587129428778019, 0.3652032520325203, 0.31850595402935472, 0.27532552410637973, 0.3011548064918852, 0.19031250000000002, 0.51615186615186626, 0.53754076973255061, 0.28995247793618462, 0.3798898071625344, 0.1138728323699422, 0.15517241379310343, 0.29975945017182126, 0.23605734767025088, 0.33845911949685537, 0.20413427435245224, 0.19339250493096649, 0.37812661721580132, 0.055292096219931273, 0.10985619081024203, 0.33938172043010761, 0.28675287356321838, 0.24425742574257428, 0.28573883161512026, 0.0, 0.23023049353894715, 0.14988738738738738, 0.30270362765229292, 0.28913502109704642, 0.32584593232541398, 0.21360612109115104, 0.017076244486452428, 0.10397542332589692, 0.22183436002737852, 0.10977229601518027, 0.48884863579757731, 0.31222040370976539, 0.14601939048545715, 0.12991281019450035, 0.43127853131465732, 0.26111111111111113, 0.27623655913978495, 0.053800119688809094, 0.46782868525896421, 0.28537832310838446, 0.36766541822721605, 0.27235690235690235, 0.32126543209876546, 0.26888162672476396, 0.33979857050032486, 0.25931863727454907, 0.43656808379544054, 0.29126652748782178, 0.3102466793168881, 0.25647058823529412, 0.41640096012610617, 0.28812698412698412, 0.39676767676767677, 0.38159588159588159, 0.33056896913709838, 0.30575699745547069, 0.3670468948035488, 0.42746339041945891, 0.40899641577060936, 0.35609619686800886, 0.32836158192090398, 0.18802259887005648, 0.13116219667943807, 0.33872566925846681, 0.47744531338546981, 0.22054263565891472, 0.43280423280423286, 0.25096045197740113, 0.55004219409282695, 0.23834723113106696, 0.26149780726414035, 0.25102813852813849, 0.32000000000000001, 0.40753205128205128, 0.25591397849462366, 0.22211434735706581, 0.41697250296425947, 0.32049795569658873, 0.013099219620958752, 0.20858860247370245, 0.26251504211793014, 0.16572269216623756, 0.26559454191033144, 0.14211515084539728, 0.20032467532467532, 0.15416149068322982, 0.28775555067047698, 0.20697399527186763, 0.39539393939393935, 0.30413333333333331, 0.18901895206243033, 0.39198479682521936, 0.0, 0.55195019832525349, 0.23973873074752033, 0.3552787663107948, 0.40398961153782392, 0.13949999999999999, 0.1659297052154195, 0.36217969510217318, 0.3111728395061728, 0.18261589403973513, 0.27885304659498211, 0.15684156378600822, 0.29290780141843975, 0.0, 0.25225694444444441, 0.40774855189440695, 0.27776678864602905, 0.26174165278034933, 0.29374278689347177, 0.35780885780885779, 0.26968145620022754, 0.20208333333333334, 0.26287356321839084, 0.5175063167122157, 0.13959064327485382, 0.48597804391217564, 0.3593184238551651, 0.25250266240681579, 0.15244299674267101, 0.1644736842105263, 0.268371904181892, 0.41338810765260442, 0.38901895206243031, 0.30390334572490701, 0.31682641107561238, 0.25650000000000001, 0.33304526748971197, 0.20015479876160991, 0.20299760191846522, 0.3130174291938998, 0.39583333333333337, 0.22238805970149256, 0.31755802789857118, 0.46764386536373515, 0.32066666666666666, 0.15228426395939085, 0.36701596806387227, 0.4835355285961872, 0.0, 0.4703921568627451, 0.18204678362573101, 0.44715719063545145, 0.0, 0.35015396458814474, 0.29261294261294263, 0.3501644736842105, 0.13577494692144373, 0.36268237934904601, 0.30628507295173962, 0.0, 0.4135416666666667, 0.42955865272938448, 0.18066239316239316, 0.38796296296296301, 0.20539664734841404, 0.15819370977408345, 0.099057714958775037, 0.093375394321766558, 0.28984799131378935, 0.34140625000000002, 0.23288084464555051, 0.31778563015312133, 0.35060606060606059, 0.31336146272855137, 0.30832803560076288, 0.22893782251060138, 0.30515700206280083, 0.40546709129511677, 0.39219620958751389, 0.40364197530864199, 0.22637426900584795, 0.30633147113594039, 0.31637080867850098, 0.12955865272938444, 0.38967741935483868, 0.32523080518873432, 0.39543524416135878, 0.2595628415300546, 0.16719576719576723, 0.41756919374247892, 0.45295138888888881, 0.25743870507022137, 0.54826517967781907, 0.27334384858044164, 0.22732682694596523, 0.070404040404040413, 0.32601190476190473, 0.42079145728643219, 0.40225641025641024, 0.29964157706093186, 0.24464831804281345, 0.30807147258163897, 0.0, 0.30663017031630169, 0.29141914191419149, 0.30189873417721524, 0.53140394088669951, 0.16158249158249158, 0.41285061969993475, 0.078286129266521426, 0.31143369175627239, 0.34986824769433456, 0.10487551867219917, 0.3256903434396754, 0.3791025641025641, 0.20409779614325069, 0.078061224489795925, 0.3831089743589744, 0.19331296673455534, 0.28178787878787875, 0.051354166666666673, 0.34112352576039728, 0.30831564048124555, 0.39880952380952378, 0.36518825277400191, 0.3904109589041096, 0.30612485276796231, 0.42754846779237021, 0.28066280566280566, 0.34055793991416305, 0.36360691144708424, 0.36246438746438747, 0.0, 0.083928571428571436, 0.29181912786599074, 0.34836309523809522, 0.017859384808537351, 0.16572258533042847, 0.27587064676616918, 0.12707877824156893, 0.35426052571873079, 0.22273376159885794, 0.44157652350862153, 0.44871794871794868, 0.30829861111111106, 0.24955141476880607, 0.27714190093708163, 0.39191088260497003, 0.33434237995824634, 0.30989549314173742, 0.13446988802582466, 0.035564853556485358, 0.42602280348759231, 0.35586611456176681, 0.31922666023365615, 0.37012787723785168, 0.29948008150073774, 0.35442764578833685, 0.07936104186803683, 0.33434547908232115, 0.26660013306719887, 0.37333333333333335, 0.34701646090534982, 0.41376050420168065, 0.34549503254539227, 0.29468013468013465, 0.27774679308421635, 0.3465625, 0.26574642126789361, 0.29188605373295529, 0.35530837967881029, 0.40940350877192988, 0.39362478439697496, 0.30796337570025906, 0.30064083002746411, 0.24397519691637337, 0.25564897530215447, 0.31964191679831488, 0.19887538779731129, 0.0, 0.25230577345980892, 0.24773881799033579, 0.31597176839628804, 0.30638729079497906, 0.37276845190514257, 0.28370915784629541, 0.22916666666666666, 0.32465060361669096, 0.18802946130062093, 0.19068138292510833, 0.023692551505546749, 0.27809523809523806, 0.36524042919591998, 0.36843201040988938, 0.19603656867575406, 0.081048220198675497, 0.0, 0.25082051282051282, 0.24183673469387756, 0.019935129740518961, 0.0, 0.060714285714285714, 0.0, 0.30799746112345289, 0.0, 0.3324712643678161, 0.28481813389562466, 0.20196390658174096, 0.25995647728166543, 0.22372047244094492, 0.27186692506459947, 0.096735270796704242, 0.43648999696366514, 0.19424460431654675, 0.34594877498282683, 0.32764960463375747, 0.27623106060606062, 0.072358554873892297, 0.38438419235196319, 0.29636963696369639, 0.20602213541666664, 0.28614436495006024, 0.045269423558897237, 0.31766467065868259, 0.3227272727272727, 0.08895348837209302, 0.068698412698412703, 0.42014230979748224, 0.41643940220355624, 0.13131284994010975, 0.21711941143180533, 0.37465277777777783, 0.042775041050903122, 0.26052202283849912, 0.31840277777777776, 0.30233822729744425, 0.23581196581196584, 0.14875858425779187, 0.18547774158523345, 0.029368686868686867, 0.23112384069830877, 0.28072513996267662, 0.31511943539630832, 0.29729950900163671, 0.34628143392188332, 0.27117774176121018, 0.28675013041210218, 0.13168824163969794, 0.3724549345091428, 0.18188622754491018, 0.42949494949494954, 0.2505988023952096, 0.17127882599580713, 0.34524922118380064, 0.18645833333333336, 0.45283742331288346, 0.33354769560557346, 0.37047301798800802, 0.30047193243914555, 0.061856995884773662, 0.29954015044788812, 0.25680272108843538, 0.29791348600508905, 0.37303543913713405, 0.11763105835806131, 0.42999016715830873, 0.25509329299041855, 0.22636932707355242, 0.32052305078637799, 0.52881889763779533, 0.10142857142857142, 0.41212832550860717, 0.52182914046121598, 0.35463541666666665, 0.061089187056037886, 0.21256572029442691, 0.070399579390115666, 0.38083192804946597, 0.30841371918542332, 0.56204481792717076, 0.049595959595959596, 0.0, 0.35375191424196017, 0.2922152560083594, 0.33042635658914726, 0.40509118541033429, 0.37852925389157266, 0.43000493096646947, 0.0, 0.47850241545893729, 0.36618853199407447, 0.2956366237482117, 8.6805555555555559e-05, 0.46365611421477337, 0.33053808525506639, 0.35357023131076099, 0.12745443856554967, 0.22736666666666669, 0.37924594785059906, 0.30247844827586207, 0.35287846481876339, 0.12023121387283238, 0.43459699453551903, 0.38279857397504458, 0.40665266106442577, 0.27463334383422588, 0.37644539614561034, 0.22258382642998029, 0.27585858585858586, 0.24306666666666671, 0.34561111111111115, 0.28778153153153152, 0.0, 0.30639675224928686, 0.15794701986754967, 0.11076537447599291, 0.17364475201845445, 0.34183979824666744, 0.25892456070815167, 0.536258334550056, 0.11065538750747672, 0.3528201340157231, 0.040378702055348763, 0.36803720019579056, 0.04877737505743019, 0.095677728076562996, 0.26833455282264873, 0.30869399609579584, 0.219676481094045, 0.26426728586171311, 0.17215117488043252, 0.32539331366764995, 0.15125, 0.22884036144578318, 0.25028306871650352, 0.27945736434108526, 0.41752966558791804, 0.26801948051948055, 0.049420070600100854, 0.27600202942668695, 0.2303076923076923, 0.30528214377737695, 0.13578356304236855, 0.26736898578291507, 0.33922994076467422, 0.33311582381729204, 0.26064608837427811, 0.33494628065283355, 0.4336218357435494, 0.25737179487179485, 0.056120801033591731, 0.40669191919191927, 0.24880344607530308, 0.4910666666666666, 0.47162601626016259, 0.39861802100608068, 0.090727078247991005, 0.41839895013123368, 0.4560725552050473, 0.14750430292598968, 0.097100271002710029, 0.32758537758537759, 0.25260243632336654, 0.40062252405206572, 0.058854166666666666, 0.088586030664395229, 0.41308847725704578, 0.37965367965367969, 0.34926509186351706, 0.32675141242937855, 0.4159221902017291, 0.049504950495049507, 0.14613187954309451, 0.30223097112860892, 0.038962378484309328, 0.34846376190985978, 0.39580777096114522, 0.16677067082683306, 0.30892018779342723, 0.35707547169811321, 0.0, 0.3691089108910891, 0.33013955984970472, 0.44674986999479971, 0.21482084690553746, 0.12631578947368421, 0.40493596723181419, 0.036022323693556568, 0.043048433048433046, 0.50632183908045969, 0.0, 0.32976579520697175, 0.42082649151614671, 0.33846827372971788, 0.35260162601626016, 0.45852752050026546, 0.075631542576335392, 0.26123680241327302, 0.41049090456017939, 0.32186781609195403, 0.33632127192982458, 0.25319892473118283, 0.28125420173716614, 0.44467353951890032, 0.15543648587170802, 0.72800819252432158, 0.41607995667372366, 0.27083067010968226, 0.10694467798890195, 0.32245525727069352, 0.21841797852811923, 0.27046009771986967, 0.29659169721589218, 0.32351029252437707, 0.042859909797736642, 0.37045659974252926, 0.11790100284228028, 0.15100715435993559, 0.39590729783037476, 0.59416085426825505, 0.089553028299391699, 0.38705035971223023, 0.17487562189054728, 0.3340091509356421, 0.21751633986928104, 0.35864845938375356, 0.48055911014863673, 0.56122518822724154, 0.18300524934383203, 0.0, 0.33797310505207107, 0.0, 0.32869071476285899, 0.42527240773286462, 0.44867728555993169, 0.34357923497267756, 0.37487593462581886, 0.36830887491264852, 0.27848870460394626, 0.27539701271115008, 0.24740896358543416, 0.25125646711012567, 0.17212360289283368, 0.3583580013552552, 0.34502435629784267, 0.0078547854785478554, 0.21646499888649692, 0.41142756680731363, 0.318146139574711, 0.43940719144800777, 0.3878068852009327, 0.1121996996996997, 0.31911391536931627, 0.22866242038216558, 0.27411723163841811, 0.25645790745214642, 0.3926083321722168, 0.0084142394822006462, 0.059645390070921983, 0.4200289226319594, 0.4254416961130742, 0.24799599198396793, 0.2277548209366391, 0.41686947413819658, 0.26207082448869568, 0.30381708358369441, 0.28174097664543524, 0.25474431406634795, 0.2537749287749288, 0.054231052244297279, 0.24055016181229771, 0.121585279547063, 0.2993865030674846, 0.26171470805617147, 0.051811425083479946, 0.3452055718573982, 0.27199730094466934, 0.46128559546912751, 0.40008945159292642, 0.17871690427698572, 0.11145833333333334, 0.31874518860662049, 0.32802236198462609, 0.28276209677419356, 0.45543406229290917, 0.24086678301337988, 0.3164342629482072, 0.40151805299258386, 0.31791577444682367, 0.32082452431289643, 0.21192508520151329, 0.10944333996023857, 0.3170235546038544, 0.40465434633812458, 0.12643678160919539, 0.56046497657094807, 0.32654245154245154, 0.0844758064516129, 0.51528619528619524, 0.38104377104377102, 0.41777297013800108, 0.37064128256513029, 0.37915734526472777, 0.49006254343293953, 0.57008277063820512, 0.13308587696853941, 0.33185537769373719, 0.034172846256364693, 0.42258382642998027, 0.36093189964157707, 0.33917004048582994, 0.24986254295532645, 0.76028416779431662, 0.0, 0.34304948059048657, 0.38382352941176467, 0.24671035248110765, 0.39739368998628255, 0.32320483749055179, 0.20260416666666667, 0.32069327731092434, 0.096862348178137658, 0.16781249999999998, 0.14922279792746115, 0.41194029850746278, 0.42855029585798809, 0.27326786688488813, 0.29701754385964918, 0.15375920084121977, 0.19326123128119799, 0.04878787878787879, 0.099356291314262629, 0.0, 0.4187228908740987, 0.37623711735672449, 0.46317333333333338, 0.11027960526315789, 0.24612337294850026, 0.35249433106575967, 0.34255199550309168, 0.2578754578754579, 0.32071503680336488, 0.43954138702460854, 0.38491930996104612, 0.33048663004139872, 0.29029395452024409, 0.22506447707774097, 0.35607046070460707, 0.31765650080256824, 0.47072717622080684, 0.047254787838474539, 0.08236870310825295, 0.20011223344556675, 0.0, 0.074958813838550242, 0.32539244300702058, 0.31096214511041004, 0.29371224601867107, 0.24835796387520528, 0.2679260450160772, 0.26990889603429796, 0.18309371671991481, 0.14663461538461536, 0.3792452830188679, 0.15253623188405796, 0.32373821408763176, 0.4592672413793103, 0.39461065712163168, 0.00098854025555596245, 0.29568686763325336, 0.32055599577390387, 0.29395381536963933, 0.25051307068600071, 0.27130660727542688, 0.20660527591220662, 0.31871315134785133, 0.28303989302429244, 0.41491557223264547, 0.31686965883857071, 0.32249670619235837, 0.15775302076671938, 0.38035657433938236, 0.25278673113080846, 0.36170955357426154, 0.028298006526090651, 0.05920245398773006, 0.26090909090909092, 0.59534193998604334, 0.35203075039118303, 0.27764352970585787, 0.31734304663069995, 0.19823819591261452, 0.33961075329039481, 0.4052090436972145, 0.52854378326076434, 0.12660989328707353, 0.32335359675785202, 0.23961965134706811, 0.45842607313195549, 0.2203913248467704, 0.3638707926167209, 0.31684079601990045, 0.37713910761154856, 0.30396570203644152, 0.39212305611899934, 0.33199195171026158, 0.38417678812415662, 0.44418791407347924, 0.34730158730158733, 0.40456140350877201, 0.29684418145956604, 0.28713423435244717, 0.27984574111334676, 0.28199513381995134, 0.36255892255892253, 0.18167101655158743, 0.32161337402149398, 0.42247634069400636, 0.38068942436412317, 0.27263927367402119, 0.53329824561403505, 0.3509458577951729, 0.38812030075187981, 0.27439293598233999, 0.0, 0.42460451026590373, 0.22869565217391305, 0.13530499075785582, 0.35569661458333335, 0.19936386768447839, 0.44446483180428131, 0.40312280701754383, 0.26176122931442075, 0.12559890485968514, 0.37368275097060455, 0.17599439775910364, 0.41645545471888368, 0.18961704422869471, 0.32540889075277835, 0.2706392718369085, 0.226012201885746, 0.20797697368421053, 0.21411042944785275, 0.41112911939492169, 0.46440397350993373, 0.35818988002086594, 0.031569529652351741, 0.35552818828680899, 0.39250132485426603, 0.13622257891920814, 0.37384529771841957, 0.45407006697578567, 0.14174625541464431, 0.4034825870646766, 0.28189524016518142, 0.1561633281972265, 0.38068181818181823, 0.37685050798258346, 0.45613006396588485, 0.47492024539877292, 0.33978494623655908, 0.40275193290525491, 0.35520052663560869, 0.27465717299578063, 0.32284237726098192, 0.36188242415071503, 0.0, 0.23490144546649144, 0.29986623863028361, 0.61633626097867011, 0.28052648271487474, 0.060078116969883855, 0.38135683760683764, 0.42544137618832051, 0.66200833251320423, 0.42173224509684493, 0.43394607843137251, 0.0, 0.41782720825274017, 0.437409646471284, 0.40543367993913265, 0.2870777608233851, 0.4290110650069156, 0.30116243069042192, 0.10831727681438665, 0.31826003824091775, 0.27795398009950245, 0.05730129390018484, 0.27441783100465739, 0.4315487571701721, 0.26171875, 0.18922102397654697, 0.2597542795455714, 0.37714803312629402, 0.14585987261146496, 0.35300000000000004, 0.17784615384615385, 0.31342592592592594, 0.3591145833333334, 0.089159175039661559, 0.21011541072640869, 0.41451935914552734, 0.22182456140350881, 0.31287537537537541, 0.1939632017190438, 0.40327327327327323, 0.21525689223057645, 0.37109279073846696, 0.26614906832298135, 0.44531548757170175, 0.12360406091370557, 0.52705581593523654, 0.34173228346456697, 0.36702986279257471, 0.21586073500967118, 0.38647058823529407, 0.22819706498951781, 0.4039923954372624, 0.46451240623196766, 0.37179487179487175, 0.3530392156862745, 0.31534245697253288, 0.95213478843576493, 0.40351775956284153, 0.41336327540193968, 0.060209102091020913, 0.15376666666666666, 0.29349540078843622, 0.31188084755090806, 0.10057705363204346, 0.038269100743745774, 0.084757586327171258, 0.29405064987270535, 0.26187572590011615, 0.3172579453067258, 0.40561722273759632, 0.30804430724532417, 0.37267552182163188, 0.1386331938633194, 0.43099936558816654, 0.23254928102085512, 0.17685003274394237, 0.23567656765676565, 0.12440476190476191, 0.24421433267587112, 0.2889121338912134, 0.062348043297252291, 0.2738008500303582, 0.034389911383776416, 0.41769076879108319, 0.43770913770913777, 0.28072437077961943, 0.38103819922965471, 0.43547158758055066, 0.24526984126984128, 0.42948960302457467, 0.31148759562672285, 0.32363984674329505, 0.046325459317585305, 0.040578664217294315, 0.27713894592744687, 0.15521292217327456, 0.39994614970382336, 0.34392982456140347, 0.33760080645161289, 0.3206140350877193, 0.34321779909030004, 0.25125338753387533, 0.047702663154814168, 0.024532224532224534, 0.31756847027388113, 0.34501088081053122, 0.27639691714836223, 0.25389197906724154, 0.17583001328021247, 0.2687798227675528, 0.38263009845288337, 0.27686868686868688, 0.30404761904761907, 0.35597281831187411, 0.15096982758620689, 0.0, 0.27561475409836067, 0.28352059925093637, 0.46140939597315439, 0.0, 0.16338797814207648, 0.15362318840579711, 0.42285223367697594, 0.22467811158798282, 0.21493847593005683, 0.2398148814233988, 0.064869888475836426, 0.30839416058394165, 0.4742092457420925, 0.34322287354946768, 0.096885620368822783, 0.35681341719077575, 0.17988304093567253, 0.2963667820069204, 0.4262002743484225, 0.3418450934975425, 0.44449972016665634, 0.19982332155477031, 0.37468189939899288, 0.25786026200873363, 0.40648484848484845, 0.44032019299303693, 0.3302242609582059, 0.39282560706401765, 0.57221377616653024, 0.55884353741496606, 0.2187637969094923, 0.16468720602069614, 0.48947368421052628, 0.39724099099099103, 0.52968526466380539, 0.32705555555555554, 0.34393442622950815, 0.56037634408602155, 0.53586368737883894, 0.400020397062823, 0.073308671836095893, 0.40830078125000002, 0.49938775510204075] print '\tDeadhead length: ' + str(len(deadhead)) print 'Done.\n' print 'Reading in csv...' data = pd.read_csv('../../data/UW_Trip_Data_14mo_QC.csv') print '\tlength: ' + str(len(data)) print 'Done.\n' print 'Finding uniques...' uniqueDR = data[['ServiceDate', 'Run']].drop_duplicates() uniqueDR.reset_index(inplace=True) print str(len(uniqueDR)) + ' unique combinations.\n' print uniqueDR print 'Dropping rows...' p = mp.Pool(processes=8) split_dfs = np.array_split(uniqueDR,8) pool_results = p.map(uniqueDR.apply(lambda x: findZeroes(x, len(uniqueDR)), axis = 1), split_dfs) p.close() p.join() dontDrop = pd.concat(pool_results, axis=0) dontDrop.columns = ['values'] # print(dontDrop.values) # debug columns = dontDrop[dontDrop.values].index.values # print(columns) # debug uniqueDR.drop(columns,1,inplace=True) uniqueDR.reset_index(inplace=True) print 'Number of drops: '# + str(len(toDrop)) print 'Number needed: ' + str(len(uniqueDR) - len(cost)) print '\n-------------------------------\n' print 'Adding columsn to dataframe...' uniqueDR['CostProxy'] = cost print 'CostProxy complete.' uniqueDR['PctDeadhead'] = deadhead print 'PctDeadhead complete.' UniqueDR.to_csv('../../data/temp_deadhead_result.csv')
agpl-3.0
erdc-cm/air-water-vv
2d/numericalTanks/nonlinearWaves/postprocess_NLW.py
1
4065
import numpy as np import collections as cll import csv import os import matplotlib.pyplot as plt import nonlinear_waves as nlw from proteus import WaveTools as wt from AnalysisTools import signalFilter,zeroCrossing,reflStat ##################################################################################### ## Reading probes into the file folder = "output" os.chdir(folder) file_vof = 'column_gauges.csv' def readProbeFile(filename): with open (filename, 'rb') as csvfile: data=np.loadtxt(csvfile, delimiter=",",skiprows=1) time=data[:,0] data = data[:,1:] csvfile.seek(0) header = csvfile.readline() header = header.replace("time","") header = header.replace("[","") header = header.replace("]","") header = header.replace(","," ") header = header.split() probeType = [] probex = [] probey = [] probez = [] for ii in range(0,len(header),4): probeType.append(header[ii]) probex.append(float(header[ii+1])) probey.append(float(header[ii+2])) probez.append(float(header[ii+3])) probeCoord = zip(np.array(probex),np.array(probey),np.array(probez)) datalist = [probeType,probeCoord,time,data] return datalist data_vof = readProbeFile(file_vof) ##################################################################################### # Exctracting probes time = data_vof[2] vof = data_vof[3] eta_num = [] tank_dim = nlw.opts.tank_dim waterLevel = nlw.opts.water_level i_mid = len(vof[0])/2-1 for i in range(0, len(vof)): eta_num.append(tank_dim[1]-vof[i][i_mid]-waterLevel) eta_num = np.array(eta_num) # Theoretical eta x = np.array(data_vof[1][2*i_mid]) wave = nlw.wave eta_th = [] for i in range(0,len(time)): eta_th.append(wave.eta(x,time[i])) ##################################################################################### # Plotting the probes plt.figure(num='eta') plt.plot(time, eta_num, 'b', label='numerical') plt.plot(time, eta_th, 'r--', label='theoretical') plt.legend(loc='upper right') plt.xlabel('time [sec]') plt.ylabel('eta [m]') plt.xlim((0.,30.)) plt.ylim((-0.5,0.5)) plt.suptitle('Surface elevation against time in the middle of the tank.') plt.grid() plt.show() plt.savefig('eta_NLW.png') ##################################################################################### # Validation of the result S = 0. c = 0. istart = np.where(time>=6.)[0][0] iend = np.where(time>=18.)[0][0] for i in range(istart,iend): c = c + 1. S = S + (eta_th[i]-eta_num[i])**2 err = np.sqrt(S/c) err = 100*err/(nlw.opts.wave_height+waterLevel) val = open('validation_eta_NLW.txt', 'w') val.write('Eta in the middle of the tank.'+'\n') val.write('Gauges taken between 6s and 18s'+'\n') val.write('Average error (%) between the theoretical function and the simulation:'+'\n') val.write(str(err)) val.close() ##################################################################################### # Reflection dataW = readProbeFile('column_gauges.csv') time = dataW[2] L = nlw.opts.wave_wavelength Nwaves = (nlw.opts.tank_dim[0]+nlw.opts.tank_sponge[0]+nlw.opts.tank_sponge[1])/L T = nlw.opts.wave_period Tend = time[-1] Tstart = Tend-Nwaves*T i_mid = len(dataW[3][0])/2-1 time_int = np.linspace(time[0],Tend,len(time)) data1 = np.zeros((len(time),len(dataW[3][0])),"d") bf = 1.2 minf = 1./bf/T maxf = bf / T dx_array = nlw.opts.gauge_dx Narray = int(round(L/6/dx_array)) data = np.zeros((len(data1),3)) zc = [] for ii in range(0,3): data1[:,i_mid+ii*Narray] = np.interp(time_int,time,dataW[3][:,i_mid+ii*Narray]) data[:,ii] = signalFilter(time,data1[:,i_mid+ii*Narray],minf, maxf, 1.1*maxf, 0.9*minf) zc.append(zeroCrossing(time,data[:,ii])) H1 = zc[0][1] H2 = zc[1][1] H3 = zc[2][1] HH = reflStat(H1,H2,H3,Narray*dx_array,L)[0] RR = reflStat(H1,H2,H3,Narray*dx_array,L)[2] print "RR = ", RR
mit
lukebarnard1/bokeh
sphinx/source/docs/tutorials/solutions/stocks.py
23
2799
### ### NOTE: This exercise requires a network connection ### import numpy as np import pandas as pd from bokeh.plotting import figure, output_file, show, VBox # Here is some code to read in some stock data from the Yahoo Finance API AAPL = pd.read_csv( "http://ichart.yahoo.com/table.csv?s=AAPL&a=0&b=1&c=2000&d=0&e=1&f=2010", parse_dates=['Date']) MSFT = pd.read_csv( "http://ichart.yahoo.com/table.csv?s=MSFT&a=0&b=1&c=2000&d=0&e=1&f=2010", parse_dates=['Date']) IBM = pd.read_csv( "http://ichart.yahoo.com/table.csv?s=IBM&a=0&b=1&c=2000&d=0&e=1&f=2010", parse_dates=['Date']) output_file("stocks.html", title="stocks.py example") # create a figure p1 = figure(title="Stocks", x_axis_label="Date", y_axis_label="Close price", x_axis_type="datetime") p1.below[0].formatter.formats = dict(years=['%Y'], months=['%b %Y'], days=['%d %b %Y']) # EXERCISE: finish this line plot, and add more for the other stocks. Each one should # have a legend, and its own color. p1.line( AAPL['Date'], # x coordinates AAPL['Adj Close'], # y coordinates color='#A6CEE3', # set a color for the line legend='AAPL', # attach a legend label ) p1.line(IBM['Date'], IBM['Adj Close'], color='#33A02C', legend='IBM') p1.line(MSFT['Date'], MSFT['Adj Close'], color='#FB9A99', legend='MSFT') # EXERCISE: style the plot, set a title, lighten the gridlines, etc. p1.title = "Stock Closing Prices" p1.grid.grid_line_alpha=0.3 # EXERCISE: start a new figure p2 = figure(title="AAPL average", x_axis_label="Date", y_axis_label="Close price", x_axis_type="datetime") p2.below[0].formatter.formats = dict(years=['%Y'], months=['%b %Y'], days=['%d %b %Y']) # Here is some code to compute the 30-day moving average for AAPL aapl = AAPL['Adj Close'] aapl_dates = AAPL['Date'] window_size = 30 window = np.ones(window_size)/float(window_size) aapl_avg = np.convolve(aapl, window, 'same') # EXERCISE: plot a scatter of circles for the individual AAPL prices with legend # 'close'. Remember to set the x axis type and tools on the first renderer p2.scatter(aapl_dates, aapl, size=4, color='#A6CEE3', legend='close') # EXERCISE: plot a line of the AAPL moving average data with the legeng 'avg' p2.line(aapl_dates, aapl_avg, color='red', legend='avg') # EXERCISE: style the plot, set a title, lighten the gridlines, etc. p2.title = "AAPL One-Month Average" p2.grid.grid_line_alpha=0.3 show(VBox(p1, p2)) # open a browser
bsd-3-clause
Myasuka/scikit-learn
examples/cluster/plot_adjusted_for_chance_measures.py
286
4353
""" ========================================================== Adjustment for chance in clustering performance evaluation ========================================================== The following plots demonstrate the impact of the number of clusters and number of samples on various clustering performance evaluation metrics. Non-adjusted measures such as the V-Measure show a dependency between the number of clusters and the number of samples: the mean V-Measure of random labeling increases significantly as the number of clusters is closer to the total number of samples used to compute the measure. Adjusted for chance measure such as ARI display some random variations centered around a mean score of 0.0 for any number of samples and clusters. Only adjusted measures can hence safely be used as a consensus index to evaluate the average stability of clustering algorithms for a given value of k on various overlapping sub-samples of the dataset. """ print(__doc__) # Author: Olivier Grisel <olivier.grisel@ensta.org> # License: BSD 3 clause import numpy as np import matplotlib.pyplot as plt from time import time from sklearn import metrics def uniform_labelings_scores(score_func, n_samples, n_clusters_range, fixed_n_classes=None, n_runs=5, seed=42): """Compute score for 2 random uniform cluster labelings. Both random labelings have the same number of clusters for each value possible value in ``n_clusters_range``. When fixed_n_classes is not None the first labeling is considered a ground truth class assignment with fixed number of classes. """ random_labels = np.random.RandomState(seed).random_integers scores = np.zeros((len(n_clusters_range), n_runs)) if fixed_n_classes is not None: labels_a = random_labels(low=0, high=fixed_n_classes - 1, size=n_samples) for i, k in enumerate(n_clusters_range): for j in range(n_runs): if fixed_n_classes is None: labels_a = random_labels(low=0, high=k - 1, size=n_samples) labels_b = random_labels(low=0, high=k - 1, size=n_samples) scores[i, j] = score_func(labels_a, labels_b) return scores score_funcs = [ metrics.adjusted_rand_score, metrics.v_measure_score, metrics.adjusted_mutual_info_score, metrics.mutual_info_score, ] # 2 independent random clusterings with equal cluster number n_samples = 100 n_clusters_range = np.linspace(2, n_samples, 10).astype(np.int) plt.figure(1) plots = [] names = [] for score_func in score_funcs: print("Computing %s for %d values of n_clusters and n_samples=%d" % (score_func.__name__, len(n_clusters_range), n_samples)) t0 = time() scores = uniform_labelings_scores(score_func, n_samples, n_clusters_range) print("done in %0.3fs" % (time() - t0)) plots.append(plt.errorbar( n_clusters_range, np.median(scores, axis=1), scores.std(axis=1))[0]) names.append(score_func.__name__) plt.title("Clustering measures for 2 random uniform labelings\n" "with equal number of clusters") plt.xlabel('Number of clusters (Number of samples is fixed to %d)' % n_samples) plt.ylabel('Score value') plt.legend(plots, names) plt.ylim(ymin=-0.05, ymax=1.05) # Random labeling with varying n_clusters against ground class labels # with fixed number of clusters n_samples = 1000 n_clusters_range = np.linspace(2, 100, 10).astype(np.int) n_classes = 10 plt.figure(2) plots = [] names = [] for score_func in score_funcs: print("Computing %s for %d values of n_clusters and n_samples=%d" % (score_func.__name__, len(n_clusters_range), n_samples)) t0 = time() scores = uniform_labelings_scores(score_func, n_samples, n_clusters_range, fixed_n_classes=n_classes) print("done in %0.3fs" % (time() - t0)) plots.append(plt.errorbar( n_clusters_range, scores.mean(axis=1), scores.std(axis=1))[0]) names.append(score_func.__name__) plt.title("Clustering measures for random uniform labeling\n" "against reference assignment with %d classes" % n_classes) plt.xlabel('Number of clusters (Number of samples is fixed to %d)' % n_samples) plt.ylabel('Score value') plt.ylim(ymin=-0.05, ymax=1.05) plt.legend(plots, names) plt.show()
bsd-3-clause
neozhangthe1/coverage_model
scripts/evaluate.py
1
2312
#!/usr/bin/env python import numpy import pandas import argparse import matplotlib import logging matplotlib.use("Agg") from matplotlib import pyplot logger = logging.getLogger() def parse_args(): parser = argparse.ArgumentParser() parser.add_argument("--start", type=int, default=0, help="Start from this iteration") parser.add_argument("--finish", type=int, default=10 ** 9, help="Finish with that iteration") parser.add_argument("--window", type=int, default=100, help="Window width") parser.add_argument("--hours", action="store_true", default=False, help="Display time on X-axis") parser.add_argument("--legend", default=None, help="Legend to use in plot") parser.add_argument("--y", default="log2_p_expl", help="What to plot") parser.add_argument("timings", nargs="+", help="Path to timing files") parser.add_argument("plot_path", help="Path to save plot") return parser.parse_args() def load_timings(path, args, y): logging.debug("Loading timings from {}".format(path)) tm = numpy.load(path) num_steps = min(tm['step'], args.finish) df = pandas.DataFrame({k : tm[k] for k in [y, 'time_step']})[args.start:num_steps] one_step = df['time_step'].median() / 3600.0 logging.debug("Median time for one step is {} hours".format(one_step)) if args.hours: df.index = (args.start + numpy.arange(0, df.index.shape[0])) * one_step return pandas.rolling_mean(df, args.window).iloc[args.window:] if __name__ == "__main__": args = parse_args() logging.basicConfig(level=logging.DEBUG, format="%(asctime)s: %(name)s: %(levelname)s: %(message)s") args.y = args.y.split(',') if len(args.y) < 2: args.y = [args.y[0]] * len(args.timings) datas = [load_timings(path, args, y) for path,y in zip(args.timings,args.y)] for path, y, data in zip(args.timings, args.y, datas): pyplot.plot(data.index, data[y]) print("Average {} is {} after {} {} for {}".format( y, data[y].iloc[-1], data.index[-1], "hours" if args.hours else "iterations", path)) pyplot.xlabel("hours" if args.hours else "iterations") pyplot.ylabel("log_2 likelihood") pyplot.legend(args.legend.split(",") if args.legend else list(range(len(datas)))) pyplot.savefig(args.plot_path)
bsd-3-clause
Eric89GXL/mne-python
mne/viz/_brain/_brain.py
2
132116
# Authors: Alexandre Gramfort <alexandre.gramfort@inria.fr> # Eric Larson <larson.eric.d@gmail.com> # Oleh Kozynets <ok7mailbox@gmail.com> # Guillaume Favelier <guillaume.favelier@gmail.com> # jona-sassenhagen <jona.sassenhagen@gmail.com> # Joan Massich <mailsik@gmail.com> # # License: Simplified BSD import contextlib from functools import partial import os import os.path as op import sys import time import traceback import warnings import numpy as np from scipy import sparse from collections import OrderedDict from .colormap import calculate_lut from .surface import Surface from .view import views_dicts, _lh_views_dict from .mplcanvas import MplCanvas from .callback import (ShowView, IntSlider, TimeSlider, SmartSlider, BumpColorbarPoints, UpdateColorbarScale) from ..utils import _show_help, _get_color_list from .._3d import _process_clim, _handle_time, _check_views from ...externals.decorator import decorator from ...defaults import _handle_default from ...surface import mesh_edges from ...source_space import SourceSpaces, vertex_to_mni, read_talxfm from ...transforms import apply_trans from ...utils import (_check_option, logger, verbose, fill_doc, _validate_type, use_log_level, Bunch, _ReuseCycle, warn) @decorator def safe_event(fun, *args, **kwargs): """Protect against PyQt5 exiting on event-handling errors.""" try: return fun(*args, **kwargs) except Exception: traceback.print_exc(file=sys.stderr) class _Overlay(object): def __init__(self, scalars, colormap, rng, opacity): self._scalars = scalars self._colormap = colormap self._rng = rng self._opacity = opacity def to_colors(self): from .._3d import _get_cmap from matplotlib.colors import ListedColormap if isinstance(self._colormap, str): cmap = _get_cmap(self._colormap) else: cmap = ListedColormap(self._colormap / 255.) def diff(x): return np.max(x) - np.min(x) def norm(x, rng=None): if rng is None: rng = [np.min(x), np.max(x)] return (x - rng[0]) / (rng[1] - rng[0]) rng = self._rng scalars = self._scalars if diff(scalars) != 0: scalars = norm(scalars, rng) colors = cmap(scalars) if self._opacity is not None: colors[:, 3] *= self._opacity return colors class _LayeredMesh(object): def __init__(self, renderer, vertices, triangles, normals): self._renderer = renderer self._vertices = vertices self._triangles = triangles self._normals = normals self._polydata = None self._actor = None self._is_mapped = False self._cache = None self._overlays = OrderedDict() self._default_scalars = np.ones(vertices.shape) self._default_scalars_name = 'Data' def map(self): kwargs = { "color": None, "pickable": True, "rgba": True, } mesh_data = self._renderer.mesh( x=self._vertices[:, 0], y=self._vertices[:, 1], z=self._vertices[:, 2], triangles=self._triangles, normals=self._normals, scalars=self._default_scalars, **kwargs ) self._actor, self._polydata = mesh_data self._is_mapped = True def _compute_over(self, B, A): assert A.ndim == B.ndim == 2 assert A.shape[1] == B.shape[1] == 4 A_w = A[:, 3:] # * 1 B_w = B[:, 3:] * (1 - A_w) C = A.copy() C[:, :3] *= A_w C[:, :3] += B[:, :3] * B_w C[:, 3:] += B_w C[:, :3] /= C[:, 3:] return np.clip(C, 0, 1, out=C) def _compose_overlays(self): B = None for overlay in self._overlays.values(): A = overlay.to_colors() if B is None: B = A else: B = self._compute_over(B, A) return B def add_overlay(self, scalars, colormap, rng, opacity, name): overlay = _Overlay( scalars=scalars, colormap=colormap, rng=rng, opacity=opacity ) self._overlays[name] = overlay colors = overlay.to_colors() # save colors in cache if self._cache is None: self._cache = colors else: self._cache = self._compute_over(self._cache, colors) # update the texture self._update() def remove_overlay(self, names): if not isinstance(names, list): names = [names] for name in names: if name in self._overlays: del self._overlays[name] self.update() def _update(self): if self._cache is None: return from ..backends._pyvista import _set_mesh_scalars _set_mesh_scalars( mesh=self._polydata, scalars=self._cache, name=self._default_scalars_name, ) def update(self): self._cache = self._compose_overlays() self._update() def _clean(self): mapper = self._actor.GetMapper() mapper.SetLookupTable(None) self._actor.SetMapper(None) self._actor = None self._polydata = None self._renderer = None def update_overlay(self, name, scalars=None, colormap=None, opacity=None): overlay = self._overlays.get(name, None) if overlay is None: return if scalars is not None: overlay._scalars = scalars if colormap is not None: overlay._colormap = colormap if opacity is not None: overlay._opacity = opacity self.update() @fill_doc class Brain(object): """Class for visualizing a brain. .. warning:: The API for this class is not currently complete. We suggest using :meth:`mne.viz.plot_source_estimates` with the PyVista backend enabled to obtain a ``Brain`` instance. Parameters ---------- subject_id : str Subject name in Freesurfer subjects dir. hemi : str Hemisphere id (ie 'lh', 'rh', 'both', or 'split'). In the case of 'both', both hemispheres are shown in the same window. In the case of 'split' hemispheres are displayed side-by-side in different viewing panes. surf : str FreeSurfer surface mesh name (ie 'white', 'inflated', etc.). title : str Title for the window. cortex : str or None Specifies how the cortical surface is rendered. The name of one of the preset cortex styles can be: ``'classic'`` (default), ``'high_contrast'``, ``'low_contrast'``, or ``'bone'`` or a valid color name. Setting this to ``None`` is equivalent to ``(0.5, 0.5, 0.5)``. alpha : float in [0, 1] Alpha level to control opacity of the cortical surface. size : int | array-like, shape (2,) The size of the window, in pixels. can be one number to specify a square window, or a length-2 sequence to specify (width, height). background : tuple(int, int, int) The color definition of the background: (red, green, blue). foreground : matplotlib color Color of the foreground (will be used for colorbars and text). None (default) will use black or white depending on the value of ``background``. figure : list of Figure | None | int If None (default), a new window will be created with the appropriate views. For single view plots, the figure can be specified as int to retrieve the corresponding Mayavi window. subjects_dir : str | None If not None, this directory will be used as the subjects directory instead of the value set using the SUBJECTS_DIR environment variable. views : list | str The views to use. offset : bool If True, aligs origin with medial wall. Useful for viewing inflated surface where hemispheres typically overlap (Default: True). show_toolbar : bool If True, toolbars will be shown for each view. offscreen : bool If True, rendering will be done offscreen (not shown). Useful mostly for generating images or screenshots, but can be buggy. Use at your own risk. interaction : str Can be "trackball" (default) or "terrain", i.e. a turntable-style camera. units : str Can be 'm' or 'mm' (default). %(view_layout)s show : bool Display the window as soon as it is ready. Defaults to True. Attributes ---------- geo : dict A dictionary of pysurfer.Surface objects for each hemisphere. overlays : dict The overlays. Notes ----- This table shows the capabilities of each Brain backend ("✓" for full support, and "-" for partial support): .. table:: :widths: auto +---------------------------+--------------+---------------+ | 3D function: | surfer.Brain | mne.viz.Brain | +===========================+==============+===============+ | add_annotation | ✓ | ✓ | +---------------------------+--------------+---------------+ | add_data | ✓ | ✓ | +---------------------------+--------------+---------------+ | add_foci | ✓ | ✓ | +---------------------------+--------------+---------------+ | add_label | ✓ | ✓ | +---------------------------+--------------+---------------+ | add_text | ✓ | ✓ | +---------------------------+--------------+---------------+ | close | ✓ | ✓ | +---------------------------+--------------+---------------+ | data | ✓ | ✓ | +---------------------------+--------------+---------------+ | foci | ✓ | | +---------------------------+--------------+---------------+ | labels | ✓ | ✓ | +---------------------------+--------------+---------------+ | remove_foci | ✓ | | +---------------------------+--------------+---------------+ | remove_labels | ✓ | ✓ | +---------------------------+--------------+---------------+ | remove_annotations | - | ✓ | +---------------------------+--------------+---------------+ | scale_data_colormap | ✓ | | +---------------------------+--------------+---------------+ | save_image | ✓ | ✓ | +---------------------------+--------------+---------------+ | save_movie | ✓ | ✓ | +---------------------------+--------------+---------------+ | screenshot | ✓ | ✓ | +---------------------------+--------------+---------------+ | show_view | ✓ | ✓ | +---------------------------+--------------+---------------+ | TimeViewer | ✓ | ✓ | +---------------------------+--------------+---------------+ | enable_depth_peeling | | ✓ | +---------------------------+--------------+---------------+ | get_picked_points | | ✓ | +---------------------------+--------------+---------------+ | add_data(volume) | | ✓ | +---------------------------+--------------+---------------+ | view_layout | | ✓ | +---------------------------+--------------+---------------+ | flatmaps | | ✓ | +---------------------------+--------------+---------------+ | vertex picking | | ✓ | +---------------------------+--------------+---------------+ | label picking | | ✓ | +---------------------------+--------------+---------------+ """ def __init__(self, subject_id, hemi, surf, title=None, cortex="classic", alpha=1.0, size=800, background="black", foreground=None, figure=None, subjects_dir=None, views='auto', offset=True, show_toolbar=False, offscreen=False, interaction='trackball', units='mm', view_layout='vertical', show=True): from ..backends.renderer import backend, _get_renderer, _get_3d_backend from .._3d import _get_cmap from matplotlib.colors import colorConverter if hemi in ('both', 'split'): self._hemis = ('lh', 'rh') elif hemi in ('lh', 'rh'): self._hemis = (hemi, ) else: raise KeyError('hemi has to be either "lh", "rh", "split", ' 'or "both"') self._view_layout = _check_option('view_layout', view_layout, ('vertical', 'horizontal')) if figure is not None and not isinstance(figure, int): backend._check_3d_figure(figure) if title is None: self._title = subject_id else: self._title = title self._interaction = 'trackball' if isinstance(background, str): background = colorConverter.to_rgb(background) self._bg_color = background if foreground is None: foreground = 'w' if sum(self._bg_color) < 2 else 'k' if isinstance(foreground, str): foreground = colorConverter.to_rgb(foreground) self._fg_color = foreground if isinstance(views, str): views = [views] views = _check_views(surf, views, hemi) col_dict = dict(lh=1, rh=1, both=1, split=2) shape = (len(views), col_dict[hemi]) if self._view_layout == 'horizontal': shape = shape[::-1] self._subplot_shape = shape size = tuple(np.atleast_1d(size).round(0).astype(int).flat) if len(size) not in (1, 2): raise ValueError('"size" parameter must be an int or length-2 ' 'sequence of ints.') self._size = size if len(size) == 2 else size * 2 # 1-tuple to 2-tuple self.time_viewer = False self.notebook = (_get_3d_backend() == "notebook") self._hemi = hemi self._units = units self._alpha = float(alpha) self._subject_id = subject_id self._subjects_dir = subjects_dir self._views = views self._times = None self._vertex_to_label_id = dict() self._annotation_labels = dict() self._labels = {'lh': list(), 'rh': list()} self._annots = {'lh': list(), 'rh': list()} self._layered_meshes = {} # for now only one color bar can be added # since it is the same for all figures self._colorbar_added = False # for now only one time label can be added # since it is the same for all figures self._time_label_added = False # array of data used by TimeViewer self._data = {} self.geo = {} self.set_time_interpolation('nearest') geo_kwargs = self._cortex_colormap(cortex) # evaluate at the midpoint of the used colormap val = -geo_kwargs['vmin'] / (geo_kwargs['vmax'] - geo_kwargs['vmin']) self._brain_color = _get_cmap(geo_kwargs['colormap'])(val) # load geometry for one or both hemispheres as necessary offset = None if (not offset or hemi != 'both') else 0.0 self._renderer = _get_renderer(name=self._title, size=self._size, bgcolor=background, shape=shape, fig=figure) if _get_3d_backend() == "pyvista": self.plotter = self._renderer.plotter self.window = self.plotter.app_window self.window.signal_close.connect(self._clean) for h in self._hemis: # Initialize a Surface object as the geometry geo = Surface(subject_id, h, surf, subjects_dir, offset, units=self._units) # Load in the geometry and curvature geo.load_geometry() geo.load_curvature() self.geo[h] = geo for ri, ci, v in self._iter_views(h): self._renderer.subplot(ri, ci) if self._layered_meshes.get(h) is None: mesh = _LayeredMesh( renderer=self._renderer, vertices=self.geo[h].coords, triangles=self.geo[h].faces, normals=self.geo[h].nn, ) mesh.map() # send to GPU mesh.add_overlay( scalars=self.geo[h].bin_curv, colormap=geo_kwargs["colormap"], rng=[geo_kwargs["vmin"], geo_kwargs["vmax"]], opacity=alpha, name='curv', ) self._layered_meshes[h] = mesh # add metadata to the mesh for picking mesh._polydata._hemi = h else: actor = self._layered_meshes[h]._actor self._renderer.plotter.add_actor(actor) self._renderer.set_camera(**views_dicts[h][v]) self.interaction = interaction self._closed = False if show: self.show() # update the views once the geometry is all set for h in self._hemis: for ri, ci, v in self._iter_views(h): self.show_view(v, row=ri, col=ci, hemi=h) if surf == 'flat': self._renderer.set_interaction("rubber_band_2d") if hemi == 'rh' and hasattr(self._renderer, "_orient_lights"): self._renderer._orient_lights() def setup_time_viewer(self, time_viewer=True, show_traces=True): """Configure the time viewer parameters. Parameters ---------- time_viewer : bool If True, enable widgets interaction. Defaults to True. show_traces : bool If True, enable visualization of time traces. Defaults to True. """ if self.time_viewer: return if not self._data: raise ValueError("No data to visualize. See ``add_data``.") self.time_viewer = time_viewer self.orientation = list(_lh_views_dict.keys()) self.default_smoothing_range = [0, 15] # setup notebook if self.notebook: self._configure_notebook() return # Default configuration self.playback = False self.visibility = False self.refresh_rate_ms = max(int(round(1000. / 60.)), 1) self.default_scaling_range = [0.2, 2.0] self.default_playback_speed_range = [0.01, 1] self.default_playback_speed_value = 0.05 self.default_status_bar_msg = "Press ? for help" self.default_label_extract_modes = { "stc": ["mean", "max"], "src": ["mean_flip", "pca_flip", "auto"], } self.default_trace_modes = ('vertex', 'label') self.annot = None self.label_extract_mode = None all_keys = ('lh', 'rh', 'vol') self.act_data_smooth = {key: (None, None) for key in all_keys} self.color_list = _get_color_list() # remove grey for better contrast on the brain self.color_list.remove("#7f7f7f") self.color_cycle = _ReuseCycle(self.color_list) self.mpl_canvas = None self.gfp = None self.picked_patches = {key: list() for key in all_keys} self.picked_points = {key: list() for key in all_keys} self.pick_table = dict() self._spheres = list() self._mouse_no_mvt = -1 self.icons = dict() self.actions = dict() self.callbacks = dict() self.sliders = dict() self.keys = ('fmin', 'fmid', 'fmax') self.slider_length = 0.02 self.slider_width = 0.04 self.slider_color = (0.43137255, 0.44313725, 0.45882353) self.slider_tube_width = 0.04 self.slider_tube_color = (0.69803922, 0.70196078, 0.70980392) self._trace_mode_widget = None self._annot_cands_widget = None self._label_mode_widget = None # Direct access parameters: self._iren = self._renderer.plotter.iren self.main_menu = self.plotter.main_menu self.tool_bar = self.window.addToolBar("toolbar") self.status_bar = self.window.statusBar() self.interactor = self.plotter.interactor # Derived parameters: self.playback_speed = self.default_playback_speed_value _validate_type(show_traces, (bool, str, 'numeric'), 'show_traces') self.interactor_fraction = 0.25 if isinstance(show_traces, str): self.show_traces = True self.separate_canvas = False self.traces_mode = 'vertex' if show_traces == 'separate': self.separate_canvas = True elif show_traces == 'label': self.traces_mode = 'label' else: assert show_traces == 'vertex' # guaranteed above else: if isinstance(show_traces, bool): self.show_traces = show_traces else: show_traces = float(show_traces) if not 0 < show_traces < 1: raise ValueError( 'show traces, if numeric, must be between 0 and 1, ' f'got {show_traces}') self.show_traces = True self.interactor_fraction = show_traces self.traces_mode = 'vertex' self.separate_canvas = False del show_traces self._load_icons() self._configure_time_label() self._configure_sliders() self._configure_scalar_bar() self._configure_playback() self._configure_menu() self._configure_tool_bar() self._configure_status_bar() self._configure_picking() self._configure_trace_mode() # show everything at the end self.toggle_interface() with self.ensure_minimum_sizes(): self.show() @safe_event def _clean(self): # resolve the reference cycle self.clear_glyphs() self.remove_annotations() # clear init actors for hemi in self._hemis: self._layered_meshes[hemi]._clean() self._clear_callbacks() if getattr(self, 'mpl_canvas', None) is not None: self.mpl_canvas.clear() if getattr(self, 'act_data_smooth', None) is not None: for key in list(self.act_data_smooth.keys()): self.act_data_smooth[key] = None # XXX this should be done in PyVista for renderer in self.plotter.renderers: renderer.RemoveAllLights() # app_window cannot be set to None because it is used in __del__ for key in ('lighting', 'interactor', '_RenderWindow'): setattr(self.plotter, key, None) # Qt LeaveEvent requires _Iren so we use _FakeIren instead of None # to resolve the ref to vtkGenericRenderWindowInteractor self.plotter._Iren = _FakeIren() if getattr(self.plotter, 'scalar_bar', None) is not None: self.plotter.scalar_bar = None if getattr(self.plotter, 'picker', None) is not None: self.plotter.picker = None # XXX end PyVista for key in ('reps', 'plotter', 'main_menu', 'window', 'tool_bar', 'status_bar', 'interactor', 'mpl_canvas', 'time_actor', 'picked_renderer', 'act_data_smooth', '_iren', 'actions', 'sliders', 'geo', '_hemi_actors', '_data'): setattr(self, key, None) @contextlib.contextmanager def ensure_minimum_sizes(self): """Ensure that widgets respect the windows size.""" from ..backends._pyvista import _process_events sz = self._size adjust_mpl = self.show_traces and not self.separate_canvas if not adjust_mpl: yield else: mpl_h = int(round((sz[1] * self.interactor_fraction) / (1 - self.interactor_fraction))) self.mpl_canvas.canvas.setMinimumSize(sz[0], mpl_h) try: yield finally: self.splitter.setSizes([sz[1], mpl_h]) _process_events(self.plotter) _process_events(self.plotter) self.mpl_canvas.canvas.setMinimumSize(0, 0) _process_events(self.plotter) _process_events(self.plotter) # sizes could change, update views for hemi in ('lh', 'rh'): for ri, ci, v in self._iter_views(hemi): self.show_view(view=v, row=ri, col=ci) _process_events(self.plotter) def toggle_interface(self, value=None): """Toggle the interface. Parameters ---------- value : bool | None If True, the widgets are shown and if False, they are hidden. If None, the state of the widgets is toggled. Defaults to None. """ if value is None: self.visibility = not self.visibility else: self.visibility = value # update tool bar icon if self.visibility: self.actions["visibility"].setIcon(self.icons["visibility_on"]) else: self.actions["visibility"].setIcon(self.icons["visibility_off"]) # manage sliders for slider in self.plotter.slider_widgets: slider_rep = slider.GetRepresentation() if self.visibility: slider_rep.VisibilityOn() else: slider_rep.VisibilityOff() # manage time label time_label = self._data['time_label'] # if we actually have time points, we will show the slider so # hide the time actor have_ts = self._times is not None and len(self._times) > 1 if self.time_actor is not None: if self.visibility and time_label is not None and not have_ts: self.time_actor.SetInput(time_label(self._current_time)) self.time_actor.VisibilityOn() else: self.time_actor.VisibilityOff() self._update() def apply_auto_scaling(self): """Detect automatically fitting scaling parameters.""" self._update_auto_scaling() for key in ('fmin', 'fmid', 'fmax'): self.reps[key].SetValue(self._data[key]) self._update() def restore_user_scaling(self): """Restore original scaling parameters.""" self._update_auto_scaling(restore=True) for key in ('fmin', 'fmid', 'fmax'): self.reps[key].SetValue(self._data[key]) self._update() def toggle_playback(self, value=None): """Toggle time playback. Parameters ---------- value : bool | None If True, automatic time playback is enabled and if False, it's disabled. If None, the state of time playback is toggled. Defaults to None. """ if value is None: self.playback = not self.playback else: self.playback = value # update tool bar icon if self.playback: self.actions["play"].setIcon(self.icons["pause"]) else: self.actions["play"].setIcon(self.icons["play"]) if self.playback: time_data = self._data['time'] max_time = np.max(time_data) if self._current_time == max_time: # start over self.set_time_point(0) # first index self._last_tick = time.time() def reset(self): """Reset view and time step.""" self.reset_view() max_time = len(self._data['time']) - 1 if max_time > 0: self.callbacks["time"]( self._data["initial_time_idx"], update_widget=True, ) self._update() def set_playback_speed(self, speed): """Set the time playback speed. Parameters ---------- speed : float The speed of the playback. """ self.playback_speed = speed @safe_event def _play(self): if self.playback: try: self._advance() except Exception: self.toggle_playback(value=False) raise def _advance(self): this_time = time.time() delta = this_time - self._last_tick self._last_tick = time.time() time_data = self._data['time'] times = np.arange(self._n_times) time_shift = delta * self.playback_speed max_time = np.max(time_data) time_point = min(self._current_time + time_shift, max_time) # always use linear here -- this does not determine the data # interpolation mode, it just finds where we are (in time) in # terms of the time indices idx = np.interp(time_point, time_data, times) self.callbacks["time"](idx, update_widget=True) if time_point == max_time: self.toggle_playback(value=False) def _set_slider_style(self): for slider in self.sliders.values(): if slider is not None: slider_rep = slider.GetRepresentation() slider_rep.SetSliderLength(self.slider_length) slider_rep.SetSliderWidth(self.slider_width) slider_rep.SetTubeWidth(self.slider_tube_width) slider_rep.GetSliderProperty().SetColor(self.slider_color) slider_rep.GetTubeProperty().SetColor(self.slider_tube_color) slider_rep.GetLabelProperty().SetShadow(False) slider_rep.GetLabelProperty().SetBold(True) slider_rep.GetLabelProperty().SetColor(self._fg_color) slider_rep.GetTitleProperty().ShallowCopy( slider_rep.GetLabelProperty() ) slider_rep.GetCapProperty().SetOpacity(0) def _configure_notebook(self): from ._notebook import _NotebookInteractor self._renderer.figure.display = _NotebookInteractor(self) def _configure_time_label(self): self.time_actor = self._data.get('time_actor') if self.time_actor is not None: self.time_actor.SetPosition(0.5, 0.03) self.time_actor.GetTextProperty().SetJustificationToCentered() self.time_actor.GetTextProperty().BoldOn() self.time_actor.VisibilityOff() def _configure_scalar_bar(self): if self._colorbar_added: scalar_bar = self.plotter.scalar_bar scalar_bar.SetOrientationToVertical() scalar_bar.SetHeight(0.6) scalar_bar.SetWidth(0.05) scalar_bar.SetPosition(0.02, 0.2) def _configure_sliders(self): # Orientation slider # Use 'lh' as a reference for orientation for 'both' if self._hemi == 'both': hemis_ref = ['lh'] else: hemis_ref = self._hemis for hemi in hemis_ref: for ri, ci, view in self._iter_views(hemi): orientation_name = f"orientation_{hemi}_{ri}_{ci}" self.plotter.subplot(ri, ci) if view == 'flat': self.callbacks[orientation_name] = None continue self.callbacks[orientation_name] = ShowView( plotter=self.plotter, brain=self, orientation=self.orientation, hemi=hemi, row=ri, col=ci, ) self.sliders[orientation_name] = \ self.plotter.add_text_slider_widget( self.callbacks[orientation_name], value=0, data=self.orientation, pointa=(0.82, 0.74), pointb=(0.98, 0.74), event_type='always' ) orientation_rep = \ self.sliders[orientation_name].GetRepresentation() orientation_rep.ShowSliderLabelOff() self.callbacks[orientation_name].slider_rep = orientation_rep self.callbacks[orientation_name](view, update_widget=True) # Put other sliders on the bottom right view ri, ci = np.array(self._subplot_shape) - 1 self.plotter.subplot(ri, ci) # Smoothing slider self.callbacks["smoothing"] = IntSlider( plotter=self.plotter, callback=self.set_data_smoothing, first_call=False, ) self.sliders["smoothing"] = self.plotter.add_slider_widget( self.callbacks["smoothing"], value=self._data['smoothing_steps'], rng=self.default_smoothing_range, title="smoothing", pointa=(0.82, 0.90), pointb=(0.98, 0.90) ) self.callbacks["smoothing"].slider_rep = \ self.sliders["smoothing"].GetRepresentation() # Time slider max_time = len(self._data['time']) - 1 # VTK on macOS bombs if we create these then hide them, so don't # even create them if max_time < 1: self.callbacks["time"] = None self.sliders["time"] = None else: self.callbacks["time"] = TimeSlider( plotter=self.plotter, brain=self, first_call=False, callback=self.plot_time_line, ) self.sliders["time"] = self.plotter.add_slider_widget( self.callbacks["time"], value=self._data['time_idx'], rng=[0, max_time], pointa=(0.23, 0.1), pointb=(0.77, 0.1), event_type='always' ) self.callbacks["time"].slider_rep = \ self.sliders["time"].GetRepresentation() # configure properties of the time slider self.sliders["time"].GetRepresentation().SetLabelFormat( 'idx=%0.1f') current_time = self._current_time assert current_time is not None # should never be the case, float time_label = self._data['time_label'] if callable(time_label): current_time = time_label(current_time) else: current_time = time_label if self.sliders["time"] is not None: self.sliders["time"].GetRepresentation().SetTitleText(current_time) if self.time_actor is not None: self.time_actor.SetInput(current_time) del current_time # Playback speed slider if self.sliders["time"] is None: self.callbacks["playback_speed"] = None self.sliders["playback_speed"] = None else: self.callbacks["playback_speed"] = SmartSlider( plotter=self.plotter, callback=self.set_playback_speed, ) self.sliders["playback_speed"] = self.plotter.add_slider_widget( self.callbacks["playback_speed"], value=self.default_playback_speed_value, rng=self.default_playback_speed_range, title="speed", pointa=(0.02, 0.1), pointb=(0.18, 0.1), event_type='always' ) self.callbacks["playback_speed"].slider_rep = \ self.sliders["playback_speed"].GetRepresentation() # Colormap slider pointa = np.array((0.82, 0.26)) pointb = np.array((0.98, 0.26)) shift = np.array([0, 0.1]) for idx, key in enumerate(self.keys): title = "clim" if not idx else "" rng = _get_range(self) self.callbacks[key] = BumpColorbarPoints( plotter=self.plotter, brain=self, name=key ) self.sliders[key] = self.plotter.add_slider_widget( self.callbacks[key], value=self._data[key], rng=rng, title=title, pointa=pointa + idx * shift, pointb=pointb + idx * shift, event_type="always", ) # fscale self.callbacks["fscale"] = UpdateColorbarScale( plotter=self.plotter, brain=self, ) self.sliders["fscale"] = self.plotter.add_slider_widget( self.callbacks["fscale"], value=1.0, rng=self.default_scaling_range, title="fscale", pointa=(0.82, 0.10), pointb=(0.98, 0.10) ) self.callbacks["fscale"].slider_rep = \ self.sliders["fscale"].GetRepresentation() # register colorbar slider representations self.reps = \ {key: self.sliders[key].GetRepresentation() for key in self.keys} for name in ("fmin", "fmid", "fmax", "fscale"): self.callbacks[name].reps = self.reps # set the slider style self._set_slider_style() def _configure_playback(self): self.plotter.add_callback(self._play, self.refresh_rate_ms) def _configure_mplcanvas(self): win = self.plotter.app_window dpi = win.windowHandle().screen().logicalDotsPerInch() ratio = (1 - self.interactor_fraction) / self.interactor_fraction w = self.interactor.geometry().width() h = self.interactor.geometry().height() / ratio # Get the fractional components for the brain and mpl self.mpl_canvas = MplCanvas(self, w / dpi, h / dpi, dpi) xlim = [np.min(self._data['time']), np.max(self._data['time'])] with warnings.catch_warnings(): warnings.filterwarnings("ignore", category=UserWarning) self.mpl_canvas.axes.set(xlim=xlim) if not self.separate_canvas: from PyQt5.QtWidgets import QSplitter from PyQt5.QtCore import Qt canvas = self.mpl_canvas.canvas vlayout = self.plotter.frame.layout() vlayout.removeWidget(self.interactor) self.splitter = splitter = QSplitter( orientation=Qt.Vertical, parent=self.plotter.frame) vlayout.addWidget(splitter) splitter.addWidget(self.interactor) splitter.addWidget(canvas) self.mpl_canvas.set_color( bg_color=self._bg_color, fg_color=self._fg_color, ) self.mpl_canvas.show() def _configure_vertex_time_course(self): if not self.show_traces: return if self.mpl_canvas is None: self._configure_mplcanvas() else: self.clear_glyphs() # plot the GFP y = np.concatenate(list(v[0] for v in self.act_data_smooth.values() if v[0] is not None)) y = np.linalg.norm(y, axis=0) / np.sqrt(len(y)) self.gfp, = self.mpl_canvas.axes.plot( self._data['time'], y, lw=3, label='GFP', zorder=3, color=self._fg_color, alpha=0.5, ls=':') # now plot the time line self.plot_time_line() # then the picked points for idx, hemi in enumerate(['lh', 'rh', 'vol']): act_data = self.act_data_smooth.get(hemi, [None])[0] if act_data is None: continue hemi_data = self._data[hemi] vertices = hemi_data['vertices'] # simulate a picked renderer if self._hemi in ('both', 'rh') or hemi == 'vol': idx = 0 self.picked_renderer = self.plotter.renderers[idx] # initialize the default point if self._data['initial_time'] is not None: # pick at that time use_data = act_data[ :, [np.round(self._data['time_idx']).astype(int)]] else: use_data = act_data ind = np.unravel_index(np.argmax(np.abs(use_data), axis=None), use_data.shape) if hemi == 'vol': mesh = hemi_data['grid'] else: mesh = self._layered_meshes[hemi]._polydata vertex_id = vertices[ind[0]] self._add_vertex_glyph(hemi, mesh, vertex_id) def _configure_picking(self): from ..backends._pyvista import _update_picking_callback # get data for each hemi for idx, hemi in enumerate(['vol', 'lh', 'rh']): hemi_data = self._data.get(hemi) if hemi_data is not None: act_data = hemi_data['array'] if act_data.ndim == 3: act_data = np.linalg.norm(act_data, axis=1) smooth_mat = hemi_data.get('smooth_mat') vertices = hemi_data['vertices'] if hemi == 'vol': assert smooth_mat is None smooth_mat = sparse.csr_matrix( (np.ones(len(vertices)), (vertices, np.arange(len(vertices))))) self.act_data_smooth[hemi] = (act_data, smooth_mat) _update_picking_callback( self.plotter, self._on_mouse_move, self._on_button_press, self._on_button_release, self._on_pick ) def _configure_trace_mode(self): from ...source_estimate import _get_allowed_label_modes from ...label import _read_annot_cands from PyQt5.QtWidgets import QComboBox, QLabel if not self.show_traces: return # do not show trace mode for volumes if (self._data.get('src', None) is not None and self._data['src'].kind == 'volume'): self._configure_vertex_time_course() return # setup candidate annots def _set_annot(annot): self.clear_glyphs() self.remove_labels() self.remove_annotations() self.annot = annot if annot == 'None': self.traces_mode = 'vertex' self._configure_vertex_time_course() else: self.traces_mode = 'label' self._configure_label_time_course() self._update() dir_name = op.join(self._subjects_dir, self._subject_id, 'label') cands = _read_annot_cands(dir_name) self.tool_bar.addSeparator() self.tool_bar.addWidget(QLabel("Annotation")) self._annot_cands_widget = QComboBox() self.tool_bar.addWidget(self._annot_cands_widget) self._annot_cands_widget.addItem('None') for cand in cands: self._annot_cands_widget.addItem(cand) self.annot = cands[0] # setup label extraction parameters def _set_label_mode(mode): if self.traces_mode != 'label': return import copy glyphs = copy.deepcopy(self.picked_patches) self.label_extract_mode = mode self.clear_glyphs() for hemi in self._hemis: for label_id in glyphs[hemi]: label = self._annotation_labels[hemi][label_id] vertex_id = label.vertices[0] self._add_label_glyph(hemi, None, vertex_id) self.mpl_canvas.axes.relim() self.mpl_canvas.axes.autoscale_view() self.mpl_canvas.update_plot() self._update() self.tool_bar.addSeparator() self.tool_bar.addWidget(QLabel("Label extraction mode")) self._label_mode_widget = QComboBox() self.tool_bar.addWidget(self._label_mode_widget) stc = self._data["stc"] modes = _get_allowed_label_modes(stc) if self._data["src"] is None: modes = [m for m in modes if m not in self.default_label_extract_modes["src"]] for mode in modes: self._label_mode_widget.addItem(mode) self.label_extract_mode = mode if self.traces_mode == 'vertex': _set_annot('None') else: _set_annot(self.annot) self._annot_cands_widget.setCurrentText(self.annot) self._label_mode_widget.setCurrentText(self.label_extract_mode) self._annot_cands_widget.currentTextChanged.connect(_set_annot) self._label_mode_widget.currentTextChanged.connect(_set_label_mode) def _load_icons(self): from PyQt5.QtGui import QIcon from ..backends._pyvista import _init_resources _init_resources() self.icons["help"] = QIcon(":/help.svg") self.icons["play"] = QIcon(":/play.svg") self.icons["pause"] = QIcon(":/pause.svg") self.icons["reset"] = QIcon(":/reset.svg") self.icons["scale"] = QIcon(":/scale.svg") self.icons["clear"] = QIcon(":/clear.svg") self.icons["movie"] = QIcon(":/movie.svg") self.icons["restore"] = QIcon(":/restore.svg") self.icons["screenshot"] = QIcon(":/screenshot.svg") self.icons["visibility_on"] = QIcon(":/visibility_on.svg") self.icons["visibility_off"] = QIcon(":/visibility_off.svg") def _save_movie_noname(self): return self.save_movie(None) def _configure_tool_bar(self): self.actions["screenshot"] = self.tool_bar.addAction( self.icons["screenshot"], "Take a screenshot", self.plotter._qt_screenshot ) self.actions["movie"] = self.tool_bar.addAction( self.icons["movie"], "Save movie...", self._save_movie_noname, ) self.actions["visibility"] = self.tool_bar.addAction( self.icons["visibility_on"], "Toggle Visibility", self.toggle_interface ) self.actions["play"] = self.tool_bar.addAction( self.icons["play"], "Play/Pause", self.toggle_playback ) self.actions["reset"] = self.tool_bar.addAction( self.icons["reset"], "Reset", self.reset ) self.actions["scale"] = self.tool_bar.addAction( self.icons["scale"], "Auto-Scale", self.apply_auto_scaling ) self.actions["restore"] = self.tool_bar.addAction( self.icons["restore"], "Restore scaling", self.restore_user_scaling ) self.actions["clear"] = self.tool_bar.addAction( self.icons["clear"], "Clear traces", self.clear_glyphs ) self.actions["help"] = self.tool_bar.addAction( self.icons["help"], "Help", self.help ) self.actions["movie"].setShortcut("ctrl+shift+s") self.actions["visibility"].setShortcut("i") self.actions["play"].setShortcut(" ") self.actions["scale"].setShortcut("s") self.actions["restore"].setShortcut("r") self.actions["clear"].setShortcut("c") self.actions["help"].setShortcut("?") def _configure_menu(self): # remove default picking menu to_remove = list() for action in self.main_menu.actions(): if action.text() == "Tools": to_remove.append(action) for action in to_remove: self.main_menu.removeAction(action) # add help menu menu = self.main_menu.addMenu('Help') menu.addAction('Show MNE key bindings\t?', self.help) def _configure_status_bar(self): from PyQt5.QtWidgets import QLabel, QProgressBar self.status_msg = QLabel(self.default_status_bar_msg) self.status_progress = QProgressBar() self.status_bar.layout().addWidget(self.status_msg, 1) self.status_bar.layout().addWidget(self.status_progress, 0) self.status_progress.hide() def _on_mouse_move(self, vtk_picker, event): if self._mouse_no_mvt: self._mouse_no_mvt -= 1 def _on_button_press(self, vtk_picker, event): self._mouse_no_mvt = 2 def _on_button_release(self, vtk_picker, event): if self._mouse_no_mvt > 0: x, y = vtk_picker.GetEventPosition() # programmatically detect the picked renderer self.picked_renderer = self.plotter.iren.FindPokedRenderer(x, y) # trigger the pick self.plotter.picker.Pick(x, y, 0, self.picked_renderer) self._mouse_no_mvt = 0 def _on_pick(self, vtk_picker, event): if not self.show_traces: return # vtk_picker is a vtkCellPicker cell_id = vtk_picker.GetCellId() mesh = vtk_picker.GetDataSet() if mesh is None or cell_id == -1 or not self._mouse_no_mvt: return # don't pick # 1) Check to see if there are any spheres along the ray if len(self._spheres): collection = vtk_picker.GetProp3Ds() found_sphere = None for ii in range(collection.GetNumberOfItems()): actor = collection.GetItemAsObject(ii) for sphere in self._spheres: if any(a is actor for a in sphere._actors): found_sphere = sphere break if found_sphere is not None: break if found_sphere is not None: assert found_sphere._is_glyph mesh = found_sphere # 2) Remove sphere if it's what we have if hasattr(mesh, "_is_glyph"): self._remove_vertex_glyph(mesh) return # 3) Otherwise, pick the objects in the scene try: hemi = mesh._hemi except AttributeError: # volume hemi = 'vol' else: assert hemi in ('lh', 'rh') if self.act_data_smooth[hemi][0] is None: # no data to add for hemi return pos = np.array(vtk_picker.GetPickPosition()) if hemi == 'vol': # VTK will give us the point closest to the viewer in the vol. # We want to pick the point with the maximum value along the # camera-to-click array, which fortunately we can get "just" # by inspecting the points that are sufficiently close to the # ray. grid = mesh = self._data[hemi]['grid'] vertices = self._data[hemi]['vertices'] coords = self._data[hemi]['grid_coords'][vertices] scalars = grid.cell_arrays['values'][vertices] spacing = np.array(grid.GetSpacing()) max_dist = np.linalg.norm(spacing) / 2. origin = vtk_picker.GetRenderer().GetActiveCamera().GetPosition() ori = pos - origin ori /= np.linalg.norm(ori) # the magic formula: distance from a ray to a given point dists = np.linalg.norm(np.cross(ori, coords - pos), axis=1) assert dists.shape == (len(coords),) mask = dists <= max_dist idx = np.where(mask)[0] if len(idx) == 0: return # weird point on edge of volume? # useful for debugging the ray by mapping it into the volume: # dists = dists - dists.min() # dists = (1. - dists / dists.max()) * self._cmap_range[1] # grid.cell_arrays['values'][vertices] = dists * mask idx = idx[np.argmax(np.abs(scalars[idx]))] vertex_id = vertices[idx] # Naive way: convert pos directly to idx; i.e., apply mri_src_t # shape = self._data[hemi]['grid_shape'] # taking into account the cell vs point difference (spacing/2) # shift = np.array(grid.GetOrigin()) + spacing / 2. # ijk = np.round((pos - shift) / spacing).astype(int) # vertex_id = np.ravel_multi_index(ijk, shape, order='F') else: vtk_cell = mesh.GetCell(cell_id) cell = [vtk_cell.GetPointId(point_id) for point_id in range(vtk_cell.GetNumberOfPoints())] vertices = mesh.points[cell] idx = np.argmin(abs(vertices - pos), axis=0) vertex_id = cell[idx[0]] if self.traces_mode == 'label': self._add_label_glyph(hemi, mesh, vertex_id) else: self._add_vertex_glyph(hemi, mesh, vertex_id) def _add_label_glyph(self, hemi, mesh, vertex_id): if hemi == 'vol': return label_id = self._vertex_to_label_id[hemi][vertex_id] label = self._annotation_labels[hemi][label_id] # remove the patch if already picked if label_id in self.picked_patches[hemi]: self._remove_label_glyph(hemi, label_id) return if hemi == label.hemi: self.add_label(label, borders=True, reset_camera=False) self.picked_patches[hemi].append(label_id) def _remove_label_glyph(self, hemi, label_id): label = self._annotation_labels[hemi][label_id] label._line.remove() self.color_cycle.restore(label._color) self.mpl_canvas.update_plot() self._layered_meshes[hemi].remove_overlay(label.name) self.picked_patches[hemi].remove(label_id) def _add_vertex_glyph(self, hemi, mesh, vertex_id): if vertex_id in self.picked_points[hemi]: return # skip if the wrong hemi is selected if self.act_data_smooth[hemi][0] is None: return from ..backends._pyvista import _sphere color = next(self.color_cycle) line = self.plot_time_course(hemi, vertex_id, color) if hemi == 'vol': ijk = np.unravel_index( vertex_id, np.array(mesh.GetDimensions()) - 1, order='F') # should just be GetCentroid(center), but apparently it's VTK9+: # center = np.empty(3) # voxel.GetCentroid(center) voxel = mesh.GetCell(*ijk) pts = voxel.GetPoints() n_pts = pts.GetNumberOfPoints() center = np.empty((n_pts, 3)) for ii in range(pts.GetNumberOfPoints()): pts.GetPoint(ii, center[ii]) center = np.mean(center, axis=0) else: center = mesh.GetPoints().GetPoint(vertex_id) del mesh # from the picked renderer to the subplot coords rindex = self.plotter.renderers.index(self.picked_renderer) row, col = self.plotter.index_to_loc(rindex) actors = list() spheres = list() for ri, ci, _ in self._iter_views(hemi): self.plotter.subplot(ri, ci) # Using _sphere() instead of renderer.sphere() for 2 reasons: # 1) renderer.sphere() fails on Windows in a scenario where a lot # of picking requests are done in a short span of time (could be # mitigated with synchronization/delay?) # 2) the glyph filter is used in renderer.sphere() but only one # sphere is required in this function. actor, sphere = _sphere( plotter=self.plotter, center=np.array(center), color=color, radius=4.0, ) actors.append(actor) spheres.append(sphere) # add metadata for picking for sphere in spheres: sphere._is_glyph = True sphere._hemi = hemi sphere._line = line sphere._actors = actors sphere._color = color sphere._vertex_id = vertex_id self.picked_points[hemi].append(vertex_id) self._spheres.extend(spheres) self.pick_table[vertex_id] = spheres return sphere def _remove_vertex_glyph(self, mesh, render=True): vertex_id = mesh._vertex_id if vertex_id not in self.pick_table: return hemi = mesh._hemi color = mesh._color spheres = self.pick_table[vertex_id] spheres[0]._line.remove() self.mpl_canvas.update_plot() self.picked_points[hemi].remove(vertex_id) with warnings.catch_warnings(record=True): # We intentionally ignore these in case we have traversed the # entire color cycle warnings.simplefilter('ignore') self.color_cycle.restore(color) for sphere in spheres: # remove all actors self.plotter.remove_actor(sphere._actors, render=render) sphere._actors = None self._spheres.pop(self._spheres.index(sphere)) self.pick_table.pop(vertex_id) def clear_glyphs(self): """Clear the picking glyphs.""" if not self.time_viewer: return for sphere in list(self._spheres): # will remove itself, so copy self._remove_vertex_glyph(sphere, render=False) assert sum(len(v) for v in self.picked_points.values()) == 0 assert len(self.pick_table) == 0 assert len(self._spheres) == 0 for hemi in self._hemis: for label_id in list(self.picked_patches[hemi]): self._remove_label_glyph(hemi, label_id) assert sum(len(v) for v in self.picked_patches.values()) == 0 if self.gfp is not None: self.gfp.remove() self.gfp = None self._update() def plot_time_course(self, hemi, vertex_id, color): """Plot the vertex time course. Parameters ---------- hemi : str The hemisphere id of the vertex. vertex_id : int The vertex identifier in the mesh. color : matplotlib color The color of the time course. Returns ------- line : matplotlib object The time line object. """ if self.mpl_canvas is None: return time = self._data['time'].copy() # avoid circular ref if hemi == 'vol': hemi_str = 'V' xfm = read_talxfm( self._subject_id, self._subjects_dir) if self._units == 'mm': xfm['trans'][:3, 3] *= 1000. ijk = np.unravel_index( vertex_id, self._data[hemi]['grid_shape'], order='F') src_mri_t = self._data[hemi]['grid_src_mri_t'] mni = apply_trans(np.dot(xfm['trans'], src_mri_t), ijk) else: hemi_str = 'L' if hemi == 'lh' else 'R' mni = vertex_to_mni( vertices=vertex_id, hemis=0 if hemi == 'lh' else 1, subject=self._subject_id, subjects_dir=self._subjects_dir ) label = "{}:{} MNI: {}".format( hemi_str, str(vertex_id).ljust(6), ', '.join('%5.1f' % m for m in mni)) act_data, smooth = self.act_data_smooth[hemi] if smooth is not None: act_data = smooth[vertex_id].dot(act_data)[0] else: act_data = act_data[vertex_id].copy() line = self.mpl_canvas.plot( time, act_data, label=label, lw=1., color=color, zorder=4, ) return line def plot_time_line(self): """Add the time line to the MPL widget.""" if self.mpl_canvas is None: return if isinstance(self.show_traces, bool) and self.show_traces: # add time information current_time = self._current_time if not hasattr(self, "time_line"): self.time_line = self.mpl_canvas.plot_time_line( x=current_time, label='time', color=self._fg_color, lw=1, ) self.time_line.set_xdata(current_time) self.mpl_canvas.update_plot() def help(self): """Display the help window.""" pairs = [ ('?', 'Display help window'), ('i', 'Toggle interface'), ('s', 'Apply auto-scaling'), ('r', 'Restore original clim'), ('c', 'Clear all traces'), ('Space', 'Start/Pause playback'), ] text1, text2 = zip(*pairs) text1 = '\n'.join(text1) text2 = '\n'.join(text2) _show_help( col1=text1, col2=text2, width=5, height=2, ) def _clear_callbacks(self): from ..backends._pyvista import _remove_picking_callback if not hasattr(self, 'callbacks'): return for callback in self.callbacks.values(): if callback is not None: if hasattr(callback, "plotter"): callback.plotter = None if hasattr(callback, "brain"): callback.brain = None if hasattr(callback, "slider_rep"): callback.slider_rep = None self.callbacks.clear() if self.show_traces: _remove_picking_callback(self._iren, self.plotter.picker) @property def interaction(self): """The interaction style.""" return self._interaction @interaction.setter def interaction(self, interaction): """Set the interaction style.""" _validate_type(interaction, str, 'interaction') _check_option('interaction', interaction, ('trackball', 'terrain')) for ri, ci, _ in self._iter_views('vol'): # will traverse all self._renderer.subplot(ri, ci) self._renderer.set_interaction(interaction) def _cortex_colormap(self, cortex): """Return the colormap corresponding to the cortex.""" colormap_map = dict(classic=dict(colormap="Greys", vmin=-1, vmax=2), high_contrast=dict(colormap="Greys", vmin=-.1, vmax=1.3), low_contrast=dict(colormap="Greys", vmin=-5, vmax=5), bone=dict(colormap="bone_r", vmin=-.2, vmax=2), ) return colormap_map[cortex] @verbose def add_data(self, array, fmin=None, fmid=None, fmax=None, thresh=None, center=None, transparent=False, colormap="auto", alpha=1, vertices=None, smoothing_steps=None, time=None, time_label="auto", colorbar=True, hemi=None, remove_existing=None, time_label_size=None, initial_time=None, scale_factor=None, vector_alpha=None, clim=None, src=None, volume_options=0.4, colorbar_kwargs=None, verbose=None): """Display data from a numpy array on the surface or volume. This provides a similar interface to :meth:`surfer.Brain.add_overlay`, but it displays it with a single colormap. It offers more flexibility over the colormap, and provides a way to display four-dimensional data (i.e., a timecourse) or five-dimensional data (i.e., a vector-valued timecourse). .. note:: ``fmin`` sets the low end of the colormap, and is separate from thresh (this is a different convention from :meth:`surfer.Brain.add_overlay`). Parameters ---------- array : numpy array, shape (n_vertices[, 3][, n_times]) Data array. For the data to be understood as vector-valued (3 values per vertex corresponding to X/Y/Z surface RAS), then ``array`` must be have all 3 dimensions. If vectors with no time dimension are desired, consider using a singleton (e.g., ``np.newaxis``) to create a "time" dimension and pass ``time_label=None`` (vector values are not supported). %(fmin_fmid_fmax)s %(thresh)s %(center)s %(transparent)s colormap : str, list of color, or array Name of matplotlib colormap to use, a list of matplotlib colors, or a custom look up table (an n x 4 array coded with RBGA values between 0 and 255), the default "auto" chooses a default divergent colormap, if "center" is given (currently "icefire"), otherwise a default sequential colormap (currently "rocket"). alpha : float in [0, 1] Alpha level to control opacity of the overlay. vertices : numpy array Vertices for which the data is defined (needed if ``len(data) < nvtx``). smoothing_steps : int or None Number of smoothing steps (smoothing is used if len(data) < nvtx) The value 'nearest' can be used too. None (default) will use as many as necessary to fill the surface. time : numpy array Time points in the data array (if data is 2D or 3D). %(time_label)s colorbar : bool Whether to add a colorbar to the figure. Can also be a tuple to give the (row, col) index of where to put the colorbar. hemi : str | None If None, it is assumed to belong to the hemisphere being shown. If two hemispheres are being shown, an error will be thrown. remove_existing : bool Not supported yet. Remove surface added by previous "add_data" call. Useful for conserving memory when displaying different data in a loop. time_label_size : int Font size of the time label (default 14). initial_time : float | None Time initially shown in the plot. ``None`` to use the first time sample (default). scale_factor : float | None (default) The scale factor to use when displaying glyphs for vector-valued data. vector_alpha : float | None Alpha level to control opacity of the arrows. Only used for vector-valued data. If None (default), ``alpha`` is used. clim : dict Original clim arguments. %(src_volume_options)s colorbar_kwargs : dict | None Options to pass to :meth:`pyvista.BasePlotter.add_scalar_bar` (e.g., ``dict(title_font_size=10)``). %(verbose)s Notes ----- If the data is defined for a subset of vertices (specified by the "vertices" parameter), a smoothing method is used to interpolate the data onto the high resolution surface. If the data is defined for subsampled version of the surface, smoothing_steps can be set to None, in which case only as many smoothing steps are applied until the whole surface is filled with non-zeros. Due to a Mayavi (or VTK) alpha rendering bug, ``vector_alpha`` is clamped to be strictly < 1. """ _validate_type(transparent, bool, 'transparent') _validate_type(vector_alpha, ('numeric', None), 'vector_alpha') _validate_type(scale_factor, ('numeric', None), 'scale_factor') # those parameters are not supported yet, only None is allowed _check_option('thresh', thresh, [None]) _check_option('remove_existing', remove_existing, [None]) _validate_type(time_label_size, (None, 'numeric'), 'time_label_size') if time_label_size is not None: time_label_size = float(time_label_size) if time_label_size < 0: raise ValueError('time_label_size must be positive, got ' f'{time_label_size}') hemi = self._check_hemi(hemi, extras=['vol']) stc, array, vertices = self._check_stc(hemi, array, vertices) array = np.asarray(array) vector_alpha = alpha if vector_alpha is None else vector_alpha self._data['vector_alpha'] = vector_alpha self._data['scale_factor'] = scale_factor # Create time array and add label if > 1D if array.ndim <= 1: time_idx = 0 else: # check time array if time is None: time = np.arange(array.shape[-1]) else: time = np.asarray(time) if time.shape != (array.shape[-1],): raise ValueError('time has shape %s, but need shape %s ' '(array.shape[-1])' % (time.shape, (array.shape[-1],))) self._data["time"] = time if self._n_times is None: self._times = time elif len(time) != self._n_times: raise ValueError("New n_times is different from previous " "n_times") elif not np.array_equal(time, self._times): raise ValueError("Not all time values are consistent with " "previously set times.") # initial time if initial_time is None: time_idx = 0 else: time_idx = self._to_time_index(initial_time) # time label time_label, _ = _handle_time(time_label, 's', time) y_txt = 0.05 + 0.1 * bool(colorbar) if array.ndim == 3: if array.shape[1] != 3: raise ValueError('If array has 3 dimensions, array.shape[1] ' 'must equal 3, got %s' % (array.shape[1],)) fmin, fmid, fmax = _update_limits( fmin, fmid, fmax, center, array ) if colormap == 'auto': colormap = 'mne' if center is not None else 'hot' if smoothing_steps is None: smoothing_steps = 7 elif smoothing_steps == 'nearest': smoothing_steps = 0 elif isinstance(smoothing_steps, int): if smoothing_steps < 0: raise ValueError('Expected value of `smoothing_steps` is' ' positive but {} was given.'.format( smoothing_steps)) else: raise TypeError('Expected type of `smoothing_steps` is int or' ' NoneType but {} was given.'.format( type(smoothing_steps))) self._data['stc'] = stc self._data['src'] = src self._data['smoothing_steps'] = smoothing_steps self._data['clim'] = clim self._data['time'] = time self._data['initial_time'] = initial_time self._data['time_label'] = time_label self._data['initial_time_idx'] = time_idx self._data['time_idx'] = time_idx self._data['transparent'] = transparent # data specific for a hemi self._data[hemi] = dict() self._data[hemi]['glyph_dataset'] = None self._data[hemi]['glyph_mapper'] = None self._data[hemi]['glyph_actor'] = None self._data[hemi]['array'] = array self._data[hemi]['vertices'] = vertices self._data['alpha'] = alpha self._data['colormap'] = colormap self._data['center'] = center self._data['fmin'] = fmin self._data['fmid'] = fmid self._data['fmax'] = fmax self.update_lut() # 1) add the surfaces first actor = None for ri, ci, _ in self._iter_views(hemi): self._renderer.subplot(ri, ci) if hemi in ('lh', 'rh'): actor = self._layered_meshes[hemi]._actor else: src_vol = src[2:] if src.kind == 'mixed' else src actor, _ = self._add_volume_data(hemi, src_vol, volume_options) assert actor is not None # should have added one # 2) update time and smoothing properties # set_data_smoothing calls "set_time_point" for us, which will set # _current_time self.set_time_interpolation(self.time_interpolation) self.set_data_smoothing(self._data['smoothing_steps']) # 3) add the other actors if colorbar is True: # botto left by default colorbar = (self._subplot_shape[0] - 1, 0) for ri, ci, v in self._iter_views(hemi): self._renderer.subplot(ri, ci) # Add the time label to the bottommost view do = (ri, ci) == colorbar if not self._time_label_added and time_label is not None and do: time_actor = self._renderer.text2d( x_window=0.95, y_window=y_txt, color=self._fg_color, size=time_label_size, text=time_label(self._current_time), justification='right' ) self._data['time_actor'] = time_actor self._time_label_added = True if colorbar and not self._colorbar_added and do: kwargs = dict(source=actor, n_labels=8, color=self._fg_color, bgcolor=self._brain_color[:3]) kwargs.update(colorbar_kwargs or {}) self._renderer.scalarbar(**kwargs) self._colorbar_added = True self._renderer.set_camera(**views_dicts[hemi][v]) # 4) update the scalar bar and opacity self.update_lut() if hemi in self._layered_meshes: mesh = self._layered_meshes[hemi] mesh.update_overlay(name='data', opacity=alpha) self._update() def _iter_views(self, hemi): # which rows and columns each type of visual needs to be added to if self._hemi == 'split': hemi_dict = dict(lh=[0], rh=[1], vol=[0, 1]) else: hemi_dict = dict(lh=[0], rh=[0], vol=[0]) for vi, view in enumerate(self._views): if self._hemi == 'split': view_dict = dict(lh=[vi], rh=[vi], vol=[vi, vi]) else: view_dict = dict(lh=[vi], rh=[vi], vol=[vi]) if self._view_layout == 'vertical': rows = view_dict # views are rows cols = hemi_dict # hemis are columns else: rows = hemi_dict # hemis are rows cols = view_dict # views are columns for ri, ci in zip(rows[hemi], cols[hemi]): yield ri, ci, view def remove_labels(self): """Remove all the ROI labels from the image.""" for hemi in self._hemis: mesh = self._layered_meshes[hemi] mesh.remove_overlay(self._labels[hemi]) self._labels[hemi].clear() self._update() def remove_annotations(self): """Remove all annotations from the image.""" for hemi in self._hemis: mesh = self._layered_meshes[hemi] mesh.remove_overlay(self._annots[hemi]) self._annots[hemi].clear() self._update() def _add_volume_data(self, hemi, src, volume_options): from ..backends._pyvista import _volume _validate_type(src, SourceSpaces, 'src') _check_option('src.kind', src.kind, ('volume',)) _validate_type( volume_options, (dict, 'numeric', None), 'volume_options') assert hemi == 'vol' if not isinstance(volume_options, dict): volume_options = dict( resolution=float(volume_options) if volume_options is not None else None) volume_options = _handle_default('volume_options', volume_options) allowed_types = ( ['resolution', (None, 'numeric')], ['blending', (str,)], ['alpha', ('numeric', None)], ['surface_alpha', (None, 'numeric')], ['silhouette_alpha', (None, 'numeric')], ['silhouette_linewidth', ('numeric',)], ) for key, types in allowed_types: _validate_type(volume_options[key], types, f'volume_options[{repr(key)}]') extra_keys = set(volume_options) - set(a[0] for a in allowed_types) if len(extra_keys): raise ValueError( f'volume_options got unknown keys {sorted(extra_keys)}') blending = _check_option('volume_options["blending"]', volume_options['blending'], ('composite', 'mip')) alpha = volume_options['alpha'] if alpha is None: alpha = 0.4 if self._data[hemi]['array'].ndim == 3 else 1. alpha = np.clip(float(alpha), 0., 1.) resolution = volume_options['resolution'] surface_alpha = volume_options['surface_alpha'] if surface_alpha is None: surface_alpha = min(alpha / 2., 0.1) silhouette_alpha = volume_options['silhouette_alpha'] if silhouette_alpha is None: silhouette_alpha = surface_alpha / 4. silhouette_linewidth = volume_options['silhouette_linewidth'] del volume_options volume_pos = self._data[hemi].get('grid_volume_pos') volume_neg = self._data[hemi].get('grid_volume_neg') center = self._data['center'] if volume_pos is None: xyz = np.meshgrid( *[np.arange(s) for s in src[0]['shape']], indexing='ij') dimensions = np.array(src[0]['shape'], int) mult = 1000 if self._units == 'mm' else 1 src_mri_t = src[0]['src_mri_t']['trans'].copy() src_mri_t[:3] *= mult if resolution is not None: resolution = resolution * mult / 1000. # to mm del src, mult coords = np.array([c.ravel(order='F') for c in xyz]).T coords = apply_trans(src_mri_t, coords) self.geo[hemi] = Bunch(coords=coords) vertices = self._data[hemi]['vertices'] assert self._data[hemi]['array'].shape[0] == len(vertices) # MNE constructs the source space on a uniform grid in MRI space, # but mne coreg can change it to be non-uniform, so we need to # use all three elements here assert np.allclose( src_mri_t[:3, :3], np.diag(np.diag(src_mri_t)[:3])) spacing = np.diag(src_mri_t)[:3] origin = src_mri_t[:3, 3] - spacing / 2. scalars = np.zeros(np.prod(dimensions)) scalars[vertices] = 1. # for the outer mesh grid, grid_mesh, volume_pos, volume_neg = \ _volume(dimensions, origin, spacing, scalars, surface_alpha, resolution, blending, center) self._data[hemi]['alpha'] = alpha # incorrectly set earlier self._data[hemi]['grid'] = grid self._data[hemi]['grid_mesh'] = grid_mesh self._data[hemi]['grid_coords'] = coords self._data[hemi]['grid_src_mri_t'] = src_mri_t self._data[hemi]['grid_shape'] = dimensions self._data[hemi]['grid_volume_pos'] = volume_pos self._data[hemi]['grid_volume_neg'] = volume_neg actor_pos, _ = self._renderer.plotter.add_actor( volume_pos, reset_camera=False, name=None, culling=False) if volume_neg is not None: actor_neg, _ = self._renderer.plotter.add_actor( volume_neg, reset_camera=False, name=None, culling=False) else: actor_neg = None grid_mesh = self._data[hemi]['grid_mesh'] if grid_mesh is not None: import vtk _, prop = self._renderer.plotter.add_actor( grid_mesh, reset_camera=False, name=None, culling=False, pickable=False) prop.SetColor(*self._brain_color[:3]) prop.SetOpacity(surface_alpha) if silhouette_alpha > 0 and silhouette_linewidth > 0: for ri, ci, v in self._iter_views('vol'): self._renderer.subplot(ri, ci) grid_silhouette = vtk.vtkPolyDataSilhouette() grid_silhouette.SetInputData(grid_mesh.GetInput()) grid_silhouette.SetCamera( self._renderer.plotter.renderer.GetActiveCamera()) grid_silhouette.SetEnableFeatureAngle(0) grid_silhouette_mapper = vtk.vtkPolyDataMapper() grid_silhouette_mapper.SetInputConnection( grid_silhouette.GetOutputPort()) _, prop = self._renderer.plotter.add_actor( grid_silhouette_mapper, reset_camera=False, name=None, culling=False, pickable=False) prop.SetColor(*self._brain_color[:3]) prop.SetOpacity(silhouette_alpha) prop.SetLineWidth(silhouette_linewidth) return actor_pos, actor_neg def add_label(self, label, color=None, alpha=1, scalar_thresh=None, borders=False, hemi=None, subdir=None, reset_camera=True): """Add an ROI label to the image. Parameters ---------- label : str | instance of Label Label filepath or name. Can also be an instance of an object with attributes "hemi", "vertices", "name", and optionally "color" and "values" (if scalar_thresh is not None). color : matplotlib-style color | None Anything matplotlib accepts: string, RGB, hex, etc. (default "crimson"). alpha : float in [0, 1] Alpha level to control opacity. scalar_thresh : None | float Threshold the label ids using this value in the label file's scalar field (i.e. label only vertices with scalar >= thresh). borders : bool | int Show only label borders. If int, specify the number of steps (away from the true border) along the cortical mesh to include as part of the border definition. hemi : str | None If None, it is assumed to belong to the hemipshere being shown. subdir : None | str If a label is specified as name, subdir can be used to indicate that the label file is in a sub-directory of the subject's label directory rather than in the label directory itself (e.g. for ``$SUBJECTS_DIR/$SUBJECT/label/aparc/lh.cuneus.label`` ``brain.add_label('cuneus', subdir='aparc')``). reset_camera : bool If True, reset the camera view after adding the label. Defaults to True. Notes ----- To remove previously added labels, run Brain.remove_labels(). """ from matplotlib.colors import colorConverter from ...label import read_label if isinstance(label, str): if color is None: color = "crimson" if os.path.isfile(label): filepath = label label = read_label(filepath) hemi = label.hemi label_name = os.path.basename(filepath).split('.')[1] else: hemi = self._check_hemi(hemi) label_name = label label_fname = ".".join([hemi, label_name, 'label']) if subdir is None: filepath = op.join(self._subjects_dir, self._subject_id, 'label', label_fname) else: filepath = op.join(self._subjects_dir, self._subject_id, 'label', subdir, label_fname) if not os.path.exists(filepath): raise ValueError('Label file %s does not exist' % filepath) label = read_label(filepath) ids = label.vertices scalars = label.values else: # try to extract parameters from label instance try: hemi = label.hemi ids = label.vertices if label.name is None: label_name = 'unnamed' else: label_name = str(label.name) if color is None: if hasattr(label, 'color') and label.color is not None: color = label.color else: color = "crimson" if scalar_thresh is not None: scalars = label.values except Exception: raise ValueError('Label was not a filename (str), and could ' 'not be understood as a class. The class ' 'must have attributes "hemi", "vertices", ' '"name", and (if scalar_thresh is not None)' '"values"') hemi = self._check_hemi(hemi) if scalar_thresh is not None: ids = ids[scalars >= scalar_thresh] scalars = np.zeros(self.geo[hemi].coords.shape[0]) scalars[ids] = 1 if self.time_viewer and self.show_traces: stc = self._data["stc"] src = self._data["src"] tc = stc.extract_label_time_course(label, src=src, mode=self.label_extract_mode) tc = tc[0] if tc.ndim == 2 else tc[0, 0, :] color = next(self.color_cycle) line = self.mpl_canvas.plot( self._data['time'], tc, label=label_name, color=color) else: line = None orig_color = color color = colorConverter.to_rgba(color, alpha) cmap = np.array([(0, 0, 0, 0,), color]) ctable = np.round(cmap * 255).astype(np.uint8) for ri, ci, v in self._iter_views(hemi): self._renderer.subplot(ri, ci) if borders: n_vertices = scalars.size edges = mesh_edges(self.geo[hemi].faces) edges = edges.tocoo() border_edges = scalars[edges.row] != scalars[edges.col] show = np.zeros(n_vertices, dtype=np.int64) keep_idx = np.unique(edges.row[border_edges]) if isinstance(borders, int): for _ in range(borders): keep_idx = np.in1d( self.geo[hemi].faces.ravel(), keep_idx) keep_idx.shape = self.geo[hemi].faces.shape keep_idx = self.geo[hemi].faces[np.any( keep_idx, axis=1)] keep_idx = np.unique(keep_idx) show[keep_idx] = 1 scalars *= show mesh = self._layered_meshes[hemi] mesh.add_overlay( scalars=scalars, colormap=ctable, rng=None, opacity=alpha, name=label_name, ) if reset_camera: self._renderer.set_camera(**views_dicts[hemi][v]) if self.time_viewer and self.traces_mode == 'label': label._color = orig_color label._line = line self._labels[hemi].append(label) self._update() def add_foci(self, coords, coords_as_verts=False, map_surface=None, scale_factor=1, color="white", alpha=1, name=None, hemi=None, resolution=50): """Add spherical foci, possibly mapping to displayed surf. The foci spheres can be displayed at the coordinates given, or mapped through a surface geometry. In other words, coordinates from a volume-based analysis in MNI space can be displayed on an inflated average surface by finding the closest vertex on the white surface and mapping to that vertex on the inflated mesh. Parameters ---------- coords : ndarray, shape (n_coords, 3) Coordinates in stereotaxic space (default) or array of vertex ids (with ``coord_as_verts=True``). coords_as_verts : bool Whether the coords parameter should be interpreted as vertex ids. map_surface : None Surface to map coordinates through, or None to use raw coords. scale_factor : float Controls the size of the foci spheres (relative to 1cm). color : matplotlib color code HTML name, RBG tuple, or hex code. alpha : float in [0, 1] Opacity of focus gylphs. name : str Internal name to use. hemi : str | None If None, it is assumed to belong to the hemipshere being shown. If two hemispheres are being shown, an error will be thrown. resolution : int The resolution of the spheres. """ from matplotlib.colors import colorConverter hemi = self._check_hemi(hemi, extras=['vol']) # those parameters are not supported yet, only None is allowed _check_option('map_surface', map_surface, [None]) # Figure out how to interpret the first parameter if coords_as_verts: coords = self.geo[hemi].coords[coords] # Convert the color code if not isinstance(color, tuple): color = colorConverter.to_rgb(color) if self._units == 'm': scale_factor = scale_factor / 1000. for ri, ci, v in self._iter_views(hemi): self._renderer.subplot(ri, ci) self._renderer.sphere(center=coords, color=color, scale=(10. * scale_factor), opacity=alpha, resolution=resolution) self._renderer.set_camera(**views_dicts[hemi][v]) def add_text(self, x, y, text, name=None, color=None, opacity=1.0, row=-1, col=-1, font_size=None, justification=None): """Add a text to the visualization. Parameters ---------- x : float X coordinate. y : float Y coordinate. text : str Text to add. name : str Name of the text (text label can be updated using update_text()). color : tuple Color of the text. Default is the foreground color set during initialization (default is black or white depending on the background color). opacity : float Opacity of the text (default 1.0). row : int Row index of which brain to use. col : int Column index of which brain to use. font_size : float | None The font size to use. justification : str | None The text justification. """ # XXX: support `name` should be added when update_text/remove_text # are implemented # _check_option('name', name, [None]) self._renderer.text2d(x_window=x, y_window=y, text=text, color=color, size=font_size, justification=justification) def _configure_label_time_course(self): from ...label import read_labels_from_annot if not self.show_traces: return if self.mpl_canvas is None: self._configure_mplcanvas() else: self.clear_glyphs() self.traces_mode = 'label' self.add_annotation(self.annot, color="w", alpha=0.75) # now plot the time line self.plot_time_line() self.mpl_canvas.update_plot() for hemi in self._hemis: labels = read_labels_from_annot( subject=self._subject_id, parc=self.annot, hemi=hemi, subjects_dir=self._subjects_dir ) self._vertex_to_label_id[hemi] = np.full( self.geo[hemi].coords.shape[0], -1) self._annotation_labels[hemi] = labels for idx, label in enumerate(labels): self._vertex_to_label_id[hemi][label.vertices] = idx def add_annotation(self, annot, borders=True, alpha=1, hemi=None, remove_existing=True, color=None, **kwargs): """Add an annotation file. Parameters ---------- annot : str | tuple Either path to annotation file or annotation name. Alternatively, the annotation can be specified as a ``(labels, ctab)`` tuple per hemisphere, i.e. ``annot=(labels, ctab)`` for a single hemisphere or ``annot=((lh_labels, lh_ctab), (rh_labels, rh_ctab))`` for both hemispheres. ``labels`` and ``ctab`` should be arrays as returned by :func:`nibabel.freesurfer.io.read_annot`. borders : bool | int Show only label borders. If int, specify the number of steps (away from the true border) along the cortical mesh to include as part of the border definition. alpha : float in [0, 1] Alpha level to control opacity. hemi : str | None If None, it is assumed to belong to the hemipshere being shown. If two hemispheres are being shown, data must exist for both hemispheres. remove_existing : bool If True (default), remove old annotations. color : matplotlib-style color code If used, show all annotations in the same (specified) color. Probably useful only when showing annotation borders. **kwargs : dict These are passed to the underlying ``mayavi.mlab.pipeline.surface`` call. """ from ...label import _read_annot hemis = self._check_hemis(hemi) # Figure out where the data is coming from if isinstance(annot, str): if os.path.isfile(annot): filepath = annot path = os.path.split(filepath)[0] file_hemi, annot = os.path.basename(filepath).split('.')[:2] if len(hemis) > 1: if annot[:2] == 'lh.': filepaths = [filepath, op.join(path, 'rh' + annot[2:])] elif annot[:2] == 'rh.': filepaths = [op.join(path, 'lh' + annot[2:], filepath)] else: raise RuntimeError('To add both hemispheres ' 'simultaneously, filename must ' 'begin with "lh." or "rh."') else: filepaths = [filepath] else: filepaths = [] for hemi in hemis: filepath = op.join(self._subjects_dir, self._subject_id, 'label', ".".join([hemi, annot, 'annot'])) if not os.path.exists(filepath): raise ValueError('Annotation file %s does not exist' % filepath) filepaths += [filepath] annots = [] for hemi, filepath in zip(hemis, filepaths): # Read in the data labels, cmap, _ = _read_annot(filepath) annots.append((labels, cmap)) else: annots = [annot] if len(hemis) == 1 else annot annot = 'annotation' for hemi, (labels, cmap) in zip(hemis, annots): # Maybe zero-out the non-border vertices self._to_borders(labels, hemi, borders) # Handle null labels properly cmap[:, 3] = 255 bgcolor = np.round(np.array(self._brain_color) * 255).astype(int) bgcolor[-1] = 0 cmap[cmap[:, 4] < 0, 4] += 2 ** 24 # wrap to positive cmap[cmap[:, 4] <= 0, :4] = bgcolor if np.any(labels == 0) and not np.any(cmap[:, -1] <= 0): cmap = np.vstack((cmap, np.concatenate([bgcolor, [0]]))) # Set label ids sensibly order = np.argsort(cmap[:, -1]) cmap = cmap[order] ids = np.searchsorted(cmap[:, -1], labels) cmap = cmap[:, :4] # Set the alpha level alpha_vec = cmap[:, 3] alpha_vec[alpha_vec > 0] = alpha * 255 # Override the cmap when a single color is used if color is not None: from matplotlib.colors import colorConverter rgb = np.round(np.multiply(colorConverter.to_rgb(color), 255)) cmap[:, :3] = rgb.astype(cmap.dtype) ctable = cmap.astype(np.float64) for ri, ci, _ in self._iter_views(hemi): self._renderer.subplot(ri, ci) mesh = self._layered_meshes[hemi] mesh.add_overlay( scalars=ids, colormap=ctable, rng=[np.min(ids), np.max(ids)], opacity=alpha, name=annot, ) self._annots[hemi].append(annot) if not self.time_viewer or self.traces_mode == 'vertex': from ..backends._pyvista import _set_colormap_range _set_colormap_range(mesh._actor, cmap.astype(np.uint8), None) self._update() def close(self): """Close all figures and cleanup data structure.""" self._closed = True self._renderer.close() def show(self): """Display the window.""" self._renderer.show() def show_view(self, view=None, roll=None, distance=None, row=0, col=0, hemi=None): """Orient camera to display view. Parameters ---------- view : str | dict String view, or a dict with azimuth and elevation. roll : float | None The roll. distance : float | None The distance. row : int The row to set. col : int The column to set. hemi : str Which hemi to use for string lookup (when in "both" mode). """ hemi = self._hemi if hemi is None else hemi if hemi == 'split': if (self._view_layout == 'vertical' and col == 1 or self._view_layout == 'horizontal' and row == 1): hemi = 'rh' else: hemi = 'lh' if isinstance(view, str): view = views_dicts[hemi].get(view) view = view.copy() if roll is not None: view.update(roll=roll) if distance is not None: view.update(distance=distance) self._renderer.subplot(row, col) self._renderer.set_camera(**view, reset_camera=False) self._update() def reset_view(self): """Reset the camera.""" for h in self._hemis: for ri, ci, v in self._iter_views(h): self._renderer.subplot(ri, ci) self._renderer.set_camera(**views_dicts[h][v], reset_camera=False) def save_image(self, filename, mode='rgb'): """Save view from all panels to disk. Parameters ---------- filename : str Path to new image file. mode : str Either 'rgb' or 'rgba' for values to return. """ self._renderer.screenshot(mode=mode, filename=filename) @fill_doc def screenshot(self, mode='rgb', time_viewer=False): """Generate a screenshot of current view. Parameters ---------- mode : str Either 'rgb' or 'rgba' for values to return. %(brain_screenshot_time_viewer)s Returns ------- screenshot : array Image pixel values. """ img = self._renderer.screenshot(mode) if time_viewer and self.time_viewer and \ self.show_traces and \ not self.separate_canvas: canvas = self.mpl_canvas.fig.canvas canvas.draw_idle() # In theory, one of these should work: # # trace_img = np.frombuffer( # canvas.tostring_rgb(), dtype=np.uint8) # trace_img.shape = canvas.get_width_height()[::-1] + (3,) # # or # # trace_img = np.frombuffer( # canvas.tostring_rgb(), dtype=np.uint8) # size = time_viewer.mpl_canvas.getSize() # trace_img.shape = (size.height(), size.width(), 3) # # But in practice, sometimes the sizes does not match the # renderer tostring_rgb() size. So let's directly use what # matplotlib does in lib/matplotlib/backends/backend_agg.py # before calling tobytes(): trace_img = np.asarray( canvas.renderer._renderer).take([0, 1, 2], axis=2) # need to slice into trace_img because generally it's a bit # smaller delta = trace_img.shape[1] - img.shape[1] if delta > 0: start = delta // 2 trace_img = trace_img[:, start:start + img.shape[1]] img = np.concatenate([img, trace_img], axis=0) return img @fill_doc def update_lut(self, fmin=None, fmid=None, fmax=None): """Update color map. Parameters ---------- %(fmin_fmid_fmax)s """ from ..backends._pyvista import _set_colormap_range, _set_volume_range center = self._data['center'] colormap = self._data['colormap'] transparent = self._data['transparent'] lims = dict(fmin=fmin, fmid=fmid, fmax=fmax) lims = {key: self._data[key] if val is None else val for key, val in lims.items()} assert all(val is not None for val in lims.values()) if lims['fmin'] > lims['fmid']: lims['fmin'] = lims['fmid'] if lims['fmax'] < lims['fmid']: lims['fmax'] = lims['fmid'] self._data.update(lims) self._data['ctable'] = np.round( calculate_lut(colormap, alpha=1., center=center, transparent=transparent, **lims) * 255).astype(np.uint8) # update our values rng = self._cmap_range ctable = self._data['ctable'] # in testing, no plotter; if colorbar=False, no scalar_bar scalar_bar = getattr( getattr(self._renderer, 'plotter', None), 'scalar_bar', None) for hemi in ['lh', 'rh', 'vol']: hemi_data = self._data.get(hemi) if hemi_data is not None: if hemi in self._layered_meshes: mesh = self._layered_meshes[hemi] mesh.update_overlay(name='data', colormap=self._data['ctable']) _set_colormap_range(mesh._actor, ctable, scalar_bar, rng, self._brain_color) scalar_bar = None grid_volume_pos = hemi_data.get('grid_volume_pos') grid_volume_neg = hemi_data.get('grid_volume_neg') for grid_volume in (grid_volume_pos, grid_volume_neg): if grid_volume is not None: _set_volume_range( grid_volume, ctable, hemi_data['alpha'], scalar_bar, rng) scalar_bar = None glyph_actor = hemi_data.get('glyph_actor') if glyph_actor is not None: for glyph_actor_ in glyph_actor: _set_colormap_range( glyph_actor_, ctable, scalar_bar, rng) scalar_bar = None def set_data_smoothing(self, n_steps): """Set the number of smoothing steps. Parameters ---------- n_steps : int Number of smoothing steps. """ from ...morph import _hemi_morph for hemi in ['lh', 'rh']: hemi_data = self._data.get(hemi) if hemi_data is not None: if len(hemi_data['array']) >= self.geo[hemi].x.shape[0]: continue vertices = hemi_data['vertices'] if vertices is None: raise ValueError( 'len(data) < nvtx (%s < %s): the vertices ' 'parameter must not be None' % (len(hemi_data), self.geo[hemi].x.shape[0])) morph_n_steps = 'nearest' if n_steps == 0 else n_steps maps = sparse.eye(len(self.geo[hemi].coords), format='csr') with use_log_level(False): smooth_mat = _hemi_morph( self.geo[hemi].orig_faces, np.arange(len(self.geo[hemi].coords)), vertices, morph_n_steps, maps, warn=False) self._data[hemi]['smooth_mat'] = smooth_mat self.set_time_point(self._data['time_idx']) self._data['smoothing_steps'] = n_steps @property def _n_times(self): return len(self._times) if self._times is not None else None @property def time_interpolation(self): """The interpolation mode.""" return self._time_interpolation @fill_doc def set_time_interpolation(self, interpolation): """Set the interpolation mode. Parameters ---------- %(brain_time_interpolation)s """ self._time_interpolation = _check_option( 'interpolation', interpolation, ('linear', 'nearest', 'zero', 'slinear', 'quadratic', 'cubic') ) self._time_interp_funcs = dict() self._time_interp_inv = None if self._times is not None: idx = np.arange(self._n_times) for hemi in ['lh', 'rh', 'vol']: hemi_data = self._data.get(hemi) if hemi_data is not None: array = hemi_data['array'] self._time_interp_funcs[hemi] = _safe_interp1d( idx, array, self._time_interpolation, axis=-1, assume_sorted=True) self._time_interp_inv = _safe_interp1d(idx, self._times) def set_time_point(self, time_idx): """Set the time point shown (can be a float to interpolate). Parameters ---------- time_idx : int | float The time index to use. Can be a float to use interpolation between indices. """ self._current_act_data = dict() time_actor = self._data.get('time_actor', None) time_label = self._data.get('time_label', None) for hemi in ['lh', 'rh', 'vol']: hemi_data = self._data.get(hemi) if hemi_data is not None: array = hemi_data['array'] # interpolate in time vectors = None if array.ndim == 1: act_data = array self._current_time = 0 else: act_data = self._time_interp_funcs[hemi](time_idx) self._current_time = self._time_interp_inv(time_idx) if array.ndim == 3: vectors = act_data act_data = np.linalg.norm(act_data, axis=1) self._current_time = self._time_interp_inv(time_idx) self._current_act_data[hemi] = act_data if time_actor is not None and time_label is not None: time_actor.SetInput(time_label(self._current_time)) # update the volume interpolation grid = hemi_data.get('grid') if grid is not None: vertices = self._data['vol']['vertices'] values = self._current_act_data['vol'] rng = self._cmap_range fill = 0 if self._data['center'] is not None else rng[0] grid.cell_arrays['values'].fill(fill) # XXX for sided data, we probably actually need two # volumes as composite/MIP needs to look at two # extremes... for now just use abs. Eventually we can add # two volumes if we want. grid.cell_arrays['values'][vertices] = values # interpolate in space smooth_mat = hemi_data.get('smooth_mat') if smooth_mat is not None: act_data = smooth_mat.dot(act_data) # update the mesh scalar values if hemi in self._layered_meshes: mesh = self._layered_meshes[hemi] if 'data' in mesh._overlays: mesh.update_overlay(name='data', scalars=act_data) else: mesh.add_overlay( scalars=act_data, colormap=self._data['ctable'], rng=self._cmap_range, opacity=None, name='data', ) # update the glyphs if vectors is not None: self._update_glyphs(hemi, vectors) self._data['time_idx'] = time_idx self._update() def set_time(self, time): """Set the time to display (in seconds). Parameters ---------- time : float The time to show, in seconds. """ if self._times is None: raise ValueError( 'Cannot set time when brain has no defined times.') elif min(self._times) <= time <= max(self._times): self.set_time_point(np.interp(float(time), self._times, np.arange(self._n_times))) else: raise ValueError( f'Requested time ({time} s) is outside the range of ' f'available times ({min(self._times)}-{max(self._times)} s).') def _update_glyphs(self, hemi, vectors): from ..backends._pyvista import _set_colormap_range, _create_actor hemi_data = self._data.get(hemi) assert hemi_data is not None vertices = hemi_data['vertices'] vector_alpha = self._data['vector_alpha'] scale_factor = self._data['scale_factor'] vertices = slice(None) if vertices is None else vertices x, y, z = np.array(self.geo[hemi].coords)[vertices].T if hemi_data['glyph_actor'] is None: add = True hemi_data['glyph_actor'] = list() else: add = False count = 0 for ri, ci, _ in self._iter_views(hemi): self._renderer.subplot(ri, ci) if hemi_data['glyph_dataset'] is None: glyph_mapper, glyph_dataset = self._renderer.quiver3d( x, y, z, vectors[:, 0], vectors[:, 1], vectors[:, 2], color=None, mode='2darrow', scale_mode='vector', scale=scale_factor, opacity=vector_alpha, name=str(hemi) + "_glyph" ) hemi_data['glyph_dataset'] = glyph_dataset hemi_data['glyph_mapper'] = glyph_mapper else: glyph_dataset = hemi_data['glyph_dataset'] glyph_dataset.point_arrays['vec'] = vectors glyph_mapper = hemi_data['glyph_mapper'] if add: glyph_actor = _create_actor(glyph_mapper) prop = glyph_actor.GetProperty() prop.SetLineWidth(2.) prop.SetOpacity(vector_alpha) self._renderer.plotter.add_actor(glyph_actor) hemi_data['glyph_actor'].append(glyph_actor) else: glyph_actor = hemi_data['glyph_actor'][count] count += 1 _set_colormap_range( actor=glyph_actor, ctable=self._data['ctable'], scalar_bar=None, rng=self._cmap_range, ) @property def _cmap_range(self): dt_max = self._data['fmax'] if self._data['center'] is None: dt_min = self._data['fmin'] else: dt_min = -1 * dt_max rng = [dt_min, dt_max] return rng def _update_fscale(self, fscale): """Scale the colorbar points.""" fmin = self._data['fmin'] * fscale fmid = self._data['fmid'] * fscale fmax = self._data['fmax'] * fscale self.update_lut(fmin=fmin, fmid=fmid, fmax=fmax) def _update_auto_scaling(self, restore=False): user_clim = self._data['clim'] if user_clim is not None and 'lims' in user_clim: allow_pos_lims = False else: allow_pos_lims = True if user_clim is not None and restore: clim = user_clim else: clim = 'auto' colormap = self._data['colormap'] transparent = self._data['transparent'] mapdata = _process_clim( clim, colormap, transparent, np.concatenate(list(self._current_act_data.values())), allow_pos_lims) diverging = 'pos_lims' in mapdata['clim'] colormap = mapdata['colormap'] scale_pts = mapdata['clim']['pos_lims' if diverging else 'lims'] transparent = mapdata['transparent'] del mapdata fmin, fmid, fmax = scale_pts center = 0. if diverging else None self._data['center'] = center self._data['colormap'] = colormap self._data['transparent'] = transparent self.update_lut(fmin=fmin, fmid=fmid, fmax=fmax) def _to_time_index(self, value): """Return the interpolated time index of the given time value.""" time = self._data['time'] value = np.interp(value, time, np.arange(len(time))) return value @property def data(self): """Data used by time viewer and color bar widgets.""" return self._data @property def labels(self): return self._labels @property def views(self): return self._views @property def hemis(self): return self._hemis def _save_movie(self, filename, time_dilation=4., tmin=None, tmax=None, framerate=24, interpolation=None, codec=None, bitrate=None, callback=None, time_viewer=False, **kwargs): import imageio from ..backends._pyvista import _disabled_interaction with _disabled_interaction(self._renderer): images = self._make_movie_frames( time_dilation, tmin, tmax, framerate, interpolation, callback, time_viewer) # find imageio FFMPEG parameters if 'fps' not in kwargs: kwargs['fps'] = framerate if codec is not None: kwargs['codec'] = codec if bitrate is not None: kwargs['bitrate'] = bitrate imageio.mimwrite(filename, images, **kwargs) @fill_doc def save_movie(self, filename, time_dilation=4., tmin=None, tmax=None, framerate=24, interpolation=None, codec=None, bitrate=None, callback=None, time_viewer=False, **kwargs): """Save a movie (for data with a time axis). The movie is created through the :mod:`imageio` module. The format is determined by the extension, and additional options can be specified through keyword arguments that depend on the format. For available formats and corresponding parameters see the imageio documentation: http://imageio.readthedocs.io/en/latest/formats.html#multiple-images .. Warning:: This method assumes that time is specified in seconds when adding data. If time is specified in milliseconds this will result in movies 1000 times longer than expected. Parameters ---------- filename : str Path at which to save the movie. The extension determines the format (e.g., ``'*.mov'``, ``'*.gif'``, ...; see the :mod:`imageio` documentation for available formats). time_dilation : float Factor by which to stretch time (default 4). For example, an epoch from -100 to 600 ms lasts 700 ms. With ``time_dilation=4`` this would result in a 2.8 s long movie. tmin : float First time point to include (default: all data). tmax : float Last time point to include (default: all data). framerate : float Framerate of the movie (frames per second, default 24). %(brain_time_interpolation)s If None, it uses the current ``brain.interpolation``, which defaults to ``'nearest'``. Defaults to None. codec : str | None The codec to use. bitrate : float | None The bitrate to use. callback : callable | None A function to call on each iteration. Useful for status message updates. It will be passed keyword arguments ``frame`` and ``n_frames``. %(brain_screenshot_time_viewer)s **kwargs : dict Specify additional options for :mod:`imageio`. Returns ------- dialog : object The opened dialog is returned for testing purpose only. """ if self.time_viewer: try: from pyvista.plotting.qt_plotting import FileDialog except ImportError: from pyvistaqt.plotting import FileDialog if filename is None: self.status_msg.setText("Choose movie path ...") self.status_msg.show() self.status_progress.setValue(0) def _post_setup(unused): del unused self.status_msg.hide() self.status_progress.hide() dialog = FileDialog( self.plotter.app_window, callback=partial(self._save_movie, **kwargs) ) dialog.setDirectory(os.getcwd()) dialog.finished.connect(_post_setup) return dialog else: from PyQt5.QtCore import Qt from PyQt5.QtGui import QCursor def frame_callback(frame, n_frames): if frame == n_frames: # On the ImageIO step self.status_msg.setText( "Saving with ImageIO: %s" % filename ) self.status_msg.show() self.status_progress.hide() self.status_bar.layout().update() else: self.status_msg.setText( "Rendering images (frame %d / %d) ..." % (frame + 1, n_frames) ) self.status_msg.show() self.status_progress.show() self.status_progress.setRange(0, n_frames - 1) self.status_progress.setValue(frame) self.status_progress.update() self.status_progress.repaint() self.status_msg.update() self.status_msg.parent().update() self.status_msg.repaint() # temporarily hide interface default_visibility = self.visibility self.toggle_interface(value=False) # set cursor to busy default_cursor = self.interactor.cursor() self.interactor.setCursor(QCursor(Qt.WaitCursor)) try: self._save_movie( filename=filename, time_dilation=(1. / self.playback_speed), callback=frame_callback, **kwargs ) except (Exception, KeyboardInterrupt): warn('Movie saving aborted:\n' + traceback.format_exc()) # restore visibility self.toggle_interface(value=default_visibility) # restore cursor self.interactor.setCursor(default_cursor) else: self._save_movie(filename, time_dilation, tmin, tmax, framerate, interpolation, codec, bitrate, callback, time_viewer, **kwargs) def _make_movie_frames(self, time_dilation, tmin, tmax, framerate, interpolation, callback, time_viewer): from math import floor # find tmin if tmin is None: tmin = self._times[0] elif tmin < self._times[0]: raise ValueError("tmin=%r is smaller than the first time point " "(%r)" % (tmin, self._times[0])) # find indexes at which to create frames if tmax is None: tmax = self._times[-1] elif tmax > self._times[-1]: raise ValueError("tmax=%r is greater than the latest time point " "(%r)" % (tmax, self._times[-1])) n_frames = floor((tmax - tmin) * time_dilation * framerate) times = np.arange(n_frames, dtype=float) times /= framerate * time_dilation times += tmin time_idx = np.interp(times, self._times, np.arange(self._n_times)) n_times = len(time_idx) if n_times == 0: raise ValueError("No time points selected") logger.debug("Save movie for time points/samples\n%s\n%s" % (times, time_idx)) # Sometimes the first screenshot is rendered with a different # resolution on OS X self.screenshot(time_viewer=time_viewer) old_mode = self.time_interpolation if interpolation is not None: self.set_time_interpolation(interpolation) try: images = [ self.screenshot(time_viewer=time_viewer) for _ in self._iter_time(time_idx, callback)] finally: self.set_time_interpolation(old_mode) if callback is not None: callback(frame=len(time_idx), n_frames=len(time_idx)) return images def _iter_time(self, time_idx, callback): """Iterate through time points, then reset to current time. Parameters ---------- time_idx : array_like Time point indexes through which to iterate. callback : callable | None Callback to call before yielding each frame. Yields ------ idx : int | float Current index. Notes ----- Used by movie and image sequence saving functions. """ if self.time_viewer: func = partial(self.callbacks["time"], update_widget=True) else: func = self.set_time_point current_time_idx = self._data["time_idx"] for ii, idx in enumerate(time_idx): func(idx) if callback is not None: callback(frame=ii, n_frames=len(time_idx)) yield idx # Restore original time index func(current_time_idx) def _show(self): """Request rendering of the window.""" try: return self._renderer.show() except RuntimeError: logger.info("No active/running renderer available.") def _check_stc(self, hemi, array, vertices): from ...source_estimate import ( _BaseSourceEstimate, _BaseSurfaceSourceEstimate, _BaseMixedSourceEstimate, _BaseVolSourceEstimate ) if isinstance(array, _BaseSourceEstimate): stc = array stc_surf = stc_vol = None if isinstance(stc, _BaseSurfaceSourceEstimate): stc_surf = stc elif isinstance(stc, _BaseMixedSourceEstimate): stc_surf = stc.surface() if hemi != 'vol' else None stc_vol = stc.volume() if hemi == 'vol' else None elif isinstance(stc, _BaseVolSourceEstimate): stc_vol = stc if hemi == 'vol' else None else: raise TypeError("stc not supported") if stc_surf is None and stc_vol is None: raise ValueError("No data to be added") if stc_surf is not None: array = getattr(stc_surf, hemi + '_data') vertices = stc_surf.vertices[0 if hemi == 'lh' else 1] if stc_vol is not None: array = stc_vol.data vertices = np.concatenate(stc_vol.vertices) else: stc = None return stc, array, vertices def _check_hemi(self, hemi, extras=()): """Check for safe single-hemi input, returns str.""" if hemi is None: if self._hemi not in ['lh', 'rh']: raise ValueError('hemi must not be None when both ' 'hemispheres are displayed') else: hemi = self._hemi elif hemi not in ['lh', 'rh'] + list(extras): extra = ' or None' if self._hemi in ['lh', 'rh'] else '' raise ValueError('hemi must be either "lh" or "rh"' + extra + ", got " + str(hemi)) return hemi def _check_hemis(self, hemi): """Check for safe dual or single-hemi input, returns list.""" if hemi is None: if self._hemi not in ['lh', 'rh']: hemi = ['lh', 'rh'] else: hemi = [self._hemi] elif hemi not in ['lh', 'rh']: extra = ' or None' if self._hemi in ['lh', 'rh'] else '' raise ValueError('hemi must be either "lh" or "rh"' + extra) else: hemi = [hemi] return hemi def _to_borders(self, label, hemi, borders, restrict_idx=None): """Convert a label/parc to borders.""" if not isinstance(borders, (bool, int)) or borders < 0: raise ValueError('borders must be a bool or positive integer') if borders: n_vertices = label.size edges = mesh_edges(self.geo[hemi].orig_faces) edges = edges.tocoo() border_edges = label[edges.row] != label[edges.col] show = np.zeros(n_vertices, dtype=np.int64) keep_idx = np.unique(edges.row[border_edges]) if isinstance(borders, int): for _ in range(borders): keep_idx = np.in1d( self.geo[hemi].orig_faces.ravel(), keep_idx) keep_idx.shape = self.geo[hemi].orig_faces.shape keep_idx = self.geo[hemi].orig_faces[ np.any(keep_idx, axis=1)] keep_idx = np.unique(keep_idx) if restrict_idx is not None: keep_idx = keep_idx[np.in1d(keep_idx, restrict_idx)] show[keep_idx] = 1 label *= show def enable_depth_peeling(self): """Enable depth peeling.""" self._renderer.enable_depth_peeling() def _update(self): from ..backends import renderer if renderer.get_3d_backend() in ['pyvista', 'notebook']: if self.notebook and self._renderer.figure.display is not None: self._renderer.figure.display.update() else: self._renderer.plotter.update() def get_picked_points(self): """Return the vertices of the picked points. Returns ------- points : list of int | None The vertices picked by the time viewer. """ if hasattr(self, "time_viewer"): return self.picked_points def __hash__(self): """Hash the object.""" raise NotImplementedError def _safe_interp1d(x, y, kind='linear', axis=-1, assume_sorted=False): """Work around interp1d not liking singleton dimensions.""" from scipy.interpolate import interp1d if y.shape[axis] == 1: def func(x): return np.take(y, np.zeros(np.asarray(x).shape, int), axis=axis) return func else: return interp1d(x, y, kind, axis=axis, assume_sorted=assume_sorted) def _update_limits(fmin, fmid, fmax, center, array): if center is None: if fmin is None: fmin = array.min() if array.size > 0 else 0 if fmax is None: fmax = array.max() if array.size > 0 else 1 else: if fmin is None: fmin = 0 if fmax is None: fmax = np.abs(center - array).max() if array.size > 0 else 1 if fmid is None: fmid = (fmin + fmax) / 2. if fmin >= fmid: raise RuntimeError('min must be < mid, got %0.4g >= %0.4g' % (fmin, fmid)) if fmid >= fmax: raise RuntimeError('mid must be < max, got %0.4g >= %0.4g' % (fmid, fmax)) return fmin, fmid, fmax def _get_range(brain): val = np.abs(np.concatenate(list(brain._current_act_data.values()))) return [np.min(val), np.max(val)] class _FakeIren(): def EnterEvent(self): pass def MouseMoveEvent(self): pass def LeaveEvent(self): pass def SetEventInformation(self, *args, **kwargs): pass def CharEvent(self): pass def KeyPressEvent(self, *args, **kwargs): pass def KeyReleaseEvent(self, *args, **kwargs): pass
bsd-3-clause
ibab/tensorflow
tensorflow/contrib/learn/__init__.py
4
1832
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== # TODO(ptucker,ipolosukhin): Improve descriptions. """High level API for learning with TensorFlow. ## Estimators Train and evaluate TensorFlow models. @@BaseEstimator @@Estimator @@ModeKeys @@TensorFlowClassifier @@TensorFlowDNNClassifier @@TensorFlowDNNRegressor @@TensorFlowEstimator @@TensorFlowLinearClassifier @@TensorFlowLinearRegressor @@TensorFlowRNNClassifier @@TensorFlowRNNRegressor @@TensorFlowRegressor ## Graph actions Perform various training, evaluation, and inference actions on a graph. @@NanLossDuringTrainingError @@RunConfig @@evaluate @@infer @@run_feeds @@run_n @@train ## Input processing Queue and read batched input data. @@extract_dask_data @@extract_dask_labels @@extract_pandas_data @@extract_pandas_labels @@extract_pandas_matrix @@read_batch_examples @@read_batch_features @@read_batch_record_features """ from __future__ import absolute_import from __future__ import division from __future__ import print_function # pylint: disable=wildcard-import from tensorflow.contrib.learn.python.learn import * from tensorflow.python.util.all_util import make_all __all__ = make_all(__name__) __all__.append('datasets')
apache-2.0
jayflo/scikit-learn
examples/ensemble/plot_forest_importances.py
241
1761
""" ========================================= Feature importances with forests of trees ========================================= This examples shows the use of forests of trees to evaluate the importance of features on an artificial classification task. The red bars are the feature importances of the forest, along with their inter-trees variability. As expected, the plot suggests that 3 features are informative, while the remaining are not. """ print(__doc__) import numpy as np import matplotlib.pyplot as plt from sklearn.datasets import make_classification from sklearn.ensemble import ExtraTreesClassifier # Build a classification task using 3 informative features X, y = make_classification(n_samples=1000, n_features=10, n_informative=3, n_redundant=0, n_repeated=0, n_classes=2, random_state=0, shuffle=False) # Build a forest and compute the feature importances forest = ExtraTreesClassifier(n_estimators=250, random_state=0) forest.fit(X, y) importances = forest.feature_importances_ std = np.std([tree.feature_importances_ for tree in forest.estimators_], axis=0) indices = np.argsort(importances)[::-1] # Print the feature ranking print("Feature ranking:") for f in range(10): print("%d. feature %d (%f)" % (f + 1, indices[f], importances[indices[f]])) # Plot the feature importances of the forest plt.figure() plt.title("Feature importances") plt.bar(range(10), importances[indices], color="r", yerr=std[indices], align="center") plt.xticks(range(10), indices) plt.xlim([-1, 10]) plt.show()
bsd-3-clause
ishanic/scikit-learn
sklearn/mixture/tests/test_gmm.py
200
17427
import unittest import copy import sys from nose.tools import assert_true import numpy as np from numpy.testing import (assert_array_equal, assert_array_almost_equal, assert_raises) from scipy import stats from sklearn import mixture from sklearn.datasets.samples_generator import make_spd_matrix from sklearn.utils.testing import assert_greater from sklearn.utils.testing import assert_raise_message from sklearn.metrics.cluster import adjusted_rand_score from sklearn.externals.six.moves import cStringIO as StringIO rng = np.random.RandomState(0) def test_sample_gaussian(): # Test sample generation from mixture.sample_gaussian where covariance # is diagonal, spherical and full n_features, n_samples = 2, 300 axis = 1 mu = rng.randint(10) * rng.rand(n_features) cv = (rng.rand(n_features) + 1.0) ** 2 samples = mixture.sample_gaussian( mu, cv, covariance_type='diag', n_samples=n_samples) assert_true(np.allclose(samples.mean(axis), mu, atol=1.3)) assert_true(np.allclose(samples.var(axis), cv, atol=1.5)) # the same for spherical covariances cv = (rng.rand() + 1.0) ** 2 samples = mixture.sample_gaussian( mu, cv, covariance_type='spherical', n_samples=n_samples) assert_true(np.allclose(samples.mean(axis), mu, atol=1.5)) assert_true(np.allclose( samples.var(axis), np.repeat(cv, n_features), atol=1.5)) # and for full covariances A = rng.randn(n_features, n_features) cv = np.dot(A.T, A) + np.eye(n_features) samples = mixture.sample_gaussian( mu, cv, covariance_type='full', n_samples=n_samples) assert_true(np.allclose(samples.mean(axis), mu, atol=1.3)) assert_true(np.allclose(np.cov(samples), cv, atol=2.5)) # Numerical stability check: in SciPy 0.12.0 at least, eigh may return # tiny negative values in its second return value. from sklearn.mixture import sample_gaussian x = sample_gaussian([0, 0], [[4, 3], [1, .1]], covariance_type='full', random_state=42) print(x) assert_true(np.isfinite(x).all()) def _naive_lmvnpdf_diag(X, mu, cv): # slow and naive implementation of lmvnpdf ref = np.empty((len(X), len(mu))) stds = np.sqrt(cv) for i, (m, std) in enumerate(zip(mu, stds)): ref[:, i] = np.log(stats.norm.pdf(X, m, std)).sum(axis=1) return ref def test_lmvnpdf_diag(): # test a slow and naive implementation of lmvnpdf and # compare it to the vectorized version (mixture.lmvnpdf) to test # for correctness n_features, n_components, n_samples = 2, 3, 10 mu = rng.randint(10) * rng.rand(n_components, n_features) cv = (rng.rand(n_components, n_features) + 1.0) ** 2 X = rng.randint(10) * rng.rand(n_samples, n_features) ref = _naive_lmvnpdf_diag(X, mu, cv) lpr = mixture.log_multivariate_normal_density(X, mu, cv, 'diag') assert_array_almost_equal(lpr, ref) def test_lmvnpdf_spherical(): n_features, n_components, n_samples = 2, 3, 10 mu = rng.randint(10) * rng.rand(n_components, n_features) spherecv = rng.rand(n_components, 1) ** 2 + 1 X = rng.randint(10) * rng.rand(n_samples, n_features) cv = np.tile(spherecv, (n_features, 1)) reference = _naive_lmvnpdf_diag(X, mu, cv) lpr = mixture.log_multivariate_normal_density(X, mu, spherecv, 'spherical') assert_array_almost_equal(lpr, reference) def test_lmvnpdf_full(): n_features, n_components, n_samples = 2, 3, 10 mu = rng.randint(10) * rng.rand(n_components, n_features) cv = (rng.rand(n_components, n_features) + 1.0) ** 2 X = rng.randint(10) * rng.rand(n_samples, n_features) fullcv = np.array([np.diag(x) for x in cv]) reference = _naive_lmvnpdf_diag(X, mu, cv) lpr = mixture.log_multivariate_normal_density(X, mu, fullcv, 'full') assert_array_almost_equal(lpr, reference) def test_lvmpdf_full_cv_non_positive_definite(): n_features, n_samples = 2, 10 rng = np.random.RandomState(0) X = rng.randint(10) * rng.rand(n_samples, n_features) mu = np.mean(X, 0) cv = np.array([[[-1, 0], [0, 1]]]) expected_message = "'covars' must be symmetric, positive-definite" assert_raise_message(ValueError, expected_message, mixture.log_multivariate_normal_density, X, mu, cv, 'full') def test_GMM_attributes(): n_components, n_features = 10, 4 covariance_type = 'diag' g = mixture.GMM(n_components, covariance_type, random_state=rng) weights = rng.rand(n_components) weights = weights / weights.sum() means = rng.randint(-20, 20, (n_components, n_features)) assert_true(g.n_components == n_components) assert_true(g.covariance_type == covariance_type) g.weights_ = weights assert_array_almost_equal(g.weights_, weights) g.means_ = means assert_array_almost_equal(g.means_, means) covars = (0.1 + 2 * rng.rand(n_components, n_features)) ** 2 g.covars_ = covars assert_array_almost_equal(g.covars_, covars) assert_raises(ValueError, g._set_covars, []) assert_raises(ValueError, g._set_covars, np.zeros((n_components - 2, n_features))) assert_raises(ValueError, mixture.GMM, n_components=20, covariance_type='badcovariance_type') class GMMTester(): do_test_eval = True def _setUp(self): self.n_components = 10 self.n_features = 4 self.weights = rng.rand(self.n_components) self.weights = self.weights / self.weights.sum() self.means = rng.randint(-20, 20, (self.n_components, self.n_features)) self.threshold = -0.5 self.I = np.eye(self.n_features) self.covars = { 'spherical': (0.1 + 2 * rng.rand(self.n_components, self.n_features)) ** 2, 'tied': (make_spd_matrix(self.n_features, random_state=0) + 5 * self.I), 'diag': (0.1 + 2 * rng.rand(self.n_components, self.n_features)) ** 2, 'full': np.array([make_spd_matrix(self.n_features, random_state=0) + 5 * self.I for x in range(self.n_components)])} def test_eval(self): if not self.do_test_eval: return # DPGMM does not support setting the means and # covariances before fitting There is no way of fixing this # due to the variational parameters being more expressive than # covariance matrices g = self.model(n_components=self.n_components, covariance_type=self.covariance_type, random_state=rng) # Make sure the means are far apart so responsibilities.argmax() # picks the actual component used to generate the observations. g.means_ = 20 * self.means g.covars_ = self.covars[self.covariance_type] g.weights_ = self.weights gaussidx = np.repeat(np.arange(self.n_components), 5) n_samples = len(gaussidx) X = rng.randn(n_samples, self.n_features) + g.means_[gaussidx] ll, responsibilities = g.score_samples(X) self.assertEqual(len(ll), n_samples) self.assertEqual(responsibilities.shape, (n_samples, self.n_components)) assert_array_almost_equal(responsibilities.sum(axis=1), np.ones(n_samples)) assert_array_equal(responsibilities.argmax(axis=1), gaussidx) def test_sample(self, n=100): g = self.model(n_components=self.n_components, covariance_type=self.covariance_type, random_state=rng) # Make sure the means are far apart so responsibilities.argmax() # picks the actual component used to generate the observations. g.means_ = 20 * self.means g.covars_ = np.maximum(self.covars[self.covariance_type], 0.1) g.weights_ = self.weights samples = g.sample(n) self.assertEqual(samples.shape, (n, self.n_features)) def test_train(self, params='wmc'): g = mixture.GMM(n_components=self.n_components, covariance_type=self.covariance_type) g.weights_ = self.weights g.means_ = self.means g.covars_ = 20 * self.covars[self.covariance_type] # Create a training set by sampling from the predefined distribution. X = g.sample(n_samples=100) g = self.model(n_components=self.n_components, covariance_type=self.covariance_type, random_state=rng, min_covar=1e-1, n_iter=1, init_params=params) g.fit(X) # Do one training iteration at a time so we can keep track of # the log likelihood to make sure that it increases after each # iteration. trainll = [] for _ in range(5): g.params = params g.init_params = '' g.fit(X) trainll.append(self.score(g, X)) g.n_iter = 10 g.init_params = '' g.params = params g.fit(X) # finish fitting # Note that the log likelihood will sometimes decrease by a # very small amount after it has more or less converged due to # the addition of min_covar to the covariance (to prevent # underflow). This is why the threshold is set to -0.5 # instead of 0. delta_min = np.diff(trainll).min() self.assertTrue( delta_min > self.threshold, "The min nll increase is %f which is lower than the admissible" " threshold of %f, for model %s. The likelihoods are %s." % (delta_min, self.threshold, self.covariance_type, trainll)) def test_train_degenerate(self, params='wmc'): # Train on degenerate data with 0 in some dimensions # Create a training set by sampling from the predefined distribution. X = rng.randn(100, self.n_features) X.T[1:] = 0 g = self.model(n_components=2, covariance_type=self.covariance_type, random_state=rng, min_covar=1e-3, n_iter=5, init_params=params) g.fit(X) trainll = g.score(X) self.assertTrue(np.sum(np.abs(trainll / 100 / X.shape[1])) < 5) def test_train_1d(self, params='wmc'): # Train on 1-D data # Create a training set by sampling from the predefined distribution. X = rng.randn(100, 1) # X.T[1:] = 0 g = self.model(n_components=2, covariance_type=self.covariance_type, random_state=rng, min_covar=1e-7, n_iter=5, init_params=params) g.fit(X) trainll = g.score(X) if isinstance(g, mixture.DPGMM): self.assertTrue(np.sum(np.abs(trainll / 100)) < 5) else: self.assertTrue(np.sum(np.abs(trainll / 100)) < 2) def score(self, g, X): return g.score(X).sum() class TestGMMWithSphericalCovars(unittest.TestCase, GMMTester): covariance_type = 'spherical' model = mixture.GMM setUp = GMMTester._setUp class TestGMMWithDiagonalCovars(unittest.TestCase, GMMTester): covariance_type = 'diag' model = mixture.GMM setUp = GMMTester._setUp class TestGMMWithTiedCovars(unittest.TestCase, GMMTester): covariance_type = 'tied' model = mixture.GMM setUp = GMMTester._setUp class TestGMMWithFullCovars(unittest.TestCase, GMMTester): covariance_type = 'full' model = mixture.GMM setUp = GMMTester._setUp def test_multiple_init(): # Test that multiple inits does not much worse than a single one X = rng.randn(30, 5) X[:10] += 2 g = mixture.GMM(n_components=2, covariance_type='spherical', random_state=rng, min_covar=1e-7, n_iter=5) train1 = g.fit(X).score(X).sum() g.n_init = 5 train2 = g.fit(X).score(X).sum() assert_true(train2 >= train1 - 1.e-2) def test_n_parameters(): # Test that the right number of parameters is estimated n_samples, n_dim, n_components = 7, 5, 2 X = rng.randn(n_samples, n_dim) n_params = {'spherical': 13, 'diag': 21, 'tied': 26, 'full': 41} for cv_type in ['full', 'tied', 'diag', 'spherical']: g = mixture.GMM(n_components=n_components, covariance_type=cv_type, random_state=rng, min_covar=1e-7, n_iter=1) g.fit(X) assert_true(g._n_parameters() == n_params[cv_type]) def test_1d_1component(): # Test all of the covariance_types return the same BIC score for # 1-dimensional, 1 component fits. n_samples, n_dim, n_components = 100, 1, 1 X = rng.randn(n_samples, n_dim) g_full = mixture.GMM(n_components=n_components, covariance_type='full', random_state=rng, min_covar=1e-7, n_iter=1) g_full.fit(X) g_full_bic = g_full.bic(X) for cv_type in ['tied', 'diag', 'spherical']: g = mixture.GMM(n_components=n_components, covariance_type=cv_type, random_state=rng, min_covar=1e-7, n_iter=1) g.fit(X) assert_array_almost_equal(g.bic(X), g_full_bic) def assert_fit_predict_correct(model, X): model2 = copy.deepcopy(model) predictions_1 = model.fit(X).predict(X) predictions_2 = model2.fit_predict(X) assert adjusted_rand_score(predictions_1, predictions_2) == 1.0 def test_fit_predict(): """ test that gmm.fit_predict is equivalent to gmm.fit + gmm.predict """ lrng = np.random.RandomState(101) n_samples, n_dim, n_comps = 100, 2, 2 mu = np.array([[8, 8]]) component_0 = lrng.randn(n_samples, n_dim) component_1 = lrng.randn(n_samples, n_dim) + mu X = np.vstack((component_0, component_1)) for m_constructor in (mixture.GMM, mixture.VBGMM, mixture.DPGMM): model = m_constructor(n_components=n_comps, covariance_type='full', min_covar=1e-7, n_iter=5, random_state=np.random.RandomState(0)) assert_fit_predict_correct(model, X) model = mixture.GMM(n_components=n_comps, n_iter=0) z = model.fit_predict(X) assert np.all(z == 0), "Quick Initialization Failed!" def test_aic(): # Test the aic and bic criteria n_samples, n_dim, n_components = 50, 3, 2 X = rng.randn(n_samples, n_dim) SGH = 0.5 * (X.var() + np.log(2 * np.pi)) # standard gaussian entropy for cv_type in ['full', 'tied', 'diag', 'spherical']: g = mixture.GMM(n_components=n_components, covariance_type=cv_type, random_state=rng, min_covar=1e-7) g.fit(X) aic = 2 * n_samples * SGH * n_dim + 2 * g._n_parameters() bic = (2 * n_samples * SGH * n_dim + np.log(n_samples) * g._n_parameters()) bound = n_dim * 3. / np.sqrt(n_samples) assert_true(np.abs(g.aic(X) - aic) / n_samples < bound) assert_true(np.abs(g.bic(X) - bic) / n_samples < bound) def check_positive_definite_covars(covariance_type): r"""Test that covariance matrices do not become non positive definite Due to the accumulation of round-off errors, the computation of the covariance matrices during the learning phase could lead to non-positive definite covariance matrices. Namely the use of the formula: .. math:: C = (\sum_i w_i x_i x_i^T) - \mu \mu^T instead of: .. math:: C = \sum_i w_i (x_i - \mu)(x_i - \mu)^T while mathematically equivalent, was observed a ``LinAlgError`` exception, when computing a ``GMM`` with full covariance matrices and fixed mean. This function ensures that some later optimization will not introduce the problem again. """ rng = np.random.RandomState(1) # we build a dataset with 2 2d component. The components are unbalanced # (respective weights 0.9 and 0.1) X = rng.randn(100, 2) X[-10:] += (3, 3) # Shift the 10 last points gmm = mixture.GMM(2, params="wc", covariance_type=covariance_type, min_covar=1e-3) # This is a non-regression test for issue #2640. The following call used # to trigger: # numpy.linalg.linalg.LinAlgError: 2-th leading minor not positive definite gmm.fit(X) if covariance_type == "diag" or covariance_type == "spherical": assert_greater(gmm.covars_.min(), 0) else: if covariance_type == "tied": covs = [gmm.covars_] else: covs = gmm.covars_ for c in covs: assert_greater(np.linalg.det(c), 0) def test_positive_definite_covars(): # Check positive definiteness for all covariance types for covariance_type in ["full", "tied", "diag", "spherical"]: yield check_positive_definite_covars, covariance_type def test_verbose_first_level(): # Create sample data X = rng.randn(30, 5) X[:10] += 2 g = mixture.GMM(n_components=2, n_init=2, verbose=1) old_stdout = sys.stdout sys.stdout = StringIO() try: g.fit(X) finally: sys.stdout = old_stdout def test_verbose_second_level(): # Create sample data X = rng.randn(30, 5) X[:10] += 2 g = mixture.GMM(n_components=2, n_init=2, verbose=2) old_stdout = sys.stdout sys.stdout = StringIO() try: g.fit(X) finally: sys.stdout = old_stdout
bsd-3-clause
Windy-Ground/scikit-learn
examples/cluster/plot_segmentation_toy.py
258
3336
""" =========================================== Spectral clustering for image segmentation =========================================== In this example, an image with connected circles is generated and spectral clustering is used to separate the circles. In these settings, the :ref:`spectral_clustering` approach solves the problem know as 'normalized graph cuts': the image is seen as a graph of connected voxels, and the spectral clustering algorithm amounts to choosing graph cuts defining regions while minimizing the ratio of the gradient along the cut, and the volume of the region. As the algorithm tries to balance the volume (ie balance the region sizes), if we take circles with different sizes, the segmentation fails. In addition, as there is no useful information in the intensity of the image, or its gradient, we choose to perform the spectral clustering on a graph that is only weakly informed by the gradient. This is close to performing a Voronoi partition of the graph. In addition, we use the mask of the objects to restrict the graph to the outline of the objects. In this example, we are interested in separating the objects one from the other, and not from the background. """ print(__doc__) # Authors: Emmanuelle Gouillart <emmanuelle.gouillart@normalesup.org> # Gael Varoquaux <gael.varoquaux@normalesup.org> # License: BSD 3 clause import numpy as np import matplotlib.pyplot as plt from sklearn.feature_extraction import image from sklearn.cluster import spectral_clustering ############################################################################### l = 100 x, y = np.indices((l, l)) center1 = (28, 24) center2 = (40, 50) center3 = (67, 58) center4 = (24, 70) radius1, radius2, radius3, radius4 = 16, 14, 15, 14 circle1 = (x - center1[0]) ** 2 + (y - center1[1]) ** 2 < radius1 ** 2 circle2 = (x - center2[0]) ** 2 + (y - center2[1]) ** 2 < radius2 ** 2 circle3 = (x - center3[0]) ** 2 + (y - center3[1]) ** 2 < radius3 ** 2 circle4 = (x - center4[0]) ** 2 + (y - center4[1]) ** 2 < radius4 ** 2 ############################################################################### # 4 circles img = circle1 + circle2 + circle3 + circle4 mask = img.astype(bool) img = img.astype(float) img += 1 + 0.2 * np.random.randn(*img.shape) # Convert the image into a graph with the value of the gradient on the # edges. graph = image.img_to_graph(img, mask=mask) # Take a decreasing function of the gradient: we take it weakly # dependent from the gradient the segmentation is close to a voronoi graph.data = np.exp(-graph.data / graph.data.std()) # Force the solver to be arpack, since amg is numerically # unstable on this example labels = spectral_clustering(graph, n_clusters=4, eigen_solver='arpack') label_im = -np.ones(mask.shape) label_im[mask] = labels plt.matshow(img) plt.matshow(label_im) ############################################################################### # 2 circles img = circle1 + circle2 mask = img.astype(bool) img = img.astype(float) img += 1 + 0.2 * np.random.randn(*img.shape) graph = image.img_to_graph(img, mask=mask) graph.data = np.exp(-graph.data / graph.data.std()) labels = spectral_clustering(graph, n_clusters=2, eigen_solver='arpack') label_im = -np.ones(mask.shape) label_im[mask] = labels plt.matshow(img) plt.matshow(label_im) plt.show()
bsd-3-clause
imbforge/NGSpipe2go
tools/piRNA/piRNABaseTerminalBases.py
1
10850
#!/usr/bin/env python # encoding: utf-8 usage = ''' Takes alignments, corresponding to piRNAs, and counts how often each nucleotide occurs in the boundaries (5' and 3') of the sequence. By default the it counts nucleotide frequency at positions -20 to +20. It also outputs results for sense and antisense piRNAs to a provided list of genomic features. A plot in pdf and png format is generated along with the files containing the counts. Author: António Domingues amjdomingues [at] gmail.com ''' import pybedtools from pybedtools import BedTool from pybedtools.featurefuncs import three_prime, five_prime, greater_than import csv import os import sys import argparse import pandas as pd import pysam def getArgs(): """Parse sys.argv""" parser = argparse.ArgumentParser( description=usage, formatter_class=argparse.RawDescriptionHelpFormatter ) parser.add_argument( '-f', '--fasta', required=True, type=str, help='Path to fasta to retrieve sequences.' ) parser.add_argument( '-b', '--bam', required=True, type=str, help='Path to alignments (bam) to look for motif.' ) parser.add_argument( '-i', '--intervals', required=True, type=str, help='Path to genomic intervals (bed), usually containing the genomic locations of repeat elements. This will be used to determine sense or antisense of read mapping' ) parser.add_argument( '-u', '--upstream', required=False, type=int, default=20, help='Number of nucleotides upstream of the read (genomic sequence). Default is 20' ) parser.add_argument( '-d', '--downstream', required=False, type=int, default=20, help='Number of nucleotides downstream of the read (piRNA sequence). Default is 20' ) parser.add_argument( '-g', '--genome', required=False, type=str, help='The genome to retrieve chromosome lengths, e.g., hg19, mm10, danRer7...' ) parser.add_argument( '-o', '--outFolder', required=False, type=str, default="./", help='Folder to put the results. Default: current folder (./)' ) args = parser.parse_args() return args def timeStamp(): ''' Returns current system time in the format "YYYY-MM-DD HH:MM:SS" Source: http://stackoverflow.com/a/13891070/1274242 ''' import time import datetime ts = time.time() st = datetime.datetime.fromtimestamp(ts).strftime('%Y-%m-%d %H:%M:%S') return(st) def createAndChangeDir(dir_name): ''' Creates a directory from a string (dir_name) and changes to that directory. ''' try: os.makedirs(dir_name) except OSError: if not os.path.isdir(dir_name): raise os.chdir(dir_name) def get_chrom_lengths(path_to_bam): ''' Uses pysam to retrieve chromosome sizes form bam. Useful helper to use with some pybedtools functions (e.g. coverage), when a bam was mapped with custom genome not available in UCSC. Input: path to bam file (should be indexed) Output: dictionary. Example output: {'chr4': (0, 1351857), 'chr3L': (0, 24543557), 'chr2L': (0, 23011544), '*': (0, 0), 'chrX': (0, 22422827), 'chr2R': (0, 21146708), 'chr3R': (0, 27905053)} ''' idx = pysam.idxstats(path_to_bam).splitlines() chromsizes = {} for element in idx: stats = element.split("\t") chromsizes[stats[0]] = (0, int(stats[1])) return chromsizes def countNucleotidePerPosition(sequences): ''' Takes a list of strings and determines the nucleotide occurrence per position. Returns a panda DataFrame where each column is a nucleotide and each row a position. source: http://stackoverflow.com/a/21103385/1274242 ''' print 'Counting nucleotides ' + timeStamp() df = pd.DataFrame([list(s) for s in sequences]) counts = df.apply(pd.value_counts).transpose() return(counts) def parseSequence(entries): ''' Extracts the nucleotide sequence from the poorly formated output of BedTool.sequence. Input example: >chrDESTTol2CG2:2717-2727\nCAAAATCCAC\n>chrDESTTol2CG2:3713-3723\nGTCGATGCCC\n ''' seqs = [] for entry in entries.split('\n'): entry = entry.strip('\n').strip(' ') if '>' in entry: pass else: seqs.append(entry.upper()) seqs = filter(None, seqs) return seqs def getSequences(coordinates, fasta): ''' Retrieves the sequence corresponding to a coordinate. Input: BedTools object Output: >chrDESTTol2CG2:2717-2727\nCAAAATCCAC\n>chrDESTTol2CG2:3713-3723\nGTCGATGCCC\n ''' sequence = coordinates.sequence(fi=fasta, s=True) return open(sequence.seqfn).read() def getSequencesFrom5prime(coordinates, fasta, upstream, downstream, chromsizes): ''' Retrieves the sequences limiting the 5' end of a genomic location. Input: BedTools object Output: a list of strings with defined size surrounding a genomic location ''' print 'Fetching 5\' sequences ' + timeStamp() seq_len = upstream + downstream - 1 start = coordinates.each(five_prime, upstream=upstream, downstream=downstream, genome=chromsizes).filter(greater_than, seq_len).saveas() clean_seq = parseSequence(getSequences(start, fasta)) return clean_seq def getSequencesFrom3prime(coordinates, fasta, upstream, downstream, chromsizes): ''' Retrieves the sequences limiting the 3' end of a genomic location. Input: BedTools object Output: a list of strings with defined size surrounding a genomic location ''' print 'Fetching 3\' sequences ' + timeStamp() seq_len = upstream + downstream - 1 start = coordinates.each(three_prime, upstream=upstream, downstream=downstream, genome=chromsizes).filter(greater_than, seq_len).saveas() clean_seq = parseSequence(getSequences(start, fasta)) return clean_seq def convertSGVImages(image, res=300): ''' Convert an svg image into a high-resolution png Input: path to image ''' image_out = image.replace('.svg', '.png') command = 'convert -density ' + str(res) + ' ' + image + ' ' + image_out print 'converting logo to PNG: ' + timeStamp() os.system(command) def createMotif(sequences, fname): ''' Creates and saves a motif (logo) from a list of input sequences. Input: list of strings with the sequences; file path to save the logo. Output: an image file with the logo. ''' print 'Generating motif ' + timeStamp() try: os.makedirs('figure') except OSError: if not os.path.isdir('figure'): raise from Bio.Seq import Seq from Bio import motifs from Bio.Alphabet import IUPAC import urllib2 # m = motif.motif(alphabet=IUPAC.unambiguous_dna) # initialize motif instances = [] for sequence in sequences: if len(sequence) < 40: print sequence instances.append(Seq(sequence, alphabet=IUPAC.ambiguous_dna)) m = motifs.create(instances) flogo = 'figure/' + fname while True: # source: http://stackoverflow.com/a/9986206/1274242 try: m.weblogo(flogo, format='SVG') break except urllib2.HTTPError, detail: if detail.errno == 500: time.sleep(5) continue else: raise convertSGVImages(flogo) def intersectBamWithBed(inbam, inbed): ''' Intersects reads with genomic features, Transposable elements, and returns separately reads that map sense and antisense to the features. Input: paths to bam and bed file Output: list of tuples with a name (str) and the reads for sense and antisense piRNAs (bedTool) ''' # convert bam to bed print 'Separating sense and antisense piRNAs ' + timeStamp() piRNA = BedTool(inbam).bam_to_bed() ## create bedtool for genomic features bed = BedTool(inbed) # outname = inbam.replace('.bam', '') # outsense = outname + "sense.bed" # outantisense = outname + "antisense.bed" antisense = piRNA.intersect(bed, S=True) sense = piRNA.intersect(bed, s=True) piRNAs = [ ('sense', sense), ('antisense', antisense)] return piRNAs if __name__ == '__main__': args = getArgs() print args fasta = BedTool(args.fasta) inbam = args.bam inbed = args.intervals up = args.upstream down = args.downstream out_folder = args.outFolder if args.genome is not None and not "none": chromsizes = pybedtools.chromsizes(args.genome) else: print 'Retrieving custom chromosome lengths ' + timeStamp() chromsizes = get_chrom_lengths(inbam) exp_name = os.path.split(inbam)[1].split(".")[0] + os.path.split(inbed)[1].split(".")[0] exp_folder = out_folder + '/' + exp_name createAndChangeDir(out_folder) print 'Starting analysis for ' + inbam + ' ' + timeStamp() strand_piRNAs = intersectBamWithBed(inbam, inbed) for direction in strand_piRNAs: print 'piRNAs in ' + direction[0] + ' ' + timeStamp() print 'Fetching 5\' sequences ' + timeStamp() five_out = direction[0] + '.5prime.count.csv' five = getSequencesFrom5prime(direction[1], fasta, upstream=up, downstream=down, chromsizes=chromsizes) print 'Fetching 3\' sequences ' + timeStamp() three_out = direction[0] + '.3prime.count.csv' three = getSequencesFrom3prime(direction[1], fasta, upstream=up, downstream=down, chromsizes=chromsizes) # print 'Counting in parallel ' + timeStamp() # pool = multiprocessing.Pool(processes=2) # five_count, three_count = pool.map(countNucleotidePerPosition, # (five, three)) # pool.close() # pool.join() five_count = countNucleotidePerPosition(five) index = list(range(-up, 0) + range(1, down+1)) five_count['Position'] = index five_count.to_csv(five_out, index=False) three_count = countNucleotidePerPosition(three) # reversed_index = [i * -1 for i in list(reversed(range(-up, 0) + range(1, down+1)))] three_count['Position'] = list(reversed(index)) three_count.to_csv(three_out, index=False) ## create motifs: m_out_five = direction[0] + '.5prime.logo.svg' createMotif(five, m_out_five) m_out_three = direction[0] + '.3prime.logo.svg' createMotif(three, m_out_three) print 'Plotting results ' + timeStamp() script_dirname = os.path.dirname(os.path.realpath(sys.argv[0])) plot_script_path = script_dirname + '/piRNABaseTerminalBasesPlot.R' os.system("Rscript " + plot_script_path)
gpl-3.0
chris-ch/omarket
python-lab/backtest.py
1
15929
import argparse import csv import logging import math import os from datetime import date import numpy import pandas from statsmodels.formula.api import OLS from matplotlib import pyplot from btplatform import PositionAdjuster, process_strategy, BacktestHistory from meanrevert import MeanReversionStrategy, PortfolioDataCollector, StrategyDataCollector, \ MeanReversionStrategyRunner from pricetools import load_prices def backtest_strategy(start_date, end_date, strategy_runner, symbols, prices_path): securities = ['PCX/' + symbol for symbol in symbols] prices_by_security = dict() close_prices = pandas.DataFrame() max_start_date = start_date min_end_date = end_date for security in securities: exchange, security_code = security.split('/') prices_df = load_prices(prices_path, exchange, security_code) prices_by_security[security] = prices_df if max_start_date is not None: max_start_date = max(max_start_date, prices_df.index.min()) else: max_start_date = prices_df.index.min() if min_end_date is not None: min_end_date = min(min_end_date, prices_df.index.max()) else: min_end_date = prices_df.index.max() close_prices[security] = prices_df['close adj'] close_prices.reset_index(inplace=True) logging.info('considering date range: %s through %s' % (max_start_date, min_end_date)) for security in securities: truncate_start_date = prices_by_security[security].index >= max_start_date truncate_end_date = prices_by_security[security].index <= min_end_date prices_by_security[security] = prices_by_security[security][truncate_start_date & truncate_end_date] data_collector = StrategyDataCollector(strategy_runner.get_strategy_name()) process_strategy(securities, strategy_runner, data_collector, prices_by_security) return data_collector def backtest_portfolio(portfolios, starting_equity, start_date, end_date, prices_path, step_size, max_net_position, max_gross_position, max_risk_scale, warmup_period): data_collector = PortfolioDataCollector() for lookback_period, portfolio, strategy_name in portfolios: securities = portfolio.split('/') strategy = MeanReversionStrategy(securities, int(lookback_period), name=strategy_name) position_adjuster = PositionAdjuster(securities, strategy.get_strategy_name(), max_net_position, max_gross_position, max_risk_scale, starting_equity, step_size) strategy_runner = MeanReversionStrategyRunner(securities, strategy, warmup_period, position_adjuster) data_collection = backtest_strategy(start_date, end_date, strategy_runner, securities, prices_path) data_collector.add_equity(starting_equity) target_quantities = data_collection.get_target_quantities(strategy.get_strategy_name()) fills = position_adjuster.get_fills() data_collector.add_strategy_data(securities, target_quantities, fills) return data_collector def chart_backtest(start_date, end_date, securities, prices_path, lookback_period, step_size, start_equity, max_net_position, max_gross_position, max_risk_scale, warmup_period): pyplot.style.use('ggplot') strategy = MeanReversionStrategy(securities, int(lookback_period)) position_adjuster = PositionAdjuster(securities, strategy.get_strategy_name(), max_net_position, max_gross_position, max_risk_scale, start_equity, step_size) strategy_runner = MeanReversionStrategyRunner(securities, strategy, warmup_period, position_adjuster) data_collection = backtest_strategy(start_date, end_date, strategy_runner, securities, prices_path) backtest_history = BacktestHistory(position_adjuster.get_fills(), start_equity) logging.info('fit quality: %s', fit_quality(backtest_history.get_equity() - start_equity)) backtest_history.get_equity().plot(linewidth=2.) backtest_history.get_gross_net_position().plot(linewidth=2.) pyplot.gca().get_yaxis().get_major_formatter().set_useOffset(False) data_collection.get_factors(','.join(securities)).plot(linewidth=2., subplots=True) styles = {'level_inf': 'm--', 'level_sup': 'b--', 'signal': 'k-'} data_collection.get_bollinger(','.join(securities)).plot(linewidth=2., subplots=False, style=styles) pyplot.show() def fit_quality(df): regr_df = df.reset_index() day_nanos = 24 * 60 * 60 * 1E9 nanos = regr_df['date'] - regr_df['date'].min() df2 = pandas.DataFrame(data=[nanos.astype(int) / day_nanos, regr_df['equity']]).transpose() ols2 = OLS(df2['equity'], df2['date']) result = ols2.fit() return {'p-value F-test': result.f_pvalue, 'r-squared': result.rsquared, 'p-value x': result.pvalues[0]} def create_summary(strategy_name, backtest_history, closed_trades): mean_trade = closed_trades['pnl'].mean() worst_trade = closed_trades['pnl'].min() count_trades = closed_trades['pnl'].count() max_drawdown = backtest_history.get_drawdown().max()['equity'] final_equity = backtest_history.get_equity()['equity'][-1] summary = { 'strategy': strategy_name, 'sharpe_ratio': backtest_history.get_sharpe_ratio(), 'average_trade': mean_trade, 'worst_trade': worst_trade, 'count_trades': count_trades, 'max_drawdown_pct': max_drawdown, 'final_equity': final_equity } return summary def load_portfolios(portfolios_filename): portfolios = list() with open(portfolios_filename) as csv_file: reader = csv.reader(csv_file) for row in reader: if len(row) == 0: continue if row[0].startswith('#'): continue portfolios.append(row) logging.info('loaded portfolios: %s' % str(portfolios)) return portfolios def main(args): # TODO arg line warmup_period = 10 prices_path = args.prices_path start_date = date(int(args.start_yyyymmdd[:4]), int(args.start_yyyymmdd[4:6]), int(args.start_yyyymmdd[6:8])) end_date = date(int(args.end_yyyymmdd[:4]), int(args.end_yyyymmdd[4:6]), int(args.end_yyyymmdd[6:8])) if args.display_single is not None: securities = args.display_single.split('/') chart_backtest(start_date, end_date, securities, prices_path, lookback_period=args.lookback_period, step_size=args.step_size, start_equity=args.starting_equity, max_net_position=args.max_net_position, max_gross_position=args.max_gross_position, max_risk_scale=args.max_risk_scale, warmup_period=warmup_period) elif args.portfolio is not None: portfolios = load_portfolios(args.portfolio) step_size = args.step_size starting_equity = args.starting_equity max_net_position = args.max_net_position max_gross_position = args.max_gross_position max_risk_scale = args.max_risk_scale data_collector = backtest_portfolio(portfolios, starting_equity, start_date, end_date, prices_path, step_size, max_net_position, max_gross_position, max_risk_scale, warmup_period) backtest_history = BacktestHistory(data_collector.fills_df, data_collector.starting_equity) backtest_history.trades_pnl.to_pickle(os.sep.join([args.trades_pnl_path, 'trades_pnl.pkl'])) trades = backtest_history.get_trades() holdings = backtest_history.get_holdings() equity = backtest_history.get_equity() target_df = data_collector.new_targets positions = holdings[['date', 'security', 'total_qty']].groupby(['date', 'security']).sum().unstack().ffill() latest_holdings = holdings.pivot_table(index='date', columns='security', values='total_qty', aggfunc=numpy.sum).tail(1).transpose() latest_holdings.columns = ['quantity'] starting_equity = equity.iloc[0] ending_equity = equity.iloc[-1] days_interval = equity.index[-1] - equity.index[0] sharpe_ratio = math.sqrt(250) * equity.pct_change().mean() / equity.pct_change().std() logging.info('sharpe ratio: %.2f', sharpe_ratio) annualized_return = 100 * (numpy.power(ending_equity / starting_equity, 365 / days_interval.days) - 1) logging.info('annualized return: %.2f percent' % annualized_return) logging.info('trades:\n%s', trades.tail(10).transpose()) logging.info('positions:\n%s', positions.tail(10).transpose()) logging.info('new target quantities:\n%s' % (target_df)) target_trades = (target_df - latest_holdings.transpose()).transpose().dropna() logging.info('future trades:\n%s' % target_trades.round()) elif args.display_portfolio is not None: portfolios = load_portfolios(args.display_portfolio) pyplot.style.use('ggplot') trades_pnl_path = os.sep.join([args.trades_pnl_path, 'trades_pnl.pkl']) logging.info('loading data from path: %s', os.path.abspath(trades_pnl_path)) trades_pnl_df = pandas.read_pickle(trades_pnl_path) backtest_history = BacktestHistory(trades_pnl_df) backtest_history.set_start_equity(len(portfolios) * args.starting_equity) pnl_data = backtest_history.trades_pnl[['strategy', 'date', 'realized_pnl', 'unrealized_pnl']] by_strategy_date = pnl_data.groupby(by=['strategy', 'date']) by_strategy_date.sum().apply(sum, axis=1).unstack().transpose().plot(linewidth=2., subplots=True, layout=(-1, 2)) holdings = backtest_history.get_holdings() equity = backtest_history.get_equity() benchmark = load_prices(prices_path, 'PCX', 'SPY') equity_df = benchmark[['close adj']].join(equity).dropna() equity_df.columns = ['benchmark', 'equity'] equity_df['benchmark'] = (equity_df['benchmark'].pct_change() + 1.).cumprod() * equity_df.head(1)[ 'equity'].min() equity_df.plot(linewidth=2.) logging.info('fit quality: %s', fit_quality(equity - args.starting_equity)) by_security_pos = holdings.pivot_table(index='date', columns='security', values='market_value', aggfunc=numpy.sum) by_security_pos.plot(linewidth=2.) positions_aggregated_net = holdings.groupby('date')['market_value'].sum() positions_aggregated_gross = holdings.groupby('date')['market_value'].agg(lambda x: numpy.abs(x).sum()) positions_net_gross = numpy.array([positions_aggregated_net, positions_aggregated_gross]).transpose() positions_aggregated = pandas.DataFrame(index=positions_aggregated_net.index, data=positions_net_gross, columns=['net', 'gross']) positions_aggregated = positions_aggregated.join(equity * 3.0) positions_aggregated.rename(columns={'equity': 'margin_warning'}, inplace=True) positions_aggregated = positions_aggregated.join(equity * 4.0) positions_aggregated.rename(columns={'equity': 'margin_violation'}, inplace=True) positions_aggregated.plot(linewidth=2., subplots=False) pyplot.show() elif args.batch is not None: # backtest batch portfolios_path = args.batch logging.info('processing batch: %s', os.path.abspath(portfolios_path)) with open(portfolios_path) as portfolios_file: portfolios = [line.strip().split(',') for line in portfolios_file.readlines()] results = list() for symbols in portfolios: strategy = MeanReversionStrategy(symbols, int(args.lookback_period)) position_adjuster = PositionAdjuster(symbols, strategy.get_strategy_name(), args.max_net_position, args.max_gross_position, args.max_risk_scale, args.starting_equity, args.step_size) strategy_runner = MeanReversionStrategyRunner(symbols, strategy, warmup_period, position_adjuster) backtest_strategy(start_date, end_date, strategy_runner, symbols, prices_path) backtest_history = BacktestHistory(position_adjuster.get_fills(), args.starting_equity) backtest_data = fit_quality(backtest_history.get_equity() - args.starting_equity) closed_trades = position_adjuster.get_strategy_trades(closed_only=True) backtest_data.update(create_summary(strategy.get_strategy_name(), backtest_history, closed_trades)) results.append(backtest_data) result_df = pandas.DataFrame(results).set_index('strategy') result_df.to_csv('backtest-results.csv') print(result_df) if __name__ == "__main__": logging.basicConfig(level=logging.INFO, format='%(asctime)s:%(name)s:%(levelname)s:%(message)s') file_handler = logging.FileHandler('backtest.log', mode='w') formatter = logging.Formatter('%(asctime)s:%(name)s:%(levelname)s:%(message)s') file_handler.setFormatter(formatter) logging.getLogger().addHandler(file_handler) logging.info('starting script') parser = argparse.ArgumentParser(description='Backtesting prototype.', formatter_class=argparse.ArgumentDefaultsHelpFormatter ) parser.add_argument('--start-yyyymmdd', type=str, help='backtest start date', default='20130101') parser.add_argument('--end-yyyymmdd', type=str, help='backtest end date', default=date.today().strftime('%Y%m%d')) parser.add_argument('--display-single', type=str, help='display strategy composed of comma-separated securities') parser.add_argument('--display-portfolio', type=str, help='display aggregated portfolio from specified file') parser.add_argument('--portfolio', type=str, help='display aggregated portfolio from specified file') parser.add_argument('--batch', type=str, help='processes strategies in batch mode') parser.add_argument('--lookback-period', type=int, help='lookback period', default=200) parser.add_argument('--step-size', type=int, help='deviation unit measured in number of standard deviations', default=2) parser.add_argument('--starting-equity', type=float, help='amount of equity allocated to each strategy (for one risk step)', default=8000) parser.add_argument('--actual-equity', type=float, help='total equity available for trading') parser.add_argument('--max-net-position', type=float, help='max allowed net position for one step, measured as a fraction of equity', default=0.4) parser.add_argument('--max-gross-position', type=float, help='max allowed gross position by step, measured as a fraction of equity', default=2.) parser.add_argument('--max-risk-scale', type=int, help='max number of steps', default=3) parser.add_argument('--prices-path', type=str, help='path to prices data', default='data') parser.add_argument('--trades-pnl-path', type=str, help='path to trades pnl data', default='.') args = parser.parse_args() pandas.set_option('expand_frame_repr', False) main(args) # dev: --start-yyyymmdd 20170101 --end-yyyymmdd 20170313
apache-2.0
metaml/nupic
external/linux32/lib/python2.6/site-packages/matplotlib/units.py
70
4810
""" The classes here provide support for using custom classes with matplotlib, eg those that do not expose the array interface but know how to converter themselves to arrays. It also supoprts classes with units and units conversion. Use cases include converters for custom objects, eg a list of datetime objects, as well as for objects that are unit aware. We don't assume any particular units implementation, rather a units implementation must provide a ConversionInterface, and the register with the Registry converter dictionary. For example, here is a complete implementation which support plotting with native datetime objects import matplotlib.units as units import matplotlib.dates as dates import matplotlib.ticker as ticker import datetime class DateConverter(units.ConversionInterface): def convert(value, unit): 'convert value to a scalar or array' return dates.date2num(value) convert = staticmethod(convert) def axisinfo(unit): 'return major and minor tick locators and formatters' if unit!='date': return None majloc = dates.AutoDateLocator() majfmt = dates.AutoDateFormatter(majloc) return AxisInfo(majloc=majloc, majfmt=majfmt, label='date') axisinfo = staticmethod(axisinfo) def default_units(x): 'return the default unit for x or None' return 'date' default_units = staticmethod(default_units) # finally we register our object type with a converter units.registry[datetime.date] = DateConverter() """ import numpy as np from matplotlib.cbook import iterable, is_numlike class AxisInfo: 'information to support default axis labeling and tick labeling' def __init__(self, majloc=None, minloc=None, majfmt=None, minfmt=None, label=None): """ majloc and minloc: TickLocators for the major and minor ticks majfmt and minfmt: TickFormatters for the major and minor ticks label: the default axis label If any of the above are None, the axis will simply use the default """ self.majloc = majloc self.minloc = minloc self.majfmt = majfmt self.minfmt = minfmt self.label = label class ConversionInterface: """ The minimal interface for a converter to take custom instances (or sequences) and convert them to values mpl can use """ def axisinfo(unit): 'return an units.AxisInfo instance for unit' return None axisinfo = staticmethod(axisinfo) def default_units(x): 'return the default unit for x or None' return None default_units = staticmethod(default_units) def convert(obj, unit): """ convert obj using unit. If obj is a sequence, return the converted sequence. The ouput must be a sequence of scalars that can be used by the numpy array layer """ return obj convert = staticmethod(convert) def is_numlike(x): """ The matplotlib datalim, autoscaling, locators etc work with scalars which are the units converted to floats given the current unit. The converter may be passed these floats, or arrays of them, even when units are set. Derived conversion interfaces may opt to pass plain-ol unitless numbers through the conversion interface and this is a helper function for them. """ if iterable(x): for thisx in x: return is_numlike(thisx) else: return is_numlike(x) is_numlike = staticmethod(is_numlike) class Registry(dict): """ register types with conversion interface """ def __init__(self): dict.__init__(self) self._cached = {} def get_converter(self, x): 'get the converter interface instance for x, or None' if not len(self): return None # nothing registered #DISABLED idx = id(x) #DISABLED cached = self._cached.get(idx) #DISABLED if cached is not None: return cached converter = None classx = getattr(x, '__class__', None) if classx is not None: converter = self.get(classx) if converter is None and iterable(x): # if this is anything but an object array, we'll assume # there are no custom units if isinstance(x, np.ndarray) and x.dtype != np.object: return None for thisx in x: converter = self.get_converter( thisx ) return converter #DISABLED self._cached[idx] = converter return converter registry = Registry()
agpl-3.0
RPGOne/scikit-learn
sklearn/covariance/tests/test_robust_covariance.py
77
3825
# Author: Alexandre Gramfort <alexandre.gramfort@inria.fr> # Gael Varoquaux <gael.varoquaux@normalesup.org> # Virgile Fritsch <virgile.fritsch@inria.fr> # # License: BSD 3 clause import numpy as np from sklearn.utils.testing import assert_almost_equal from sklearn.utils.testing import assert_array_almost_equal from sklearn.utils.testing import assert_raises from sklearn.utils.testing import assert_raise_message from sklearn.exceptions import NotFittedError from sklearn import datasets from sklearn.covariance import empirical_covariance, MinCovDet, \ EllipticEnvelope from sklearn.covariance import fast_mcd X = datasets.load_iris().data X_1d = X[:, 0] n_samples, n_features = X.shape def test_mcd(): # Tests the FastMCD algorithm implementation # Small data set # test without outliers (random independent normal data) launch_mcd_on_dataset(100, 5, 0, 0.01, 0.1, 80) # test with a contaminated data set (medium contamination) launch_mcd_on_dataset(100, 5, 20, 0.01, 0.01, 70) # test with a contaminated data set (strong contamination) launch_mcd_on_dataset(100, 5, 40, 0.1, 0.1, 50) # Medium data set launch_mcd_on_dataset(1000, 5, 450, 0.1, 0.1, 540) # Large data set launch_mcd_on_dataset(1700, 5, 800, 0.1, 0.1, 870) # 1D data set launch_mcd_on_dataset(500, 1, 100, 0.001, 0.001, 350) def test_fast_mcd_on_invalid_input(): X = np.arange(100) assert_raise_message(ValueError, 'fast_mcd expects at least 2 samples', fast_mcd, X) def test_mcd_class_on_invalid_input(): X = np.arange(100) mcd = MinCovDet() assert_raise_message(ValueError, 'MinCovDet expects at least 2 samples', mcd.fit, X) def launch_mcd_on_dataset(n_samples, n_features, n_outliers, tol_loc, tol_cov, tol_support): rand_gen = np.random.RandomState(0) data = rand_gen.randn(n_samples, n_features) # add some outliers outliers_index = rand_gen.permutation(n_samples)[:n_outliers] outliers_offset = 10. * \ (rand_gen.randint(2, size=(n_outliers, n_features)) - 0.5) data[outliers_index] += outliers_offset inliers_mask = np.ones(n_samples).astype(bool) inliers_mask[outliers_index] = False pure_data = data[inliers_mask] # compute MCD by fitting an object mcd_fit = MinCovDet(random_state=rand_gen).fit(data) T = mcd_fit.location_ S = mcd_fit.covariance_ H = mcd_fit.support_ # compare with the estimates learnt from the inliers error_location = np.mean((pure_data.mean(0) - T) ** 2) assert(error_location < tol_loc) error_cov = np.mean((empirical_covariance(pure_data) - S) ** 2) assert(error_cov < tol_cov) assert(np.sum(H) >= tol_support) assert_array_almost_equal(mcd_fit.mahalanobis(data), mcd_fit.dist_) def test_mcd_issue1127(): # Check that the code does not break with X.shape = (3, 1) # (i.e. n_support = n_samples) rnd = np.random.RandomState(0) X = rnd.normal(size=(3, 1)) mcd = MinCovDet() mcd.fit(X) def test_outlier_detection(): rnd = np.random.RandomState(0) X = rnd.randn(100, 10) clf = EllipticEnvelope(contamination=0.1) assert_raises(NotFittedError, clf.predict, X) assert_raises(NotFittedError, clf.decision_function, X) clf.fit(X) y_pred = clf.predict(X) decision = clf.decision_function(X, raw_values=True) decision_transformed = clf.decision_function(X, raw_values=False) assert_array_almost_equal( decision, clf.mahalanobis(X)) assert_array_almost_equal(clf.mahalanobis(X), clf.dist_) assert_almost_equal(clf.score(X, np.ones(100)), (100 - y_pred[y_pred == -1].size) / 100.) assert(sum(y_pred == -1) == sum(decision_transformed < 0))
bsd-3-clause
Fireblend/scikit-learn
sklearn/neighbors/tests/test_approximate.py
142
18692
""" Testing for the approximate neighbor search using Locality Sensitive Hashing Forest module (sklearn.neighbors.LSHForest). """ # Author: Maheshakya Wijewardena, Joel Nothman import numpy as np import scipy.sparse as sp from sklearn.utils.testing import assert_array_equal from sklearn.utils.testing import assert_almost_equal from sklearn.utils.testing import assert_array_almost_equal from sklearn.utils.testing import assert_equal from sklearn.utils.testing import assert_raises from sklearn.utils.testing import assert_array_less from sklearn.utils.testing import assert_greater from sklearn.utils.testing import assert_true from sklearn.utils.testing import assert_not_equal from sklearn.utils.testing import assert_warns_message from sklearn.utils.testing import ignore_warnings from sklearn.metrics.pairwise import pairwise_distances from sklearn.neighbors import LSHForest from sklearn.neighbors import NearestNeighbors def test_neighbors_accuracy_with_n_candidates(): # Checks whether accuracy increases as `n_candidates` increases. n_candidates_values = np.array([.1, 50, 500]) n_samples = 100 n_features = 10 n_iter = 10 n_points = 5 rng = np.random.RandomState(42) accuracies = np.zeros(n_candidates_values.shape[0], dtype=float) X = rng.rand(n_samples, n_features) for i, n_candidates in enumerate(n_candidates_values): lshf = LSHForest(n_candidates=n_candidates) lshf.fit(X) for j in range(n_iter): query = X[rng.randint(0, n_samples)] neighbors = lshf.kneighbors(query, n_neighbors=n_points, return_distance=False) distances = pairwise_distances(query, X, metric='cosine') ranks = np.argsort(distances)[0, :n_points] intersection = np.intersect1d(ranks, neighbors).shape[0] ratio = intersection / float(n_points) accuracies[i] = accuracies[i] + ratio accuracies[i] = accuracies[i] / float(n_iter) # Sorted accuracies should be equal to original accuracies assert_true(np.all(np.diff(accuracies) >= 0), msg="Accuracies are not non-decreasing.") # Highest accuracy should be strictly greater than the lowest assert_true(np.ptp(accuracies) > 0, msg="Highest accuracy is not strictly greater than lowest.") def test_neighbors_accuracy_with_n_estimators(): # Checks whether accuracy increases as `n_estimators` increases. n_estimators = np.array([1, 10, 100]) n_samples = 100 n_features = 10 n_iter = 10 n_points = 5 rng = np.random.RandomState(42) accuracies = np.zeros(n_estimators.shape[0], dtype=float) X = rng.rand(n_samples, n_features) for i, t in enumerate(n_estimators): lshf = LSHForest(n_candidates=500, n_estimators=t) lshf.fit(X) for j in range(n_iter): query = X[rng.randint(0, n_samples)] neighbors = lshf.kneighbors(query, n_neighbors=n_points, return_distance=False) distances = pairwise_distances(query, X, metric='cosine') ranks = np.argsort(distances)[0, :n_points] intersection = np.intersect1d(ranks, neighbors).shape[0] ratio = intersection / float(n_points) accuracies[i] = accuracies[i] + ratio accuracies[i] = accuracies[i] / float(n_iter) # Sorted accuracies should be equal to original accuracies assert_true(np.all(np.diff(accuracies) >= 0), msg="Accuracies are not non-decreasing.") # Highest accuracy should be strictly greater than the lowest assert_true(np.ptp(accuracies) > 0, msg="Highest accuracy is not strictly greater than lowest.") @ignore_warnings def test_kneighbors(): # Checks whether desired number of neighbors are returned. # It is guaranteed to return the requested number of neighbors # if `min_hash_match` is set to 0. Returned distances should be # in ascending order. n_samples = 12 n_features = 2 n_iter = 10 rng = np.random.RandomState(42) X = rng.rand(n_samples, n_features) lshf = LSHForest(min_hash_match=0) # Test unfitted estimator assert_raises(ValueError, lshf.kneighbors, X[0]) lshf.fit(X) for i in range(n_iter): n_neighbors = rng.randint(0, n_samples) query = X[rng.randint(0, n_samples)] neighbors = lshf.kneighbors(query, n_neighbors=n_neighbors, return_distance=False) # Desired number of neighbors should be returned. assert_equal(neighbors.shape[1], n_neighbors) # Multiple points n_queries = 5 queries = X[rng.randint(0, n_samples, n_queries)] distances, neighbors = lshf.kneighbors(queries, n_neighbors=1, return_distance=True) assert_equal(neighbors.shape[0], n_queries) assert_equal(distances.shape[0], n_queries) # Test only neighbors neighbors = lshf.kneighbors(queries, n_neighbors=1, return_distance=False) assert_equal(neighbors.shape[0], n_queries) # Test random point(not in the data set) query = rng.randn(n_features) lshf.kneighbors(query, n_neighbors=1, return_distance=False) # Test n_neighbors at initialization neighbors = lshf.kneighbors(query, return_distance=False) assert_equal(neighbors.shape[1], 5) # Test `neighbors` has an integer dtype assert_true(neighbors.dtype.kind == 'i', msg="neighbors are not in integer dtype.") def test_radius_neighbors(): # Checks whether Returned distances are less than `radius` # At least one point should be returned when the `radius` is set # to mean distance from the considering point to other points in # the database. # Moreover, this test compares the radius neighbors of LSHForest # with the `sklearn.neighbors.NearestNeighbors`. n_samples = 12 n_features = 2 n_iter = 10 rng = np.random.RandomState(42) X = rng.rand(n_samples, n_features) lshf = LSHForest() # Test unfitted estimator assert_raises(ValueError, lshf.radius_neighbors, X[0]) lshf.fit(X) for i in range(n_iter): # Select a random point in the dataset as the query query = X[rng.randint(0, n_samples)] # At least one neighbor should be returned when the radius is the # mean distance from the query to the points of the dataset. mean_dist = np.mean(pairwise_distances(query, X, metric='cosine')) neighbors = lshf.radius_neighbors(query, radius=mean_dist, return_distance=False) assert_equal(neighbors.shape, (1,)) assert_equal(neighbors.dtype, object) assert_greater(neighbors[0].shape[0], 0) # All distances to points in the results of the radius query should # be less than mean_dist distances, neighbors = lshf.radius_neighbors(query, radius=mean_dist, return_distance=True) assert_array_less(distances[0], mean_dist) # Multiple points n_queries = 5 queries = X[rng.randint(0, n_samples, n_queries)] distances, neighbors = lshf.radius_neighbors(queries, return_distance=True) # dists and inds should not be 1D arrays or arrays of variable lengths # hence the use of the object dtype. assert_equal(distances.shape, (n_queries,)) assert_equal(distances.dtype, object) assert_equal(neighbors.shape, (n_queries,)) assert_equal(neighbors.dtype, object) # Compare with exact neighbor search query = X[rng.randint(0, n_samples)] mean_dist = np.mean(pairwise_distances(query, X, metric='cosine')) nbrs = NearestNeighbors(algorithm='brute', metric='cosine').fit(X) distances_exact, _ = nbrs.radius_neighbors(query, radius=mean_dist) distances_approx, _ = lshf.radius_neighbors(query, radius=mean_dist) # Radius-based queries do not sort the result points and the order # depends on the method, the random_state and the dataset order. Therefore # we need to sort the results ourselves before performing any comparison. sorted_dists_exact = np.sort(distances_exact[0]) sorted_dists_approx = np.sort(distances_approx[0]) # Distances to exact neighbors are less than or equal to approximate # counterparts as the approximate radius query might have missed some # closer neighbors. assert_true(np.all(np.less_equal(sorted_dists_exact, sorted_dists_approx))) def test_radius_neighbors_boundary_handling(): X = [[0.999, 0.001], [0.5, 0.5], [0, 1.], [-1., 0.001]] n_points = len(X) # Build an exact nearest neighbors model as reference model to ensure # consistency between exact and approximate methods nnbrs = NearestNeighbors(algorithm='brute', metric='cosine').fit(X) # Build a LSHForest model with hyperparameter values that always guarantee # exact results on this toy dataset. lsfh = LSHForest(min_hash_match=0, n_candidates=n_points).fit(X) # define a query aligned with the first axis query = [1., 0.] # Compute the exact cosine distances of the query to the four points of # the dataset dists = pairwise_distances(query, X, metric='cosine').ravel() # The first point is almost aligned with the query (very small angle), # the cosine distance should therefore be almost null: assert_almost_equal(dists[0], 0, decimal=5) # The second point form an angle of 45 degrees to the query vector assert_almost_equal(dists[1], 1 - np.cos(np.pi / 4)) # The third point is orthogonal from the query vector hence at a distance # exactly one: assert_almost_equal(dists[2], 1) # The last point is almost colinear but with opposite sign to the query # therefore it has a cosine 'distance' very close to the maximum possible # value of 2. assert_almost_equal(dists[3], 2, decimal=5) # If we query with a radius of one, all the samples except the last sample # should be included in the results. This means that the third sample # is lying on the boundary of the radius query: exact_dists, exact_idx = nnbrs.radius_neighbors(query, radius=1) approx_dists, approx_idx = lsfh.radius_neighbors(query, radius=1) assert_array_equal(np.sort(exact_idx[0]), [0, 1, 2]) assert_array_equal(np.sort(approx_idx[0]), [0, 1, 2]) assert_array_almost_equal(np.sort(exact_dists[0]), dists[:-1]) assert_array_almost_equal(np.sort(approx_dists[0]), dists[:-1]) # If we perform the same query with a slighltly lower radius, the third # point of the dataset that lay on the boundary of the previous query # is now rejected: eps = np.finfo(np.float64).eps exact_dists, exact_idx = nnbrs.radius_neighbors(query, radius=1 - eps) approx_dists, approx_idx = lsfh.radius_neighbors(query, radius=1 - eps) assert_array_equal(np.sort(exact_idx[0]), [0, 1]) assert_array_equal(np.sort(approx_idx[0]), [0, 1]) assert_array_almost_equal(np.sort(exact_dists[0]), dists[:-2]) assert_array_almost_equal(np.sort(approx_dists[0]), dists[:-2]) def test_distances(): # Checks whether returned neighbors are from closest to farthest. n_samples = 12 n_features = 2 n_iter = 10 rng = np.random.RandomState(42) X = rng.rand(n_samples, n_features) lshf = LSHForest() lshf.fit(X) for i in range(n_iter): n_neighbors = rng.randint(0, n_samples) query = X[rng.randint(0, n_samples)] distances, neighbors = lshf.kneighbors(query, n_neighbors=n_neighbors, return_distance=True) # Returned neighbors should be from closest to farthest, that is # increasing distance values. assert_true(np.all(np.diff(distances[0]) >= 0)) # Note: the radius_neighbors method does not guarantee the order of # the results. def test_fit(): # Checks whether `fit` method sets all attribute values correctly. n_samples = 12 n_features = 2 n_estimators = 5 rng = np.random.RandomState(42) X = rng.rand(n_samples, n_features) lshf = LSHForest(n_estimators=n_estimators) lshf.fit(X) # _input_array = X assert_array_equal(X, lshf._fit_X) # A hash function g(p) for each tree assert_equal(n_estimators, len(lshf.hash_functions_)) # Hash length = 32 assert_equal(32, lshf.hash_functions_[0].components_.shape[0]) # Number of trees_ in the forest assert_equal(n_estimators, len(lshf.trees_)) # Each tree has entries for every data point assert_equal(n_samples, len(lshf.trees_[0])) # Original indices after sorting the hashes assert_equal(n_estimators, len(lshf.original_indices_)) # Each set of original indices in a tree has entries for every data point assert_equal(n_samples, len(lshf.original_indices_[0])) def test_partial_fit(): # Checks whether inserting array is consitent with fitted data. # `partial_fit` method should set all attribute values correctly. n_samples = 12 n_samples_partial_fit = 3 n_features = 2 rng = np.random.RandomState(42) X = rng.rand(n_samples, n_features) X_partial_fit = rng.rand(n_samples_partial_fit, n_features) lshf = LSHForest() # Test unfitted estimator lshf.partial_fit(X) assert_array_equal(X, lshf._fit_X) lshf.fit(X) # Insert wrong dimension assert_raises(ValueError, lshf.partial_fit, np.random.randn(n_samples_partial_fit, n_features - 1)) lshf.partial_fit(X_partial_fit) # size of _input_array = samples + 1 after insertion assert_equal(lshf._fit_X.shape[0], n_samples + n_samples_partial_fit) # size of original_indices_[1] = samples + 1 assert_equal(len(lshf.original_indices_[0]), n_samples + n_samples_partial_fit) # size of trees_[1] = samples + 1 assert_equal(len(lshf.trees_[1]), n_samples + n_samples_partial_fit) def test_hash_functions(): # Checks randomness of hash functions. # Variance and mean of each hash function (projection vector) # should be different from flattened array of hash functions. # If hash functions are not randomly built (seeded with # same value), variances and means of all functions are equal. n_samples = 12 n_features = 2 n_estimators = 5 rng = np.random.RandomState(42) X = rng.rand(n_samples, n_features) lshf = LSHForest(n_estimators=n_estimators, random_state=rng.randint(0, np.iinfo(np.int32).max)) lshf.fit(X) hash_functions = [] for i in range(n_estimators): hash_functions.append(lshf.hash_functions_[i].components_) for i in range(n_estimators): assert_not_equal(np.var(hash_functions), np.var(lshf.hash_functions_[i].components_)) for i in range(n_estimators): assert_not_equal(np.mean(hash_functions), np.mean(lshf.hash_functions_[i].components_)) def test_candidates(): # Checks whether candidates are sufficient. # This should handle the cases when number of candidates is 0. # User should be warned when number of candidates is less than # requested number of neighbors. X_train = np.array([[5, 5, 2], [21, 5, 5], [1, 1, 1], [8, 9, 1], [6, 10, 2]], dtype=np.float32) X_test = np.array([7, 10, 3], dtype=np.float32) # For zero candidates lshf = LSHForest(min_hash_match=32) lshf.fit(X_train) message = ("Number of candidates is not sufficient to retrieve" " %i neighbors with" " min_hash_match = %i. Candidates are filled up" " uniformly from unselected" " indices." % (3, 32)) assert_warns_message(UserWarning, message, lshf.kneighbors, X_test, n_neighbors=3) distances, neighbors = lshf.kneighbors(X_test, n_neighbors=3) assert_equal(distances.shape[1], 3) # For candidates less than n_neighbors lshf = LSHForest(min_hash_match=31) lshf.fit(X_train) message = ("Number of candidates is not sufficient to retrieve" " %i neighbors with" " min_hash_match = %i. Candidates are filled up" " uniformly from unselected" " indices." % (5, 31)) assert_warns_message(UserWarning, message, lshf.kneighbors, X_test, n_neighbors=5) distances, neighbors = lshf.kneighbors(X_test, n_neighbors=5) assert_equal(distances.shape[1], 5) def test_graphs(): # Smoke tests for graph methods. n_samples_sizes = [5, 10, 20] n_features = 3 rng = np.random.RandomState(42) for n_samples in n_samples_sizes: X = rng.rand(n_samples, n_features) lshf = LSHForest(min_hash_match=0) lshf.fit(X) kneighbors_graph = lshf.kneighbors_graph(X) radius_neighbors_graph = lshf.radius_neighbors_graph(X) assert_equal(kneighbors_graph.shape[0], n_samples) assert_equal(kneighbors_graph.shape[1], n_samples) assert_equal(radius_neighbors_graph.shape[0], n_samples) assert_equal(radius_neighbors_graph.shape[1], n_samples) def test_sparse_input(): # note: Fixed random state in sp.rand is not supported in older scipy. # The test should succeed regardless. X1 = sp.rand(50, 100) X2 = sp.rand(10, 100) forest_sparse = LSHForest(radius=1, random_state=0).fit(X1) forest_dense = LSHForest(radius=1, random_state=0).fit(X1.A) d_sparse, i_sparse = forest_sparse.kneighbors(X2, return_distance=True) d_dense, i_dense = forest_dense.kneighbors(X2.A, return_distance=True) assert_almost_equal(d_sparse, d_dense) assert_almost_equal(i_sparse, i_dense) d_sparse, i_sparse = forest_sparse.radius_neighbors(X2, return_distance=True) d_dense, i_dense = forest_dense.radius_neighbors(X2.A, return_distance=True) assert_equal(d_sparse.shape, d_dense.shape) for a, b in zip(d_sparse, d_dense): assert_almost_equal(a, b) for a, b in zip(i_sparse, i_dense): assert_almost_equal(a, b)
bsd-3-clause
espenhgn/nest-simulator
pynest/examples/brunel_alpha_nest.py
2
13724
# -*- coding: utf-8 -*- # # brunel_alpha_nest.py # # This file is part of NEST. # # Copyright (C) 2004 The NEST Initiative # # NEST is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # NEST is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with NEST. If not, see <http://www.gnu.org/licenses/>. """Random balanced network (alpha synapses) connected with NEST ------------------------------------------------------------------ This script simulates an excitatory and an inhibitory population on the basis of the network used in [1]_. In contrast to ``brunel-alpha-numpy.py``, this variant uses NEST's builtin connection routines to draw the random connections instead of NumPy. When connecting the network customary synapse models are used, which allow for querying the number of created synapses. Using spike detectors the average firing rates of the neurons in the populations are established. The building as well as the simulation time of the network are recorded. References ~~~~~~~~~~~~~ .. [1] Brunel N (2000). Dynamics of sparsely connected networks of excitatory and inhibitory spiking neurons. Journal of Computational Neuroscience 8, 183-208. See Also ~~~~~~~~~~~~ :doc:`brunel_alpha_numpy` """ ############################################################################### # Import all necessary modules for simulation, analysis and plotting. Scipy # should be imported before nest. import time import numpy as np import scipy.special as sp import nest import nest.raster_plot import matplotlib.pyplot as plt ############################################################################### # Definition of functions used in this example. First, define the `Lambert W` # function implemented in SLI. The second function computes the maximum of # the postsynaptic potential for a synaptic input current of unit amplitude # (1 pA) using the `Lambert W` function. Thus function will later be used to # calibrate the synaptic weights. def LambertWm1(x): # Using scipy to mimic the gsl_sf_lambert_Wm1 function. return sp.lambertw(x, k=-1 if x < 0 else 0).real def ComputePSPnorm(tauMem, CMem, tauSyn): a = (tauMem / tauSyn) b = (1.0 / tauSyn - 1.0 / tauMem) # time of maximum t_max = 1.0 / b * (-LambertWm1(-np.exp(-1.0 / a) / a) - 1.0 / a) # maximum of PSP for current of unit amplitude return (np.exp(1.0) / (tauSyn * CMem * b) * ((np.exp(-t_max / tauMem) - np.exp(-t_max / tauSyn)) / b - t_max * np.exp(-t_max / tauSyn))) nest.ResetKernel() ############################################################################### # Assigning the current time to a variable in order to determine the build # time of the network. startbuild = time.time() ############################################################################### # Assigning the simulation parameters to variables. dt = 0.1 # the resolution in ms simtime = 1000.0 # Simulation time in ms delay = 1.5 # synaptic delay in ms ############################################################################### # Definition of the parameters crucial for asynchronous irregular firing of # the neurons. g = 5.0 # ratio inhibitory weight/excitatory weight eta = 2.0 # external rate relative to threshold rate epsilon = 0.1 # connection probability ############################################################################### # Definition of the number of neurons in the network and the number of neuron # recorded from order = 2500 NE = 4 * order # number of excitatory neurons NI = 1 * order # number of inhibitory neurons N_neurons = NE + NI # number of neurons in total N_rec = 50 # record from 50 neurons ############################################################################### # Definition of connectivity parameter CE = int(epsilon * NE) # number of excitatory synapses per neuron CI = int(epsilon * NI) # number of inhibitory synapses per neuron C_tot = int(CI + CE) # total number of synapses per neuron ############################################################################### # Initialization of the parameters of the integrate and fire neuron and the # synapses. The parameter of the neuron are stored in a dictionary. The # synaptic currents are normalized such that the amplitude of the PSP is J. tauSyn = 0.5 # synaptic time constant in ms tauMem = 20.0 # time constant of membrane potential in ms CMem = 250.0 # capacitance of membrane in in pF theta = 20.0 # membrane threshold potential in mV neuron_params = {"C_m": CMem, "tau_m": tauMem, "tau_syn_ex": tauSyn, "tau_syn_in": tauSyn, "t_ref": 2.0, "E_L": 0.0, "V_reset": 0.0, "V_m": 0.0, "V_th": theta} J = 0.1 # postsynaptic amplitude in mV J_unit = ComputePSPnorm(tauMem, CMem, tauSyn) J_ex = J / J_unit # amplitude of excitatory postsynaptic current J_in = -g * J_ex # amplitude of inhibitory postsynaptic current ############################################################################### # Definition of threshold rate, which is the external rate needed to fix the # membrane potential around its threshold, the external firing rate and the # rate of the poisson generator which is multiplied by the in-degree CE and # converted to Hz by multiplication by 1000. nu_th = (theta * CMem) / (J_ex * CE * np.exp(1) * tauMem * tauSyn) nu_ex = eta * nu_th p_rate = 1000.0 * nu_ex * CE ################################################################################ # Configuration of the simulation kernel by the previously defined time # resolution used in the simulation. Setting ``print_time`` to `True` prints the # already processed simulation time as well as its percentage of the total # simulation time. nest.SetKernelStatus({"resolution": dt, "print_time": True, "overwrite_files": True}) print("Building network") ############################################################################### # Configuration of the model ``iaf_psc_alpha`` and ``poisson_generator`` using # ``SetDefaults``. This function expects the model to be the inserted as a # string and the parameter to be specified in a dictionary. All instances of # theses models created after this point will have the properties specified # in the dictionary by default. nest.SetDefaults("iaf_psc_alpha", neuron_params) nest.SetDefaults("poisson_generator", {"rate": p_rate}) ############################################################################### # Creation of the nodes using ``Create``. We store the returned handles in # variables for later reference. Here the excitatory and inhibitory, as well # as the poisson generator and two spike detectors. The spike detectors will # later be used to record excitatory and inhibitory spikes. nodes_ex = nest.Create("iaf_psc_alpha", NE) nodes_in = nest.Create("iaf_psc_alpha", NI) noise = nest.Create("poisson_generator") espikes = nest.Create("spike_detector") ispikes = nest.Create("spike_detector") ############################################################################### # Configuration of the spike detectors recording excitatory and inhibitory # spikes by sending parameter dictionaries to ``set``. Setting the property # `record_to` to *"ascii"* ensures that the spikes will be recorded to a file, # whose name starts with the string assigned to the property `label`. espikes.set(label="brunel-py-ex", record_to="ascii") ispikes.set(label="brunel-py-in", record_to="ascii") print("Connecting devices") ############################################################################### # Definition of a synapse using ``CopyModel``, which expects the model name of # a pre-defined synapse, the name of the customary synapse and an optional # parameter dictionary. The parameters defined in the dictionary will be the # default parameter for the customary synapse. Here we define one synapse for # the excitatory and one for the inhibitory connections giving the # previously defined weights and equal delays. nest.CopyModel("static_synapse", "excitatory", {"weight": J_ex, "delay": delay}) nest.CopyModel("static_synapse", "inhibitory", {"weight": J_in, "delay": delay}) ################################################################################# # Connecting the previously defined poisson generator to the excitatory and # inhibitory neurons using the excitatory synapse. Since the poisson # generator is connected to all neurons in the population the default rule # (``all_to_all``) of ``Connect`` is used. The synaptic properties are inserted # via ``syn_spec`` which expects a dictionary when defining multiple variables or # a string when simply using a pre-defined synapse. nest.Connect(noise, nodes_ex, syn_spec="excitatory") nest.Connect(noise, nodes_in, syn_spec="excitatory") ############################################################################### # Connecting the first ``N_rec`` nodes of the excitatory and inhibitory # population to the associated spike detectors using excitatory synapses. # Here the same shortcut for the specification of the synapse as defined # above is used. nest.Connect(nodes_ex[:N_rec], espikes, syn_spec="excitatory") nest.Connect(nodes_in[:N_rec], ispikes, syn_spec="excitatory") print("Connecting network") print("Excitatory connections") ############################################################################### # Connecting the excitatory population to all neurons using the pre-defined # excitatory synapse. Beforehand, the connection parameter are defined in a # dictionary. Here we use the connection rule ``fixed_indegree``, # which requires the definition of the indegree. Since the synapse # specification is reduced to assigning the pre-defined excitatory synapse it # suffices to insert a string. conn_params_ex = {'rule': 'fixed_indegree', 'indegree': CE} nest.Connect(nodes_ex, nodes_ex + nodes_in, conn_params_ex, "excitatory") print("Inhibitory connections") ############################################################################### # Connecting the inhibitory population to all neurons using the pre-defined # inhibitory synapse. The connection parameter as well as the synapse # parameter are defined analogously to the connection from the excitatory # population defined above. conn_params_in = {'rule': 'fixed_indegree', 'indegree': CI} nest.Connect(nodes_in, nodes_ex + nodes_in, conn_params_in, "inhibitory") ############################################################################### # Storage of the time point after the buildup of the network in a variable. endbuild = time.time() ############################################################################### # Simulation of the network. print("Simulating") nest.Simulate(simtime) ############################################################################### # Storage of the time point after the simulation of the network in a variable. endsimulate = time.time() ############################################################################### # Reading out the total number of spikes received from the spike detector # connected to the excitatory population and the inhibitory population. events_ex = espikes.n_events events_in = ispikes.n_events ############################################################################### # Calculation of the average firing rate of the excitatory and the inhibitory # neurons by dividing the total number of recorded spikes by the number of # neurons recorded from and the simulation time. The multiplication by 1000.0 # converts the unit 1/ms to 1/s=Hz. rate_ex = events_ex / simtime * 1000.0 / N_rec rate_in = events_in / simtime * 1000.0 / N_rec ############################################################################### # Reading out the number of connections established using the excitatory and # inhibitory synapse model. The numbers are summed up resulting in the total # number of synapses. num_synapses = (nest.GetDefaults("excitatory")["num_connections"] + nest.GetDefaults("inhibitory")["num_connections"]) ############################################################################### # Establishing the time it took to build and simulate the network by taking # the difference of the pre-defined time variables. build_time = endbuild - startbuild sim_time = endsimulate - endbuild ############################################################################### # Printing the network properties, firing rates and building times. print("Brunel network simulation (Python)") print("Number of neurons : {0}".format(N_neurons)) print("Number of synapses: {0}".format(num_synapses)) print(" Exitatory : {0}".format(int(CE * N_neurons) + N_neurons)) print(" Inhibitory : {0}".format(int(CI * N_neurons))) print("Excitatory rate : %.2f Hz" % rate_ex) print("Inhibitory rate : %.2f Hz" % rate_in) print("Building time : %.2f s" % build_time) print("Simulation time : %.2f s" % sim_time) ############################################################################### # Plot a raster of the excitatory neurons and a histogram. nest.raster_plot.from_device(espikes, hist=True) plt.show()
gpl-2.0
coufon/neon-distributed
examples/fast-rcnn/demo.py
2
5520
#!/usr/bin/env python # ---------------------------------------------------------------------------- # Copyright 2015 Nervana Systems Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------- """ Demo a trained Fast-RCNN model to do object detection using PASCAL VOC dataset. This demo currently runs 1 image at a time. Reference: "Fast R-CNN" http://arxiv.org/pdf/1504.08083v2.pdf https://github.com/rbgirshick/fast-rcnn Usage: python examples/fast-rcnn/demo.py --model_file frcn_vgg.pkl Notes: 1. For VGG16 based Fast R-CNN model, we can support testing with batch size as 1 images. The testing consumes about 7G memory. 2. During demo, all the selective search ROIs will be used to go through the network, so the inference time varies based on how many ROIs in each image. For PASCAL VOC 2007, the average number of SelectiveSearch ROIs is around 2000. 3. The dataset will cache the preprocessed file and re-use that if the same configuration of the dataset is used again. The cached file by default is in ~/nervana/data/VOCDevkit/VOC<year>/train_< >.pkl or ~/nervana/data/VOCDevkit/VOC<year>/inference_< >.pkl """ import os import numpy as np from PIL import Image from neon.data.pascal_voc import PASCAL_VOC_CLASSES from neon.data import PASCALVOCInference from neon.util.argparser import NeonArgparser from util import create_frcn_model do_plots = True try: import matplotlib.pyplot as plt plt.switch_backend('agg') except ImportError: print('matplotlib needs to be installed manually to generate plots needed ' 'for this example. Skipping plot generation') do_plots = False # parse the command line arguments parser = NeonArgparser(__doc__) parser.add_argument('--img_prefix', type=str, help='prefix for the saved image file names. If None, use ' 'the model file name') args = parser.parse_args(gen_be=True) assert args.model_file is not None, "need a model file to do Fast R-CNN testing" if args.img_prefix is None: args.img_prefix = os.path.splitext(os.path.basename(args.model_file))[0] output_dir = os.path.join(args.data_dir, 'frcn_output') if not os.path.isdir(output_dir): os.mkdir(output_dir) # hyperparameters args.batch_size = 1 n_mb = 40 img_per_batch = args.batch_size rois_per_img = 5403 # setup dataset image_set = 'test' image_year = '2007' valid_set = PASCALVOCInference(image_set, image_year, path=args.data_dir, n_mb=n_mb, rois_per_img=rois_per_img, shuffle=False) # setup model model = create_frcn_model() model.load_params(args.model_file) model.initialize(dataset=valid_set) CONF_THRESH = 0.8 NMS_THRESH = 0.3 # iterate through minibatches of the dataset for mb_idx, (x, db) in enumerate(valid_set): im = np.array(Image.open(db['img_file'])) # This is RGB order print db['img_id'] outputs = model.fprop(x, inference=True) scores, boxes = valid_set.post_processing(outputs, db) # Visualize detections for each class if do_plots: fig, ax = plt.subplots(figsize=(12, 12)) ax.imshow(im, aspect='equal') for cls in PASCAL_VOC_CLASSES[1:]: # pick out scores and bboxes replated to this class cls_ind = PASCAL_VOC_CLASSES.index(cls) cls_boxes = boxes[:, 4*cls_ind:4*(cls_ind + 1)] cls_scores = scores[cls_ind] # only keep that ones with high enough scores keep = np.where(cls_scores >= CONF_THRESH)[0] if len(keep) == 0: continue # with these, do nonmaximum suppression cls_boxes = cls_boxes[keep] cls_scores = cls_scores[keep] keep = valid_set.nonmaximum_suppression(cls_boxes, cls_scores, NMS_THRESH) # keep these after nms cls_boxes = cls_boxes[keep] cls_scores = cls_scores[keep] # Draw detected bounding boxes inds = np.where(cls_scores >= CONF_THRESH)[0] if len(inds) == 0: continue print 'detect {}'.format(cls) if do_plots: for i in inds: bbox = cls_boxes[i] score = cls_scores[i] ax.add_patch( plt.Rectangle((bbox[0], bbox[1]), bbox[2] - bbox[0], bbox[3] - bbox[1], fill=False, edgecolor='red', linewidth=3.5) ) ax.text(bbox[0], bbox[1] - 2, '{:s} {:.3f}'.format(cls, score), bbox=dict(facecolor='blue', alpha=0.5), fontsize=14, color='white') plt.axis('off') plt.tight_layout() if do_plots: fname = os.path.join(output_dir, '{}_{}_{}_{}.png'.format( args.img_prefix, image_set, image_year, db['img_id'])) plt.savefig(fname) plt.close()
apache-2.0
BlueBrain/NEST
examples/nest/Potjans_2014/spike_analysis.py
13
5601
# -*- coding: utf-8 -*- # # spike_analysis.py # # This file is part of NEST. # # Copyright (C) 2004 The NEST Initiative # # NEST is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # NEST is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with NEST. If not, see <http://www.gnu.org/licenses/>. # Merges spike files, produces raster plots, calculates and plots firing rates import numpy as np import glob import matplotlib.pyplot as plt import os datapath = '../data' # get simulation time and numbers of neurons recorded from sim_params.sli f = open(os.path.join(datapath, 'sim_params.sli'), 'r') for line in f: if 't_sim' in line: T = float(line.split()[1]) if '/record_fraction_neurons_spikes' in line: record_frac = line.split()[1] f.close() f = open(os.path.join(datapath, 'sim_params.sli'), 'r') for line in f: if record_frac == 'true': if 'frac_rec_spikes' in line: frac_rec = float(line.split()[1]) else: if 'n_rec_spikes' in line: n_rec = int(line.split()[1]) f.close() T_start = 200. # starting point of analysis (to avoid transients) # load GIDs gidfile = open(os.path.join(datapath , 'population_GIDs.dat'), 'r') gids = [] for l in gidfile: a = l.split() gids.append([int(a[0]),int(a[1])]) print 'Global IDs:' print gids print # number of populations num_pops = len(gids) print 'Number of populations:' print num_pops print # first GID in each population raw_first_gids = [gids[i][0] for i in np.arange(len(gids))] # population sizes pop_sizes = [gids[i][1]-gids[i][0]+1 for i in np.arange(len(gids))] # numbers of neurons for which spikes were recorded if record_frac == 'true': rec_sizes = [int(pop_sizes[i]*frac_rec) for i in xrange(len(pop_sizes))] else: rec_sizes = [n_rec]*len(pop_sizes) # first GID of each population once device GIDs are dropped first_gids=[int(1 + np.sum(pop_sizes[:i])) for i in np.arange(len(pop_sizes))] # last GID of each population once device GIDs are dropped last_gids = [int(np.sum(pop_sizes[:i+1])) for i in np.arange(len(pop_sizes))] # convert lists to a nicer format, i.e. [[2/3e, 2/3i], []....] Pop_sizes =[pop_sizes[i:i+2] for i in xrange(0,len(pop_sizes),2)] print 'Population sizes:' print Pop_sizes print Raw_first_gids =[raw_first_gids[i:i+2] for i in xrange(0,len(raw_first_gids),2)] First_gids = [first_gids[i:i+2] for i in xrange(0,len(first_gids),2)] Last_gids = [last_gids[i:i+2] for i in xrange(0,len(last_gids),2)] # total number of neurons in the simulation num_neurons = last_gids[len(last_gids)-1] print 'Total number of neurons:' print num_neurons print # load spikes from gdf files, correct GIDs and merge them in population files, # and store spike trains # will contain neuron id resolved spike trains neuron_spikes = [[] for i in np.arange(num_neurons+1)] # container for population-resolved spike data spike_data= [[[],[]],[[],[]],[[],[]],[[],[]],[[],[]],[[],[]],[[],[]],[[],[]]] counter = 0 for layer in ['0','1','2','3']: for population in ['0','1']: output = os.path.join(datapath, 'population_spikes-{}-{}.gdf'.format(layer, population)) file_pattern = os.path.join(datapath, 'spikes_{}_{}*'.format(layer, population)) files = glob.glob(file_pattern) print 'Merge '+str(len(files))+' spike files from L'+layer+'P'+population if files: merged_file = open(output,'w') for f in files: data = open(f,'r') for l in data : a = l.split() a[0] = int(a[0]) a[1] = float(a[1]) raw_first_gid = Raw_first_gids[int(layer)][int(population)] first_gid = First_gids[int(layer)][int(population)] a[0] = a[0] - raw_first_gid + first_gid if(a[1] > T_start): # discard data in the start-up phase spike_data[counter][0].append(num_neurons-a[0]) spike_data[counter][1].append(a[1]-T_start) neuron_spikes[a[0]].append(a[1]-T_start) converted_line = str(a[0]) + '\t' + str(a[1]) +'\n' merged_file.write(converted_line) data.close() merged_file.close() counter +=1 clrs=['0','0.5','0','0.5','0','0.5','0','0.5'] plt.ion() # raster plot plt.figure(1) counter = 1 for j in np.arange(num_pops): for i in np.arange(first_gids[j],first_gids[j]+rec_sizes[j]): plt.plot(neuron_spikes[i],np.ones_like(neuron_spikes[i])+sum(rec_sizes)-counter,'k o',ms=1, mfc=clrs[j],mec=clrs[j]) counter+=1 plt.xlim(0,T-T_start) plt.ylim(0,sum(rec_sizes)) plt.xlabel(r'time (ms)') plt.ylabel(r'neuron id') plt.savefig(os.path.join(datapath, 'rasterplot.png')) # firing rates rates = [] temp = 0 for i in np.arange(num_pops): for j in np.arange(first_gids[i], last_gids[i]): temp+= len(neuron_spikes[j]) rates.append(temp/(rec_sizes[i]*(T-T_start))*1e3) temp = 0 print print 'Firing rates:' print rates plt.figure(2) ticks= np.arange(num_pops) plt.bar(ticks, rates, width=0.9, color='k') xticklabels = ['L2/3e','L2/3i','L4e','L4i','L5e','L5i','L6e','L6i'] plt.setp(plt.gca(), xticks=ticks+0.5, xticklabels=xticklabels) plt.xlabel(r'subpopulation') plt.ylabel(r'firing rate (spikes/s)') plt.savefig(os.path.join(datapath, 'firing_rates.png')) plt.show()
gpl-2.0
ANNarchy/ANNarchy
examples/multinetwork/MultiNetwork.py
2
2086
from ANNarchy import * # Create the whole population P = Population(geometry=1000, neuron=Izhikevich) # Create the excitatory population Exc = P[:800] re = np.random.random(800) Exc.noise = 5.0 Exc.a = 0.02 Exc.b = 0.2 Exc.c = -65.0 + 15.0 * re**2 Exc.d = 8.0 - 6.0 * re**2 Exc.v = -65.0 Exc.u = Exc.v * Exc.b # Create the Inh population Inh = P[800:] ri = np.random.random(200) Inh.noise = 2.0 Inh.a = 0.02 + 0.08 * ri Inh.b = 0.25 - 0.05 * ri Inh.c = -65.0 Inh.d = 2.0 Inh.v = -65.0 Inh.u = Inh.v * Inh.b # Create the projections proj_exc = Projection(Exc, P, 'exc') proj_inh = Projection(Inh, P, 'inh') proj_exc.connect_all_to_all(weights=Uniform(0.0, 0.5)) proj_inh.connect_all_to_all(weights=Uniform(0.0, 1.0)) # Create a spike monitor M = Monitor(P, 'spike') compile() # Create a network with specified populations and projections net = Network() net.add(P) net.add([proj_exc, proj_inh]) net.add(M) net.compile() # Create a network based on everything created until now (equivalent) net2 = Network(everything=True) net2.compile() # Method to be applied on each network def run_network(idx, net): # Retrieve subpopulations P_local = net.get(P) Exc = P_local[:800] Inh = P_local[800:] # Randomize initialization re = np.random.random(800) Exc.c = -65.0 + 15.0 * re**2 Exc.d = 8.0 - 6.0 * re**2 ri = np.random.random(200) Inh.noise = 2.0 Inh.a = 0.02 + 0.08 * ri Inh.b = 0.25 - 0.05 * ri Inh.u = Inh.v * Inh.b # Simulate net.simulate(1000.) # Recordings t, n = net.get(M).raster_plot() return t, n # Simulating using the created networks vals = parallel_run(method=run_network, networks=[net, net2], measure_time=True, sequential=True) vals = parallel_run(method=run_network, networks=[net, net2], measure_time=True) # Using just a number of networks to create vals = parallel_run(method=run_network, number=4, measure_time=True) # Data analysis t, n = vals[0] t2, n2 = vals[1] import matplotlib.pyplot as plt plt.subplot(121) plt.plot(t, n, '.') plt.subplot(122) plt.plot(t2, n2, '.') plt.show()
gpl-2.0
doodnayr/pilaser
calibrate.py
1
4019
import numpy as np from picamera import PiCamera from picamera.array import PiRGBAnalysis from sklearn.cluster import DBSCAN from binascii import unhexlify, hexlify from scipy.interpolate import griddata import os from hipsterplot import plot scan = DBSCAN(eps=2, min_samples=3, metric='euclidean', algorithm='ball_tree', leaf_size=30) #import RPi.GPIO as GPIO #GPIO.setmode(GPIO.BCM) #GPIO.setup(26, GPIO.OUT) def tohex(v): return unhexlify("%0.4X" % (v+4096)) def printr(s): print("\r" + s + " ", end="") class Analysis(PiRGBAnalysis): def __init__(self, camera, size=None): self.camera = camera self.size = size self.z0 = np.array(0) self.stable_counter = 0 self.background_sum = np.zeros((480, 640), dtype=np.uint16) self.background = np.array(0) #self.campoints = np.zeros((480, 640), dtype=np.uint16) #self.campoints[:] = numpy.nan self.laser_cal_points = np.append(np.arange(0, 2048, 256), 2047) self.npoints = self.laser_cal_points.shape[0] self.laser_xi = 0 self.laser_yi = 0 self.x_inc = -1 self.inc_change = False self.campoints = [] self.x_vals = [] self.y_vals = [] def analyse(self, z): z = z[:,:,1] d = (z>self.z0) & (z-self.z0>25) self.z0 = z xy = np.where(d.ravel())[0] if xy.shape[0]>999: pass #self.laser_xi = 0 #self.laser_yi = 0 elif xy.shape[0]>4: xy = np.transpose(np.unravel_index(xy, d.shape)) clust = scan.fit_predict(xy) ind = clust==0 if ind.sum()>1: xc = xy[ind,0].mean() yc = xy[ind,1].mean() xint = int(xc.round()) yint = int(yc.round()) self.campoints.append([xint, yint]) self.x_vals.append(self.laser_xi) self.y_vals.append(self.laser_yi) #printr("%s %s" % (xint, yint)) os.system('clear') x_plot = np.concatenate(([0,600], xy[:,0])) y_plot = np.concatenate(([0,600], 600-xy[:,1])) plot(y_plot, x_plot, 20, 20) if self.laser_xi > 0 and self.laser_xi < self.npoints - 1: self.laser_xi += self.x_inc elif self.inc_change: self.x_inc = -1 * self.x_inc self.laser_xi += self.x_inc self.inc_change = False elif self.laser_yi < self.npoints - 1: self.laser_yi += 1 self.inc_change = True else: self.laser_xi = 0 self.laser_yi = 0 #self.camera.stop_recording() laser_x = self.laser_cal_points[self.laser_xi] laser_y = self.laser_cal_points[self.laser_yi] open('/dev/spidev0.0', 'wb').write(tohex(laser_x)) open('/dev/spidev0.1', 'wb').write(tohex(laser_y)) camera = PiCamera(resolution=(640, 480), framerate=3) camera.awb_mode = 'off' camera.awb_gains = (1.2, 1.2) #camera.iso = 400 # 400 500 640 800 camera.color_effects = (128,128) camera.exposure_mode = 'sports' camera.shutter_speed = 12000 camera.video_denoise = True camera.start_preview(fullscreen=False, window=(160,0,640,480)) tracker = Analysis(camera) camera.start_recording(tracker, format='rgb') #camera.start_recording('/home/pi/video2.h264') try: camera.wait_recording(9999) # sleep(9999) except KeyboardInterrupt: pass #GPIO.cleanup() camera.stop_recording() camera.stop_preview() grid_x, grid_y = np.mgrid[0:640, 0:480] """ x_map_lin = griddata(campoints, x_vals, (grid_x, grid_y), method='linear') y_map_lin = griddata(campoints, y_vals, (grid_x, grid_y), method='linear') not_nan = ~np.isnan(x_map_lin) campoints2 = np.argwhere(not_nan) x_vals2 = x_map_lin[not_nan] y_vals2 = y_map_lin[not_nan] x_map = griddata(campoints2, x_vals2, (grid_x, grid_y), method='nearest') y_map = griddata(campoints2, y_vals2, (grid_x, grid_y), method='nearest') """
mit
mrshirts/pymbar
pymbar/confidenceintervals.py
3
14155
############################################################################## # pymbar: A Python Library for MBAR # # Copyright 2016-2017 University of Colorado Boulder # Copyright 2010-2017 Memorial Sloan-Kettering Cancer Center # Portions of this software are Copyright 2010-2016 University of Virginia # # Authors: Michael Shirts, John Chodera # Contributors: Kyle Beauchamp # # pymbar is free software: you can redistribute it and/or modify # it under the terms of the MIT License # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MIT License for more details. # # You should have received a copy of the MIT License along with pymbar. ############################################################################## import numpy as np import scipy import scipy.special import scipy.stats def OrderReplicates(replicates, K): ''' Inputs: An array of replicates, and the size of the data. Outputs: a Nxdims arrary of the data in the replicates, normalized by the standard deviation ''' dims = np.shape(replicates[0]['destimated']) sigma = replicates[0]['destimated'] zerosigma = (sigma == 0) sigmacorr = zerosigma # we need to avoid errors with zero standard errors. We will ignore them later. sigma += sigmacorr yi = [] for (replicate_index, replicate) in enumerate(replicates): yi.append(replicate['error']/sigma) yiarray = np.asarray(yi) sortedyi = np.zeros(np.shape(yiarray)) if len(dims) == 0: sortedyi[:] = np.sort(yiarray) elif len(dims) == 1: for i in range(K): sortedyi[:,i] = np.sort(yiarray[:,i]) elif len(dims) == 2: for i in range(K): for j in range(K): sortedyi[:,i,j] = np.sort(yiarray[:,i,j]) # remove the correction so we have zero sigmas again sigma -= sigmacorr return sortedyi def AndersonDarling(replicates, K): # inputs: # replicates: list of replicates # K: number of replicates # outputs: Anderson-Darling statistics. # http://en.wikipedia.org/wiki/Anderson%E2%80%93Darling_test # # Since both sigma and mu are known (mu exactly, sigma as an estimate from mbar), # we can apply the case 1 test. # # Because sigma is not precise, we should accept a higher threshold than the 1% # threshold listed below to throw an error: # # 15% 1.610 # 10% 1.933 # 5% 2.492 # 2.5% 3.070 # 1% 3.857 # # So we choose something like 4.5. Note that for lower numbers of # samples, it's more likely. 2000 samples for each of the # harmonic_oscillators_distributions.py seems to give good # results. # # for now, the standard deviation we use is the one from the # _first_ replicate. sortedyi = OrderReplicates(replicates, K) zerosigma = (replicates[0]['destimated'] == 0) # ignore the ones with zero values of the std N = len(replicates) dims = np.shape(replicates[0]['destimated']) sum = np.zeros(dims) for i in range(N): cdfi = scipy.stats.norm.cdf(sortedyi[i]) sum += (2*i-1)*np.log(cdfi) + (2*(N-i)+1)*np.log(1-cdfi) A2 = -N - sum/N A2[zerosigma] = 0 return A2 def QQPlot(replicates, K, title='Generic Q-Q plot', filename = 'qq.pdf'): import matplotlib import matplotlib.pyplot as plt sortedyi = OrderReplicates(replicates, K) N = len(replicates) dim = len(np.shape(replicates[0]['error'])) xvals = scipy.stats.norm.ppf((np.arange(0,N)+0.5)/N) # inverse pdf if dim == 0: nplots = 1 elif dim == 1: nplots = K elif dim == 2: nplots = K*K yy = np.zeros([N,nplots]) labelij = dict() if dim == 0: yy[:,0] = sortedyi[:] elif dim == 1: nplots = K for i in range(K): yy[:,i] = sortedyi[:,i] elif dim == 2: nplots = K*(K-1) k = 0 for i in range(K): for j in range(K): if i!=j: yy[:,k] = sortedyi[:,i,j] labelij[k] = [i,j] k+=1 sq = (nplots)**0.5 labelsize = 30.0/sq matplotlib.rc('axes', facecolor = '#E3E4FA') matplotlib.rc('axes', edgecolor = 'white') matplotlib.rc('xtick', labelsize = labelsize) matplotlib.rc('ytick', labelsize = labelsize) h = int(sq) w = h + 1 + 1*(sq-h>0.5) fig = plt.figure(figsize = (8,6)) for i in range(nplots): ax = plt.subplot(h, w, i+1) ms = 75.0/len(yy[:,i]) ax.plot(xvals, yy[:,i], color='r', ms=ms, marker='o', mec='r') ax.plot(xvals, xvals, color='b', ls = '-') plt.xlim(xvals.min(), xvals.max()) if dim==1: ax.annotate(r'State $\mathrm{%d}$' % (i), xy=(0.5, 0.9), xycoords=('axes fraction', 'axes fraction'), xytext=(0, -2), size=labelsize, textcoords='offset points', va='top', ha='center', color='#151B54', bbox = dict(fc='w', ec='none', alpha=0.5)) if dim==2: ax.annotate(r'State $\mathrm{%d-%d}$' % (labelij[i][0], labelij[i][1]), xy=(0.5, 0.9), xycoords=('axes fraction', 'axes fraction'), xytext=(0, -2), size=labelsize, textcoords='offset points', va='top', ha='center', color='#151B54', bbox = dict(fc='w', ec='none', alpha=0.5)) plt.suptitle(title, fontsize=20) plt.savefig(filename) plt.close(fig) return def generateConfidenceIntervals(replicates, K): # inputs: # replicates: list of replicates # K: number of replicates #============================================================================================= # Analyze data. #============================================================================================= # # By Chebyshev's inequality, we should have # P(error >= alpha sigma) <= 1 / alpha^2 # so that a lower bound will be # P(error < alpha sigma) > 1 - 1 / alpha^2 # for any real multiplier 'k', where 'sigma' represents the computed uncertainty (as one standard deviation). # # If the error is normal, we should have # P(error < alpha sigma) = erf(alpha / sqrt(2)) print("The uncertainty estimates are tested in this section.") print("If the error is normally distributed, the actual error will be less than a") print("multiplier 'alpha' times the computed uncertainty 'sigma' a fraction of") print("time given by:") print("P(error < alpha sigma) = erf(alpha / sqrt(2))") print("For example, the true error should be less than 1.0 * sigma") print("(one standard deviation) a total of 68% of the time, and") print("less than 2.0 * sigma (two standard deviations) 95% of the time.") print("The observed fraction of the time that error < alpha sigma, and its") print("uncertainty, is given as 'obs' (with uncertainty 'obs err') below.") print("This should be compared to the column labeled 'normal'.") print("A weak lower bound that holds regardless of how the error is distributed is given") print("by Chebyshev's inequality, and is listed as 'cheby' below.") print("Uncertainty estimates are tested for both free energy differences and expectations.") print("") # error bounds min_alpha = 0.1 max_alpha = 4.0 nalpha = 40 alpha_values = np.linspace(min_alpha, max_alpha, num=nalpha) Pobs = np.zeros([nalpha], dtype=np.float64) dPobs = np.zeros([nalpha], dtype=np.float64) Plow = np.zeros([nalpha], dtype=np.float64) Phigh = np.zeros([nalpha], dtype=np.float64) nreplicates = len(replicates) dim = len(np.shape(replicates[0]['estimated'])) for alpha_index in range(0, nalpha): # Get alpha value. alpha = alpha_values[alpha_index] # Accumulate statistics across replicates a = 1.0 b = 1.0 # how many dimensions in the data? for (replicate_index, replicate) in enumerate(replicates): # Compute fraction of free energy differences where error <= alpha sigma # We only count differences where the analytical difference is larger than a cutoff, so that the results will not be limited by machine precision. if (dim == 0): if np.isnan(replicate['error']) or np.isnan(replicate['destimated']): print("replicate %d" % replicate_index) print("error") print(replicate['error']) print("destimated") print(replicate['destimated']) raise ArithmaticError("Encountered isnan in computation") else: if abs(replicate['error']) <= alpha * replicate['destimated']: a += 1.0 else: b += 1.0 elif (dim == 1): for i in range(0, K): if np.isnan(replicate['error'][i]) or np.isnan(replicate['destimated'][i]): print("replicate %d" % replicate_index) print("error") print(replicate['error']) print("destimated") print(replicate['destimated']) raise ArithmaticError("Encountered isnan in computation") else: if abs(replicate['error'][i]) <= alpha * replicate['destimated'][i]: a += 1.0 else: b += 1.0 elif (dim == 2): for i in range(0, K): for j in range(0, i): if np.isnan(replicate['error'][i, j]) or np.isnan(replicate['destimated'][i, j]): print("replicate %d" % replicate_index) print("ij_error") print(replicate['error']) print("ij_estimated") print(replicate['destimated']) raise ArithmaticError("Encountered isnan in computation") else: if abs(replicate['error'][i, j]) <= alpha * replicate['destimated'][i, j]: a += 1.0 else: b += 1.0 Pobs[alpha_index] = a / (a + b) Plow[alpha_index] = scipy.stats.beta.ppf(0.025, a, b) Phigh[alpha_index] = scipy.stats.beta.ppf(0.975, a, b) dPobs[alpha_index] = np.sqrt(a * b / ((a + b) ** 2 * (a + b + 1))) # Write error as a function of sigma. print("Error vs. alpha") print("%5s %10s %10s %16s %17s" % ('alpha', 'cheby', 'obs', 'obs err', 'normal')) Pnorm = scipy.special.erf(alpha_values / np.sqrt(2.)) for alpha_index in range(0, nalpha): alpha = alpha_values[alpha_index] print("%5.1f %10.6f %10.6f (%10.6f,%10.6f) %10.6f" % (alpha, 1. - 1. / alpha ** 2, Pobs[alpha_index], Plow[alpha_index], Phigh[alpha_index], Pnorm[alpha_index])) # compute bias, average, etc - do it by replicate, not by bias if dim == 0: vals = np.zeros([nreplicates], dtype=np.float64) vals_error = np.zeros([nreplicates], dtype=np.float64) vals_std = np.zeros([nreplicates], dtype=np.float64) elif dim == 1: vals = np.zeros([nreplicates, K], dtype=np.float64) vals_error = np.zeros([nreplicates, K], dtype=np.float64) vals_std = np.zeros([nreplicates, K], dtype=np.float64) elif dim == 2: vals = np.zeros([nreplicates, K, K], dtype=np.float64) vals_error = np.zeros([nreplicates, K, K], dtype=np.float64) vals_std = np.zeros([nreplicates, K, K], dtype=np.float64) rindex = 0 for replicate in replicates: if dim == 0: vals[rindex] = replicate['estimated'] vals_error[rindex] = replicate['error'] vals_std[rindex] = replicate['destimated'] elif dim == 1: for i in range(0, K): vals[rindex,:] = replicate['estimated'] vals_error[rindex,:] = replicate['error'] vals_std[rindex,:] = replicate['destimated'] elif dim == 2: for i in range(0, K): for j in range(0, i): vals[rindex,:,:] = replicate['estimated'] vals_error[rindex,:,:] = replicate['error'] vals_std[rindex,:,:] = replicate['destimated'] rindex += 1 aveval = np.average(vals, axis=0) standarddev = np.std(vals, axis=0) bias = np.average(vals_error, axis=0) aveerr = np.average(vals_error, axis=0) d2 = vals_error ** 2 rms_error = (np.average(d2, axis=0)) ** (1.0 / 2.0) d2 = vals_std ** 2 ave_std = (np.average(d2, axis=0)) ** (1.0 / 2.0) # for now, just print out the data at the end for each print("") print(" i average bias rms_error stddev ave_analyt_std") print("---------------------------------------------------------------------") if dim == 0: pave = aveval pbias = bias prms = rms_error pstdev = standarddev pavestd = ave_std elif dim == 1: for i in range(0, K): pave = aveval[i] pbias = bias[i] prms = rms_error[i] pstdev = standarddev[i] pavestd = ave_std[i] print("%7d %10.4f %10.4f %10.4f %10.4f %10.4f" % (i, pave, pbias, prms, pstdev, pavestd)) elif dim == 2: for i in range(0, K): pave = aveval[0, i] pbias = bias[0, i] prms = rms_error[0, i] pstdev = standarddev[0, i] pavestd = ave_std[0, i] print("%7d %10.4f %10.4f %10.4f %10.4f %10.4f" % (i, pave, pbias, prms, pstdev, pavestd)) print("Totals: %10.4f %10.4f %10.4f %10.4f %10.4f" % (pave, pbias, prms, pstdev, pavestd)) return alpha_values, Pobs, Plow, Phigh, dPobs, Pnorm
mit
imito/odin
odin/networks/mixture_density_network.py
1
10035
from __future__ import absolute_import, division, print_function import collections import numpy as np import tensorflow as tf from sklearn.mixture import GaussianMixture from tensorflow.python import keras from tensorflow.python.framework import tensor_shape from tensorflow.python.keras.layers import Dense from tensorflow_probability.python import bijectors as tfb from tensorflow_probability.python import distributions as tfd from tensorflow_probability.python.layers.distribution_layer import ( DistributionLambda, _get_convert_to_tensor_fn, _serialize, _serialize_function) from tensorflow_probability.python.layers.internal import \ distribution_tensor_coercible as dtc from tensorflow_probability.python.layers.internal import \ tensor_tuple as tensor_tuple __all__ = ['MixtureDensityNetwork'] _COV_TYPES = ('none', 'diag', 'full', 'tril') class MixtureDensityNetwork(Dense): """A mixture of Gaussian Keras layer. Parameters ---------- units : `int` number of output features for each component. n_components : `int` (default=`2`) The number of mixture components. covariance_type : {'none', 'diag', 'full', 'tril'} String describing the type of covariance parameters to use. Must be one of: 'none' (each component has its own single variance). 'diag' (each component has its own diagonal covariance matrix), 'tril' (lower triangle matrix), 'full' (each component has its own general covariance matrix), """ def __init__(self, units, n_components=2, covariance_type='none', convert_to_tensor_fn=tfd.Distribution.sample, softplus_scale=True, validate_args=False, activation='linear', use_bias=True, kernel_initializer='glorot_uniform', bias_initializer='zeros', kernel_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, bias_constraint=None, **kwargs): covariance_type = str(covariance_type).lower() assert covariance_type in _COV_TYPES, \ "No support for covariance_type: '%s', the support value are: %s" % \ (covariance_type, ', '.join(_COV_TYPES)) self._covariance_type = covariance_type self._n_components = int(n_components) self._validate_args = bool(validate_args) self._convert_to_tensor_fn = _get_convert_to_tensor_fn(convert_to_tensor_fn) self._softplus_scale = bool(softplus_scale) # We'll need to keep track of who's calling who since the functional # API has a different way of injecting `_keras_history` than the # `keras.Sequential` way. self._enter_dunder_call = False # ====== calculating the number of parameters ====== # if covariance_type == 'none': component_params_size = 2 * units elif covariance_type == 'diag': # only the diagonal component_params_size = units + units elif covariance_type == 'tril': # lower triangle component_params_size = units + units * (units + 1) // 2 elif covariance_type == 'full': # full matrix component_params_size = units + units * units else: raise NotImplementedError self._component_params_size = component_params_size params_size = self.n_components + self.n_components * component_params_size self._event_size = units super(MixtureDensityNetwork, self).__init__(units=params_size, activation=activation, use_bias=use_bias, kernel_initializer=kernel_initializer, bias_initializer=bias_initializer, kernel_regularizer=kernel_regularizer, bias_regularizer=bias_regularizer, activity_regularizer=activity_regularizer, kernel_constraint=kernel_constraint, bias_constraint=bias_constraint, **kwargs) @property def event_size(self): return self._event_size @property def covariance_type(self): return self._covariance_type @property def n_components(self): return self._n_components @property def component_params_size(self): return self._component_params_size def __call__(self, inputs, *args, **kwargs): self._enter_dunder_call = True distribution, _ = super(MixtureDensityNetwork, self).__call__(inputs, *args, **kwargs) self._enter_dunder_call = False return distribution def call(self, inputs, *args, **kwargs): dense_kwargs = dict(kwargs) dense_kwargs.pop('training', None) params = super(MixtureDensityNetwork, self).call(inputs, *args, **dense_kwargs) n_components = tf.convert_to_tensor(value=self.n_components, name='n_components', dtype_hint=tf.int32) # ====== mixture weights ====== # mixture_coefficients = params[..., :n_components] mixture_dist = tfd.Categorical(logits=mixture_coefficients, validate_args=self._validate_args, name="MixtureWeights") # ====== initialize the components ====== # params = tf.reshape( params[..., n_components:], tf.concat([tf.shape(input=params)[:-1], [n_components, -1]], axis=0)) if bool(self._softplus_scale): scale_fn = lambda x: tf.math.softplus(x) + tfd.softplus_inverse(1.0) else: scale_fn = lambda x: x if self.covariance_type == 'none': cov = 'IndependentNormal' loc_params, scale_params = tf.split(params, 2, axis=-1) scale_params = scale_params components_dist = tfd.Independent(tfd.Normal( loc=loc_params, scale=scale_fn(scale_params), validate_args=self._validate_args), reinterpreted_batch_ndims=1) # elif self.covariance_type == 'diag': cov = 'MultivariateNormalDiag' loc_params, scale_params = tf.split(params, 2, axis=-1) components_dist = tfd.MultivariateNormalDiag( loc=loc_params, scale_diag=scale_fn(scale_params), validate_args=self._validate_args) # elif self.covariance_type == 'tril': cov = 'MultivariateNormalTriL' loc_params = params[..., :self.event_size] scale_params = scale_fn(params[..., self.event_size:]) scale_tril = tfb.ScaleTriL(diag_shift=np.array( 1e-5, params.dtype.as_numpy_dtype()), validate_args=self._validate_args) components_dist = tfd.MultivariateNormalTriL( loc=loc_params, scale_tril=scale_tril(scale_params), validate_args=self._validate_args) # elif self.covariance_type == 'full': cov = 'MultivariateNormalFull' loc_params = params[..., :self.event_size] scale_params = tf.reshape( scale_fn(params[..., self.event_size:]), tf.concat( [tf.shape(input=params)[:-1], (self.event_size, self.event_size)], axis=0)) components_dist = tfd.MultivariateNormalFullCovariance( loc=loc_params, covariance_matrix=scale_params, validate_args=self._validate_args) else: raise NotImplementedError # ====== finally the mixture ====== # d = tfd.MixtureSameFamily(mixture_distribution=mixture_dist, components_distribution=components_dist, validate_args=False, name="Mixture%s" % cov) # Wraps the distribution to return both dist and concrete value.""" value_is_seq = isinstance(d.dtype, collections.Sequence) maybe_composite_convert_to_tensor_fn = ( (lambda d: tensor_tuple.TensorTuple(self._convert_to_tensor_fn(d))) if value_is_seq else self._convert_to_tensor_fn) distribution = dtc._TensorCoercible( # pylint: disable=protected-access distribution=d, convert_to_tensor_fn=maybe_composite_convert_to_tensor_fn) value = distribution._value() # pylint: disable=protected-access value._tfp_distribution = distribution # pylint: disable=protected-access if value_is_seq: value.shape = value[-1].shape value.get_shape = value[-1].get_shape value.dtype = value[-1].dtype distribution.shape = value[-1].shape distribution.get_shape = value[-1].get_shape else: distribution.shape = value.shape distribution.get_shape = value.get_shape if self._enter_dunder_call: # Its critical to return both distribution and concretization # so Keras can inject `_keras_history` to both. This is what enables # either to be used as an input to another Keras `Model`. return distribution, value return distribution def compute_output_shape(self, input_shape): input_shape = tensor_shape.TensorShape(input_shape) input_shape = input_shape.with_rank_at_least(2) if tensor_shape.dimension_value(input_shape[-1]) is None: raise ValueError( 'The innermost dimension of input_shape must be defined, but saw: %s' % input_shape) # the number of output units is equal to event_size, not number of # hidden units return input_shape[:-1].concatenate(self.event_size) def get_config(self): """Returns the config of this layer. """ config = { 'convert_to_tensor_fn': _serialize(self._convert_to_tensor_fn), 'covariance_type': self._covariance_type, 'validate_args': self._validate_args, 'n_components': self._n_components, 'softplus_scale': self._softplus_scale, } base_config = super(MixtureDensityNetwork, self).get_config() base_config.update(config) return base_config
mit
stylianos-kampakis/scikit-learn
sklearn/metrics/tests/test_regression.py
272
6066
from __future__ import division, print_function import numpy as np from itertools import product from sklearn.utils.testing import assert_raises from sklearn.utils.testing import assert_equal from sklearn.utils.testing import assert_almost_equal from sklearn.utils.testing import assert_array_equal from sklearn.utils.testing import assert_array_almost_equal from sklearn.metrics import explained_variance_score from sklearn.metrics import mean_absolute_error from sklearn.metrics import mean_squared_error from sklearn.metrics import median_absolute_error from sklearn.metrics import r2_score from sklearn.metrics.regression import _check_reg_targets def test_regression_metrics(n_samples=50): y_true = np.arange(n_samples) y_pred = y_true + 1 assert_almost_equal(mean_squared_error(y_true, y_pred), 1.) assert_almost_equal(mean_absolute_error(y_true, y_pred), 1.) assert_almost_equal(median_absolute_error(y_true, y_pred), 1.) assert_almost_equal(r2_score(y_true, y_pred), 0.995, 2) assert_almost_equal(explained_variance_score(y_true, y_pred), 1.) def test_multioutput_regression(): y_true = np.array([[1, 0, 0, 1], [0, 1, 1, 1], [1, 1, 0, 1]]) y_pred = np.array([[0, 0, 0, 1], [1, 0, 1, 1], [0, 0, 0, 1]]) error = mean_squared_error(y_true, y_pred) assert_almost_equal(error, (1. / 3 + 2. / 3 + 2. / 3) / 4.) # mean_absolute_error and mean_squared_error are equal because # it is a binary problem. error = mean_absolute_error(y_true, y_pred) assert_almost_equal(error, (1. / 3 + 2. / 3 + 2. / 3) / 4.) error = r2_score(y_true, y_pred, multioutput='variance_weighted') assert_almost_equal(error, 1. - 5. / 2) error = r2_score(y_true, y_pred, multioutput='uniform_average') assert_almost_equal(error, -.875) def test_regression_metrics_at_limits(): assert_almost_equal(mean_squared_error([0.], [0.]), 0.00, 2) assert_almost_equal(mean_absolute_error([0.], [0.]), 0.00, 2) assert_almost_equal(median_absolute_error([0.], [0.]), 0.00, 2) assert_almost_equal(explained_variance_score([0.], [0.]), 1.00, 2) assert_almost_equal(r2_score([0., 1], [0., 1]), 1.00, 2) def test__check_reg_targets(): # All of length 3 EXAMPLES = [ ("continuous", [1, 2, 3], 1), ("continuous", [[1], [2], [3]], 1), ("continuous-multioutput", [[1, 1], [2, 2], [3, 1]], 2), ("continuous-multioutput", [[5, 1], [4, 2], [3, 1]], 2), ("continuous-multioutput", [[1, 3, 4], [2, 2, 2], [3, 1, 1]], 3), ] for (type1, y1, n_out1), (type2, y2, n_out2) in product(EXAMPLES, repeat=2): if type1 == type2 and n_out1 == n_out2: y_type, y_check1, y_check2, multioutput = _check_reg_targets( y1, y2, None) assert_equal(type1, y_type) if type1 == 'continuous': assert_array_equal(y_check1, np.reshape(y1, (-1, 1))) assert_array_equal(y_check2, np.reshape(y2, (-1, 1))) else: assert_array_equal(y_check1, y1) assert_array_equal(y_check2, y2) else: assert_raises(ValueError, _check_reg_targets, y1, y2, None) def test_regression_multioutput_array(): y_true = [[1, 2], [2.5, -1], [4.5, 3], [5, 7]] y_pred = [[1, 1], [2, -1], [5, 4], [5, 6.5]] mse = mean_squared_error(y_true, y_pred, multioutput='raw_values') mae = mean_absolute_error(y_true, y_pred, multioutput='raw_values') r = r2_score(y_true, y_pred, multioutput='raw_values') evs = explained_variance_score(y_true, y_pred, multioutput='raw_values') assert_array_almost_equal(mse, [0.125, 0.5625], decimal=2) assert_array_almost_equal(mae, [0.25, 0.625], decimal=2) assert_array_almost_equal(r, [0.95, 0.93], decimal=2) assert_array_almost_equal(evs, [0.95, 0.93], decimal=2) # mean_absolute_error and mean_squared_error are equal because # it is a binary problem. y_true = [[0, 0]]*4 y_pred = [[1, 1]]*4 mse = mean_squared_error(y_true, y_pred, multioutput='raw_values') mae = mean_absolute_error(y_true, y_pred, multioutput='raw_values') r = r2_score(y_true, y_pred, multioutput='raw_values') assert_array_almost_equal(mse, [1., 1.], decimal=2) assert_array_almost_equal(mae, [1., 1.], decimal=2) assert_array_almost_equal(r, [0., 0.], decimal=2) r = r2_score([[0, -1], [0, 1]], [[2, 2], [1, 1]], multioutput='raw_values') assert_array_almost_equal(r, [0, -3.5], decimal=2) assert_equal(np.mean(r), r2_score([[0, -1], [0, 1]], [[2, 2], [1, 1]], multioutput='uniform_average')) evs = explained_variance_score([[0, -1], [0, 1]], [[2, 2], [1, 1]], multioutput='raw_values') assert_array_almost_equal(evs, [0, -1.25], decimal=2) # Checking for the condition in which both numerator and denominator is # zero. y_true = [[1, 3], [-1, 2]] y_pred = [[1, 4], [-1, 1]] r2 = r2_score(y_true, y_pred, multioutput='raw_values') assert_array_almost_equal(r2, [1., -3.], decimal=2) assert_equal(np.mean(r2), r2_score(y_true, y_pred, multioutput='uniform_average')) evs = explained_variance_score(y_true, y_pred, multioutput='raw_values') assert_array_almost_equal(evs, [1., -3.], decimal=2) assert_equal(np.mean(evs), explained_variance_score(y_true, y_pred)) def test_regression_custom_weights(): y_true = [[1, 2], [2.5, -1], [4.5, 3], [5, 7]] y_pred = [[1, 1], [2, -1], [5, 4], [5, 6.5]] msew = mean_squared_error(y_true, y_pred, multioutput=[0.4, 0.6]) maew = mean_absolute_error(y_true, y_pred, multioutput=[0.4, 0.6]) rw = r2_score(y_true, y_pred, multioutput=[0.4, 0.6]) evsw = explained_variance_score(y_true, y_pred, multioutput=[0.4, 0.6]) assert_almost_equal(msew, 0.39, decimal=2) assert_almost_equal(maew, 0.475, decimal=3) assert_almost_equal(rw, 0.94, decimal=2) assert_almost_equal(evsw, 0.94, decimal=2)
bsd-3-clause
wright-group/WrightTools
setup.py
1
2118
#! /usr/bin/env python3 import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) def read(fname): return open(os.path.join(here, fname)).read() extra_files = { "WrightTools": [ "datasets", "datasets/*", "datasets/*/*", "datasets/*/*/*", "datasets/*/*/*/*", "CITATION", "VERSION", "WT5_VERSION", ] } with open(os.path.join(here, "WrightTools", "VERSION")) as version_file: version = version_file.read().strip() docs_require = ["sphinx", "sphinx-gallery==0.8.2", "sphinx-rtd-theme"] setup( name="WrightTools", packages=find_packages(exclude=("tests", "tests.*")), package_data=extra_files, python_requires=">=3.6", install_requires=[ "h5py", "imageio", "matplotlib>=3.3.0", "numexpr", "numpy>=1.15.0", "pint", "python-dateutil", "scipy", "tidy_headers>=1.0.0", ], extras_require={ "docs": docs_require, "dev": [ "black", "pre-commit", "pydocstyle", "pytest", "pytest-cov", "databroker>=1.2", "msgpack", ] + docs_require, }, version=version, description="Tools for loading, processing, and plotting multidimensional spectroscopy data.", long_description=read("README.rst"), author="WrightTools Developers", license="MIT", url="http://wright.tools", keywords="spectroscopy science multidimensional visualization", entry_points={"console_scripts": ["wt-tree=WrightTools.__main__:wt_tree"]}, classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Framework :: Matplotlib", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering", ], )
mit
RPGOne/Skynet
scikit-learn-c604ac39ad0e5b066d964df3e8f31ba7ebda1e0e/examples/svm/plot_svm_scale_c.py
26
5353
""" ============================================== Scaling the regularization parameter for SVCs ============================================== The following example illustrates the effect of scaling the regularization parameter when using :ref:`svm` for :ref:`classification <svm_classification>`. For SVC classification, we are interested in a risk minimization for the equation: .. math:: C \sum_{i=1, n} \mathcal{L} (f(x_i), y_i) + \Omega (w) where - :math:`C` is used to set the amount of regularization - :math:`\mathcal{L}` is a `loss` function of our samples and our model parameters. - :math:`\Omega` is a `penalty` function of our model parameters If we consider the loss function to be the individual error per sample, then the data-fit term, or the sum of the error for each sample, will increase as we add more samples. The penalization term, however, will not increase. When using, for example, :ref:`cross validation <cross_validation>`, to set the amount of regularization with `C`, there will be a different amount of samples between the main problem and the smaller problems within the folds of the cross validation. Since our loss function is dependent on the amount of samples, the latter will influence the selected value of `C`. The question that arises is `How do we optimally adjust C to account for the different amount of training samples?` The figures below are used to illustrate the effect of scaling our `C` to compensate for the change in the number of samples, in the case of using an `L1` penalty, as well as the `L2` penalty. L1-penalty case ----------------- In the `L1` case, theory says that prediction consistency (i.e. that under given hypothesis, the estimator learned predicts as well as a model knowing the true distribution) is not possible because of the bias of the `L1`. It does say, however, that model consistency, in terms of finding the right set of non-zero parameters as well as their signs, can be achieved by scaling `C1`. L2-penalty case ----------------- The theory says that in order to achieve prediction consistency, the penalty parameter should be kept constant as the number of samples grow. Simulations ------------ The two figures below plot the values of `C` on the `x-axis` and the corresponding cross-validation scores on the `y-axis`, for several different fractions of a generated data-set. In the `L1` penalty case, the cross-validation-error correlates best with the test-error, when scaling our `C` with the number of samples, `n`, which can be seen in the first figure. For the `L2` penalty case, the best result comes from the case where `C` is not scaled. .. topic:: Note: Two separate datasets are used for the two different plots. The reason behind this is the `L1` case works better on sparse data, while `L2` is better suited to the non-sparse case. """ print(__doc__) # Author: Andreas Mueller <amueller@ais.uni-bonn.de> # Jaques Grobler <jaques.grobler@inria.fr> # License: BSD 3 clause import numpy as np import matplotlib.pyplot as plt from sklearn.svm import LinearSVC from sklearn.cross_validation import ShuffleSplit from sklearn.grid_search import GridSearchCV from sklearn.utils import check_random_state from sklearn import datasets rnd = check_random_state(1) # set up dataset n_samples = 100 n_features = 300 # L1 data (only 5 informative features) X_1, y_1 = datasets.make_classification(n_samples=n_samples, n_features=n_features, n_informative=5, random_state=1) # L2 data: non sparse, but less features y_2 = np.sign(.5 - rnd.rand(n_samples)) X_2 = rnd.randn(n_samples, n_features / 5) + y_2[:, np.newaxis] X_2 += 5 * rnd.randn(n_samples, n_features / 5) clf_sets = [(LinearSVC(penalty='L1', loss='L2', dual=False, tol=1e-3), np.logspace(-2.3, -1.3, 10), X_1, y_1), (LinearSVC(penalty='L2', loss='L2', dual=True, tol=1e-4), np.logspace(-4.5, -2, 10), X_2, y_2)] colors = ['b', 'g', 'r', 'c'] for fignum, (clf, cs, X, y) in enumerate(clf_sets): # set up the plot for each regressor plt.figure(fignum, figsize=(9, 10)) for k, train_size in enumerate(np.linspace(0.3, 0.7, 3)[::-1]): param_grid = dict(C=cs) # To get nice curve, we need a large number of iterations to # reduce the variance grid = GridSearchCV(clf, refit=False, param_grid=param_grid, cv=ShuffleSplit(n=n_samples, train_size=train_size, n_iter=250, random_state=1)) grid.fit(X, y) scores = [x[1] for x in grid.grid_scores_] scales = [(1, 'No scaling'), ((n_samples * train_size), '1/n_samples'), ] for subplotnum, (scaler, name) in enumerate(scales): plt.subplot(2, 1, subplotnum + 1) plt.xlabel('C') plt.ylabel('CV Score') grid_cs = cs * float(scaler) # scale the C's plt.semilogx(grid_cs, scores, label="fraction %.2f" % train_size) plt.title('scaling=%s, penalty=%s, loss=%s' % (name, clf.penalty, clf.loss)) plt.legend(loc="best") plt.show()
bsd-3-clause
awolfly9/jd_analysis
jd/management/commands/real_time_analysis.py
1
6783
#-*- coding: utf-8 -*- import logging import sys import matplotlib import time matplotlib.use('Agg') import os import config import utils import redis import markdown2 from scrapy.utils.log import configure_logging from django.core.management.base import BaseCommand from wordcloud import WordCloud from sqlhelper import SqlHelper from django.conf import settings from pandas import Series, DataFrame from cus_exception import CusException from jd.analysis_jd_item import Analysis from scrapy.crawler import CrawlerProcess from scrapy.utils.project import get_project_settings # python manage.py class Command(BaseCommand): help = 'analysis jd comment data' def add_arguments(self, parser): parser.add_argument('-a', action = 'append', dest = 'spargs', default = [], help = 'set spider argument (may be repeated)') #必须实现的方法 def handle(self, *args, **options): reload(sys) sys.setdefaultencoding('utf-8') os.chdir(sys.path[0]) spargs = utils.arglist_to_dict(options['spargs']) if not os.path.exists('log'): os.makedirs('log') configure_logging(install_root_handler = False) logging.basicConfig( filename = 'log/%s.log' % spargs.get('product_id'), format = '%(levelname)s %(asctime)s: %(message)s', level = logging.ERROR ) guid = spargs.get('guid', '0') product_id = spargs.get('product_id', '0') if guid == '0' or product_id == '0': utils.log('分析数据传入参数不对,接收到的参数为: spargs:%s' % spargs) utils.push_redis(guid = guid, product_id = product_id, info = '分析数据传入参数不对,接收到的参数为:%s' % spargs) utils.push_redis(guid = guid, product_id = product_id, info = 'finish') return utils.log('开始分析:%s' % spargs) sql = SqlHelper() red = redis.StrictRedis(host = config.redis_host, port = config.redis_part, db = config.redis_db, password = config.redis_pass) spargs['sql'] = sql spargs['red'] = red # 运行爬虫 runspider(spargs) # 开启分析 analysis = RealTimeAnalysis(**spargs) analysis.run() def runspider(spargs): url = spargs.get('url') name = spargs.get('name', 'jd') if not os.path.exists('log'): os.makedirs('log') configure_logging(install_root_handler = False) logging.basicConfig( filename = 'log/%s.log' % name, format = '%(levelname)s %(asctime)s: %(message)s', level = logging.ERROR ) print "get_project_settings().attributes:", get_project_settings().attributes['SPIDER_MODULES'] process = CrawlerProcess(get_project_settings()) start_time = time.time() try: logging.info('进入爬虫') process.crawl(name, **spargs) process.start() except Exception, e: process.stop() logging.error("url:%s, errorMsg:%s" % (url, e.message)) finally: logging.error("url:%s, errorMsg:%s" % (url, "爬虫终止")) utils.log('spider crawl time:%s' % str(time.time() - start_time)) # 注意考虑到多个商品对比的情况 class RealTimeAnalysis(Analysis): def __init__(self, **kwargs): super(RealTimeAnalysis, self).__init__(**kwargs) def record_result(self, result, color = 'default', font_size = 16, strong = False, type = 'word', br = True, default = False, new_line = False): self.full_result = '' if type == 'word' and default == False: if strong: result = '<strong style="color: %s; font-size: %spx;">%s</strong>' % (color, font_size, result) else: result = '<span style="color: %s; font-size: %spx;">%s</span>' % (color, font_size, result) elif type == 'image': result = markdown2.markdown(result) self.full_result += result if br: self.full_result += '<br>' if new_line: self.full_result += '\n' utils.push_redis(guid = self.guid, product_id = self.product_id, info = self.full_result, type = type) # 提取商品的基本信息 def analysis_item_info(self): pass # 分析购买渠道并生成柱状图 def analysis_buy_channel(self): self.record_result('正在分析商品的购买渠道占比...', color = 'black', font_size = 24, strong = True) super(RealTimeAnalysis, self).analysis_buy_channel() # 分析购买的商品颜色 def analysis_color(self): self.record_result('正在分析该商品不同颜色的购买量...', color = 'black', font_size = 24, strong = True) super(RealTimeAnalysis, self).analysis_color() # 分析购买的商品大小分类 def analysis_size(self): self.record_result('正在分析该商品不同配置的购买量...', color = 'black', font_size = 24, strong = True) super(RealTimeAnalysis, self).analysis_size() # 分析购买该商品的地域占比 def analysis_province(self): self.record_result('正在分析该商品不同省份的购买量...', color = 'black', font_size = 24, strong = True) super(RealTimeAnalysis, self).analysis_province() # 分析商品购买、评论和时间关系图 def analysis_sell_time(self): self.record_result('正在分析商品购买、评论和时间关系图...', color = 'black', font_size = 24, strong = True) super(RealTimeAnalysis, self).analysis_sell_time() # 分析移动端购买占比 def analysis_mobile(self): self.record_result('正在分析移动端购买占比...', color = 'black', font_size = 24, strong = True) super(RealTimeAnalysis, self).analysis_mobile() # 分析购买后评论的时间分布 def analysis_buy_days(self): self.record_result('正在分析该商品购买后用户评论的时间', color = 'black', font_size = 24, strong = True) super(RealTimeAnalysis, self).analysis_buy_days() # 分析购买的用户的等级分布 def analysis_user_level(self): self.record_result('正在分析购买该商品用户的等级...', color = 'black', font_size = 24, strong = True) super(RealTimeAnalysis, self).analysis_user_level() # 分析 24 小时分布 def analysis_hour(self): self.record_result('正在分析用户购买该商品 24 小时占比...', color = 'black', font_size = 24, strong = True) super(RealTimeAnalysis, self).analysis_hour() def finish(self): self.record_result('finish', default = True, br = False)
lgpl-3.0
renatopp/liac
liac/plot.py
1
1988
# ============================================================================= # Federal University of Rio Grande do Sul (UFRGS) # Connectionist Artificial Intelligence Laboratory (LIAC) # Renato de Pontes Pereira - rppereira@inf.ufrgs.br # ============================================================================= # Copyright (c) 2011 Renato de Pontes Pereira, renato.ppontes at gmail dot com # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. # ============================================================================= from matplotlib.pyplot import * from matplotlib.patches import * from matplotlib.text import * from matplotlib import cm def Gaussian(mean, cov, nstd=2, **kwargs): '''Creates an Ellipse Artist object using mean and covariance''' v, w = np.linalg.eigh(cov) u = w[:, 0] angle = np.arctan2(u[1], u[0]) angle = np.rad2deg(angle) width, height = v*2*nstd e = Ellipse(mean, width, height, angle, **kwargs) return e
mit
arabenjamin/scikit-learn
examples/svm/plot_separating_hyperplane_unbalanced.py
329
1850
""" ================================================= SVM: Separating hyperplane for unbalanced classes ================================================= Find the optimal separating hyperplane using an SVC for classes that are unbalanced. We first find the separating plane with a plain SVC and then plot (dashed) the separating hyperplane with automatically correction for unbalanced classes. .. currentmodule:: sklearn.linear_model .. note:: This example will also work by replacing ``SVC(kernel="linear")`` with ``SGDClassifier(loss="hinge")``. Setting the ``loss`` parameter of the :class:`SGDClassifier` equal to ``hinge`` will yield behaviour such as that of a SVC with a linear kernel. For example try instead of the ``SVC``:: clf = SGDClassifier(n_iter=100, alpha=0.01) """ print(__doc__) import numpy as np import matplotlib.pyplot as plt from sklearn import svm #from sklearn.linear_model import SGDClassifier # we create 40 separable points rng = np.random.RandomState(0) n_samples_1 = 1000 n_samples_2 = 100 X = np.r_[1.5 * rng.randn(n_samples_1, 2), 0.5 * rng.randn(n_samples_2, 2) + [2, 2]] y = [0] * (n_samples_1) + [1] * (n_samples_2) # fit the model and get the separating hyperplane clf = svm.SVC(kernel='linear', C=1.0) clf.fit(X, y) w = clf.coef_[0] a = -w[0] / w[1] xx = np.linspace(-5, 5) yy = a * xx - clf.intercept_[0] / w[1] # get the separating hyperplane using weighted classes wclf = svm.SVC(kernel='linear', class_weight={1: 10}) wclf.fit(X, y) ww = wclf.coef_[0] wa = -ww[0] / ww[1] wyy = wa * xx - wclf.intercept_[0] / ww[1] # plot separating hyperplanes and samples h0 = plt.plot(xx, yy, 'k-', label='no weights') h1 = plt.plot(xx, wyy, 'k--', label='with weights') plt.scatter(X[:, 0], X[:, 1], c=y, cmap=plt.cm.Paired) plt.legend() plt.axis('tight') plt.show()
bsd-3-clause
RachitKansal/scikit-learn
sklearn/kernel_approximation.py
258
17973
""" The :mod:`sklearn.kernel_approximation` module implements several approximate kernel feature maps base on Fourier transforms. """ # Author: Andreas Mueller <amueller@ais.uni-bonn.de> # # License: BSD 3 clause import warnings import numpy as np import scipy.sparse as sp from scipy.linalg import svd from .base import BaseEstimator from .base import TransformerMixin from .utils import check_array, check_random_state, as_float_array from .utils.extmath import safe_sparse_dot from .utils.validation import check_is_fitted from .metrics.pairwise import pairwise_kernels class RBFSampler(BaseEstimator, TransformerMixin): """Approximates feature map of an RBF kernel by Monte Carlo approximation of its Fourier transform. It implements a variant of Random Kitchen Sinks.[1] Read more in the :ref:`User Guide <rbf_kernel_approx>`. Parameters ---------- gamma : float Parameter of RBF kernel: exp(-gamma * x^2) n_components : int Number of Monte Carlo samples per original feature. Equals the dimensionality of the computed feature space. random_state : {int, RandomState}, optional If int, random_state is the seed used by the random number generator; if RandomState instance, random_state is the random number generator. Notes ----- See "Random Features for Large-Scale Kernel Machines" by A. Rahimi and Benjamin Recht. [1] "Weighted Sums of Random Kitchen Sinks: Replacing minimization with randomization in learning" by A. Rahimi and Benjamin Recht. (http://www.eecs.berkeley.edu/~brecht/papers/08.rah.rec.nips.pdf) """ def __init__(self, gamma=1., n_components=100, random_state=None): self.gamma = gamma self.n_components = n_components self.random_state = random_state def fit(self, X, y=None): """Fit the model with X. Samples random projection according to n_features. Parameters ---------- X : {array-like, sparse matrix}, shape (n_samples, n_features) Training data, where n_samples in the number of samples and n_features is the number of features. Returns ------- self : object Returns the transformer. """ X = check_array(X, accept_sparse='csr') random_state = check_random_state(self.random_state) n_features = X.shape[1] self.random_weights_ = (np.sqrt(2 * self.gamma) * random_state.normal( size=(n_features, self.n_components))) self.random_offset_ = random_state.uniform(0, 2 * np.pi, size=self.n_components) return self def transform(self, X, y=None): """Apply the approximate feature map to X. Parameters ---------- X : {array-like, sparse matrix}, shape (n_samples, n_features) New data, where n_samples in the number of samples and n_features is the number of features. Returns ------- X_new : array-like, shape (n_samples, n_components) """ check_is_fitted(self, 'random_weights_') X = check_array(X, accept_sparse='csr') projection = safe_sparse_dot(X, self.random_weights_) projection += self.random_offset_ np.cos(projection, projection) projection *= np.sqrt(2.) / np.sqrt(self.n_components) return projection class SkewedChi2Sampler(BaseEstimator, TransformerMixin): """Approximates feature map of the "skewed chi-squared" kernel by Monte Carlo approximation of its Fourier transform. Read more in the :ref:`User Guide <skewed_chi_kernel_approx>`. Parameters ---------- skewedness : float "skewedness" parameter of the kernel. Needs to be cross-validated. n_components : int number of Monte Carlo samples per original feature. Equals the dimensionality of the computed feature space. random_state : {int, RandomState}, optional If int, random_state is the seed used by the random number generator; if RandomState instance, random_state is the random number generator. References ---------- See "Random Fourier Approximations for Skewed Multiplicative Histogram Kernels" by Fuxin Li, Catalin Ionescu and Cristian Sminchisescu. See also -------- AdditiveChi2Sampler : A different approach for approximating an additive variant of the chi squared kernel. sklearn.metrics.pairwise.chi2_kernel : The exact chi squared kernel. """ def __init__(self, skewedness=1., n_components=100, random_state=None): self.skewedness = skewedness self.n_components = n_components self.random_state = random_state def fit(self, X, y=None): """Fit the model with X. Samples random projection according to n_features. Parameters ---------- X : array-like, shape (n_samples, n_features) Training data, where n_samples in the number of samples and n_features is the number of features. Returns ------- self : object Returns the transformer. """ X = check_array(X) random_state = check_random_state(self.random_state) n_features = X.shape[1] uniform = random_state.uniform(size=(n_features, self.n_components)) # transform by inverse CDF of sech self.random_weights_ = (1. / np.pi * np.log(np.tan(np.pi / 2. * uniform))) self.random_offset_ = random_state.uniform(0, 2 * np.pi, size=self.n_components) return self def transform(self, X, y=None): """Apply the approximate feature map to X. Parameters ---------- X : array-like, shape (n_samples, n_features) New data, where n_samples in the number of samples and n_features is the number of features. Returns ------- X_new : array-like, shape (n_samples, n_components) """ check_is_fitted(self, 'random_weights_') X = as_float_array(X, copy=True) X = check_array(X, copy=False) if (X < 0).any(): raise ValueError("X may not contain entries smaller than zero.") X += self.skewedness np.log(X, X) projection = safe_sparse_dot(X, self.random_weights_) projection += self.random_offset_ np.cos(projection, projection) projection *= np.sqrt(2.) / np.sqrt(self.n_components) return projection class AdditiveChi2Sampler(BaseEstimator, TransformerMixin): """Approximate feature map for additive chi2 kernel. Uses sampling the fourier transform of the kernel characteristic at regular intervals. Since the kernel that is to be approximated is additive, the components of the input vectors can be treated separately. Each entry in the original space is transformed into 2*sample_steps+1 features, where sample_steps is a parameter of the method. Typical values of sample_steps include 1, 2 and 3. Optimal choices for the sampling interval for certain data ranges can be computed (see the reference). The default values should be reasonable. Read more in the :ref:`User Guide <additive_chi_kernel_approx>`. Parameters ---------- sample_steps : int, optional Gives the number of (complex) sampling points. sample_interval : float, optional Sampling interval. Must be specified when sample_steps not in {1,2,3}. Notes ----- This estimator approximates a slightly different version of the additive chi squared kernel then ``metric.additive_chi2`` computes. See also -------- SkewedChi2Sampler : A Fourier-approximation to a non-additive variant of the chi squared kernel. sklearn.metrics.pairwise.chi2_kernel : The exact chi squared kernel. sklearn.metrics.pairwise.additive_chi2_kernel : The exact additive chi squared kernel. References ---------- See `"Efficient additive kernels via explicit feature maps" <http://www.robots.ox.ac.uk/~vedaldi/assets/pubs/vedaldi11efficient.pdf>`_ A. Vedaldi and A. Zisserman, Pattern Analysis and Machine Intelligence, 2011 """ def __init__(self, sample_steps=2, sample_interval=None): self.sample_steps = sample_steps self.sample_interval = sample_interval def fit(self, X, y=None): """Set parameters.""" X = check_array(X, accept_sparse='csr') if self.sample_interval is None: # See reference, figure 2 c) if self.sample_steps == 1: self.sample_interval_ = 0.8 elif self.sample_steps == 2: self.sample_interval_ = 0.5 elif self.sample_steps == 3: self.sample_interval_ = 0.4 else: raise ValueError("If sample_steps is not in [1, 2, 3]," " you need to provide sample_interval") else: self.sample_interval_ = self.sample_interval return self def transform(self, X, y=None): """Apply approximate feature map to X. Parameters ---------- X : {array-like, sparse matrix}, shape = (n_samples, n_features) Returns ------- X_new : {array, sparse matrix}, \ shape = (n_samples, n_features * (2*sample_steps + 1)) Whether the return value is an array of sparse matrix depends on the type of the input X. """ msg = ("%(name)s is not fitted. Call fit to set the parameters before" " calling transform") check_is_fitted(self, "sample_interval_", msg=msg) X = check_array(X, accept_sparse='csr') sparse = sp.issparse(X) # check if X has negative values. Doesn't play well with np.log. if ((X.data if sparse else X) < 0).any(): raise ValueError("Entries of X must be non-negative.") # zeroth component # 1/cosh = sech # cosh(0) = 1.0 transf = self._transform_sparse if sparse else self._transform_dense return transf(X) def _transform_dense(self, X): non_zero = (X != 0.0) X_nz = X[non_zero] X_step = np.zeros_like(X) X_step[non_zero] = np.sqrt(X_nz * self.sample_interval_) X_new = [X_step] log_step_nz = self.sample_interval_ * np.log(X_nz) step_nz = 2 * X_nz * self.sample_interval_ for j in range(1, self.sample_steps): factor_nz = np.sqrt(step_nz / np.cosh(np.pi * j * self.sample_interval_)) X_step = np.zeros_like(X) X_step[non_zero] = factor_nz * np.cos(j * log_step_nz) X_new.append(X_step) X_step = np.zeros_like(X) X_step[non_zero] = factor_nz * np.sin(j * log_step_nz) X_new.append(X_step) return np.hstack(X_new) def _transform_sparse(self, X): indices = X.indices.copy() indptr = X.indptr.copy() data_step = np.sqrt(X.data * self.sample_interval_) X_step = sp.csr_matrix((data_step, indices, indptr), shape=X.shape, dtype=X.dtype, copy=False) X_new = [X_step] log_step_nz = self.sample_interval_ * np.log(X.data) step_nz = 2 * X.data * self.sample_interval_ for j in range(1, self.sample_steps): factor_nz = np.sqrt(step_nz / np.cosh(np.pi * j * self.sample_interval_)) data_step = factor_nz * np.cos(j * log_step_nz) X_step = sp.csr_matrix((data_step, indices, indptr), shape=X.shape, dtype=X.dtype, copy=False) X_new.append(X_step) data_step = factor_nz * np.sin(j * log_step_nz) X_step = sp.csr_matrix((data_step, indices, indptr), shape=X.shape, dtype=X.dtype, copy=False) X_new.append(X_step) return sp.hstack(X_new) class Nystroem(BaseEstimator, TransformerMixin): """Approximate a kernel map using a subset of the training data. Constructs an approximate feature map for an arbitrary kernel using a subset of the data as basis. Read more in the :ref:`User Guide <nystroem_kernel_approx>`. Parameters ---------- kernel : string or callable, default="rbf" Kernel map to be approximated. A callable should accept two arguments and the keyword arguments passed to this object as kernel_params, and should return a floating point number. n_components : int Number of features to construct. How many data points will be used to construct the mapping. gamma : float, default=None Gamma parameter for the RBF, polynomial, exponential chi2 and sigmoid kernels. Interpretation of the default value is left to the kernel; see the documentation for sklearn.metrics.pairwise. Ignored by other kernels. degree : float, default=3 Degree of the polynomial kernel. Ignored by other kernels. coef0 : float, default=1 Zero coefficient for polynomial and sigmoid kernels. Ignored by other kernels. kernel_params : mapping of string to any, optional Additional parameters (keyword arguments) for kernel function passed as callable object. random_state : {int, RandomState}, optional If int, random_state is the seed used by the random number generator; if RandomState instance, random_state is the random number generator. Attributes ---------- components_ : array, shape (n_components, n_features) Subset of training points used to construct the feature map. component_indices_ : array, shape (n_components) Indices of ``components_`` in the training set. normalization_ : array, shape (n_components, n_components) Normalization matrix needed for embedding. Square root of the kernel matrix on ``components_``. References ---------- * Williams, C.K.I. and Seeger, M. "Using the Nystroem method to speed up kernel machines", Advances in neural information processing systems 2001 * T. Yang, Y. Li, M. Mahdavi, R. Jin and Z. Zhou "Nystroem Method vs Random Fourier Features: A Theoretical and Empirical Comparison", Advances in Neural Information Processing Systems 2012 See also -------- RBFSampler : An approximation to the RBF kernel using random Fourier features. sklearn.metrics.pairwise.kernel_metrics : List of built-in kernels. """ def __init__(self, kernel="rbf", gamma=None, coef0=1, degree=3, kernel_params=None, n_components=100, random_state=None): self.kernel = kernel self.gamma = gamma self.coef0 = coef0 self.degree = degree self.kernel_params = kernel_params self.n_components = n_components self.random_state = random_state def fit(self, X, y=None): """Fit estimator to data. Samples a subset of training points, computes kernel on these and computes normalization matrix. Parameters ---------- X : array-like, shape=(n_samples, n_feature) Training data. """ X = check_array(X, accept_sparse='csr') rnd = check_random_state(self.random_state) n_samples = X.shape[0] # get basis vectors if self.n_components > n_samples: # XXX should we just bail? n_components = n_samples warnings.warn("n_components > n_samples. This is not possible.\n" "n_components was set to n_samples, which results" " in inefficient evaluation of the full kernel.") else: n_components = self.n_components n_components = min(n_samples, n_components) inds = rnd.permutation(n_samples) basis_inds = inds[:n_components] basis = X[basis_inds] basis_kernel = pairwise_kernels(basis, metric=self.kernel, filter_params=True, **self._get_kernel_params()) # sqrt of kernel matrix on basis vectors U, S, V = svd(basis_kernel) S = np.maximum(S, 1e-12) self.normalization_ = np.dot(U * 1. / np.sqrt(S), V) self.components_ = basis self.component_indices_ = inds return self def transform(self, X): """Apply feature map to X. Computes an approximate feature map using the kernel between some training points and X. Parameters ---------- X : array-like, shape=(n_samples, n_features) Data to transform. Returns ------- X_transformed : array, shape=(n_samples, n_components) Transformed data. """ check_is_fitted(self, 'components_') X = check_array(X, accept_sparse='csr') kernel_params = self._get_kernel_params() embedded = pairwise_kernels(X, self.components_, metric=self.kernel, filter_params=True, **kernel_params) return np.dot(embedded, self.normalization_.T) def _get_kernel_params(self): params = self.kernel_params if params is None: params = {} if not callable(self.kernel): params['gamma'] = self.gamma params['degree'] = self.degree params['coef0'] = self.coef0 return params
bsd-3-clause
JSLBen/KnowledgeTracing
reference_py/tf_RNN.py
1
15676
# tensorflow version: 1.0.0 import numpy as np import tensorflow as tf from numpy.random import permutation as perm import pandas as pd class tf_RNN(object): """ RNN classifier with LSTM cells with tensorflow """ def __init__(self, num_features, num_steps, num_classes, state_size, forget_bias = None, keep_in = 1, keep_out = 1, cell_type = 'basic', trainer = 'rmsprop', learning_rate = 0.01, epoch = 10, batch_size = 128 ): """ , RNN training based on the tensorflow , , , state_size = [num_units, num_units, num_units] , , +----------+ +----------+ +----------+ , | RNN_Cell | --> | RNN_Cell | --> | RNN_Cell | , +----------+ +----------+ +----------+ , | ^ | ^ | ^ , +--+ +--+ +--+ , , , Args: , num_features: int, number of features , num_steps: int, number of time steps , num_classes: int, number of classes , state_size: int, or a nested list, or tuple , forget_bias: float, or a nested list, or tuple. , Forget bias in each LSTM cell. , , , optimizer: Default = RMSProp , learning_rate: Default = 0.01 , epoch: Default = 10 , batch_size: Default = 128 """ self.num_features = num_features self.num_steps = num_steps self.num_classes = num_classes self.state_size = state_size self.learning_rate = learning_rate self.epoch = epoch self.batch_size = batch_size self.keep_in = keep_in self.keep_out = keep_out self.train_mats = [] self.test_mats = [] if forget_bias is None: self.forget_bias = [1.0] * len(state_size) else: assert len(state_size)==len(forget_bias), "length of state_size and forget_bias should be the number of layers" if trainer == 'rmsprop': self.trainer = tf.train.RMSPropOptimizer elif trainer == 'adam': self.trainer = tf.train.AdamOptimizer elif True: print("{} Optimization is not realized".format(trainer)) exit(1) # build default graph self.graph = tf.Graph() with self.graph.as_default(): # place holder for data and target # x: batch x num_steps x num_features # y: batch x num_classes self.x_ = tf.placeholder(tf.float32, [None, num_steps, num_features]) self.y_ = tf.placeholder(tf.float32, [None, num_classes]) self.batch_size_ = tf.placeholder(tf.int32, []) # rnn_inputs: num_steps x batch x num_features self.rnn_inputs = [tf.squeeze(i, 1) for i in tf.split(value = self.x_, num_or_size_splits = num_steps, axis =1)] split_result = tf.split(value = self.x_, num_or_size_splits = num_steps, axis = 1) print('type of tf.split result: ', type(split_result)) print('length of tf.split result: ', len(split_result)) print('shape of tf.split result[0]: ', split_result[0].get_shape()) print('rnn_inputs length: ', len(self.rnn_inputs)) print('rnn_inputs[0] shape: ', self.rnn_inputs[0].get_shape()) print('x_ shape: ', self.x_.get_shape()) print('num_steps: ', num_steps) print('state_size: ', state_size) # linear activation weight # weight: state_size x num_classes # bias: num_classes self.weight = tf.Variable(tf.random_normal([self.state_size[-1], num_classes])) self.bias = tf.Variable(tf.random_normal([num_classes])) # define the MultiRNNCell if cell_type == "basic": cell = tf.contrib.rnn.BasicRNNCell self.cells = [cell(size) for size in state_size] elif cell_type == "lstm": cell = tf.contrib.rnn.LSTMCell self.cells = [cell(size, forget_bias = bias, state_is_tuple=True) for size, bias in zip(state_size, self.forget_bias)] elif cell_type == "gru": cell = tf.contrib.rnn.GRUCell self.cells = [cell(size) for size in state_size] self.cells = tf.contrib.rnn.MultiRNNCell(self.cells, state_is_tuple=True) # dropout wrapper if self.keep_in < 1 or self.keep_out < 1: self.cells = tf.contrib.rnn.DropoutWrapper(self.cells, input_keep_prob = self.keep_in, output_keep_prob=self.keep_out) # get output from RNN loops # self.init_states = self.cells.zero_state(self.batch_size_, dtype=tf.float32) self.outputs, self.states = tf.contrib.rnn.static_rnn(self.cells, self.rnn_inputs, # initial_state=self.init_state, dtype=tf.float32) # linear activation for all outputs self.pred_seq = [tf.matmul(self.outputs[i], self.weight) + self.bias for i in range(num_steps)] print('length of pred_seq: ', len(self.pred_seq)) print('shape of pred_seq[0]: ', self.pred_seq[0].get_shape()) print('length of outputs: ', len(self.outputs)) print('shape of outputs[0]: ', self.outputs[0].get_shape()) self.pred = self.pred_seq[-1] # softmax activation self.prob_seq = [tf.nn.softmax(self.pred_seq[i]) for i in range(num_steps)] self.prob = self.prob_seq[-1] print('length of prob_seq: ', len(self.prob_seq)) print('shape of prob: ', self.prob.get_shape()) exit(1) # confusion matrix self.mat = tf.matmul(tf.transpose(self.y_), tf.one_hot(tf.argmax(self.prob,1), depth=num_classes)) # calculate log loss with softmax activation # note: pred_seq or prob_seq self.cost_seq = [tf.reduce_mean(tf.nn.softmax_cross_entropy_with_logits(logits=self.pred_seq[i], labels=self.y_)) for i in range(num_steps)] self.cost = self.cost_seq[-1] # + 0.001*sum([i**2*(self.mat[i][i+1]-self.mat[i+1][i])**2 for i in range(num_classes-1)]) # define the optimizer function self.optimizer = self.trainer(learning_rate=self.learning_rate).minimize(self.cost) # count the number of correct predictions and calculates accuracy self.correct_pred_seq = [tf.equal(tf.argmax(self.prob_seq[i],1), tf.argmax(self.y_,1)) for i in range(num_steps)] self.accuracy_seq = [tf.reduce_mean(tf.cast(self.correct_pred_seq[i], tf.float32)) for i in range(num_steps)] self.correct_pred = self.correct_pred_seq[-1] self.accuracy = self.accuracy_seq[-1] # initialize all the variables # define the saver self.init = tf.global_variables_initializer() self.saver = tf.train.Saver(tf.global_variables()) def fit(self, x_data, y_data, x_test, y_test, debug=False): """ , train the model , Args: , x_data: independent features , y_data: dependent valuable """ with tf.Session(graph=self.graph) as sess: sess.run(self.init) batches = self.shuffle(x_data, y_data) total = int() for i, packet in enumerate(batches): if i ==0: total = packet else: x_batch, y_batch, idx_epoch, end_batch, idx_batch = packet feed = {self.x_: x_batch, self.y_: y_batch, self.batch_size_: x_batch.shape[0]} sess.run(self.optimizer, feed_dict=feed) # if i == 1000: # cur_state = sess.run(self.states, feed_dict=feed) # print type(cur_state) # print cur_state[0].shape, cur_state[1].shape # print cur_state if end_batch: feed_train = {self.x_: x_data, self.y_: y_data, self.batch_size_: x_data.shape[0]} feed_test = {self.x_: x_test, self.y_: y_test, self.batch_size_: x_test.shape[0]} loss_train, accr_train, mat_train = sess.run((self.cost, self.accuracy, self.mat), feed_dict=feed_train) loss_test, accr_test, mat_test = sess.run((self.cost, self.accuracy, self.mat), feed_dict=feed_test) print("Loss: {:8.6f} {:8.6f} {:8.6f} {:8.6f}".format(loss_train, loss_test, accr_train, accr_test)) #print("- {}/{} training completed with loss: {} ".format(idx_epoch, self.epoch, loss)) self.train_mats += [mat_train.astype(int)] self.test_mats += [mat_test.astype(int)] print("train:") print(pd.DataFrame(mat_train)) print("test :") print(pd.DataFrame(mat_test)) # step = 1 # while step * self.batch_size < self.epoch: # x_batch, y_batch = tf_RNN.get_random_batch(data, y_data, self.batch_size) # x_batch = x_batch.reshape((self.batch_size, self.num_steps, self.num_features)) # sess.run(self.optimizer, feed_dict={self.x: x_batch, self.y: y_batch}) # step += 1 # save the model for prediction saver = tf.train.Saver() saver.save(sess, "./lstm_rnn_c_model.ckpt") print('Model is saved') sess.close() def predict(self, x_data, seq=False): """ make prediction """ with tf.Session(graph=self.graph) as sess: # restore model from saved file saver = tf.train.Saver() saver = tf.train.import_meta_graph("./lstm_rnn_c_model.ckpt.meta") saver.restore(sess, "./lstm_rnn_c_model.ckpt") feed = {self.x_: x_data, self.batch_size_: x_data.shape[0]} if seq: result = sess.run([tf.argmax(self.pred_seq[i],1) for i in range(self.num_steps)], feed_dict=feed) else: result = sess.run(tf.argmax(self.pred,1), feed_dict=feed) sess.close() return result def predict_prob(self, x_data, seq=False): """ obtain the predicted probilities for each class """ with tf.Session(graph=self.graph) as sess: saver = tf.train.import_meta_graph("./lstm_rnn_c_model.ckpt.meta") saver.restore(sess, "./lstm_rnn_c_model.ckpt") feed = {self.x_: x_data, self.batch_size_: x_data.shape[0]} if seq: result = sess.run([self.prob_seq[i] for i in range(self.num_steps)], feed_dict=feed) else: result = sess.run(self.prob, feed_dict=feed) sess.close() return result def loss(self, x_data, y_data, seq=False): """ calculate the objective function """ with tf.Session(graph=self.graph) as sess: saver = tf.train.import_meta_graph("./lstm_rnn_c_model.ckpt.meta") saver.restore(sess, "./lstm_rnn_c_model.ckpt") feed = {self.x_: x_data, self.y_: y_data, self.batch_size_: x_data.shape[0]} if seq: result = sess.run([self.cost_seq[i] for i in range(self.num_steps)], feed_dict=feed) else: result = sess.run(self.cost, feed_dict=feed) sess.close() return result def evaluation(self, x_data, y_data, seq=False): """ evaluate the performance of the model, i.e. accuracy of the prediction """ with tf.Session(graph=self.graph) as sess: saver = tf.train.import_meta_graph("./lstm_rnn_c_model.ckpt.meta") saver.restore(sess, "./lstm_rnn_c_model.ckpt") feed = {self.x: x_data, self.y: y_data, self.batch_size_: x_data.shape[0]} if seq: result = sess.run([self.accuracy_seq[i] for i in range(self.num_steps)], feed_dict=feed) else: result = sess.run(self.accuracy, feed_dict=feed) sess.close() return result # @staticmethod # def get_random_batch(data, y_data, batch_size): # num_of_training_data = len(data) # if batch_size > num_of_training_data: # print('Batch size too large, returning all data') # return data, y_data # perm = np.arange(num_of_training_data) # np.random.shuffle(perm) # return data[perm[:batch_size]], y_data[perm[:batch_size]] def shuffle(self, x_data, y_data): """ mini-batch """ size = len(x_data) batch = self.batch_size if batch > size: batch = size batch_per_epoch = int(size/batch) total = self.epoch * batch_per_epoch yield(total) for i in range(self.epoch): shuffle_idx = perm(np.arange(size)) # each batch of i_th epoch for b in range(batch_per_epoch): # two yieldees x_batch = list() y_batch = list() for real_idx in shuffle_idx[(b*batch) : ((b+1)*batch)]: x_inp = x_data[real_idx] y_inp = y_data[real_idx] x_batch += [np.expand_dims(x_inp, 0)] y_batch += [np.expand_dims(y_inp, 0)] if b+1 == batch_per_epoch: for real_idx in shuffle_idx[(b+1)*batch:]: x_inp = x_data[real_idx] y_inp = y_data[real_idx] x_batch += [np.expand_dims(x_inp, 0)] y_batch += [np.expand_dims(y_inp, 0)] x_batch = np.concatenate(x_batch, 0) y_batch = np.concatenate(y_batch, 0) yield(x_batch, y_batch, i, (b+1)==batch_per_epoch, b)
mit
toobaz/pandas
pandas/core/indexes/api.py
2
8212
import textwrap import warnings from pandas._libs import NaT, lib import pandas.core.common as com from pandas.core.indexes.base import ( Index, _new_Index, ensure_index, ensure_index_from_sequences, ) from pandas.core.indexes.base import InvalidIndexError # noqa:F401 from pandas.core.indexes.category import CategoricalIndex # noqa:F401 from pandas.core.indexes.datetimes import DatetimeIndex from pandas.core.indexes.interval import IntervalIndex # noqa:F401 from pandas.core.indexes.multi import MultiIndex # noqa:F401 from pandas.core.indexes.numeric import ( # noqa:F401 Float64Index, Int64Index, NumericIndex, UInt64Index, ) from pandas.core.indexes.period import PeriodIndex from pandas.core.indexes.range import RangeIndex # noqa:F401 from pandas.core.indexes.timedeltas import TimedeltaIndex _sort_msg = textwrap.dedent( """\ Sorting because non-concatenation axis is not aligned. A future version of pandas will change to not sort by default. To accept the future behavior, pass 'sort=False'. To retain the current behavior and silence the warning, pass 'sort=True'. """ ) # TODO: there are many places that rely on these private methods existing in # pandas.core.index __all__ = [ "Index", "MultiIndex", "NumericIndex", "Float64Index", "Int64Index", "CategoricalIndex", "IntervalIndex", "RangeIndex", "UInt64Index", "InvalidIndexError", "TimedeltaIndex", "PeriodIndex", "DatetimeIndex", "_new_Index", "NaT", "ensure_index", "ensure_index_from_sequences", "_get_combined_index", "_get_objs_combined_axis", "_union_indexes", "_get_consensus_names", "_all_indexes_same", ] def _get_objs_combined_axis(objs, intersect=False, axis=0, sort=True): """ Extract combined index: return intersection or union (depending on the value of "intersect") of indexes on given axis, or None if all objects lack indexes (e.g. they are numpy arrays). Parameters ---------- objs : list of objects Each object will only be considered if it has a _get_axis attribute. intersect : bool, default False If True, calculate the intersection between indexes. Otherwise, calculate the union. axis : {0 or 'index', 1 or 'outer'}, default 0 The axis to extract indexes from. sort : bool, default True Whether the result index should come out sorted or not. Returns ------- Index """ obs_idxes = [obj._get_axis(axis) for obj in objs if hasattr(obj, "_get_axis")] if obs_idxes: return _get_combined_index(obs_idxes, intersect=intersect, sort=sort) def _get_distinct_objs(objs): """ Return a list with distinct elements of "objs" (different ids). Preserves order. """ ids = set() res = [] for obj in objs: if not id(obj) in ids: ids.add(id(obj)) res.append(obj) return res def _get_combined_index(indexes, intersect=False, sort=False): """ Return the union or intersection of indexes. Parameters ---------- indexes : list of Index or list objects When intersect=True, do not accept list of lists. intersect : bool, default False If True, calculate the intersection between indexes. Otherwise, calculate the union. sort : bool, default False Whether the result index should come out sorted or not. Returns ------- Index """ # TODO: handle index names! indexes = _get_distinct_objs(indexes) if len(indexes) == 0: index = Index([]) elif len(indexes) == 1: index = indexes[0] elif intersect: index = indexes[0] for other in indexes[1:]: index = index.intersection(other) else: index = _union_indexes(indexes, sort=sort) index = ensure_index(index) if sort: try: index = index.sort_values() except TypeError: pass return index def _union_indexes(indexes, sort=True): """ Return the union of indexes. The behavior of sort and names is not consistent. Parameters ---------- indexes : list of Index or list objects sort : bool, default True Whether the result index should come out sorted or not. Returns ------- Index """ if len(indexes) == 0: raise AssertionError("Must have at least 1 Index to union") if len(indexes) == 1: result = indexes[0] if isinstance(result, list): result = Index(sorted(result)) return result indexes, kind = _sanitize_and_check(indexes) def _unique_indices(inds): """ Convert indexes to lists and concatenate them, removing duplicates. The final dtype is inferred. Parameters ---------- inds : list of Index or list objects Returns ------- Index """ def conv(i): if isinstance(i, Index): i = i.tolist() return i return Index(lib.fast_unique_multiple_list([conv(i) for i in inds], sort=sort)) if kind == "special": result = indexes[0] if hasattr(result, "union_many"): return result.union_many(indexes[1:]) else: for other in indexes[1:]: result = result.union(other) return result elif kind == "array": index = indexes[0] for other in indexes[1:]: if not index.equals(other): if sort is None: # TODO: remove once pd.concat sort default changes warnings.warn(_sort_msg, FutureWarning, stacklevel=8) sort = True return _unique_indices(indexes) name = _get_consensus_names(indexes)[0] if name != index.name: index = index._shallow_copy(name=name) return index else: # kind='list' return _unique_indices(indexes) def _sanitize_and_check(indexes): """ Verify the type of indexes and convert lists to Index. Cases: - [list, list, ...]: Return ([list, list, ...], 'list') - [list, Index, ...]: Return _sanitize_and_check([Index, Index, ...]) Lists are sorted and converted to Index. - [Index, Index, ...]: Return ([Index, Index, ...], TYPE) TYPE = 'special' if at least one special type, 'array' otherwise. Parameters ---------- indexes : list of Index or list objects Returns ------- sanitized_indexes : list of Index or list objects type : {'list', 'array', 'special'} """ kinds = list({type(index) for index in indexes}) if list in kinds: if len(kinds) > 1: indexes = [ Index(com.try_sort(x)) if not isinstance(x, Index) else x for x in indexes ] kinds.remove(list) else: return indexes, "list" if len(kinds) > 1 or Index not in kinds: return indexes, "special" else: return indexes, "array" def _get_consensus_names(indexes): """ Give a consensus 'names' to indexes. If there's exactly one non-empty 'names', return this, otherwise, return empty. Parameters ---------- indexes : list of Index objects Returns ------- list A list representing the consensus 'names' found. """ # find the non-none names, need to tupleify to make # the set hashable, then reverse on return consensus_names = {tuple(i.names) for i in indexes if com._any_not_none(*i.names)} if len(consensus_names) == 1: return list(list(consensus_names)[0]) return [None] * indexes[0].nlevels def _all_indexes_same(indexes): """ Determine if all indexes contain the same elements. Parameters ---------- indexes : list of Index objects Returns ------- bool True if all indexes contain the same elements, False otherwise. """ first = indexes[0] for index in indexes[1:]: if not first.equals(index): return False return True
bsd-3-clause
trondeau/gnuradio-old
gr-filter/examples/synth_filter.py
58
2552
#!/usr/bin/env python # # Copyright 2010,2012,2013 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # GNU Radio is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Radio; see the file COPYING. If not, write to # the Free Software Foundation, Inc., 51 Franklin Street, # Boston, MA 02110-1301, USA. # from gnuradio import gr from gnuradio import filter from gnuradio import blocks import sys try: from gnuradio import analog except ImportError: sys.stderr.write("Error: Program requires gr-analog.\n") sys.exit(1) try: import scipy except ImportError: sys.stderr.write("Error: Program requires scipy (see: www.scipy.org).\n") sys.exit(1) try: import pylab except ImportError: sys.stderr.write("Error: Program requires matplotlib (see: matplotlib.sourceforge.net).\n") sys.exit(1) def main(): N = 1000000 fs = 8000 freqs = [100, 200, 300, 400, 500] nchans = 7 sigs = list() for fi in freqs: s = analog.sig_source_c(fs, analog.GR_SIN_WAVE, fi, 1) sigs.append(s) taps = filter.firdes.low_pass_2(len(freqs), fs, fs/float(nchans)/2, 100, 100) print "Num. Taps = %d (taps per filter = %d)" % (len(taps), len(taps)/nchans) filtbank = filter.pfb_synthesizer_ccf(nchans, taps) head = blocks.head(gr.sizeof_gr_complex, N) snk = blocks.vector_sink_c() tb = gr.top_block() tb.connect(filtbank, head, snk) for i,si in enumerate(sigs): tb.connect(si, (filtbank, i)) tb.run() if 1: f1 = pylab.figure(1) s1 = f1.add_subplot(1,1,1) s1.plot(snk.data()[1000:]) fftlen = 2048 f2 = pylab.figure(2) s2 = f2.add_subplot(1,1,1) winfunc = scipy.blackman s2.psd(snk.data()[10000:], NFFT=fftlen, Fs = nchans*fs, noverlap=fftlen/4, window = lambda d: d*winfunc(fftlen)) pylab.show() if __name__ == "__main__": main()
gpl-3.0
automl/paramsklearn
ParamSklearn/components/classification/adaboost.py
1
3787
import numpy as np import sklearn.ensemble import sklearn.tree import sklearn.multiclass from ParamSklearn.implementations.MultilabelClassifier import MultilabelClassifier from HPOlibConfigSpace.configuration_space import ConfigurationSpace from HPOlibConfigSpace.hyperparameters import UniformFloatHyperparameter, \ UniformIntegerHyperparameter, CategoricalHyperparameter from ParamSklearn.components.base import ParamSklearnClassificationAlgorithm from ParamSklearn.constants import * class AdaboostClassifier(ParamSklearnClassificationAlgorithm): def __init__(self, n_estimators, learning_rate, algorithm, max_depth, random_state=None): self.n_estimators = int(n_estimators) self.learning_rate = float(learning_rate) self.algorithm = algorithm self.random_state = random_state self.max_depth = max_depth self.estimator = None def fit(self, X, Y, sample_weight=None): self.n_estimators = int(self.n_estimators) self.learning_rate = float(self.learning_rate) self.max_depth = int(self.max_depth) base_estimator = sklearn.tree.DecisionTreeClassifier(max_depth=self.max_depth) estimator = sklearn.ensemble.AdaBoostClassifier( base_estimator=base_estimator, n_estimators=self.n_estimators, learning_rate=self.learning_rate, algorithm=self.algorithm, random_state=self.random_state ) if len(Y.shape) == 2 and Y.shape[1] > 1: self.estimator = MultilabelClassifier(estimator, n_jobs=1) self.estimator.fit(X, Y, sample_weight=sample_weight) else: self.estimator.fit(X, Y, sample_weight=sample_weight) return self def predict(self, X): if self.estimator is None: raise NotImplementedError return self.estimator.predict(X) def predict_proba(self, X): if self.estimator is None: raise NotImplementedError() return self.estimator.predict_proba(X) @staticmethod def get_properties(dataset_properties=None): return {'shortname': 'AB', 'name': 'AdaBoost Classifier', 'handles_missing_values': False, 'handles_nominal_values': False, 'handles_numerical_features': True, 'prefers_data_scaled': False, 'prefers_data_normalized': False, 'handles_regression': False, 'handles_classification': True, 'handles_multiclass': True, 'handles_multilabel': True, 'is_deterministic': True, 'handles_sparse': False, 'input': (DENSE, SPARSE, UNSIGNED_DATA), 'output': (PREDICTIONS,), # TODO find out what is best used here! # But rather fortran or C-contiguous? 'preferred_dtype': np.float32} @staticmethod def get_hyperparameter_search_space(dataset_properties=None): cs = ConfigurationSpace() # base_estimator = Constant(name="base_estimator", value="None") n_estimators = cs.add_hyperparameter(UniformIntegerHyperparameter( name="n_estimators", lower=50, upper=500, default=50, log=False)) learning_rate = cs.add_hyperparameter(UniformFloatHyperparameter( name="learning_rate", lower=0.0001, upper=2, default=0.1, log=True)) algorithm = cs.add_hyperparameter(CategoricalHyperparameter( name="algorithm", choices=["SAMME.R", "SAMME"], default="SAMME.R")) max_depth = cs.add_hyperparameter(UniformIntegerHyperparameter( name="max_depth", lower=1, upper=10, default=1, log=False)) return cs
bsd-3-clause
sgraham/nope
chrome/test/nacl_test_injection/buildbot_chrome_nacl_stage.py
12
11594
#!/usr/bin/python # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Do all the steps required to build and test against nacl.""" import optparse import os.path import re import shutil import subprocess import sys import find_chrome THIS_DIR = os.path.abspath(os.path.dirname(__file__)) CHROMIUM_DIR = os.path.abspath(os.path.join(THIS_DIR, '..', '..', '..')) NACL_DIR = os.path.join(CHROMIUM_DIR, 'native_client') sys.path.append(os.path.join(CHROMIUM_DIR, 'build')) sys.path.append(NACL_DIR) import detect_host_arch import pynacl.platform # Copied from buildbot/buildbot_lib.py def TryToCleanContents(path, file_name_filter=lambda fn: True): """ Remove the contents of a directory without touching the directory itself. Ignores all failures. """ if os.path.exists(path): for fn in os.listdir(path): TryToCleanPath(os.path.join(path, fn), file_name_filter) # Copied from buildbot/buildbot_lib.py def TryToCleanPath(path, file_name_filter=lambda fn: True): """ Removes a file or directory. Ignores all failures. """ if os.path.exists(path): if file_name_filter(path): print 'Trying to remove %s' % path if os.path.isdir(path): shutil.rmtree(path, ignore_errors=True) else: try: os.remove(path) except Exception: pass else: print 'Skipping %s' % path # TODO(ncbray): this is somewhat unsafe. We should fix the underlying problem. def CleanTempDir(): # Only delete files and directories like: # a) C:\temp\83C4.tmp # b) /tmp/.org.chromium.Chromium.EQrEzl file_name_re = re.compile( r'[\\/]([0-9a-fA-F]+\.tmp|\.org\.chrom\w+\.Chrom\w+\..+)$') file_name_filter = lambda fn: file_name_re.search(fn) is not None path = os.environ.get('TMP', os.environ.get('TEMP', '/tmp')) if len(path) >= 4 and os.path.isdir(path): print print "Cleaning out the temp directory." print TryToCleanContents(path, file_name_filter) else: print print "Cannot find temp directory, not cleaning it." print def RunCommand(cmd, cwd, env): sys.stdout.write('\nRunning %s\n\n' % ' '.join(cmd)) sys.stdout.flush() retcode = subprocess.call(cmd, cwd=cwd, env=env) if retcode != 0: sys.stdout.write('\nFailed: %s\n\n' % ' '.join(cmd)) sys.exit(retcode) def RunTests(name, cmd, env): sys.stdout.write('\n\nBuilding files needed for %s testing...\n\n' % name) RunCommand(cmd + ['do_not_run_tests=1', '-j8'], NACL_DIR, env) sys.stdout.write('\n\nRunning %s tests...\n\n' % name) RunCommand(cmd, NACL_DIR, env) def BuildAndTest(options): # Refuse to run under cygwin. if sys.platform == 'cygwin': raise Exception('I do not work under cygwin, sorry.') # By default, use the version of Python is being used to run this script. python = sys.executable if sys.platform == 'darwin': # Mac 10.5 bots tend to use a particularlly old version of Python, look for # a newer version. macpython27 = '/Library/Frameworks/Python.framework/Versions/2.7/bin/python' if os.path.exists(macpython27): python = macpython27 os_name = pynacl.platform.GetOS() arch_name = pynacl.platform.GetArch() toolchain_dir = os.path.join(NACL_DIR, 'toolchain', '%s_%s' % (os_name, arch_name)) nacl_newlib_dir = os.path.join(toolchain_dir, 'nacl_%s_newlib' % arch_name) nacl_glibc_dir = os.path.join(toolchain_dir, 'nacl_%s_glibc' % arch_name) # Decide platform specifics. if options.browser_path: chrome_filename = options.browser_path else: chrome_filename = find_chrome.FindChrome(CHROMIUM_DIR, [options.mode]) if chrome_filename is None: raise Exception('Cannot find a chrome binary - specify one with ' '--browser_path?') env = dict(os.environ) if sys.platform in ['win32', 'cygwin']: if options.bits == 64: bits = 64 elif options.bits == 32: bits = 32 elif '64' in os.environ.get('PROCESSOR_ARCHITECTURE', '') or \ '64' in os.environ.get('PROCESSOR_ARCHITEW6432', ''): bits = 64 else: bits = 32 msvs_path = ';'.join([ r'c:\Program Files\Microsoft Visual Studio 9.0\VC', r'c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC', r'c:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools', r'c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools', r'c:\Program Files\Microsoft Visual Studio 8\VC', r'c:\Program Files (x86)\Microsoft Visual Studio 8\VC', r'c:\Program Files\Microsoft Visual Studio 8\Common7\Tools', r'c:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools', ]) env['PATH'] += ';' + msvs_path scons = [python, 'scons.py'] elif sys.platform == 'darwin': if options.bits == 64: bits = 64 elif options.bits == 32: bits = 32 else: p = subprocess.Popen(['file', chrome_filename], stdout=subprocess.PIPE) (p_stdout, _) = p.communicate() assert p.returncode == 0 if p_stdout.find('executable x86_64') >= 0: bits = 64 else: bits = 32 scons = [python, 'scons.py'] else: if options.bits == 64: bits = 64 elif options.bits == 32: bits = 32 elif '64' in detect_host_arch.HostArch(): bits = 64 else: bits = 32 # xvfb-run has a 2-second overhead per invocation, so it is cheaper to wrap # the entire build step rather than each test (browser_headless=1). # We also need to make sure that there are at least 24 bits per pixel. # https://code.google.com/p/chromium/issues/detail?id=316687 scons = [ 'xvfb-run', '--auto-servernum', '--server-args', '-screen 0 1024x768x24', python, 'scons.py', ] if options.jobs > 1: scons.append('-j%d' % options.jobs) scons.append('disable_tests=%s' % options.disable_tests) if options.buildbot is not None: scons.append('buildbot=%s' % (options.buildbot,)) # Clean the output of the previous build. # Incremental builds can get wedged in weird ways, so we're trading speed # for reliability. shutil.rmtree(os.path.join(NACL_DIR, 'scons-out'), True) # check that the HOST (not target) is 64bit # this is emulating what msvs_env.bat is doing if '64' in os.environ.get('PROCESSOR_ARCHITECTURE', '') or \ '64' in os.environ.get('PROCESSOR_ARCHITEW6432', ''): # 64bit HOST env['VS90COMNTOOLS'] = ('c:\\Program Files (x86)\\' 'Microsoft Visual Studio 9.0\\Common7\\Tools\\') env['VS80COMNTOOLS'] = ('c:\\Program Files (x86)\\' 'Microsoft Visual Studio 8.0\\Common7\\Tools\\') else: # 32bit HOST env['VS90COMNTOOLS'] = ('c:\\Program Files\\Microsoft Visual Studio 9.0\\' 'Common7\\Tools\\') env['VS80COMNTOOLS'] = ('c:\\Program Files\\Microsoft Visual Studio 8.0\\' 'Common7\\Tools\\') # Run nacl/chrome integration tests. # Note that we have to add nacl_irt_test to --mode in order to get # inbrowser_test_runner to run. # TODO(mseaborn): Change it so that inbrowser_test_runner is not a # special case. cmd = scons + ['--verbose', '-k', 'platform=x86-%d' % bits, '--mode=opt-host,nacl,nacl_irt_test', 'chrome_browser_path=%s' % chrome_filename, 'nacl_newlib_dir=%s' % nacl_newlib_dir, 'nacl_glibc_dir=%s' % nacl_glibc_dir, ] if not options.integration_bot and not options.morenacl_bot: cmd.append('disable_flaky_tests=1') cmd.append('chrome_browser_tests') # Propagate path to JSON output if present. # Note that RunCommand calls sys.exit on errors, so potential errors # from one command won't be overwritten by another one. Overwriting # a successful results file with either success or failure is fine. if options.json_build_results_output_file: cmd.append('json_build_results_output_file=%s' % options.json_build_results_output_file) # Download the toolchain(s). pkg_ver_dir = os.path.join(NACL_DIR, 'build', 'package_version') RunCommand([python, os.path.join(pkg_ver_dir, 'package_version.py'), '--mode', 'nacl_core_sdk', '--exclude', 'pnacl_newlib', '--exclude', 'nacl_arm_newlib', 'sync', '--extract'], NACL_DIR, os.environ) CleanTempDir() if options.enable_newlib: RunTests('nacl-newlib', cmd, env) if options.enable_glibc: RunTests('nacl-glibc', cmd + ['--nacl_glibc'], env) def MakeCommandLineParser(): parser = optparse.OptionParser() parser.add_option('-m', '--mode', dest='mode', default='Debug', help='Debug/Release mode') parser.add_option('-j', dest='jobs', default=1, type='int', help='Number of parallel jobs') parser.add_option('--enable_newlib', dest='enable_newlib', default=-1, type='int', help='Run newlib tests?') parser.add_option('--enable_glibc', dest='enable_glibc', default=-1, type='int', help='Run glibc tests?') parser.add_option('--json_build_results_output_file', help='Path to a JSON file for machine-readable output.') # Deprecated, but passed to us by a script in the Chrome repo. # Replaced by --enable_glibc=0 parser.add_option('--disable_glibc', dest='disable_glibc', action='store_true', default=False, help='Do not test using glibc.') parser.add_option('--disable_tests', dest='disable_tests', type='string', default='', help='Comma-separated list of tests to omit') builder_name = os.environ.get('BUILDBOT_BUILDERNAME', '') is_integration_bot = 'nacl-chrome' in builder_name parser.add_option('--integration_bot', dest='integration_bot', type='int', default=int(is_integration_bot), help='Is this an integration bot?') is_morenacl_bot = ( 'More NaCl' in builder_name or 'naclmore' in builder_name) parser.add_option('--morenacl_bot', dest='morenacl_bot', type='int', default=int(is_morenacl_bot), help='Is this a morenacl bot?') # Not used on the bots, but handy for running the script manually. parser.add_option('--bits', dest='bits', action='store', type='int', default=None, help='32/64') parser.add_option('--browser_path', dest='browser_path', action='store', type='string', default=None, help='Path to the chrome browser.') parser.add_option('--buildbot', dest='buildbot', action='store', type='string', default=None, help='Value passed to scons as buildbot= option.') return parser def Main(): parser = MakeCommandLineParser() options, args = parser.parse_args() if options.integration_bot and options.morenacl_bot: parser.error('ERROR: cannot be both an integration bot and a morenacl bot') # Set defaults for enabling newlib. if options.enable_newlib == -1: options.enable_newlib = 1 # Set defaults for enabling glibc. if options.enable_glibc == -1: if options.integration_bot or options.morenacl_bot: options.enable_glibc = 1 else: options.enable_glibc = 0 if args: parser.error('ERROR: invalid argument') BuildAndTest(options) if __name__ == '__main__': Main()
bsd-3-clause
xubenben/scikit-learn
examples/decomposition/plot_pca_vs_lda.py
182
1743
""" ======================================================= Comparison of LDA and PCA 2D projection of Iris dataset ======================================================= The Iris dataset represents 3 kind of Iris flowers (Setosa, Versicolour and Virginica) with 4 attributes: sepal length, sepal width, petal length and petal width. Principal Component Analysis (PCA) applied to this data identifies the combination of attributes (principal components, or directions in the feature space) that account for the most variance in the data. Here we plot the different samples on the 2 first principal components. Linear Discriminant Analysis (LDA) tries to identify attributes that account for the most variance *between classes*. In particular, LDA, in contrast to PCA, is a supervised method, using known class labels. """ print(__doc__) import matplotlib.pyplot as plt from sklearn import datasets from sklearn.decomposition import PCA from sklearn.lda import LDA iris = datasets.load_iris() X = iris.data y = iris.target target_names = iris.target_names pca = PCA(n_components=2) X_r = pca.fit(X).transform(X) lda = LDA(n_components=2) X_r2 = lda.fit(X, y).transform(X) # Percentage of variance explained for each components print('explained variance ratio (first two components): %s' % str(pca.explained_variance_ratio_)) plt.figure() for c, i, target_name in zip("rgb", [0, 1, 2], target_names): plt.scatter(X_r[y == i, 0], X_r[y == i, 1], c=c, label=target_name) plt.legend() plt.title('PCA of IRIS dataset') plt.figure() for c, i, target_name in zip("rgb", [0, 1, 2], target_names): plt.scatter(X_r2[y == i, 0], X_r2[y == i, 1], c=c, label=target_name) plt.legend() plt.title('LDA of IRIS dataset') plt.show()
bsd-3-clause
chanceraine/nupic
external/linux32/lib/python2.6/site-packages/matplotlib/backends/backend_qt.py
69
16846
from __future__ import division import math import os import sys import matplotlib from matplotlib import verbose from matplotlib.cbook import is_string_like, onetrue from matplotlib.backend_bases import RendererBase, GraphicsContextBase, \ FigureManagerBase, FigureCanvasBase, NavigationToolbar2, cursors from matplotlib._pylab_helpers import Gcf from matplotlib.figure import Figure from matplotlib.mathtext import MathTextParser from matplotlib.widgets import SubplotTool try: import qt except ImportError: raise ImportError("Qt backend requires pyqt to be installed.") backend_version = "0.9.1" def fn_name(): return sys._getframe(1).f_code.co_name DEBUG = False cursord = { cursors.MOVE : qt.Qt.PointingHandCursor, cursors.HAND : qt.Qt.WaitCursor, cursors.POINTER : qt.Qt.ArrowCursor, cursors.SELECT_REGION : qt.Qt.CrossCursor, } def draw_if_interactive(): """ Is called after every pylab drawing command """ if matplotlib.is_interactive(): figManager = Gcf.get_active() if figManager != None: figManager.canvas.draw() def _create_qApp(): """ Only one qApp can exist at a time, so check before creating one """ if qt.QApplication.startingUp(): if DEBUG: print "Starting up QApplication" global qApp qApp = qt.QApplication( [" "] ) qt.QObject.connect( qApp, qt.SIGNAL( "lastWindowClosed()" ), qApp, qt.SLOT( "quit()" ) ) #remember that matplotlib created the qApp - will be used by show() _create_qApp.qAppCreatedHere = True _create_qApp.qAppCreatedHere = False def show(): """ Show all the figures and enter the qt main loop This should be the last line of your script """ for manager in Gcf.get_all_fig_managers(): manager.window.show() if DEBUG: print 'Inside show' figManager = Gcf.get_active() if figManager != None: figManager.canvas.draw() if _create_qApp.qAppCreatedHere: qt.qApp.exec_loop() def new_figure_manager( num, *args, **kwargs ): """ Create a new figure manager instance """ FigureClass = kwargs.pop('FigureClass', Figure) thisFig = FigureClass( *args, **kwargs ) canvas = FigureCanvasQT( thisFig ) manager = FigureManagerQT( canvas, num ) return manager class FigureCanvasQT( qt.QWidget, FigureCanvasBase ): keyvald = { qt.Qt.Key_Control : 'control', qt.Qt.Key_Shift : 'shift', qt.Qt.Key_Alt : 'alt', } # left 1, middle 2, right 3 buttond = {1:1, 2:3, 4:2} def __init__( self, figure ): if DEBUG: print 'FigureCanvasQt: ', figure _create_qApp() qt.QWidget.__init__( self, None, "QWidget figure" ) FigureCanvasBase.__init__( self, figure ) self.figure = figure self.setMouseTracking( True ) w,h = self.get_width_height() self.resize( w, h ) def enterEvent(self, event): FigureCanvasBase.enter_notify_event(self, event) def leaveEvent(self, event): FigureCanvasBase.leave_notify_event(self, event) def mousePressEvent( self, event ): x = event.pos().x() # flipy so y=0 is bottom of canvas y = self.figure.bbox.height - event.pos().y() button = self.buttond[event.button()] FigureCanvasBase.button_press_event( self, x, y, button ) if DEBUG: print 'button pressed:', event.button() def mouseMoveEvent( self, event ): x = event.x() # flipy so y=0 is bottom of canvas y = self.figure.bbox.height - event.y() FigureCanvasBase.motion_notify_event( self, x, y ) if DEBUG: print 'mouse move' def mouseReleaseEvent( self, event ): x = event.x() # flipy so y=0 is bottom of canvas y = self.figure.bbox.height - event.y() button = self.buttond[event.button()] FigureCanvasBase.button_release_event( self, x, y, button ) if DEBUG: print 'button released' def keyPressEvent( self, event ): key = self._get_key( event ) FigureCanvasBase.key_press_event( self, key ) if DEBUG: print 'key press', key def keyReleaseEvent( self, event ): key = self._get_key(event) FigureCanvasBase.key_release_event( self, key ) if DEBUG: print 'key release', key def resizeEvent( self, event ): if DEBUG: print 'resize (%d x %d)' % (event.size().width(), event.size().height()) qt.QWidget.resizeEvent( self, event ) w = event.size().width() h = event.size().height() if DEBUG: print "FigureCanvasQt.resizeEvent(", w, ",", h, ")" dpival = self.figure.dpi winch = w/dpival hinch = h/dpival self.figure.set_size_inches( winch, hinch ) self.draw() def resize( self, w, h ): # Pass through to Qt to resize the widget. qt.QWidget.resize( self, w, h ) # Resize the figure by converting pixels to inches. pixelPerInch = self.figure.dpi wInch = w / pixelPerInch hInch = h / pixelPerInch self.figure.set_size_inches( wInch, hInch ) # Redraw everything. self.draw() def sizeHint( self ): w, h = self.get_width_height() return qt.QSize( w, h ) def minumumSizeHint( self ): return qt.QSize( 10, 10 ) def _get_key( self, event ): if event.key() < 256: key = event.text().latin1() elif event.key() in self.keyvald.has_key: key = self.keyvald[ event.key() ] else: key = None return key def flush_events(self): qt.qApp.processEvents() def start_event_loop(self,timeout): FigureCanvasBase.start_event_loop_default(self,timeout) start_event_loop.__doc__=FigureCanvasBase.start_event_loop_default.__doc__ def stop_event_loop(self): FigureCanvasBase.stop_event_loop_default(self) stop_event_loop.__doc__=FigureCanvasBase.stop_event_loop_default.__doc__ class FigureManagerQT( FigureManagerBase ): """ Public attributes canvas : The FigureCanvas instance num : The Figure number toolbar : The qt.QToolBar window : The qt.QMainWindow """ def __init__( self, canvas, num ): if DEBUG: print 'FigureManagerQT.%s' % fn_name() FigureManagerBase.__init__( self, canvas, num ) self.canvas = canvas self.window = qt.QMainWindow( None, None, qt.Qt.WDestructiveClose ) self.window.closeEvent = self._widgetCloseEvent centralWidget = qt.QWidget( self.window ) self.canvas.reparent( centralWidget, qt.QPoint( 0, 0 ) ) # Give the keyboard focus to the figure instead of the manager self.canvas.setFocusPolicy( qt.QWidget.ClickFocus ) self.canvas.setFocus() self.window.setCaption( "Figure %d" % num ) self.window._destroying = False self.toolbar = self._get_toolbar(self.canvas, centralWidget) # Use a vertical layout for the plot and the toolbar. Set the # stretch to all be in the plot so the toolbar doesn't resize. self.layout = qt.QVBoxLayout( centralWidget ) self.layout.addWidget( self.canvas, 1 ) if self.toolbar: self.layout.addWidget( self.toolbar, 0 ) self.window.setCentralWidget( centralWidget ) # Reset the window height so the canvas will be the right # size. This ALMOST works right. The first issue is that the # height w/ a toolbar seems to be off by just a little bit (so # we add 4 pixels). The second is that the total width/height # is slightly smaller that we actually want. It seems like # the border of the window is being included in the size but # AFAIK there is no way to get that size. w = self.canvas.width() h = self.canvas.height() if self.toolbar: h += self.toolbar.height() + 4 self.window.resize( w, h ) if matplotlib.is_interactive(): self.window.show() # attach a show method to the figure for pylab ease of use self.canvas.figure.show = lambda *args: self.window.show() def notify_axes_change( fig ): # This will be called whenever the current axes is changed if self.toolbar != None: self.toolbar.update() self.canvas.figure.add_axobserver( notify_axes_change ) def _widgetclosed( self ): if self.window._destroying: return self.window._destroying = True Gcf.destroy(self.num) def _widgetCloseEvent( self, event ): self._widgetclosed() qt.QWidget.closeEvent( self.window, event ) def _get_toolbar(self, canvas, parent): # must be inited after the window, drawingArea and figure # attrs are set if matplotlib.rcParams['toolbar'] == 'classic': print "Classic toolbar is not yet supported" elif matplotlib.rcParams['toolbar'] == 'toolbar2': toolbar = NavigationToolbar2QT(canvas, parent) else: toolbar = None return toolbar def resize(self, width, height): 'set the canvas size in pixels' self.window.resize(width, height) def destroy( self, *args ): if self.window._destroying: return self.window._destroying = True if self.toolbar: self.toolbar.destroy() if DEBUG: print "destroy figure manager" self.window.close(True) def set_window_title(self, title): self.window.setCaption(title) class NavigationToolbar2QT( NavigationToolbar2, qt.QWidget ): # list of toolitems to add to the toolbar, format is: # text, tooltip_text, image_file, callback(str) toolitems = ( ('Home', 'Reset original view', 'home.ppm', 'home'), ('Back', 'Back to previous view','back.ppm', 'back'), ('Forward', 'Forward to next view','forward.ppm', 'forward'), (None, None, None, None), ('Pan', 'Pan axes with left mouse, zoom with right', 'move.ppm', 'pan'), ('Zoom', 'Zoom to rectangle','zoom_to_rect.ppm', 'zoom'), (None, None, None, None), ('Subplots', 'Configure subplots','subplots.png', 'configure_subplots'), ('Save', 'Save the figure','filesave.ppm', 'save_figure'), ) def __init__( self, canvas, parent ): self.canvas = canvas self.buttons = {} qt.QWidget.__init__( self, parent ) # Layout toolbar buttons horizontally. self.layout = qt.QHBoxLayout( self ) self.layout.setMargin( 2 ) NavigationToolbar2.__init__( self, canvas ) def _init_toolbar( self ): basedir = os.path.join(matplotlib.rcParams[ 'datapath' ],'images') for text, tooltip_text, image_file, callback in self.toolitems: if text == None: self.layout.addSpacing( 8 ) continue fname = os.path.join( basedir, image_file ) image = qt.QPixmap() image.load( fname ) button = qt.QPushButton( qt.QIconSet( image ), "", self ) qt.QToolTip.add( button, tooltip_text ) self.buttons[ text ] = button # The automatic layout doesn't look that good - it's too close # to the images so add a margin around it. margin = 4 button.setFixedSize( image.width()+margin, image.height()+margin ) qt.QObject.connect( button, qt.SIGNAL( 'clicked()' ), getattr( self, callback ) ) self.layout.addWidget( button ) self.buttons[ 'Pan' ].setToggleButton( True ) self.buttons[ 'Zoom' ].setToggleButton( True ) # Add the x,y location widget at the right side of the toolbar # The stretch factor is 1 which means any resizing of the toolbar # will resize this label instead of the buttons. self.locLabel = qt.QLabel( "", self ) self.locLabel.setAlignment( qt.Qt.AlignRight | qt.Qt.AlignVCenter ) self.locLabel.setSizePolicy(qt.QSizePolicy(qt.QSizePolicy.Ignored, qt.QSizePolicy.Ignored)) self.layout.addWidget( self.locLabel, 1 ) # reference holder for subplots_adjust window self.adj_window = None def destroy( self ): for text, tooltip_text, image_file, callback in self.toolitems: if text is not None: qt.QObject.disconnect( self.buttons[ text ], qt.SIGNAL( 'clicked()' ), getattr( self, callback ) ) def pan( self, *args ): self.buttons[ 'Zoom' ].setOn( False ) NavigationToolbar2.pan( self, *args ) def zoom( self, *args ): self.buttons[ 'Pan' ].setOn( False ) NavigationToolbar2.zoom( self, *args ) def dynamic_update( self ): self.canvas.draw() def set_message( self, s ): self.locLabel.setText( s ) def set_cursor( self, cursor ): if DEBUG: print 'Set cursor' , cursor qt.QApplication.restoreOverrideCursor() qt.QApplication.setOverrideCursor( qt.QCursor( cursord[cursor] ) ) def draw_rubberband( self, event, x0, y0, x1, y1 ): height = self.canvas.figure.bbox.height y1 = height - y1 y0 = height - y0 w = abs(x1 - x0) h = abs(y1 - y0) rect = [ int(val)for val in min(x0,x1), min(y0, y1), w, h ] self.canvas.drawRectangle( rect ) def configure_subplots(self): self.adj_window = qt.QMainWindow(None, None, qt.Qt.WDestructiveClose) win = self.adj_window win.setCaption("Subplot Configuration Tool") toolfig = Figure(figsize=(6,3)) toolfig.subplots_adjust(top=0.9) w = int (toolfig.bbox.width) h = int (toolfig.bbox.height) canvas = self._get_canvas(toolfig) tool = SubplotTool(self.canvas.figure, toolfig) centralWidget = qt.QWidget(win) canvas.reparent(centralWidget, qt.QPoint(0, 0)) win.setCentralWidget(centralWidget) layout = qt.QVBoxLayout(centralWidget) layout.addWidget(canvas, 1) win.resize(w, h) canvas.setFocus() win.show() def _get_canvas(self, fig): return FigureCanvasQT(fig) def save_figure( self ): filetypes = self.canvas.get_supported_filetypes_grouped() sorted_filetypes = filetypes.items() sorted_filetypes.sort() default_filetype = self.canvas.get_default_filetype() start = "image." + default_filetype filters = [] selectedFilter = None for name, exts in sorted_filetypes: exts_list = " ".join(['*.%s' % ext for ext in exts]) filter = '%s (%s)' % (name, exts_list) if default_filetype in exts: selectedFilter = filter filters.append(filter) filters = ';;'.join(filters) fname = qt.QFileDialog.getSaveFileName( start, filters, self, "Save image", "Choose a filename to save to", selectedFilter) if fname: try: self.canvas.print_figure( unicode(fname) ) except Exception, e: qt.QMessageBox.critical( self, "Error saving file", str(e), qt.QMessageBox.Ok, qt.QMessageBox.NoButton) def set_history_buttons( self ): canBackward = ( self._views._pos > 0 ) canForward = ( self._views._pos < len( self._views._elements ) - 1 ) self.buttons[ 'Back' ].setEnabled( canBackward ) self.buttons[ 'Forward' ].setEnabled( canForward ) # set icon used when windows are minimized try: # TODO: This is badly broken qt.window_set_default_icon_from_file ( os.path.join( matplotlib.rcParams['datapath'], 'images', 'matplotlib.svg' ) ) except: verbose.report( 'Could not load matplotlib icon: %s' % sys.exc_info()[1] ) def error_msg_qt( msg, parent=None ): if not is_string_like( msg ): msg = ','.join( map( str,msg ) ) qt.QMessageBox.warning( None, "Matplotlib", msg, qt.QMessageBox.Ok ) def exception_handler( type, value, tb ): """Handle uncaught exceptions It does not catch SystemExit """ msg = '' # get the filename attribute if available (for IOError) if hasattr(value, 'filename') and value.filename != None: msg = value.filename + ': ' if hasattr(value, 'strerror') and value.strerror != None: msg += value.strerror else: msg += str(value) if len( msg ) : error_msg_qt( msg ) FigureManager = FigureManagerQT
agpl-3.0
hlin117/scikit-learn
examples/cross_decomposition/plot_compare_cross_decomposition.py
19
4761
""" =================================== Compare cross decomposition methods =================================== Simple usage of various cross decomposition algorithms: - PLSCanonical - PLSRegression, with multivariate response, a.k.a. PLS2 - PLSRegression, with univariate response, a.k.a. PLS1 - CCA Given 2 multivariate covarying two-dimensional datasets, X, and Y, PLS extracts the 'directions of covariance', i.e. the components of each datasets that explain the most shared variance between both datasets. This is apparent on the **scatterplot matrix** display: components 1 in dataset X and dataset Y are maximally correlated (points lie around the first diagonal). This is also true for components 2 in both dataset, however, the correlation across datasets for different components is weak: the point cloud is very spherical. """ print(__doc__) import numpy as np import matplotlib.pyplot as plt from sklearn.cross_decomposition import PLSCanonical, PLSRegression, CCA ############################################################################### # Dataset based latent variables model n = 500 # 2 latents vars: l1 = np.random.normal(size=n) l2 = np.random.normal(size=n) latents = np.array([l1, l1, l2, l2]).T X = latents + np.random.normal(size=4 * n).reshape((n, 4)) Y = latents + np.random.normal(size=4 * n).reshape((n, 4)) X_train = X[:n // 2] Y_train = Y[:n // 2] X_test = X[n // 2:] Y_test = Y[n // 2:] print("Corr(X)") print(np.round(np.corrcoef(X.T), 2)) print("Corr(Y)") print(np.round(np.corrcoef(Y.T), 2)) ############################################################################### # Canonical (symmetric) PLS # Transform data # ~~~~~~~~~~~~~~ plsca = PLSCanonical(n_components=2) plsca.fit(X_train, Y_train) X_train_r, Y_train_r = plsca.transform(X_train, Y_train) X_test_r, Y_test_r = plsca.transform(X_test, Y_test) # Scatter plot of scores # ~~~~~~~~~~~~~~~~~~~~~~ # 1) On diagonal plot X vs Y scores on each components plt.figure(figsize=(12, 8)) plt.subplot(221) plt.plot(X_train_r[:, 0], Y_train_r[:, 0], "ob", label="train") plt.plot(X_test_r[:, 0], Y_test_r[:, 0], "or", label="test") plt.xlabel("x scores") plt.ylabel("y scores") plt.title('Comp. 1: X vs Y (test corr = %.2f)' % np.corrcoef(X_test_r[:, 0], Y_test_r[:, 0])[0, 1]) plt.xticks(()) plt.yticks(()) plt.legend(loc="best") plt.subplot(224) plt.plot(X_train_r[:, 1], Y_train_r[:, 1], "ob", label="train") plt.plot(X_test_r[:, 1], Y_test_r[:, 1], "or", label="test") plt.xlabel("x scores") plt.ylabel("y scores") plt.title('Comp. 2: X vs Y (test corr = %.2f)' % np.corrcoef(X_test_r[:, 1], Y_test_r[:, 1])[0, 1]) plt.xticks(()) plt.yticks(()) plt.legend(loc="best") # 2) Off diagonal plot components 1 vs 2 for X and Y plt.subplot(222) plt.plot(X_train_r[:, 0], X_train_r[:, 1], "*b", label="train") plt.plot(X_test_r[:, 0], X_test_r[:, 1], "*r", label="test") plt.xlabel("X comp. 1") plt.ylabel("X comp. 2") plt.title('X comp. 1 vs X comp. 2 (test corr = %.2f)' % np.corrcoef(X_test_r[:, 0], X_test_r[:, 1])[0, 1]) plt.legend(loc="best") plt.xticks(()) plt.yticks(()) plt.subplot(223) plt.plot(Y_train_r[:, 0], Y_train_r[:, 1], "*b", label="train") plt.plot(Y_test_r[:, 0], Y_test_r[:, 1], "*r", label="test") plt.xlabel("Y comp. 1") plt.ylabel("Y comp. 2") plt.title('Y comp. 1 vs Y comp. 2 , (test corr = %.2f)' % np.corrcoef(Y_test_r[:, 0], Y_test_r[:, 1])[0, 1]) plt.legend(loc="best") plt.xticks(()) plt.yticks(()) plt.show() ############################################################################### # PLS regression, with multivariate response, a.k.a. PLS2 n = 1000 q = 3 p = 10 X = np.random.normal(size=n * p).reshape((n, p)) B = np.array([[1, 2] + [0] * (p - 2)] * q).T # each Yj = 1*X1 + 2*X2 + noize Y = np.dot(X, B) + np.random.normal(size=n * q).reshape((n, q)) + 5 pls2 = PLSRegression(n_components=3) pls2.fit(X, Y) print("True B (such that: Y = XB + Err)") print(B) # compare pls2.coef_ with B print("Estimated B") print(np.round(pls2.coef_, 1)) pls2.predict(X) ############################################################################### # PLS regression, with univariate response, a.k.a. PLS1 n = 1000 p = 10 X = np.random.normal(size=n * p).reshape((n, p)) y = X[:, 0] + 2 * X[:, 1] + np.random.normal(size=n * 1) + 5 pls1 = PLSRegression(n_components=3) pls1.fit(X, y) # note that the number of components exceeds 1 (the dimension of y) print("Estimated betas") print(np.round(pls1.coef_, 1)) ############################################################################### # CCA (PLS mode B with symmetric deflation) cca = CCA(n_components=2) cca.fit(X_train, Y_train) X_train_r, Y_train_r = cca.transform(X_train, Y_train) X_test_r, Y_test_r = cca.transform(X_test, Y_test)
bsd-3-clause
timodonnell/pyopen
test/test_basics.py
1
2353
from nose.tools import eq_ from . import data_path, run_and_capture RUN_TESTS_REQUIRING_INTERNET = True SAMPLE_CSV_URL = "https://raw.githubusercontent.com/timodonnell/pyopen/master/test/data/SampleCSVFile_11kb.csv" def test_csv(): eq_( run_and_capture( "print(f1.shape)", [data_path("SampleCSVFile_11kb.csv"), "--csv-encoding", "latin1"]), "(99, 10)") eq_( run_and_capture( "print(f1.shape)", [data_path("SampleCSVFile_11kb.csv.gz"), "--csv-encoding", "latin1"]), "(99, 10)") eq_( run_and_capture( "print(f1.shape)", [data_path("SampleCSVFile_11kb.csv.bz2"), "--csv-encoding", "latin1"]), "(99, 10)") eq_( run_and_capture( "print(f1.shape)", [ data_path("SampleCSVFile_11kb.csv.nonstandard_extension"), "--loader", "pandas_csv", "--csv-encoding", "latin1", ]), "(99, 10)") if RUN_TESTS_REQUIRING_INTERNET: def test_csv_url(): eq_( run_and_capture( "print(f1.shape)", [SAMPLE_CSV_URL, "--csv-encoding", "latin1"]), "(99, 10)") def test_tsv(): eq_( run_and_capture( "print(f1.shape)", [ data_path("nasa_19950801.tsv.bz2"), "--loader", "pandas_csv", ]), "(30969, 9)") def test_xls(): eq_( run_and_capture( "print(f1['Sample-spreadsheet-file'].shape)", [data_path("SampleXLSFile_38kb.xls")]), "(99, 10)") def test_hdf5(): eq_( run_and_capture( "print(f1['/detector/readout'].ix[3, 'energy'])", [data_path("pytables_native.h5")]), "6561.0") def test_json(): eq_( run_and_capture( "print(f1['glossary']['title'])", [data_path("example1.json")]), "example glossary") def test_yaml(): eq_( run_and_capture( "print(f1['glossary']['title'])", [data_path("example1.yaml")]), "example glossary") def test_pickle(): eq_( run_and_capture( "print(f1['glossary']['title'])", [data_path("example1.pkl")]), "example glossary")
apache-2.0
murali-munna/scikit-learn
sklearn/ensemble/tests/test_base.py
284
1328
""" Testing for the base module (sklearn.ensemble.base). """ # Authors: Gilles Louppe # License: BSD 3 clause from numpy.testing import assert_equal from nose.tools import assert_true from sklearn.utils.testing import assert_raise_message from sklearn.datasets import load_iris from sklearn.ensemble import BaggingClassifier from sklearn.linear_model import Perceptron def test_base(): # Check BaseEnsemble methods. ensemble = BaggingClassifier(base_estimator=Perceptron(), n_estimators=3) iris = load_iris() ensemble.fit(iris.data, iris.target) ensemble.estimators_ = [] # empty the list and create estimators manually ensemble._make_estimator() ensemble._make_estimator() ensemble._make_estimator() ensemble._make_estimator(append=False) assert_equal(3, len(ensemble)) assert_equal(3, len(ensemble.estimators_)) assert_true(isinstance(ensemble[0], Perceptron)) def test_base_zero_n_estimators(): # Check that instantiating a BaseEnsemble with n_estimators<=0 raises # a ValueError. ensemble = BaggingClassifier(base_estimator=Perceptron(), n_estimators=0) iris = load_iris() assert_raise_message(ValueError, "n_estimators must be greater than zero, got 0.", ensemble.fit, iris.data, iris.target)
bsd-3-clause
ReservoirWebs/GrowChinook
Bioenergetics_dev.py
1
46105
#!/usr/bin/python import pylab import glob import time import os import numpy as np import sys from scipy.interpolate import interp1d from scipy.integrate import trapz from scipy.optimize import minimize, brute from csv import DictReader, QUOTE_NONNUMERIC from collections import defaultdict from matplotlib import pyplot from datetime import datetime, timedelta #Minimum and maximum elevations for each reservoir FC_MAX_EL = 833.3 FC_MIN_EL = 682.2 HC_MAX_EL = 1545.3 HC_MIN_EL = 1246.7 LP_MAX_EL = 931.7 LP_MIN_EL = 715.2 def scruffy(path,return_path,name): #Scruffy's the janitor. Kills any output files older than one hour os.chdir(path) hour_ago = datetime.now() - timedelta(hours=1) for file in glob.glob("{}*".format(name)): age = datetime.fromtimestamp(os.path.getctime(file)) if age < hour_ago: os.remove(file) os.chdir(return_path) def get_sustain_est(elevation, total_daphnia, consumed, site): bath_data = '{}Bath.csv'.format(site) bath = {} total_daphnia = total_daphnia with open(bath_data) as file: reader = DictReader(file) for row in reader: bath.update({int(row['elevation (m)']): float(row[' 2d_area (m2)'])}) if site == 'Fall Creek': elev = min(max((elevation), (FC_MIN_EL/3.281)), (FC_MAX_EL/3.281)) elif site == 'Hills Creek': elev = min(max((elevation), (HC_MIN_EL/3.281)), (HC_MAX_EL/3.281)) elif site == 'Lookout Point': elev = min(max((elevation), (LP_MIN_EL/3.281)), (LP_MAX_EL/3.281)) area = bath[int(elev)] consumable = (area*total_daphnia*0.58) pop_est = consumable/(consumed*4) return pop_est def get_vals(light_in, total_daphnia_in, daphnia_size_in, site, month, year): #k represents the light extinction coefficient lights = {('Fall Creek', '2016'): {'April': 0.758, 'May': 0.466, 'June': 0.435, 'July': 0.451, 'August': 0.444, 'September': 0.406}, ('Hills Creek', '2016'): {'April': 0.399, 'May': 0.321, 'June': 0.440, 'July': 0.257, 'August': 0.384, 'September': 0.340}, ('Lookout Point', '2016'): {'April': 0.514, 'May': 0.373, 'June': 0.368, 'July': 0.311, 'August': 0.389, 'September': 0.343}, ('Fall Creek', '2015'): {'March': 0.834, 'April': 0.596, 'May': 0.58, 'June': 0.72, 'July': 0.521, 'August': 0.509}, ('Hills Creek', '2015'): {'March': 0.583, 'April': 0.503, 'May': 0.467, 'June': 0.441, 'July': 0.32, 'August': 0.368}, ('Lookout Point', '2015'): {'March': 0.532, 'April': 0.565, 'May': 0.373, 'June': 0.374, 'July': 0.396, 'August': 0.39}, ('Fall Creek', '2014'): {'June': 0.404, 'July': 0.274, 'August': 0.295}, ('Hills Creek', '2014'): {'June': 0.298, 'July': 0.274, 'August': 0.274}, ('Lookout Point', '2014'): {'June': 0.315, 'July': 0.271, 'August': 0.282} } # Daphnia totals weighted by subsample - only from C and Z sites # July 2013 and July 2014 are not currently available daphnias = {('Fall Creek', '2016'): {'April': 367, 'May': 22328, 'June': 48240, 'July': 8801, 'August': 5378, 'September': 3626}, ('Hills Creek', '2016'): {'April': 163, 'May': 7456, 'June': 88658, 'July': 9045, 'August': 13527, 'September': 13853}, ('Lookout Point', '2016'): {'April': 20, 'May': 448, 'June': 9290, 'July': 11693, 'August': 6926, 'September': 1854}, ('Fall Creek', '2015'): {'March': 815, 'April': 17357, 'May': 24446, 'June':3993, 'July': 2363, 'August': 407}, ('Hills Creek', '2015'): {'March': 204, 'April': 453, 'May': 11408, 'June': 20535, 'July': 9126, 'August': 3178}, ('Lookout Point', '2015'): {'March': 61, 'April': 127, 'May': 14016, 'June': 44981, 'July': 5949, 'August': 581}, ('Fall Creek', '2014'): {'June': 25280, 'July': 0, 'August': 7752}, ('Hills Creek', '2014'): {'June': 6040, 'July': 0, 'August': 2249}, ('Lookout Point', '2014'): {'June': 16863, 'July': 0, 'August': 1061}, ('Fall Creek', '2013'): {'June': 18416, 'July': 0, 'August': 4563}, ('Hills Creek', '2013'): {'June': 127772, 'July': 0, 'August': 18559}, ('Blue River', '2013'): {'June': 68449, 'July': 0, 'August': 41233} } #Weighted for proportion D.mendotae, D.pulex, and D.rosea/ambigua averaged across available years sizes = {('Fall Creek', '2016'): {'April': 0.56, 'May': 1.01, 'June': 1.13, 'July': 1.48, 'August': 1.78, 'September': 1.10}, ('Hills Creek', '2016'): {'April': 1.22, 'May': 1.08, 'June': 1.16, 'July': 1.54, 'August': 1.18, 'September': 1.51}, ('Lookout Point', '2016'): {'April': 0.53, 'May': 0.68, 'June': 1.14, 'July': 1.31, 'August': 1.64, 'September': 1.20}, ('Blue River', '2016'): {'July': 1.27}, ('Fall Creek', '2015'): {'March': 1.21, 'April': 1.25, 'May': 1.13, 'June': 1.26, 'July': 1.49, 'August': 1.18}, ('Hills Creek', '2015'): {'March': 1.24, 'April': 1.09, 'May': 1.03, 'June': 1.20, 'July': 1.84, 'August': 2.21}, ('Lookout Point', '2015'): {'March': 1.46, 'April': 0.96, 'May': 1.06, 'June': 1.35, 'July': 1.97, 'August': 2.07}, ('Blue River', '2015'): {'March': 0.63, 'April': 0.73, 'May': 0.83, 'June': 1.50, 'July': 1.48, 'August': 1.25}, ('Fall Creek', '2014'): {'March': 1.207, 'April': 0.90375, 'May': 1.073, 'June': 1.262, 'July': 1.485, 'August': 1.633}, ('Hills Creek', '2014'): {'March': 1.238, 'April': 1.152, 'May': 1.058, 'June': 1.232, 'July': 1.687, 'August': 2.005}, ('Lookout Point', '2014'): {'March': 1.457, 'April': 0.745, 'May': 0.871, 'June': 1.237, 'July': 1.642, 'August': 2.033}, ('Blue River', '2014'): {'March': 0.628, 'April': 0.780, 'May': 0.827, 'June': 1.321, 'July': 1.377, 'August': 1.282} } if light_in == float(123456): light = lights[(site, year)][month] else: light = light_in if total_daphnia_in == float(123456): total_daphnia = daphnias[(site, year)][month] else: total_daphnia = total_daphnia_in if daphnia_size_in == float(123456): daphnia_size = sizes[(site, year)][month] else: daphnia_size = daphnia_size_in return light, total_daphnia, daphnia_size def sensitivity_expand(form): sparam_exp = [] if form.getvalue('Sparam_Range') != None: sparam_range = float(form.getvalue('Sparam_Range')) else: sparam_range = 200 step_size = (sparam_range-100)/1000 sparam_exp.append(.001) for i in range(4, 1, -1): sparam_exp.append(float(1)/(i*10)) sparam_exp.append(1) for i in range(1, 11): sparam_exp.append(float(1)+(step_size*i)) return sparam_exp def run_sensitivity(sens_factors, sparam, site_data, starting_mass, daph_data, max_temp, min_temp, cust_temp, elev, pop_site, ax2, ax3): batches = [] results = [] sens_inputs = [] growths = [] growths1 = [] csvheaders = [[] for i in range(20)] SHORT_RESULTS = {'Elevation': [], 'Reservoir(used for elevation)': [], 'Daphnia Density': [], 'Light': [], 'Daphnia Size': [], 'Min Depth': [], 'Max Depth': [], 'Min Temp': [], 'Max Temp': [], 'Daphnia Year': [], 'Daphnia Month': [], 'Daphnia Site': [], 'Temperature File': [], 'Starting Mass': [], 'Ending Mass': [], 'Day Depth': [], 'Day Temperature': [], 'Night Depth': [], 'Night Temperature': [], 'Day 1 Growth': [], 'Day 30 Growth': [], 'Daphnia Consumed': [], 'Sustainable Estimate': [], 'Estimated Condition Change': [], 'Day P': [], 'Night P': []} if sparam == 'Starting Mass': base_input = starting_mass elif sparam == 'Total Daphnia': base_input = daph_data.total_daph elif sparam == 'Daphnia Size': base_input = daph_data.daph_size else: base_input = site_data.light for i in range(15): if (base_input * sens_factors[i]) > 0.0001: sens_inputs.append(base_input * sens_factors[i]) else: sens_inputs.append(.00001) sens_factors[i] = sens_factors[i] * 100 csvheaders[i] = [site_data.site, site_data.month, site_data.year, ("%s: %f" % (sparam, sens_inputs[i]))] if sparam == 'Starting Mass': batches.append(Batch(site_data, sens_inputs[i], daph_data, max_temp, min_temp, cust_temp, elev, pop_site, True)) elif sparam == 'Total Daphnia': daph_data.total_daph = sens_inputs[i] batches.append(Batch(site_data, starting_mass, daph_data, max_temp, min_temp, cust_temp, elev, pop_site, True)) elif sparam == 'Daphnia Size': daph_data.daph_size = sens_inputs[i] batches.append(Batch(site_data, starting_mass, daph_data, max_temp, min_temp, cust_temp, elev, pop_site, True)) else: site_data.light = sens_inputs[i] batches.append(Batch(site_data, starting_mass, daph_data, max_temp, min_temp, cust_temp, elev, pop_site, True)) res, taway, condition, condition1, dt, nt, taway2, day_p, night_p = batches[i].Run_Batch() results.append(res) #SHORT_RESULTS['Tab Name'].append(vals.title) SHORT_RESULTS['Elevation'].append(elev) SHORT_RESULTS['Reservoir(used for elevation)'].append(pop_site) if sparam == 'Total Daphnia': SHORT_RESULTS['Daphnia Density'].append(sens_inputs[i]) else: SHORT_RESULTS['Daphnia Density'].append(daph_data.total_daph) if sparam == 'Light': SHORT_RESULTS['Light'].append(sens_inputs[i]) else: SHORT_RESULTS['Light'].append(site_data.light) if sparam == 'Daphnia Size': SHORT_RESULTS['Daphnia Size'].append(sens_inputs[i]) else: SHORT_RESULTS['Daphnia Size'].append(daph_data.daph_size) SHORT_RESULTS['Min Depth'].append(site_data.min_depth) SHORT_RESULTS['Max Depth'].append(site_data.max_depth) SHORT_RESULTS['Min Temp'].append(min_temp) SHORT_RESULTS['Max Temp'].append(max_temp) SHORT_RESULTS['Daphnia Year'].append(daph_data.d_year) SHORT_RESULTS['Daphnia Month'].append(daph_data.d_month) SHORT_RESULTS['Daphnia Site'].append(daph_data.d_site) SHORT_RESULTS['Temperature File'].append(cust_temp) if sparam == 'Starting Mass': SHORT_RESULTS['Starting Mass'].append(sens_inputs[i]) else: SHORT_RESULTS['Starting Mass'].append(starting_mass) SHORT_RESULTS['Ending Mass'].append(results[i]['StartingMass'][29]) SHORT_RESULTS['Day Depth'].append(results[i]['day_depth'][29]) SHORT_RESULTS['Day Temperature'].append(dt) SHORT_RESULTS['Night Depth'].append(results[i]['night_depth'][29]) SHORT_RESULTS['Night Temperature'].append(nt) SHORT_RESULTS['Day 1 Growth'].append(results[i]['growth'][0]) SHORT_RESULTS['Day 30 Growth'].append(results[i]['growth'][29]) SHORT_RESULTS['Daphnia Consumed'].append(taway) SHORT_RESULTS['Sustainable Estimate'].append(taway2) SHORT_RESULTS['Estimated Condition Change'].append(condition) SHORT_RESULTS['Day P'].append(day_p) SHORT_RESULTS['Night P'].append(night_p) growths.append(results[i]['growth'][29]) growths1.append(results[i]['growth'][0]) return results, growths, growths1, csvheaders, sens_inputs, SHORT_RESULTS, ax2, ax3 class Daph_Data: def __init__(self, abundance, size, year, site, month): self.total_daph = abundance self.daph_size = size self.d_year = year self.d_site = site self.d_month = month def __str__(self): return '{}'.format([self.total_daph, self.daph_size, self.d_year, self.d_site, self.d_month]) class Form_Data_Packager: def __init__(self, form): self.title = form.getvalue('TabName') or 'GrowChinook Results' self.starting_mass = float(form.getvalue('Starting_Mass_In') or 20) if self.starting_mass == 0: self.starting_mass = 0.1 self.total_daphnnia = float(form.getvalue('Total_Daphnia_Input_Name') or form.getvalue('TotDDef') or 123456) self.daphnia_size = float(form.getvalue('Daphnia Size') or form.getvalue('DaphSDef') or 123456) self.light = float(form.getvalue('Light') or form.getvalue('LightDef') or 123456) self.year = form.getvalue('Year') or '2015' self.month = form.getvalue('Month1') or 'June' self.site = form.getvalue('Site') or 'Fall Creek' self.max_dep = float(form.getvalue('DmaxIn') or 35) self.min_dep = float(form.getvalue('DminIn') or 0) self.max_temp = float(form.getvalue('TmaxIn') or 10000) self.min_temp = float(form.getvalue('TminIn') or -1) if self.min_temp == self.max_temp: self.max_temp = self.max_temp + 1 self.pop_site = form.getvalue('ESite') or self.site self.elev = float(form.getvalue('Elev') or 100000) if self.pop_site == 'Fall Creek': self.elev = max(self.elev, 691) self.max_dep = min(((self.elev - FC_MIN_EL) / 3.281), self.max_dep) elif self.pop_site == 'Lookout Point': self.elev = max(self.elev, 725) self.max_dep = min(((self.elev - LP_MIN_EL) / 3.281), self.max_dep) elif self.pop_site == 'Hills Creek': self.elev = max(self.elev, 1256) self.max_dep = min(((self.elev - HC_MIN_EL) / 3.281), self.max_dep) if self.max_dep <= 0: self.max_dep = 1 self.dmaxday = 1 self.daph_year = form.getvalue('DYear') or self.year self.daph_month = form.getvalue('DMonth') or self.month self.daph_site = form.getvalue('DSite') or self.site self.temp_year = form.getvalue('TYear') or self.year self.temp_month = form.getvalue('TMonth') or self.month self.temp_site = form.getvalue('TSite') or self.site if form.getvalue('CustTemp') is None: self.cust_temp = '{0}_T_{1}_{2}.csv'.format(self.temp_site, self.temp_month, self.temp_year) else: self.cust_temp = 'uploads/temp/{}'.format(form.getvalue('CustTemp')) self.light, self.total_daphnnia, self.daphnia_size = get_vals(self.light, self.total_daphnnia, self. daphnia_size, self.site, self.month, self.year) self.site_data = Site_Data(self.year, self.site, self.month, self.light, self.max_dep, self.min_dep) self.daph_data = Daph_Data(self.total_daphnnia, self.daphnia_size, self.daph_year, self.daph_site, self.daph_month) class Adv_Sens_Form_Data_Packager: def __init__(self, form): self.title = form.getvalue('TabName') or 'GrowChinook Results' self.starting_mass = float(form.getvalue('Starting_Mass_In') or 20) if self.starting_mass == 0: self.starting_mass = 0.1 self.total_daphnnia = float(form.getvalue('Total_Daphnia_Input_Name') or form.getvalue('TotDDef') or 123456) self.daphnia_size = float(form.getvalue('Daphnia Size') or form.getvalue('DaphSDef') or 123456) self.light = float(form.getvalue('Light') or form.getvalue('LightDef') or 123456) self.year = form.getvalue('Year') or '2015' self.site = form.getvalue('Site') or 'Fall Creek' self.max_dep = float(form.getvalue('DmaxIn') or 10000) self.min_dep = float(form.getvalue('DminIn') or -1) self.max_temp = float(form.getvalue('TmaxIn') or 10000) self.min_temp = float(form.getvalue('TminIn') or -1) if self.min_temp == self.max_temp: self.max_temp = self.max_temp + 1 self.site_data = Site_Data(self.year, self.site, None, self.light, self.max_dep, self.min_dep) self.daph_data = Daph_Data(self.total_daphnnia, self.daphnia_size, self.year, self.site, None) class Site_Data: def __init__(self, year, site, month, light, max_depth, min_depth): self.year = year self.site = site self.month = month self.light = light self.max_depth = max_depth self.min_depth = min_depth def __str__(self): return '{}'.format([self.year, self.site, self.month, self.light, self.max_depth, self.min_depth]) class Batch: def __init__(self, site_data, starting_mass, daphnia_data, temp_max, temp_min, temp_file, elevation, PSite, extrapolate_temp=False): self.site = site_data.site self.month = site_data.month self.year = site_data.year self.light = site_data.light self.daphnia_size = daphnia_data.daph_size self.total_daphnia = daphnia_data.total_daph self.temp_file = temp_file self.DYear = daphnia_data.d_year self.DMonth = daphnia_data.d_month self.daphnia_site = daphnia_data.d_site self.starting_mass = starting_mass self.starting_mass_initial = starting_mass self.depth_max = site_data.max_depth self.depth_min = site_data.min_depth self.temp_max = temp_max self.temp_min = temp_min self.dtfinal = 0 self.ntfinal = 0 self.depths = [] self.elevation = elevation self.PSite = PSite self.SparamExp = [] # Body lengths (from grey lit) self.SwimSpeed = 2 self.params = {} # J/gram of O2 in respiration conversions (Elliot and Davidson 1975). self.O2Conv = 13560 # lux http://sustainabilityworkshop.autodesk.com/buildings/measuring-light-levels self.DayLight = 39350 ## Would a lower lux be more representative? - https://www.noao.edu/education/QLTkit/ACTIVITY_Documents/Safety/LightLevels_outdoor+indoor.pdf #self.DayLight = 10752 self.NightLight = 0.10 self.out = {} # Based off Cornell equation (g from ug) self.daphnia_dry_weight = (np.exp(1.468 + 2.83 * np.log(self.daphnia_size))) /\ 1000000 #From Ghazy, others use ~10% #Wet weight from Smirnov 2014 (g from mg) self.daphnia_weight = (0.075 * self.daphnia_size ** 2.925) / 1000 # Using Pechen 1965 fresh weight / length relationship reported in Dumont for D. magna #self.daphnia_weight = (0.052 * self.daphnia_size ** 3.012) / 1000 if elevation is None: self.elevation = 100000 else: self.elevation = int(float(elevation)/3.281) self.PSite = PSite self.PSite = self.PSite or self.site self.DYear = self.DYear or self.year self.DMonth = self.DMonth or self.month self.daphnia_site = self.daphnia_site or self.site # From Luecke and Brandt 22.7 overall, 23.3 kJ/g for unfrozen Daphnia (dry weight) 1.62 kJ/g wet weight DaphEnergy = 22700 # This is likely an overestimation given that Daphnia under reservoir food concentrations would have less than half the lipids of higher food environments... # https://link.springer.com/article/10.1007%2Fs11356-010-0413-0 # Also 24C Daphnia have double the lipids of 16C Daphnia self.prey = [1] # Noue and Choubert 1985 suggest Daphnia are 82.6% digestible by Rainbow Trout self.digestibility = [0.174] self.preyenergy = [DaphEnergy] with open('Daphnia VD.csv') as fid: reader = DictReader(fid) zooplankton_data = [r for r in reader] (self.daphline, self.daph_auc) = self.compute_daphniabydepth(zooplankton_data) # From Lookout Point and Fall Creek downstream screw trap data (R2 = 0.9933) self.StartingLength = (self.starting_mass / 0.000004) ** (1 / 3.1776) #self.StartingLength = (self.starting_mass/0.0003)**(1/2.217) #see note below self.temp_max = self.temp_max or 1000 self.temp_min = self.temp_min or -1 f = 'ChinookAppendixA.csv' with open(f) as fid: reader = DictReader(fid, quoting=QUOTE_NONNUMERIC) self.params = next(reader) if self.temp_file == "None_T_None_None.csv": temperature_file = '{0}_T_{1}_{2}.csv'\ .format(self.site, self.month, self.year) else: temperature_file = temp_file with open(temperature_file) as fid: reader = DictReader(fid) self.temperatures = [] for row in reader: if (float(row['temp']) <= self.temp_max) and (float(row['temp']) >= self.temp_min): self.temperatures.append(float(row['temp'])) self.depths.append(float(row['depth'])) if self.temperatures == [] or self.depths == []: print("ALL DEPTHS EXCLUDED BY TEMPERATURE AND DEPTH RESTRICTIONS!!!!!!!!!") self.predatorenergy = self.predatorenergy(self.starting_mass) if extrapolate_temp: fill_value = 'extrapolate' else: fill_value = 0 self.depth_from_temp = interp1d(self.temperatures, self.depths, fill_value=fill_value, bounds_error=False) self.temp_from_depth = interp1d(self.depths, self.temperatures, fill_value=fill_value, bounds_error=False) day_depth = 5 night_depth = 10 self.day_temp = self.temp_from_depth(day_depth) self.day_depth = 5 self.night_temp = self.temp_from_depth(night_depth) self.night_depth = 10 self.daylength = {'March':11.83, 'April':13.4, 'May':14.73, 'June':15.42, 'July':15.12, 'August':13.97, 'September':12.45} def compute_daphniabydepth(self, zooplankton_data): # get rows for site, season, depth if self.year == '2016': rows = [r for r in zooplankton_data if (r['Site'] == self.daphnia_site and r['Month'] == self.DMonth and r['Year'] == '2016')] else: rows = [r for r in zooplankton_data if (r['Site'] == self.daphnia_site and r['Month'] == self.DMonth and r['Year'] == '2015')] x = [float(r['Depth']) for r in rows] y = [float(r['Total Daphnia']) for r in rows] surface_count = y[np.argmin(x)] auc = trapz(y, x) y = y / auc * self.total_daphnia return (interp1d(x, y, bounds_error=False, fill_value=surface_count), trapz(y, x)) # Foraging from Beauchamps paper, prey per hour is commented out # Current reaction distance is from Gregory and Northcote 1992 # Note that reaction distance is in cm def compute_foragingbydepth(self, StartingLength, starting_mass, surface_light, daphline, daph_auc, depth): light = surface_light * np.exp((-self.light) * depth) depth = depth # daphnia per cc daphnia = daphline(depth) / 1000000 #reactiondistance = 3.787 * (light ** 0.4747) * ((self.daphnia_size / 10) ** 0.9463) lightenergy = light/51.2 suspendedsediment = -((np.log(lightenergy) - 1.045)/(.0108)) if suspendedsediment <= 0: reactiondistance = 31.64 if suspendedsediment > 0: turbidity = .96*np.log(suspendedsediment+1) - .002 reactiondistance = (31.64-13.31*turbidity) # ~1.1 from this paper, 8 based on kokanee (is ~ the median observed for this Chinook study) if reactiondistance < 1.1 or np.isnan(reactiondistance): reactiondistance = 1.1 swim_speed = self.SwimSpeed * StartingLength/10 searchvolume = np.pi * (reactiondistance ** 2) * swim_speed # daphnia per hour EncounterRate = searchvolume * daphnia * 60 * 60 # Capping ER based on 2017 Haskell et al. # Haskell equation is in L, daphnia are currently per cc and was per min, convert to hr max_er = (29.585 * (daphnia * 1000) * ((4.271 + daphnia * 1000) ** (-1)) * 60) if EncounterRate > max_er: EncounterRate = max_er # EncounterRate = 0.9 * EncounterRate # use if want to further restrict capture gramsER = EncounterRate * self.daphnia_weight return gramsER / starting_mass def compute_ft(self, temperature): CQ = self.params['CQ'] CTL = self.params['CTL'] CTM = self.params['CTM'] CTO = self.params['CTO'] CK1 = self.params['CK1'] CK4 = self.params['CK4'] eq = self.params['c_eq'] if eq == 1: return np.exp(CQ * temperature) elif eq == 2: V = (CTM - temperature) / (CTM - CTO) Z = np.log(CQ) * (CTM - CTO) Y = np.log(CQ) * (CTM - CTO + 2) X = (Z ** 2 * (1 + (1 + 40 / Y) ** 0.5) ** 2) / 400 return (V ** X) * np.exp(X * (1 - V)) elif eq == 3: G1 = (1 / (CTO - CQ)) * np.log((0.98 * (1 - CK1)) / (CK1 * 0.002)) G2 = (1 / (CTL - CTM)) * np.log((0.98 * (1 - CK4)) / (CK4 * 0.02)) L1 = np.exp(G1 * (temperature - CQ)) L2 = np.exp(G2 * (CTL - temperature)) K_A = (CK1 * L1) / (1 + CK1 * (L1 - 1)) K_B = (CK4 * L2) / (1 + CK4 * (L2 - 1)) return K_A * K_B else: raise ValueError("Unknown consumption equation type: " + eq) def compute_cmax(self, W): CA = self.params['CA'] CB = self.params['CB'] return CA * (W ** CB) def compute_consumption(self, cmax, P, ft): return cmax * P * ft def compute_waste(self, consumption, P, temperature, prey, digestibility): # Units are g/g/d FA = self.params['FA'] FB = self.params['FB'] FG = self.params['FG'] UA = self.params['UA'] UB = self.params['UB'] UG = self.params['UG'] eq = self.params['egexeq'] if eq == 1: egestion = FA * consumption excretion = UA * (consumption - egestion) return (egestion, excretion) elif eq == 2: egestion = FA * (temperature ** FB) * np.exp(FG * P) * consumption excretion = UA * (temperature ** UB) * np.exp(UG * P) * (consumption - egestion) return (egestion, excretion) elif eq == 3: if prey is None or digestibility is None: raise ValueError("Prey or digestibility not defined") PFF = np.inner(prey, digestibility) PE = FA * (temperature ** FB) * np.exp(FG * P) PF = ((PE - 0.1) / 0.9) * (1 - PFF) + PFF egestion = PF * consumption excretion = UA * (temperature ** UB) * np.exp(UG * P) * (consumption - egestion) return (egestion, excretion) else: raise ValueError("Unknown egestion/excretion equation type: " + eq) def compute_respiration(self, W0, temperature, egestion, consumption): RA = self.params['RA'] RB = self.params['RB'] RQ = self.params['RQ'] RTO = self.params['RTO'] RTM = self.params['RTM'] RTL = self.params['RTL'] RK1 = self.params['RK1'] RK4 = self.params['RK4'] ACT = self.params['ACT'] BACT = self.params['BACT'] SDA = self.params['SDA'] eq = self.params['respeq'] if eq == 1: if temperature > RTL: VEL = RK1 * W0 ** RK4 print("SOME OF THE INCLUDED TEMPERATURES ARE LETHAL," "PLEASE MODIFY THE TEMPERATURE TO EXCLUDE TEMPERATURES OVER 25C!") else: VEL = ACT * (W0 ** RK4) * np.exp(BACT * temperature) FTmetabolism = np.exp(RQ * temperature) activity = np.exp(RTO * VEL) elif eq == 2: Vresp = (RTM - temperature) / (RTM - RTO) Zresp = np.log(RQ) * (RTM - RTO) Yresp = np.log(RQ) * (RTM - RTO + 2) Xresp = (((Zresp ** 2) * (1 + (1 + 40 / Yresp) ** 0.5)) ** 2) / 400 FTmetabolism = (Vresp ** Xresp) * np.exp(Xresp * (1 - Vresp)) activity = ACT else: raise ValueError("Unknown respiration equation type: " + eq) respiration = RA * (W0 ** RB) * FTmetabolism * activity SDAction = SDA * (consumption - egestion) return (respiration, SDAction) ##This has not changed for FishBioE4 - see lines 1444 in R script def predatorenergy(self, W0): AlphaI = self.params['AlphaI'] AlphaII = self.params['AlphaII'] BetaI = self.params['BetaI'] BetaII = self.params['BetaII'] energydensity = self.params['energydensity'] cutoff = self.params['cutoff'] eq = self.params['prededeq'] if eq == 1: predatorenergy = energydensity if eq == 2: if W0 < cutoff: predatorenergy = AlphaI + (BetaI * W0) elif W0 >= cutoff: predatorenergy = AlphaII + (BetaII * W0) else: raise ValueError("Unknown predator energy density equation type: " + eq) return predatorenergy def compute_bioenergetics(self, W, temp, P, prey, digestibility): cmax = self.compute_cmax(W) ft = self.compute_ft(temp) consumption = self.compute_consumption(cmax, P, ft) (egestion, excretion) = self.compute_waste(consumption, P, temp, prey, digestibility) (respiration, SDAction) = self.compute_respiration(W, temp, egestion, consumption) return (consumption, egestion, excretion, respiration, SDAction) ###Energy gain (973 in R code for BioE4) def compute_growth(self, consumption, prey, preyenergy, egestion, excretion, SDAction, respiration, predatorenergy, W): consumptionjoules = consumption * np.inner(prey, preyenergy) predeq = self.params['prededeq'] AlphaI = self.params['AlphaI'] AlphaII = self.params['AlphaII'] BetaI = self.params['BetaI'] BetaII = self.params['BetaII'] w_cutoff = self.params['cutoff'] egain = (consumptionjoules - ((egestion + excretion + SDAction) * np.inner(prey, preyenergy) + respiration * self.O2Conv))*W #W is added to eq 1 because we subtract W to get change in weight below. if predeq == 1: w_new = W + egain/self.params['energydensity'] elif predeq == 2: if W < w_cutoff: if BetaI != 0: w_new = (-AlphaI + np.sqrt(AlphaI * AlphaI + 4 * BetaI * (W * (AlphaI + BetaI * W) + egain))) / (2 * BetaI) else: w_new = (egain + W * AlphaI) / AlphaI if w_new > w_cutoff: egainCo = Wco*(AlphaI + BetaI * w_cutoff) - W * (AlphaI + BetaI * W) if BetaII != 0: w_new = -AlphaII + np.sqrt(AlphaII * AlphaII + 4 * BetaII * (egain - egainCo + w_cutoff * (AlphaI + BetaI * w_cutoff))) / (2 * BetaII) elif BetaII == 0: w_new = (egain -egainCo + w_cutoff * (AlphaI + BetaI * w_cutoff)) / AlphaII elif W >= w_cutoff: if BetaII != 0: w_new = (-AlphaII + np.sqrt ( AlphaII * AlphaII + 4 * BetaII * (W *(AlphaII + BetaII * W) + egain))) / (2 * BetaII) elif BetaII == 0: w_new = (egain + W * AlphaII) / AlphaII if w_new < w_cutoff: elossCo = W * (AlphaII + BetaII * W) - w_cutoff * (AlphaI + BetaI * w_cutoff) if BetaI != 0: w_new = (-AlphaI + np.sqrt( AlphaI * AlphaI + 4 * BetaI * (egain + elossCo + w_cutoff * (AlphaI + BetaI * w_cutoff)))) / (2 * BetaI) elif BetaI == 0: w_new = (egain + elossCo + w_cutoff * AlphaI) / AlphaI return w_new - W def best_depth(self, StartingLength, starting_mass, depths, x0=None): if self.depth_min > min(max(depths), self.depth_max): self.depth_min = min(max(depths), self.depth_max) if self.depth_max < max(min(depths), self.depth_min): self.depth_max = max(min(depths), self.depth_min) if self.depth_max == self.depth_min: self.depth_max = self.depth_max + 0.2 day_depths = np.arange(max(min(depths), self.depth_min), min(max(depths), self.depth_max), 0.1) night_depths = day_depths day_hours = self.daylength[self.month] night_hours = 24 - day_hours best_growth = -9999 def objective(x): (dd,nd) = x res = self.growth_fn(dd, nd, StartingLength, starting_mass, day_hours, night_hours, self.DayLight, self.NightLight, self.prey) return -res[0] depth_bounds = (self.depth_min, self.depth_max) if x0 is None: # find an initial guess via grid search x0 = brute(objective, (depth_bounds, depth_bounds)) res = minimize(objective, x0=x0, method='L-BFGS-B', bounds=[(self.depth_min, self.depth_max), (self.depth_min, self.depth_max)], jac='2-point', options={'eps': 1e-3}) best_depths = res.x (dd,nd) = best_depths best_results = self.growth_fn(dd, nd, StartingLength, starting_mass, day_hours, night_hours, self.DayLight, self.NightLight, self.prey) # for dd in day_depths: # for nd in night_depths: # results = self.growth_fn(dd, nd, StartingLength, # starting_mass, day_hours, # night_hours, self.DayLight, # self.NightLight, self.prey) # growth = results[0] # if growth > best_growth: # best_growth = growth # best_depths = [dd, nd] # best_results = results #growths = [self.growth_fn(d, StartingLength, starting_mass, hours, light, self.prey)[0] for d in depth_arr] #idx = np.argmax(growths) #d = depth_arr[idx] #results = self.growth_fn(d, StartingLength, starting_mass, # hours, light, self.prey) return best_depths, best_results def growth_fn(self, day_depth, night_depth, StartingLength, starting_mass, day_hours, night_hours, day_light, night_light, prey): day_temp = self.temp_from_depth(day_depth) night_temp = self.temp_from_depth(night_depth) cmax = self.compute_cmax(starting_mass) day_foraging = self.compute_foragingbydepth(StartingLength, starting_mass, day_light, self.daphline, self.daph_auc, day_depth) night_foraging = self.compute_foragingbydepth(StartingLength, starting_mass, night_light, self.daphline, self.daph_auc, night_depth) if day_foraging > night_foraging: day_foraging *= day_hours day_P = min(day_foraging/cmax, 1) night_P = min(1.0 - day_P, night_foraging*night_hours) else: night_foraging *= night_hours night_P = min(night_foraging/cmax, 1.0) day_P = min(1.0 - night_P, day_foraging*day_hours) day_bioe = self.compute_bioenergetics(starting_mass, day_temp, day_P, self.prey, self.digestibility) night_bioe = self.compute_bioenergetics(starting_mass, night_temp, night_P, self.prey, self.digestibility) day_bioe = np.array(day_bioe) * day_hours/24.0 night_bioe = np.array(night_bioe) * night_hours/24.0 (consumption, egestion, excretion, respiration, SDAction) = \ day_bioe + night_bioe P = day_P + night_P growth = self.compute_growth(consumption, prey, self.preyenergy, egestion, excretion, SDAction, respiration, self.predatorenergy, starting_mass) return (growth, consumption, egestion, excretion, respiration, SDAction, P, day_P, night_P) # (d_cons, d_eg, d_ex, d_resp, d_sda) = day_bioe # (n_cons, n_eg, n_ex, n_resp, n_sda) = night_bioe # [consumption, respiration, # respiration = d_resp + n_resp # P = min(foraging / cmax, 1) # night_P = 1.0 - P # foraging = self.compute_foragingbydepth(StartingLength, starting_mass, light, # self.daphline, self.daph_auc, depth) * hours # ft = self.compute_ft(temp) # cmax = self.compute_cmax(starting_mass) # P = min(foraging / cmax, 1) # (consumption, egestion, excretion, respiration, SDAction) = \ # self.compute_bioenergetics(starting_mass, temp, P, self.prey, self.digestibility) # day_proportion = hours / 24.0 # consumption *= day_proportion # respiration *= day_proportion # egestion *= day_proportion # excretion *= day_proportion # SDAction *= day_proportion # growth = self.compute_growth(consumption, prey, self.preyenergy, egestion, excretion, # SDAction, respiration, self.predatorenergy, starting_mass) # return (growth, consumption, egestion, excretion, respiration, SDAction, P) def Run_Batch(self): # March 11:50 (11.83), April 13:24 (13.4), May 14:44 (14.73), June 15:25 (15.42), # July 15:07 (15.12), August 13:58 (13.97), September 12:27 (12.45) ndays = 30 day_hours = self.daylength[self.month] night_hours = 24 - day_hours self.out = {'Year':[], 'Site':[], 'Month':[], 'Fish Starting Mass':[], 'Light Extinction Coefficient':[], 'Daphnia Size':[], 'Daphnia Density':[], 'StartingLength':[], 'StartingMass':[], 'growth':[], 'day_depth':[], 'night_depth':[], 'egestion': [], 'excretion': [], 'consumption': [], 'P': [], 'temps': []} condition1 = float(100*self.starting_mass*((self.StartingLength/10)**(-3.0))) last_best_depths = None for d in range(ndays): # (day_depth, day_results) =\ # self.best_depth(self.StartingLength, self.starting_mass, # day_hours, self.DayLight, self.depths) # (day_growth, day_consumption, day_eg, day_ex, day_resp, day_sda, day_P) = \ # day_results # (night_depth, night_results) =\ # self.best_depth(self.StartingLength, self.starting_mass, # night_hours, self.NightLight, self.depths) # (night_growth, night_consumption, night_eg, night_ex, night_resp, night_sda, night_P) = \ # night_results # self.day_temp = self.temp_from_depth(day_depth) # self.night_temp = self.temp_from_depth(night_depth) # growth = day_growth + night_growth best_depths, best_results = self.best_depth(self.StartingLength, self.starting_mass, self.depths, last_best_depths) (day_depth, night_depth) = best_depths last_best_depths = best_depths (growth, consumption, egestion, excretion, respiration, SDAction, P, day_P, night_P) = best_results self.day_temp = self.temp_from_depth(day_depth) self.night_temp = self.temp_from_depth(night_depth) dailyconsume = (consumption*self.starting_mass)\ /self.daphnia_weight self.starting_mass += growth if growth > 0: # From LP and FC screw trap data (R2 = 0.9933) self.StartingLength = (self.starting_mass / 0.000004) ** (1 / 3.1776) # self.StartingLength = (self.starting_mass / 0.0003) ** (1 / 2.217) # weight to fork length (MacFarlane and Norton 2008) # Checked fish lengths against this and by end of summer fish weigh much less than they 'should' based on their length self.out['Year'].append(self.year) self.out['Site'].append(self.site) self.out['Month'].append(self.month) self.out['Fish Starting Mass'].append(self.starting_mass) self.out['Light Extinction Coefficient'].append(self.light) self.out['Daphnia Size'].append(self.daphnia_size) self.out['Daphnia Density'].append(self.total_daphnia) self.out['day_depth'].append(day_depth) self.out['night_depth'].append(night_depth) self.out['growth'].append(growth) self.out['StartingMass'].append(self.starting_mass) self.out['StartingLength'].append(self.StartingLength) self.out['egestion'].append(egestion) self.out['excretion'].append(excretion) self.out['consumption'].append(consumption) self.out['P'].append(P) dtfinal = self.day_temp ntfinal = self.night_temp self.out['temps'].append(dtfinal) self.out['temps'].append(ntfinal) ele = self.elevation-int(day_depth) daph = self.daphline(day_depth) PopEst = get_sustain_est(ele, daph, dailyconsume, self.PSite) condition = float(100*(self.starting_mass-self.starting_mass_initial)*((self.StartingLength/10)**(-3.0))) return self.out, dailyconsume, condition, condition1, dtfinal, ntfinal, PopEst, day_P, night_P if __name__ == '__main__': from cycler import cycler year = '2015' month = 'June' site = 'Fall Creek' site_data = Site_Data(year, site, month, 0.72, 25, 0.1) starting_mass = 3 daph_data = Daph_Data(5020.65, 1.26, year, site, month) max_temp = 10000 min_temp = -1 cust_temp = '{0}_T_{1}_{2}.csv'.format(site, month, year) elev = 691 pop_site = site def make_plots(self): w = 0.5 temp = 15 ws = [np.round(x,2) for x in np.arange(0.1,1.0,0.1)] ps = np.arange(0,1.0,0.01) gs = {} temps = [np.round(x,2) for x in np.arange(5,25,2)] for w in ws: gs[w] = [] for P in ps: (cons,eg,ex,res,sda) = \ self.compute_bioenergetics(w, temp, P, self.prey, self.digestibility) growth = self.compute_growth(cons, self.prey, self.preyenergy, eg, ex, sda,res, self.predatorenergy, w) gs[w].append(growth) fig,ax = pyplot.subplots() colors = [pyplot.get_cmap('inferno')(1.0 * i/len(ws)) for i in range(len(ws))] ax.set_prop_cycle(cycler('color',colors)) for w,growths in gs.items(): ax.plot(ps,growths,label=str(w)) ax.legend() pyplot.xlabel('P') pyplot.ylabel('growth') pyplot.show() Batch.make_plots = make_plots FRESH_BATCH = Batch(site_data, starting_mass, daph_data, max_temp, min_temp, cust_temp, elev, pop_site, True) #FRESH_BATCH.make_plots() BASE_RESULTS, DAPHNIA_CONSUMED, CONDITION, CONDITION1, DAY_TEMP, NIGHT_TEMP,\ POPULATION_ESTIMATE = FRESH_BATCH.Run_Batch() keys = ['StartingMass','consumption','egestion','excretion', 'P', 'day_depth','night_depth','temps'] rows = np.ceil(len(keys)/2) for idx,k in enumerate(keys): pyplot.subplot(rows,2,idx+1) pyplot.plot(BASE_RESULTS[k]) pyplot.title(k) depths = np.arange(FRESH_BATCH.depth_min, FRESH_BATCH.depth_max) fig, ax1 = pyplot.subplots() ax1.plot(FRESH_BATCH.temp_from_depth(depths), depths, 'orange') ax2 = ax1.twiny() ax2.plot(FRESH_BATCH.daphline(depths), depths, 'green') pyplot.show()
gpl-3.0
henrykironde/scikit-learn
examples/decomposition/plot_pca_3d.py
354
2432
#!/usr/bin/python # -*- coding: utf-8 -*- """ ========================================================= Principal components analysis (PCA) ========================================================= These figures aid in illustrating how a point cloud can be very flat in one direction--which is where PCA comes in to choose a direction that is not flat. """ print(__doc__) # Authors: Gael Varoquaux # Jaques Grobler # Kevin Hughes # License: BSD 3 clause from sklearn.decomposition import PCA from mpl_toolkits.mplot3d import Axes3D import numpy as np import matplotlib.pyplot as plt from scipy import stats ############################################################################### # Create the data e = np.exp(1) np.random.seed(4) def pdf(x): return 0.5 * (stats.norm(scale=0.25 / e).pdf(x) + stats.norm(scale=4 / e).pdf(x)) y = np.random.normal(scale=0.5, size=(30000)) x = np.random.normal(scale=0.5, size=(30000)) z = np.random.normal(scale=0.1, size=len(x)) density = pdf(x) * pdf(y) pdf_z = pdf(5 * z) density *= pdf_z a = x + y b = 2 * y c = a - b + z norm = np.sqrt(a.var() + b.var()) a /= norm b /= norm ############################################################################### # Plot the figures def plot_figs(fig_num, elev, azim): fig = plt.figure(fig_num, figsize=(4, 3)) plt.clf() ax = Axes3D(fig, rect=[0, 0, .95, 1], elev=elev, azim=azim) ax.scatter(a[::10], b[::10], c[::10], c=density[::10], marker='+', alpha=.4) Y = np.c_[a, b, c] # Using SciPy's SVD, this would be: # _, pca_score, V = scipy.linalg.svd(Y, full_matrices=False) pca = PCA(n_components=3) pca.fit(Y) pca_score = pca.explained_variance_ratio_ V = pca.components_ x_pca_axis, y_pca_axis, z_pca_axis = V.T * pca_score / pca_score.min() x_pca_axis, y_pca_axis, z_pca_axis = 3 * V.T x_pca_plane = np.r_[x_pca_axis[:2], - x_pca_axis[1::-1]] y_pca_plane = np.r_[y_pca_axis[:2], - y_pca_axis[1::-1]] z_pca_plane = np.r_[z_pca_axis[:2], - z_pca_axis[1::-1]] x_pca_plane.shape = (2, 2) y_pca_plane.shape = (2, 2) z_pca_plane.shape = (2, 2) ax.plot_surface(x_pca_plane, y_pca_plane, z_pca_plane) ax.w_xaxis.set_ticklabels([]) ax.w_yaxis.set_ticklabels([]) ax.w_zaxis.set_ticklabels([]) elev = -40 azim = -80 plot_figs(1, elev, azim) elev = 30 azim = 20 plot_figs(2, elev, azim) plt.show()
bsd-3-clause
cactusbin/nyt
matplotlib/examples/user_interfaces/embedding_in_qt4_wtoolbar.py
6
2033
from __future__ import print_function import sys import numpy as np from matplotlib.figure import Figure from matplotlib.backend_bases import key_press_handler from matplotlib.backends.backend_qt4agg import ( FigureCanvasQTAgg as FigureCanvas, NavigationToolbar2QTAgg as NavigationToolbar) from PyQt4.QtCore import * from PyQt4.QtGui import * class AppForm(QMainWindow): def __init__(self, parent=None): QMainWindow.__init__(self, parent) #self.x, self.y = self.get_data() self.data = self.get_data2() self.create_main_frame() self.on_draw() def create_main_frame(self): self.main_frame = QWidget() self.fig = Figure((5.0, 4.0), dpi=100) self.canvas = FigureCanvas(self.fig) self.canvas.setParent(self.main_frame) self.canvas.setFocusPolicy(Qt.StrongFocus) self.canvas.setFocus() self.mpl_toolbar = NavigationToolbar(self.canvas, self.main_frame) self.canvas.mpl_connect('key_press_event', self.on_key_press) vbox = QVBoxLayout() vbox.addWidget(self.canvas) # the matplotlib canvas vbox.addWidget(self.mpl_toolbar) self.main_frame.setLayout(vbox) self.setCentralWidget(self.main_frame) def get_data2(self): return np.arange(20).reshape([4, 5]).copy() def on_draw(self): self.fig.clear() self.axes = self.fig.add_subplot(111) #self.axes.plot(self.x, self.y, 'ro') self.axes.imshow(self.data, interpolation='nearest') #self.axes.plot([1,2,3]) self.canvas.draw() def on_key_press(self, event): print('you pressed', event.key) # implement the default mpl key press events described at # http://matplotlib.org/users/navigation_toolbar.html#navigation-keyboard-shortcuts key_press_handler(event, self.canvas, self.mpl_toolbar) def main(): app = QApplication(sys.argv) form = AppForm() form.show() app.exec_() if __name__ == "__main__": main()
unlicense
0/pathintmatmult
pathintmatmult/plotting.py
1
1228
""" Convenience functions for plotting the generated data. """ import matplotlib.pyplot as plt def plot2d(data: '[[X]]', x_range, y_range, out_path, *, x_label=None, y_label=None, colormap='jet', colorbar=True): """ Plot the data as a heat map. The resulting image is saved to out_path. Parameters: data: Two-dimensional array of numbers to plot. x_range: Tuple containing the min and max values for the x axis. y_range: Tuple containing the min and max values for the y axis. out_path: The path to the file where the image should be written. The extension determines the image format (e.g. pdf, png). x_label: Label for the x axis. y_label: Label for the y axis. colormap: matplotlib colormap to use for the image. colorbar: Whether to display the colorbar. """ fig = plt.figure() ax = fig.gca() img = ax.imshow(data, cmap=colormap, origin='lower', extent=(x_range + y_range)) if x_label is not None: ax.set_xlabel(x_label) if y_label is not None: ax.set_ylabel(y_label) if colorbar: fig.colorbar(img, drawedges=False) fig.savefig(out_path, bbox_inches='tight', transparent=True)
mit
hainm/scikit-learn
sklearn/tests/test_multiclass.py
136
23649
import numpy as np import scipy.sparse as sp from sklearn.utils.testing import assert_array_equal from sklearn.utils.testing import assert_equal from sklearn.utils.testing import assert_almost_equal from sklearn.utils.testing import assert_true from sklearn.utils.testing import assert_false from sklearn.utils.testing import assert_raises from sklearn.utils.testing import assert_warns from sklearn.utils.testing import ignore_warnings from sklearn.utils.testing import assert_greater from sklearn.multiclass import OneVsRestClassifier from sklearn.multiclass import OneVsOneClassifier from sklearn.multiclass import OutputCodeClassifier from sklearn.multiclass import fit_ovr from sklearn.multiclass import fit_ovo from sklearn.multiclass import fit_ecoc from sklearn.multiclass import predict_ovr from sklearn.multiclass import predict_ovo from sklearn.multiclass import predict_ecoc from sklearn.multiclass import predict_proba_ovr from sklearn.metrics import precision_score from sklearn.metrics import recall_score from sklearn.preprocessing import LabelBinarizer from sklearn.svm import LinearSVC, SVC from sklearn.naive_bayes import MultinomialNB from sklearn.linear_model import (LinearRegression, Lasso, ElasticNet, Ridge, Perceptron, LogisticRegression) from sklearn.tree import DecisionTreeClassifier, DecisionTreeRegressor from sklearn.grid_search import GridSearchCV from sklearn.pipeline import Pipeline from sklearn import svm from sklearn import datasets from sklearn.externals.six.moves import zip iris = datasets.load_iris() rng = np.random.RandomState(0) perm = rng.permutation(iris.target.size) iris.data = iris.data[perm] iris.target = iris.target[perm] n_classes = 3 def test_ovr_exceptions(): ovr = OneVsRestClassifier(LinearSVC(random_state=0)) assert_raises(ValueError, ovr.predict, []) with ignore_warnings(): assert_raises(ValueError, predict_ovr, [LinearSVC(), MultinomialNB()], LabelBinarizer(), []) # Fail on multioutput data assert_raises(ValueError, OneVsRestClassifier(MultinomialNB()).fit, np.array([[1, 0], [0, 1]]), np.array([[1, 2], [3, 1]])) assert_raises(ValueError, OneVsRestClassifier(MultinomialNB()).fit, np.array([[1, 0], [0, 1]]), np.array([[1.5, 2.4], [3.1, 0.8]])) def test_ovr_fit_predict(): # A classifier which implements decision_function. ovr = OneVsRestClassifier(LinearSVC(random_state=0)) pred = ovr.fit(iris.data, iris.target).predict(iris.data) assert_equal(len(ovr.estimators_), n_classes) clf = LinearSVC(random_state=0) pred2 = clf.fit(iris.data, iris.target).predict(iris.data) assert_equal(np.mean(iris.target == pred), np.mean(iris.target == pred2)) # A classifier which implements predict_proba. ovr = OneVsRestClassifier(MultinomialNB()) pred = ovr.fit(iris.data, iris.target).predict(iris.data) assert_greater(np.mean(iris.target == pred), 0.65) def test_ovr_ovo_regressor(): # test that ovr and ovo work on regressors which don't have a decision_function ovr = OneVsRestClassifier(DecisionTreeRegressor()) pred = ovr.fit(iris.data, iris.target).predict(iris.data) assert_equal(len(ovr.estimators_), n_classes) assert_array_equal(np.unique(pred), [0, 1, 2]) # we are doing something sensible assert_greater(np.mean(pred == iris.target), .9) ovr = OneVsOneClassifier(DecisionTreeRegressor()) pred = ovr.fit(iris.data, iris.target).predict(iris.data) assert_equal(len(ovr.estimators_), n_classes * (n_classes - 1) / 2) assert_array_equal(np.unique(pred), [0, 1, 2]) # we are doing something sensible assert_greater(np.mean(pred == iris.target), .9) def test_ovr_fit_predict_sparse(): for sparse in [sp.csr_matrix, sp.csc_matrix, sp.coo_matrix, sp.dok_matrix, sp.lil_matrix]: base_clf = MultinomialNB(alpha=1) X, Y = datasets.make_multilabel_classification(n_samples=100, n_features=20, n_classes=5, n_labels=3, length=50, allow_unlabeled=True, random_state=0) X_train, Y_train = X[:80], Y[:80] X_test = X[80:] clf = OneVsRestClassifier(base_clf).fit(X_train, Y_train) Y_pred = clf.predict(X_test) clf_sprs = OneVsRestClassifier(base_clf).fit(X_train, sparse(Y_train)) Y_pred_sprs = clf_sprs.predict(X_test) assert_true(clf.multilabel_) assert_true(sp.issparse(Y_pred_sprs)) assert_array_equal(Y_pred_sprs.toarray(), Y_pred) # Test predict_proba Y_proba = clf_sprs.predict_proba(X_test) # predict assigns a label if the probability that the # sample has the label is greater than 0.5. pred = Y_proba > .5 assert_array_equal(pred, Y_pred_sprs.toarray()) # Test decision_function clf_sprs = OneVsRestClassifier(svm.SVC()).fit(X_train, sparse(Y_train)) dec_pred = (clf_sprs.decision_function(X_test) > 0).astype(int) assert_array_equal(dec_pred, clf_sprs.predict(X_test).toarray()) def test_ovr_always_present(): # Test that ovr works with classes that are always present or absent. # Note: tests is the case where _ConstantPredictor is utilised X = np.ones((10, 2)) X[:5, :] = 0 # Build an indicator matrix where two features are always on. # As list of lists, it would be: [[int(i >= 5), 2, 3] for i in range(10)] y = np.zeros((10, 3)) y[5:, 0] = 1 y[:, 1] = 1 y[:, 2] = 1 ovr = OneVsRestClassifier(LogisticRegression()) assert_warns(UserWarning, ovr.fit, X, y) y_pred = ovr.predict(X) assert_array_equal(np.array(y_pred), np.array(y)) y_pred = ovr.decision_function(X) assert_equal(np.unique(y_pred[:, -2:]), 1) y_pred = ovr.predict_proba(X) assert_array_equal(y_pred[:, -1], np.ones(X.shape[0])) # y has a constantly absent label y = np.zeros((10, 2)) y[5:, 0] = 1 # variable label ovr = OneVsRestClassifier(LogisticRegression()) assert_warns(UserWarning, ovr.fit, X, y) y_pred = ovr.predict_proba(X) assert_array_equal(y_pred[:, -1], np.zeros(X.shape[0])) def test_ovr_multiclass(): # Toy dataset where features correspond directly to labels. X = np.array([[0, 0, 5], [0, 5, 0], [3, 0, 0], [0, 0, 6], [6, 0, 0]]) y = ["eggs", "spam", "ham", "eggs", "ham"] Y = np.array([[0, 0, 1], [0, 1, 0], [1, 0, 0], [0, 0, 1], [1, 0, 0]]) classes = set("ham eggs spam".split()) for base_clf in (MultinomialNB(), LinearSVC(random_state=0), LinearRegression(), Ridge(), ElasticNet()): clf = OneVsRestClassifier(base_clf).fit(X, y) assert_equal(set(clf.classes_), classes) y_pred = clf.predict(np.array([[0, 0, 4]]))[0] assert_equal(set(y_pred), set("eggs")) # test input as label indicator matrix clf = OneVsRestClassifier(base_clf).fit(X, Y) y_pred = clf.predict([[0, 0, 4]])[0] assert_array_equal(y_pred, [0, 0, 1]) def test_ovr_binary(): # Toy dataset where features correspond directly to labels. X = np.array([[0, 0, 5], [0, 5, 0], [3, 0, 0], [0, 0, 6], [6, 0, 0]]) y = ["eggs", "spam", "spam", "eggs", "spam"] Y = np.array([[0, 1, 1, 0, 1]]).T classes = set("eggs spam".split()) def conduct_test(base_clf, test_predict_proba=False): clf = OneVsRestClassifier(base_clf).fit(X, y) assert_equal(set(clf.classes_), classes) y_pred = clf.predict(np.array([[0, 0, 4]]))[0] assert_equal(set(y_pred), set("eggs")) if test_predict_proba: X_test = np.array([[0, 0, 4]]) probabilities = clf.predict_proba(X_test) assert_equal(2, len(probabilities[0])) assert_equal(clf.classes_[np.argmax(probabilities, axis=1)], clf.predict(X_test)) # test input as label indicator matrix clf = OneVsRestClassifier(base_clf).fit(X, Y) y_pred = clf.predict([[3, 0, 0]])[0] assert_equal(y_pred, 1) for base_clf in (LinearSVC(random_state=0), LinearRegression(), Ridge(), ElasticNet()): conduct_test(base_clf) for base_clf in (MultinomialNB(), SVC(probability=True), LogisticRegression()): conduct_test(base_clf, test_predict_proba=True) def test_ovr_multilabel(): # Toy dataset where features correspond directly to labels. X = np.array([[0, 4, 5], [0, 5, 0], [3, 3, 3], [4, 0, 6], [6, 0, 0]]) y = np.array([[0, 1, 1], [0, 1, 0], [1, 1, 1], [1, 0, 1], [1, 0, 0]]) for base_clf in (MultinomialNB(), LinearSVC(random_state=0), LinearRegression(), Ridge(), ElasticNet(), Lasso(alpha=0.5)): clf = OneVsRestClassifier(base_clf).fit(X, y) y_pred = clf.predict([[0, 4, 4]])[0] assert_array_equal(y_pred, [0, 1, 1]) assert_true(clf.multilabel_) def test_ovr_fit_predict_svc(): ovr = OneVsRestClassifier(svm.SVC()) ovr.fit(iris.data, iris.target) assert_equal(len(ovr.estimators_), 3) assert_greater(ovr.score(iris.data, iris.target), .9) def test_ovr_multilabel_dataset(): base_clf = MultinomialNB(alpha=1) for au, prec, recall in zip((True, False), (0.51, 0.66), (0.51, 0.80)): X, Y = datasets.make_multilabel_classification(n_samples=100, n_features=20, n_classes=5, n_labels=2, length=50, allow_unlabeled=au, random_state=0) X_train, Y_train = X[:80], Y[:80] X_test, Y_test = X[80:], Y[80:] clf = OneVsRestClassifier(base_clf).fit(X_train, Y_train) Y_pred = clf.predict(X_test) assert_true(clf.multilabel_) assert_almost_equal(precision_score(Y_test, Y_pred, average="micro"), prec, decimal=2) assert_almost_equal(recall_score(Y_test, Y_pred, average="micro"), recall, decimal=2) def test_ovr_multilabel_predict_proba(): base_clf = MultinomialNB(alpha=1) for au in (False, True): X, Y = datasets.make_multilabel_classification(n_samples=100, n_features=20, n_classes=5, n_labels=3, length=50, allow_unlabeled=au, random_state=0) X_train, Y_train = X[:80], Y[:80] X_test = X[80:] clf = OneVsRestClassifier(base_clf).fit(X_train, Y_train) # decision function only estimator. Fails in current implementation. decision_only = OneVsRestClassifier(svm.SVR()).fit(X_train, Y_train) assert_raises(AttributeError, decision_only.predict_proba, X_test) # Estimator with predict_proba disabled, depending on parameters. decision_only = OneVsRestClassifier(svm.SVC(probability=False)) decision_only.fit(X_train, Y_train) assert_raises(AttributeError, decision_only.predict_proba, X_test) Y_pred = clf.predict(X_test) Y_proba = clf.predict_proba(X_test) # predict assigns a label if the probability that the # sample has the label is greater than 0.5. pred = Y_proba > .5 assert_array_equal(pred, Y_pred) def test_ovr_single_label_predict_proba(): base_clf = MultinomialNB(alpha=1) X, Y = iris.data, iris.target X_train, Y_train = X[:80], Y[:80] X_test = X[80:] clf = OneVsRestClassifier(base_clf).fit(X_train, Y_train) # decision function only estimator. Fails in current implementation. decision_only = OneVsRestClassifier(svm.SVR()).fit(X_train, Y_train) assert_raises(AttributeError, decision_only.predict_proba, X_test) Y_pred = clf.predict(X_test) Y_proba = clf.predict_proba(X_test) assert_almost_equal(Y_proba.sum(axis=1), 1.0) # predict assigns a label if the probability that the # sample has the label is greater than 0.5. pred = np.array([l.argmax() for l in Y_proba]) assert_false((pred - Y_pred).any()) def test_ovr_multilabel_decision_function(): X, Y = datasets.make_multilabel_classification(n_samples=100, n_features=20, n_classes=5, n_labels=3, length=50, allow_unlabeled=True, random_state=0) X_train, Y_train = X[:80], Y[:80] X_test = X[80:] clf = OneVsRestClassifier(svm.SVC()).fit(X_train, Y_train) assert_array_equal((clf.decision_function(X_test) > 0).astype(int), clf.predict(X_test)) def test_ovr_single_label_decision_function(): X, Y = datasets.make_classification(n_samples=100, n_features=20, random_state=0) X_train, Y_train = X[:80], Y[:80] X_test = X[80:] clf = OneVsRestClassifier(svm.SVC()).fit(X_train, Y_train) assert_array_equal(clf.decision_function(X_test).ravel() > 0, clf.predict(X_test)) def test_ovr_gridsearch(): ovr = OneVsRestClassifier(LinearSVC(random_state=0)) Cs = [0.1, 0.5, 0.8] cv = GridSearchCV(ovr, {'estimator__C': Cs}) cv.fit(iris.data, iris.target) best_C = cv.best_estimator_.estimators_[0].C assert_true(best_C in Cs) def test_ovr_pipeline(): # Test with pipeline of length one # This test is needed because the multiclass estimators may fail to detect # the presence of predict_proba or decision_function. clf = Pipeline([("tree", DecisionTreeClassifier())]) ovr_pipe = OneVsRestClassifier(clf) ovr_pipe.fit(iris.data, iris.target) ovr = OneVsRestClassifier(DecisionTreeClassifier()) ovr.fit(iris.data, iris.target) assert_array_equal(ovr.predict(iris.data), ovr_pipe.predict(iris.data)) def test_ovr_coef_(): for base_classifier in [SVC(kernel='linear', random_state=0), LinearSVC(random_state=0)]: # SVC has sparse coef with sparse input data ovr = OneVsRestClassifier(base_classifier) for X in [iris.data, sp.csr_matrix(iris.data)]: # test with dense and sparse coef ovr.fit(X, iris.target) shape = ovr.coef_.shape assert_equal(shape[0], n_classes) assert_equal(shape[1], iris.data.shape[1]) # don't densify sparse coefficients assert_equal(sp.issparse(ovr.estimators_[0].coef_), sp.issparse(ovr.coef_)) def test_ovr_coef_exceptions(): # Not fitted exception! ovr = OneVsRestClassifier(LinearSVC(random_state=0)) # lambda is needed because we don't want coef_ to be evaluated right away assert_raises(ValueError, lambda x: ovr.coef_, None) # Doesn't have coef_ exception! ovr = OneVsRestClassifier(DecisionTreeClassifier()) ovr.fit(iris.data, iris.target) assert_raises(AttributeError, lambda x: ovr.coef_, None) def test_ovo_exceptions(): ovo = OneVsOneClassifier(LinearSVC(random_state=0)) assert_raises(ValueError, ovo.predict, []) def test_ovo_fit_on_list(): # Test that OneVsOne fitting works with a list of targets and yields the # same output as predict from an array ovo = OneVsOneClassifier(LinearSVC(random_state=0)) prediction_from_array = ovo.fit(iris.data, iris.target).predict(iris.data) prediction_from_list = ovo.fit(iris.data, list(iris.target)).predict(iris.data) assert_array_equal(prediction_from_array, prediction_from_list) def test_ovo_fit_predict(): # A classifier which implements decision_function. ovo = OneVsOneClassifier(LinearSVC(random_state=0)) ovo.fit(iris.data, iris.target).predict(iris.data) assert_equal(len(ovo.estimators_), n_classes * (n_classes - 1) / 2) # A classifier which implements predict_proba. ovo = OneVsOneClassifier(MultinomialNB()) ovo.fit(iris.data, iris.target).predict(iris.data) assert_equal(len(ovo.estimators_), n_classes * (n_classes - 1) / 2) def test_ovo_decision_function(): n_samples = iris.data.shape[0] ovo_clf = OneVsOneClassifier(LinearSVC(random_state=0)) ovo_clf.fit(iris.data, iris.target) decisions = ovo_clf.decision_function(iris.data) assert_equal(decisions.shape, (n_samples, n_classes)) assert_array_equal(decisions.argmax(axis=1), ovo_clf.predict(iris.data)) # Compute the votes votes = np.zeros((n_samples, n_classes)) k = 0 for i in range(n_classes): for j in range(i + 1, n_classes): pred = ovo_clf.estimators_[k].predict(iris.data) votes[pred == 0, i] += 1 votes[pred == 1, j] += 1 k += 1 # Extract votes and verify assert_array_equal(votes, np.round(decisions)) for class_idx in range(n_classes): # For each sample and each class, there only 3 possible vote levels # because they are only 3 distinct class pairs thus 3 distinct # binary classifiers. # Therefore, sorting predictions based on votes would yield # mostly tied predictions: assert_true(set(votes[:, class_idx]).issubset(set([0., 1., 2.]))) # The OVO decision function on the other hand is able to resolve # most of the ties on this data as it combines both the vote counts # and the aggregated confidence levels of the binary classifiers # to compute the aggregate decision function. The iris dataset # has 150 samples with a couple of duplicates. The OvO decisions # can resolve most of the ties: assert_greater(len(np.unique(decisions[:, class_idx])), 146) def test_ovo_gridsearch(): ovo = OneVsOneClassifier(LinearSVC(random_state=0)) Cs = [0.1, 0.5, 0.8] cv = GridSearchCV(ovo, {'estimator__C': Cs}) cv.fit(iris.data, iris.target) best_C = cv.best_estimator_.estimators_[0].C assert_true(best_C in Cs) def test_ovo_ties(): # Test that ties are broken using the decision function, # not defaulting to the smallest label X = np.array([[1, 2], [2, 1], [-2, 1], [-2, -1]]) y = np.array([2, 0, 1, 2]) multi_clf = OneVsOneClassifier(Perceptron(shuffle=False)) ovo_prediction = multi_clf.fit(X, y).predict(X) ovo_decision = multi_clf.decision_function(X) # Classifiers are in order 0-1, 0-2, 1-2 # Use decision_function to compute the votes and the normalized # sum_of_confidences, which is used to disambiguate when there is a tie in # votes. votes = np.round(ovo_decision) normalized_confidences = ovo_decision - votes # For the first point, there is one vote per class assert_array_equal(votes[0, :], 1) # For the rest, there is no tie and the prediction is the argmax assert_array_equal(np.argmax(votes[1:], axis=1), ovo_prediction[1:]) # For the tie, the prediction is the class with the highest score assert_equal(ovo_prediction[0], normalized_confidences[0].argmax()) def test_ovo_ties2(): # test that ties can not only be won by the first two labels X = np.array([[1, 2], [2, 1], [-2, 1], [-2, -1]]) y_ref = np.array([2, 0, 1, 2]) # cycle through labels so that each label wins once for i in range(3): y = (y_ref + i) % 3 multi_clf = OneVsOneClassifier(Perceptron(shuffle=False)) ovo_prediction = multi_clf.fit(X, y).predict(X) assert_equal(ovo_prediction[0], i % 3) def test_ovo_string_y(): # Test that the OvO doesn't mess up the encoding of string labels X = np.eye(4) y = np.array(['a', 'b', 'c', 'd']) ovo = OneVsOneClassifier(LinearSVC()) ovo.fit(X, y) assert_array_equal(y, ovo.predict(X)) def test_ecoc_exceptions(): ecoc = OutputCodeClassifier(LinearSVC(random_state=0)) assert_raises(ValueError, ecoc.predict, []) def test_ecoc_fit_predict(): # A classifier which implements decision_function. ecoc = OutputCodeClassifier(LinearSVC(random_state=0), code_size=2, random_state=0) ecoc.fit(iris.data, iris.target).predict(iris.data) assert_equal(len(ecoc.estimators_), n_classes * 2) # A classifier which implements predict_proba. ecoc = OutputCodeClassifier(MultinomialNB(), code_size=2, random_state=0) ecoc.fit(iris.data, iris.target).predict(iris.data) assert_equal(len(ecoc.estimators_), n_classes * 2) def test_ecoc_gridsearch(): ecoc = OutputCodeClassifier(LinearSVC(random_state=0), random_state=0) Cs = [0.1, 0.5, 0.8] cv = GridSearchCV(ecoc, {'estimator__C': Cs}) cv.fit(iris.data, iris.target) best_C = cv.best_estimator_.estimators_[0].C assert_true(best_C in Cs) @ignore_warnings def test_deprecated(): base_estimator = DecisionTreeClassifier(random_state=0) X, Y = iris.data, iris.target X_train, Y_train = X[:80], Y[:80] X_test = X[80:] all_metas = [ (OneVsRestClassifier, fit_ovr, predict_ovr, predict_proba_ovr), (OneVsOneClassifier, fit_ovo, predict_ovo, None), (OutputCodeClassifier, fit_ecoc, predict_ecoc, None), ] for MetaEst, fit_func, predict_func, proba_func in all_metas: try: meta_est = MetaEst(base_estimator, random_state=0).fit(X_train, Y_train) fitted_return = fit_func(base_estimator, X_train, Y_train, random_state=0) except TypeError: meta_est = MetaEst(base_estimator).fit(X_train, Y_train) fitted_return = fit_func(base_estimator, X_train, Y_train) if len(fitted_return) == 2: estimators_, classes_or_lb = fitted_return assert_almost_equal(predict_func(estimators_, classes_or_lb, X_test), meta_est.predict(X_test)) if proba_func is not None: assert_almost_equal(proba_func(estimators_, X_test, is_multilabel=False), meta_est.predict_proba(X_test)) else: estimators_, classes_or_lb, codebook = fitted_return assert_almost_equal(predict_func(estimators_, classes_or_lb, codebook, X_test), meta_est.predict(X_test))
bsd-3-clause
soulmachine/scikit-learn
examples/linear_model/plot_ols_3d.py
350
2040
#!/usr/bin/python # -*- coding: utf-8 -*- """ ========================================================= Sparsity Example: Fitting only features 1 and 2 ========================================================= Features 1 and 2 of the diabetes-dataset are fitted and plotted below. It illustrates that although feature 2 has a strong coefficient on the full model, it does not give us much regarding `y` when compared to just feature 1 """ print(__doc__) # Code source: Gaël Varoquaux # Modified for documentation by Jaques Grobler # License: BSD 3 clause import matplotlib.pyplot as plt import numpy as np from mpl_toolkits.mplot3d import Axes3D from sklearn import datasets, linear_model diabetes = datasets.load_diabetes() indices = (0, 1) X_train = diabetes.data[:-20, indices] X_test = diabetes.data[-20:, indices] y_train = diabetes.target[:-20] y_test = diabetes.target[-20:] ols = linear_model.LinearRegression() ols.fit(X_train, y_train) ############################################################################### # Plot the figure def plot_figs(fig_num, elev, azim, X_train, clf): fig = plt.figure(fig_num, figsize=(4, 3)) plt.clf() ax = Axes3D(fig, elev=elev, azim=azim) ax.scatter(X_train[:, 0], X_train[:, 1], y_train, c='k', marker='+') ax.plot_surface(np.array([[-.1, -.1], [.15, .15]]), np.array([[-.1, .15], [-.1, .15]]), clf.predict(np.array([[-.1, -.1, .15, .15], [-.1, .15, -.1, .15]]).T ).reshape((2, 2)), alpha=.5) ax.set_xlabel('X_1') ax.set_ylabel('X_2') ax.set_zlabel('Y') ax.w_xaxis.set_ticklabels([]) ax.w_yaxis.set_ticklabels([]) ax.w_zaxis.set_ticklabels([]) #Generate the three different figures from different views elev = 43.5 azim = -110 plot_figs(1, elev, azim, X_train, ols) elev = -.5 azim = 0 plot_figs(2, elev, azim, X_train, ols) elev = -.5 azim = 90 plot_figs(3, elev, azim, X_train, ols) plt.show()
bsd-3-clause
humdings/zipline
tests/calendars/test_nyse_calendar.py
5
9411
from unittest import TestCase import pandas as pd from .test_trading_calendar import ExchangeCalendarTestBase from zipline.utils.calendars.exchange_calendar_nyse import NYSEExchangeCalendar class NYSECalendarTestCase(ExchangeCalendarTestBase, TestCase): answer_key_filename = 'nyse' calendar_class = NYSEExchangeCalendar MAX_SESSION_HOURS = 6.5 def test_2012(self): # holidays we expect: holidays_2012 = [ pd.Timestamp("2012-01-02", tz='UTC'), pd.Timestamp("2012-01-16", tz='UTC'), pd.Timestamp("2012-02-20", tz='UTC'), pd.Timestamp("2012-04-06", tz='UTC'), pd.Timestamp("2012-05-28", tz='UTC'), pd.Timestamp("2012-07-04", tz='UTC'), pd.Timestamp("2012-09-03", tz='UTC'), pd.Timestamp("2012-11-22", tz='UTC'), pd.Timestamp("2012-12-25", tz='UTC') ] for session_label in holidays_2012: self.assertNotIn(session_label, self.calendar.all_sessions) # early closes we expect: early_closes_2012 = [ pd.Timestamp("2012-07-03", tz='UTC'), pd.Timestamp("2012-11-23", tz='UTC'), pd.Timestamp("2012-12-24", tz='UTC') ] for early_close_session_label in early_closes_2012: self.assertIn(early_close_session_label, self.calendar.early_closes) def test_special_holidays(self): # 9/11 # Sept 11, 12, 13, 14 2001 self.assertNotIn(pd.Period("9/11/2001"), self.calendar.all_sessions) self.assertNotIn(pd.Period("9/12/2001"), self.calendar.all_sessions) self.assertNotIn(pd.Period("9/13/2001"), self.calendar.all_sessions) self.assertNotIn(pd.Period("9/14/2001"), self.calendar.all_sessions) # Hurricane Sandy # Oct 29, 30 2012 self.assertNotIn(pd.Period("10/29/2012"), self.calendar.all_sessions) self.assertNotIn(pd.Period("10/30/2012"), self.calendar.all_sessions) # various national days of mourning # Gerald Ford - 1/2/2007 self.assertNotIn(pd.Period("1/2/2007"), self.calendar.all_sessions) # Ronald Reagan - 6/11/2004 self.assertNotIn(pd.Period("6/11/2004"), self.calendar.all_sessions) # Richard Nixon - 4/27/1994 self.assertNotIn(pd.Period("4/27/1994"), self.calendar.all_sessions) def test_new_years(self): """ Check whether the TradingCalendar contains certain dates. """ # January 2012 # Su Mo Tu We Th Fr Sa # 1 2 3 4 5 6 7 # 8 9 10 11 12 13 14 # 15 16 17 18 19 20 21 # 22 23 24 25 26 27 28 # 29 30 31 start_session = pd.Timestamp("2012-01-02", tz='UTC') end_session = pd.Timestamp("2013-12-31", tz='UTC') sessions = self.calendar.sessions_in_range(start_session, end_session) day_after_new_years_sunday = pd.Timestamp("2012-01-02", tz='UTC') self.assertNotIn(day_after_new_years_sunday, sessions, """ If NYE falls on a weekend, {0} the Monday after is a holiday. """.strip().format(day_after_new_years_sunday) ) first_trading_day_after_new_years_sunday = pd.Timestamp("2012-01-03", tz='UTC') self.assertIn(first_trading_day_after_new_years_sunday, sessions, """ If NYE falls on a weekend, {0} the Tuesday after is the first trading day. """.strip().format(first_trading_day_after_new_years_sunday) ) # January 2013 # Su Mo Tu We Th Fr Sa # 1 2 3 4 5 # 6 7 8 9 10 11 12 # 13 14 15 16 17 18 19 # 20 21 22 23 24 25 26 # 27 28 29 30 31 new_years_day = pd.Timestamp("2013-01-01", tz='UTC') self.assertNotIn(new_years_day, sessions, """ If NYE falls during the week, e.g. {0}, it is a holiday. """.strip().format(new_years_day) ) first_trading_day_after_new_years = pd.Timestamp("2013-01-02", tz='UTC') self.assertIn(first_trading_day_after_new_years, sessions, """ If the day after NYE falls during the week, {0} \ is the first trading day. """.strip().format(first_trading_day_after_new_years) ) def test_thanksgiving(self): """ Check TradingCalendar Thanksgiving dates. """ # November 2005 # Su Mo Tu We Th Fr Sa # 1 2 3 4 5 # 6 7 8 9 10 11 12 # 13 14 15 16 17 18 19 # 20 21 22 23 24 25 26 # 27 28 29 30 start_session_label = pd.Timestamp('2005-01-01', tz='UTC') end_session_label = pd.Timestamp('2012-12-31', tz='UTC') sessions = self.calendar.sessions_in_range(start_session_label, end_session_label) thanksgiving_with_four_weeks = pd.Timestamp("2005-11-24", tz='UTC') self.assertNotIn(thanksgiving_with_four_weeks, sessions, """ If Nov has 4 Thursdays, {0} Thanksgiving is the last Thursday. """.strip().format(thanksgiving_with_four_weeks) ) # November 2006 # Su Mo Tu We Th Fr Sa # 1 2 3 4 # 5 6 7 8 9 10 11 # 12 13 14 15 16 17 18 # 19 20 21 22 23 24 25 # 26 27 28 29 30 thanksgiving_with_five_weeks = pd.Timestamp("2006-11-23", tz='UTC') self.assertNotIn(thanksgiving_with_five_weeks, sessions, """ If Nov has 5 Thursdays, {0} Thanksgiving is not the last week. """.strip().format(thanksgiving_with_five_weeks) ) first_trading_day_after_new_years_sunday = pd.Timestamp("2012-01-03", tz='UTC') self.assertIn(first_trading_day_after_new_years_sunday, sessions, """ If NYE falls on a weekend, {0} the Tuesday after is the first trading day. """.strip().format(first_trading_day_after_new_years_sunday) ) def test_day_after_thanksgiving(self): # November 2012 # Su Mo Tu We Th Fr Sa # 1 2 3 # 4 5 6 7 8 9 10 # 11 12 13 14 15 16 17 # 18 19 20 21 22 23 24 # 25 26 27 28 29 30 fourth_friday_open = pd.Timestamp('11/23/2012 11:00AM', tz='EST') fourth_friday = pd.Timestamp('11/23/2012 3:00PM', tz='EST') self.assertTrue(self.calendar.is_open_on_minute(fourth_friday_open)) self.assertFalse(self.calendar.is_open_on_minute(fourth_friday)) # November 2013 # Su Mo Tu We Th Fr Sa # 1 2 # 3 4 5 6 7 8 9 # 10 11 12 13 14 15 16 # 17 18 19 20 21 22 23 # 24 25 26 27 28 29 30 fifth_friday_open = pd.Timestamp('11/29/2013 11:00AM', tz='EST') fifth_friday = pd.Timestamp('11/29/2013 3:00PM', tz='EST') self.assertTrue(self.calendar.is_open_on_minute(fifth_friday_open)) self.assertFalse(self.calendar.is_open_on_minute(fifth_friday)) def test_early_close_independence_day_thursday(self): """ Until 2013, the market closed early the Friday after an Independence Day on Thursday. Since then, the early close is on Wednesday. """ # July 2002 # Su Mo Tu We Th Fr Sa # 1 2 3 4 5 6 # 7 8 9 10 11 12 13 # 14 15 16 17 18 19 20 # 21 22 23 24 25 26 27 # 28 29 30 31 wednesday_before = pd.Timestamp('7/3/2002 3:00PM', tz='EST') friday_after_open = pd.Timestamp('7/5/2002 11:00AM', tz='EST') friday_after = pd.Timestamp('7/5/2002 3:00PM', tz='EST') self.assertTrue(self.calendar.is_open_on_minute(wednesday_before)) self.assertTrue(self.calendar.is_open_on_minute(friday_after_open)) self.assertFalse(self.calendar.is_open_on_minute(friday_after)) # July 2013 # Su Mo Tu We Th Fr Sa # 1 2 3 4 5 6 # 7 8 9 10 11 12 13 # 14 15 16 17 18 19 20 # 21 22 23 24 25 26 27 # 28 29 30 31 wednesday_before = pd.Timestamp('7/3/2013 3:00PM', tz='EST') friday_after_open = pd.Timestamp('7/5/2013 11:00AM', tz='EST') friday_after = pd.Timestamp('7/5/2013 3:00PM', tz='EST') self.assertFalse(self.calendar.is_open_on_minute(wednesday_before)) self.assertTrue(self.calendar.is_open_on_minute(friday_after_open)) self.assertTrue(self.calendar.is_open_on_minute(friday_after)) class CalendarStartEndTestCase(TestCase): def test_start_end(self): """ Check TradingCalendar with defined start/end dates. """ start = pd.Timestamp('2010-1-3', tz='UTC') end = pd.Timestamp('2010-1-10', tz='UTC') calendar = NYSEExchangeCalendar(start=start, end=end) expected_first = pd.Timestamp('2010-1-4', tz='UTC') expected_last = pd.Timestamp('2010-1-8', tz='UTC') self.assertTrue(calendar.first_trading_session == expected_first) self.assertTrue(calendar.last_trading_session == expected_last)
apache-2.0
semanticbits/survey_stats
src/survey_stats/etl/download.py
1
2410
import os import io import pandas as pd import boto3 from botocore import UNSIGNED from botocore.client import Config from boto3.s3.transfer import TransferConfig from botocore.vendored import requests import requests_cache from survey_stats import log SCRATCH_DIR = 'cache/' MAX_SOCRATA_FETCH = 2**32 TMP_API_KEY = 'Knx7W1eldgzkO9nUXNYfGXGBJ' # TODO: move to Vault/elsewhere KB = 1024 MB = KB * KB requests_cache.install_cache('requests.sqlite') logger = log.getLogger(__name__) _s3 = boto3.client('s3', config=Config(signature_version=UNSIGNED)) s3 = boto3.resource('s3', config=Config(signature_version=UNSIGNED)) tcfg = TransferConfig(max_concurrency=4, multipart_chunksize=256*MB, max_io_queue=1000000, io_chunksize=64*MB) def fetch_s3_bytes(url): bucket, key = url[5:].split('/', 1) logger.info('fetching s3 url', url=url, bucket=bucket, key=key) obj = _s3.get_object(Bucket=bucket, Key=key) return obj['Body'] def fetch_s3_file(url): bucket, key = url[5:].split('/', 1) logger.info('fetching s3 file', url=url, bucket=bucket, key=key) cf = SCRATCH_DIR + key if os.path.isfile(cf): return fetch_data_from_url(cf) try: os.makedirs(os.path.dirname(cf)) except: pass tempf = open(cf, 'wb') obj = s3.Bucket(bucket).Object(key) obj.download_fileobj(tempf, Config=tcfg) tempf.close() return fetch_data_from_url(cf) def fetch_url(url): r = requests.get(url) tempf = io.BytesIO(r.content) tempf.seek(0) return tempf # @retry(tries=5, delay=2, backoff=2, logger=logger) def fetch_data_from_url(url): if os.path.isfile(url): return open(url, 'rb') elif url.startswith('s3://'): return fetch_s3_file(url) else: return fetch_url(url) def df_from_socrata_url(url): if url.find('rows.csv?') > -1: return pd.read_csv(url) url = url if url[-1] == '?' else url + '?' if url.find('?') == -1 else url + '&' url = url + "$limit=%d" % (MAX_SOCRATA_FETCH) r = requests.get(url, headers={'Accept': 'application/json', 'X-App-Token': TMP_API_KEY}) try: data = pd.DataFrame(r.json()) except Exception as e: logger.error('Error in loading url!', u=url, e=str(e)) raise logger.info('fetched socrata url', shape=data.shape, cols=list(data.columns)) return data
bsd-2-clause
rlowrance/python_lib
applied_data_science/dataframe.py
1
6093
'''function that operator on pandas DataFrame instances create_report_categorical(df, ...) create_report_numeric(df, ...) replace(df, old_name, new_name, new_value) Copyright 2017 Roy E. Lowrance Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on as "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing premission and limitation under the license. ''' import collections import numpy as np import pdb import ColumnsTable import Report def create_report_categorical(df, excluded_columns=[], include_types=[object]): 'return tuple (Report instance, names of columns in the report)' description = df.describe( include=include_types, ) print description r = ReportCategorical() included_columns = [] for column_name in description.columns: print column_name, len(column_name) if column_name in excluded_columns: print 'create_report_categorical: excluding column:', column_name continue else: r.append_detail(description[column_name]) included_columns.append(column_name) return r, included_columns def create_report_numeric(df, excluded_columns=[], include_types=[np.number, object]): 'return tuple (Report instance, names of columns in the report)' description = df.describe( include=include_types, ) print description r = ReportNumeric() included_columns = [] for column_name in description.columns: print column_name if column_name in excluded_columns: print 'create_report_numeric: excluding column:', column_name continue else: r.append_detail(description[column_name]) included_columns.append(column_name) return r, included_columns def replace(df, old_name, new_name, new_value): 'return new DataFrame with one column replaced' df1 = df.copy() df2 = df1.drop(old_name, 1) # 1 ==> drop column (as opposed to row) df2.insert(0, new_name, new_value) return df2 ColumnSpec = collections.namedtuple( 'ColumnSpec', 'print_width formatter heading1 heading2 legend', ) def categorical(size, header1, header2, definition): return ColumnSpec(size, '%%%ds' % size, header1, header2, definition) def numeric(header1, header2, definition): return ColumnSpec(12, '%12.2f', header1, header2, definition) def count(header1, header2, definition): return ColumnSpec(7, '%7d', header1, header2, definition) all_column_specs = { # each with a 2-row header 'count': count('count', 'not NA', 'number of non-missing values'), 'datacol': ColumnSpec(30, '%30s', 'data', 'column', 'name of column in input file'), 'mean': numeric(' ', 'mean', 'mean value'), 'max': numeric(' ', 'max', 'maximum value'), 'min': numeric(' ', 'min', 'minimum value'), 'p25': numeric('25th', 'percentile', 'value that is the 25th percentile'), 'p50': numeric('50th', 'percentile', 'value that is the 50th percentile'), 'p75': numeric('75th', 'percentile', 'value that is the 75th percentile'), 'std': numeric('standard', 'deviation', 'standard deviation'), 'unique': numeric('num', 'unique', 'number of distinct values'), 'top': categorical(30, 'top', '(most common)', 'most common value'), 'freq': count('top', 'freq', 'frequency of the most common value'), } def column_def(column_name): print column_name assert column_name in all_column_specs, ('%s not defined in all_column_specs' % column_name) column_spec = all_column_specs[column_name] return [ column_name, column_spec.print_width, column_spec.formatter, [column_spec.heading1, column_spec.heading2], column_spec.legend, ] def column_defs(*column_names): return [ column_def(column_name) for column_name in column_names ] class ReportAnalysis(object): def __init__(self, verbose=True): self.report = Report.Report(also_print=verbose) def write(self, path): self.ct.append_legend() for line in self.ct.iterlines(): self.report.append(line) self.report.write(path) class ReportCategorical(ReportAnalysis): def __init__(self, verbose=True): super(self.__class__, self).__init__() # create self.report self.ct = ColumnsTable.ColumnsTable( column_defs('datacol', 'unique', 'top', 'freq',), ) self.report.append('Statistics on Categorical Columns') self.report.append(' ') def append_detail(self, col): self.ct.append_detail( datacol='Period' if col.name[:6] == 'Period' else col.name, unique=col['unique'], top=col['top'], freq=col['freq'], ) # timestamps include first and last, but this code doesn't handle them assert 'first' not in col.index, col assert 'last' not in col.index, col class ReportNumeric(ReportAnalysis): def __init__(self, verbose=True): super(self.__class__, self).__init__() # create self.report self.ct = ColumnsTable.ColumnsTable( column_defs('datacol', 'count', 'mean', 'std', 'min', 'p25', 'p50', 'p75', 'max',) ) self.report.append('Statistics on Numeric Columns') self.report.append(' ') def append_detail(self, col): self.ct.append_detail( datacol='Period' if col.name[:6] == 'Period' else col.name, count=col['count'], mean=col['mean'], std=col['std'], min=col['min'], p25=col['25%'], p50=col['50%'], p75=col['75%'], max=col['max'], )
apache-2.0
mindw/shapely
docs/code/skew.py
5
2513
from matplotlib import pyplot from shapely.wkt import loads as load_wkt from shapely import affinity from descartes.patch import PolygonPatch from figures import SIZE, BLUE, GRAY def add_origin(ax, geom, origin): x, y = xy = affinity.interpret_origin(geom, origin, 2) ax.plot(x, y, 'o', color=GRAY, zorder=1) ax.annotate(str(xy), xy=xy, ha='center', textcoords='offset points', xytext=(0, 8)) fig = pyplot.figure(1, figsize=SIZE, dpi=90) # Geometry from JTS TestBuilder with fixed precision model of 100.0 # Using CreateShape > FontGlyphSanSerif and A = triangle.wkt from scale.py R = load_wkt('''\ POLYGON((2.218 2.204, 2.273 2.18, 2.328 2.144, 2.435 2.042, 2.541 1.895, 2.647 1.702, 3 1, 2.626 1, 2.298 1.659, 2.235 1.777, 2.173 1.873, 2.112 1.948, 2.051 2.001, 1.986 2.038, 1.91 2.064, 1.823 2.08, 1.726 2.085, 1.347 2.085, 1.347 1, 1 1, 1 3.567, 1.784 3.567, 1.99 3.556, 2.168 3.521, 2.319 3.464, 2.441 3.383, 2.492 3.334, 2.536 3.279, 2.604 3.152, 2.644 3.002, 2.658 2.828, 2.651 2.712, 2.63 2.606, 2.594 2.51, 2.545 2.425, 2.482 2.352, 2.407 2.29, 2.319 2.241, 2.218 2.204), (1.347 3.282, 1.347 2.371, 1.784 2.371, 1.902 2.378, 2.004 2.4, 2.091 2.436, 2.163 2.487, 2.219 2.552, 2.259 2.63, 2.283 2.722, 2.291 2.828, 2.283 2.933, 2.259 3.025, 2.219 3.103, 2.163 3.167, 2.091 3.217, 2.004 3.253, 1.902 3.275, 1.784 3.282, 1.347 3.282))''') xrange = [0, 5] yrange = [0, 4] # 1 ax = fig.add_subplot(121) patch1a = PolygonPatch(R, facecolor=GRAY, edgecolor=GRAY, alpha=0.5, zorder=1) skewR = affinity.skew(R, xs=20, origin=(1, 1)) patch1b = PolygonPatch(skewR, facecolor=BLUE, edgecolor=BLUE, alpha=0.5, zorder=2) ax.add_patch(patch1a) ax.add_patch(patch1b) add_origin(ax, R, (1, 1)) ax.set_title("a) xs=20, origin(1, 1)") ax.set_xlim(*xrange) ax.set_xticks(range(*xrange) + [xrange[-1]]) ax.set_ylim(*yrange) ax.set_yticks(range(*yrange) + [yrange[-1]]) ax.set_aspect(1) # 2 ax = fig.add_subplot(122) patch2a = PolygonPatch(R, facecolor=GRAY, edgecolor=GRAY, alpha=0.5, zorder=1) skewR = affinity.skew(R, ys=30) patch2b = PolygonPatch(skewR, facecolor=BLUE, edgecolor=BLUE, alpha=0.5, zorder=2) ax.add_patch(patch2a) ax.add_patch(patch2b) add_origin(ax, R, 'center') ax.set_title("b) ys=30") ax.set_xlim(*xrange) ax.set_xticks(range(*xrange) + [xrange[-1]]) ax.set_ylim(*yrange) ax.set_yticks(range(*yrange) + [yrange[-1]]) ax.set_aspect(1) pyplot.show()
bsd-3-clause
jmetzen/scikit-learn
sklearn/metrics/cluster/unsupervised.py
230
8281
""" Unsupervised evaluation metrics. """ # Authors: Robert Layton <robertlayton@gmail.com> # # License: BSD 3 clause import numpy as np from ...utils import check_random_state from ..pairwise import pairwise_distances def silhouette_score(X, labels, metric='euclidean', sample_size=None, random_state=None, **kwds): """Compute the mean Silhouette Coefficient of all samples. The Silhouette Coefficient is calculated using the mean intra-cluster distance (``a``) and the mean nearest-cluster distance (``b``) for each sample. The Silhouette Coefficient for a sample is ``(b - a) / max(a, b)``. To clarify, ``b`` is the distance between a sample and the nearest cluster that the sample is not a part of. Note that Silhouette Coefficent is only defined if number of labels is 2 <= n_labels <= n_samples - 1. This function returns the mean Silhouette Coefficient over all samples. To obtain the values for each sample, use :func:`silhouette_samples`. The best value is 1 and the worst value is -1. Values near 0 indicate overlapping clusters. Negative values generally indicate that a sample has been assigned to the wrong cluster, as a different cluster is more similar. Read more in the :ref:`User Guide <silhouette_coefficient>`. Parameters ---------- X : array [n_samples_a, n_samples_a] if metric == "precomputed", or, \ [n_samples_a, n_features] otherwise Array of pairwise distances between samples, or a feature array. labels : array, shape = [n_samples] Predicted labels for each sample. metric : string, or callable The metric to use when calculating distance between instances in a feature array. If metric is a string, it must be one of the options allowed by :func:`metrics.pairwise.pairwise_distances <sklearn.metrics.pairwise.pairwise_distances>`. If X is the distance array itself, use ``metric="precomputed"``. sample_size : int or None The size of the sample to use when computing the Silhouette Coefficient on a random subset of the data. If ``sample_size is None``, no sampling is used. random_state : integer or numpy.RandomState, optional The generator used to randomly select a subset of samples if ``sample_size is not None``. If an integer is given, it fixes the seed. Defaults to the global numpy random number generator. `**kwds` : optional keyword parameters Any further parameters are passed directly to the distance function. If using a scipy.spatial.distance metric, the parameters are still metric dependent. See the scipy docs for usage examples. Returns ------- silhouette : float Mean Silhouette Coefficient for all samples. References ---------- .. [1] `Peter J. Rousseeuw (1987). "Silhouettes: a Graphical Aid to the Interpretation and Validation of Cluster Analysis". Computational and Applied Mathematics 20: 53-65. <http://www.sciencedirect.com/science/article/pii/0377042787901257>`_ .. [2] `Wikipedia entry on the Silhouette Coefficient <http://en.wikipedia.org/wiki/Silhouette_(clustering)>`_ """ n_labels = len(np.unique(labels)) n_samples = X.shape[0] if not 1 < n_labels < n_samples: raise ValueError("Number of labels is %d. Valid values are 2 " "to n_samples - 1 (inclusive)" % n_labels) if sample_size is not None: random_state = check_random_state(random_state) indices = random_state.permutation(X.shape[0])[:sample_size] if metric == "precomputed": X, labels = X[indices].T[indices].T, labels[indices] else: X, labels = X[indices], labels[indices] return np.mean(silhouette_samples(X, labels, metric=metric, **kwds)) def silhouette_samples(X, labels, metric='euclidean', **kwds): """Compute the Silhouette Coefficient for each sample. The Silhouette Coefficient is a measure of how well samples are clustered with samples that are similar to themselves. Clustering models with a high Silhouette Coefficient are said to be dense, where samples in the same cluster are similar to each other, and well separated, where samples in different clusters are not very similar to each other. The Silhouette Coefficient is calculated using the mean intra-cluster distance (``a``) and the mean nearest-cluster distance (``b``) for each sample. The Silhouette Coefficient for a sample is ``(b - a) / max(a, b)``. Note that Silhouette Coefficent is only defined if number of labels is 2 <= n_labels <= n_samples - 1. This function returns the Silhouette Coefficient for each sample. The best value is 1 and the worst value is -1. Values near 0 indicate overlapping clusters. Read more in the :ref:`User Guide <silhouette_coefficient>`. Parameters ---------- X : array [n_samples_a, n_samples_a] if metric == "precomputed", or, \ [n_samples_a, n_features] otherwise Array of pairwise distances between samples, or a feature array. labels : array, shape = [n_samples] label values for each sample metric : string, or callable The metric to use when calculating distance between instances in a feature array. If metric is a string, it must be one of the options allowed by :func:`sklearn.metrics.pairwise.pairwise_distances`. If X is the distance array itself, use "precomputed" as the metric. `**kwds` : optional keyword parameters Any further parameters are passed directly to the distance function. If using a ``scipy.spatial.distance`` metric, the parameters are still metric dependent. See the scipy docs for usage examples. Returns ------- silhouette : array, shape = [n_samples] Silhouette Coefficient for each samples. References ---------- .. [1] `Peter J. Rousseeuw (1987). "Silhouettes: a Graphical Aid to the Interpretation and Validation of Cluster Analysis". Computational and Applied Mathematics 20: 53-65. <http://www.sciencedirect.com/science/article/pii/0377042787901257>`_ .. [2] `Wikipedia entry on the Silhouette Coefficient <http://en.wikipedia.org/wiki/Silhouette_(clustering)>`_ """ distances = pairwise_distances(X, metric=metric, **kwds) n = labels.shape[0] A = np.array([_intra_cluster_distance(distances[i], labels, i) for i in range(n)]) B = np.array([_nearest_cluster_distance(distances[i], labels, i) for i in range(n)]) sil_samples = (B - A) / np.maximum(A, B) return sil_samples def _intra_cluster_distance(distances_row, labels, i): """Calculate the mean intra-cluster distance for sample i. Parameters ---------- distances_row : array, shape = [n_samples] Pairwise distance matrix between sample i and each sample. labels : array, shape = [n_samples] label values for each sample i : int Sample index being calculated. It is excluded from calculation and used to determine the current label Returns ------- a : float Mean intra-cluster distance for sample i """ mask = labels == labels[i] mask[i] = False if not np.any(mask): # cluster of size 1 return 0 a = np.mean(distances_row[mask]) return a def _nearest_cluster_distance(distances_row, labels, i): """Calculate the mean nearest-cluster distance for sample i. Parameters ---------- distances_row : array, shape = [n_samples] Pairwise distance matrix between sample i and each sample. labels : array, shape = [n_samples] label values for each sample i : int Sample index being calculated. It is used to determine the current label. Returns ------- b : float Mean nearest-cluster distance for sample i """ label = labels[i] b = np.min([np.mean(distances_row[labels == cur_label]) for cur_label in set(labels) if not cur_label == label]) return b
bsd-3-clause
konstantinstadler/pymrio
tests/test_math.py
1
18241
""" test cases for all mathematical functions """ import os import sys import numpy as np import numpy.testing as npt import pandas as pd import pandas.testing as pdt import pytest TESTPATH = os.path.dirname(os.path.abspath(__file__)) sys.path.append(os.path.join(TESTPATH, "..")) # the function which should be tested here from pymrio.tools.iomath import calc_A # noqa from pymrio.tools.iomath import calc_accounts # noqa from pymrio.tools.iomath import calc_e # noqa from pymrio.tools.iomath import calc_F # noqa from pymrio.tools.iomath import calc_F_Y # noqa from pymrio.tools.iomath import calc_L # noqa from pymrio.tools.iomath import calc_M # noqa from pymrio.tools.iomath import calc_S # noqa from pymrio.tools.iomath import calc_S_Y # noqa from pymrio.tools.iomath import calc_x # noqa from pymrio.tools.iomath import calc_x_from_L # noqa from pymrio.tools.iomath import calc_Z # noqa # test data @pytest.fixture() def td_IO_Data_Miller(): """This data is from the chapter 2 of Input-output analysis: foundations and extensions -- Miller, Ronald E and Blair, Peter D -- 2009 (ISBN: 9780521517133) """ class IO_Data_Miller: # Table 2.3 of the Book Z_arr = np.array([[150, 500], [200, 100]]).astype("float") Z_df = pd.DataFrame( data=Z_arr, index=["sec1", "sec2"], columns=["sec1", "sec2"], ) # Table 2.4 of the Book A_arr = np.array([[0.15, 0.25], [0.20, 0.05]]).astype("float") A_df = pd.DataFrame( data=A_arr, index=["sec1", "sec2"], columns=["sec1", "sec2"], ) # Table 2.3 of the Book fd_arr = np.array([[350], [1700]]).astype("float") fd_df = pd.DataFrame( data=fd_arr, index=["sec1", "sec2"], columns=["fi"], ) # Table 2.3 of the Book x_arr = np.array([[1000], [2000]]).astype("float") x_df = pd.DataFrame( data=x_arr, index=["sec1", "sec2"], columns=["indout"], ) # At the example following Table 2.3, additional # decimals where calculated L_arr = np.array([[1.25412541, 0.330033], [0.2640264, 1.12211221]]).astype( "float" ) L_df = pd.DataFrame( data=L_arr, index=["sec1", "sec2"], columns=["sec1", "sec2"], ) # Example epsilon from chapter 2, it uses the new x xnew_arr = np.array([[1247.5], [1841.6]]).astype("float") xnew_df = pd.DataFrame( data=xnew_arr, index=["sec1", "sec2"], columns=["indout"], ) labcoeff_arr = np.array( [ [0.3, 0.25], ] ) labcoeff_df = pd.DataFrame( data=labcoeff_arr, index=["total labor"], columns=["sec1", "sec2"], ) labtot_arr = np.array( [ [374.25, 460.4], ] ) # .25 because of rounding labtot_df = pd.DataFrame( data=labtot_arr, index=["total labor"], columns=["sec1", "sec2"], ) return IO_Data_Miller @pytest.fixture() def td_small_MRIO(): """A small MRIO with three sectors and two regions. The testdata here just consists of pandas DataFrames, the functionality with numpy arrays gets tested with td_IO_Data_Miller. """ class IO_Data: _sectors = ["sector1", "sector2", "sector3"] _regions = ["reg1", "reg2"] _Z_multiindex = pd.MultiIndex.from_product( [_regions, _sectors], names=[u"region", u"sector"] ) Z = pd.DataFrame( data=[ [10, 5, 1, 6, 5, 7], [0, 2, 0, 0, 5, 3], [10, 3, 20, 4, 2, 0], [5, 0, 0, 1, 10, 9], [0, 10, 1, 0, 20, 1], [5, 0, 0, 1, 10, 10], ], index=_Z_multiindex, columns=_Z_multiindex, dtype=("float64"), ) _categories = ["final demand"] _Y_multiindex = pd.MultiIndex.from_product( [_regions, _categories], names=[u"region", u"category"] ) Y = pd.DataFrame( data=[[14, 3], [2.5, 2.5], [13, 6], [5, 20], [10, 10], [3, 10]], index=_Z_multiindex, columns=_Y_multiindex, dtype=("float64"), ) F = pd.DataFrame( data=[[20, 1, 42, 4, 20, 5], [5, 4, 11, 8, 2, 10]], index=["ext_type_1", "ext_type_2"], columns=_Z_multiindex, dtype=("float64"), ) F_Y = pd.DataFrame( data=[[50, 10], [100, 20]], index=["ext_type_1", "ext_type_2"], columns=_Y_multiindex, dtype=("float64"), ) S_Y = pd.DataFrame( data=[ [1.0526315789473684, 0.1941747572815534], [2.1052631578947367, 0.3883495145631068], ], index=["ext_type_1", "ext_type_2"], columns=_Y_multiindex, dtype=("float64"), ) A = pd.DataFrame( data=[ [ 0.19607843137254902, 0.3333333333333333, 0.017241379310344827, 0.12, 0.09615384615384616, 0.1794871794871795, ], # noqa [ 0.0, 0.13333333333333333, 0.0, 0.0, 0.09615384615384616, 0.07692307692307693, ], # noqa [ 0.19607843137254902, 0.2, 0.3448275862068966, 0.08, 0.038461538461538464, 0.0, ], # noqa [ 0.09803921568627451, 0.0, 0.0, 0.02, 0.19230769230769232, 0.23076923076923075, ], # noqa [ 0.0, 0.6666666666666666, 0.017241379310344827, 0.0, 0.38461538461538464, 0.02564102564102564, ], # noqa [ 0.09803921568627451, 0.0, 0.0, 0.02, 0.19230769230769232, 0.2564102564102564, ], # noqa ], index=_Z_multiindex, columns=_Z_multiindex, ) L = pd.DataFrame( data=[ [ 1.3387146304736708, 0.9689762471208287, 0.05036622549592462, 0.17820960407435948, 0.5752019383714646, 0.4985179148178926, ], # noqa [ 0.02200779585580331, 1.3716472861392823, 0.0076800357678581885, 0.006557415453762468, 0.2698335633228079, 0.15854643902810828, ], # noqa [ 0.43290422861412026, 0.8627066565439678, 1.5492942759220427, 0.18491657196329184, 0.44027825642348534, 0.26630955082840885, ], # noqa [ 0.18799498787612925, 0.5244084722329316, 0.020254008037620782, 1.0542007368783255, 0.5816573175534603, 0.44685014763069275, ], # noqa [ 0.04400982046095892, 1.5325472495862535, 0.05259311578831879, 0.014602513642445088, 1.9545285794951548, 0.2410917825607805, ], # noqa [ 0.19294222439918532, 0.5382086951864299, 0.020787008249137116, 0.05562707205933412, 0.596964089068025, 1.4849251515157111, ], # noqa ], index=_Z_multiindex, columns=_Z_multiindex, ) x = pd.DataFrame( data=[ [51], [15], [58], [50], [52], [39], ], columns=["indout"], index=_Z_multiindex, dtype=("float64"), ) S = pd.DataFrame( data=[ [ 0.39215686274509803, 0.06666666666666667, 0.7241379310344828, 0.08, 0.38461538461538464, 0.1282051282051282, ], # noqa [ 0.09803921568627451, 0.26666666666666666, 0.1896551724137931, 0.16, 0.038461538461538464, 0.2564102564102564, ], # noqa ], index=["ext_type_1", "ext_type_2"], columns=_Z_multiindex, ) M = pd.DataFrame( data=[ [ 0.896638324101429, 1.7965474933011258, 1.1666796580507097, 0.3013124703668342, 1.4371886818255364, 0.7177624711634629, ], # noqa [ 0.3004620527704837, 0.9052387706892087, 0.311411003349379, 0.23778766312079253, 0.5331560745059157, 0.6031791628984159, ], # noqa ], index=["ext_type_1", "ext_type_2"], columns=_Z_multiindex, ) D_cba = pd.DataFrame( data=[ [ 14.059498889254174, 18.863255551508175, 17.32012296814962, 8.71616437964097, 18.863255551508175, 14.17770265993889, ], # noqa [ 5.395407054390734, 7.594657671782178, 5.857880532237175, 5.657139420727301, 7.594657671782178, 7.900257649080434, ], # noqa ], index=["ext_type_1", "ext_type_2"], columns=_Z_multiindex, ) D_pba = pd.DataFrame( data=[ [20.000000000000004, 1.0, 42.00000000000001, 4.0, 20.0, 5.0], # noqa [5.000000000000001, 4.0, 11.0, 8.0, 1.9999999999999998, 10.0], # noqa ], index=["ext_type_1", "ext_type_2"], columns=_Z_multiindex, ) D_imp = pd.DataFrame( data=[ [ 1.2792573306446737, 10.499069649181388, 1.2752266807875912, 6.604374747509535, 8.364185902326788, 10.842115601865368, ], # noqa [ 2.054905005956757, 3.9151998960771452, 1.522271392125981, 1.743464577633809, 3.6794577757050337, 3.221508682410955, ], # noqa ], index=["ext_type_1", "ext_type_2"], columns=_Z_multiindex, ) D_exp = pd.DataFrame( data=[ [ 8.251832343364468, 0.5304113433404783, 17.02843256499675, 1.3307504334524414, 9.797226856351275, 1.9255763708099365, ], # noqa [ 2.062958085841117, 2.1216453733619134, 4.459827576546767, 2.6615008669048827, 0.9797226856351275, 3.851152741619873, ], # noqa ], index=["ext_type_1", "ext_type_2"], columns=_Z_multiindex, ) return IO_Data def test_calc_x_df(td_IO_Data_Miller): pdt.assert_frame_equal( td_IO_Data_Miller.x_df, calc_x(td_IO_Data_Miller.Z_df, td_IO_Data_Miller.fd_df) ) def test_calc_x_arr(td_IO_Data_Miller): npt.assert_array_equal( td_IO_Data_Miller.x_arr, calc_x(td_IO_Data_Miller.Z_arr, td_IO_Data_Miller.fd_arr), ) def test_calc_Z_df(td_IO_Data_Miller): pdt.assert_frame_equal( td_IO_Data_Miller.Z_df, calc_Z(td_IO_Data_Miller.A_df, td_IO_Data_Miller.x_df) ) def test_calc_Z_arr(td_IO_Data_Miller): npt.assert_array_equal( td_IO_Data_Miller.Z_arr, calc_Z(td_IO_Data_Miller.A_arr, td_IO_Data_Miller.x_arr), ) def test_calc_A_df(td_IO_Data_Miller): pdt.assert_frame_equal( td_IO_Data_Miller.A_df, calc_A(td_IO_Data_Miller.Z_df, td_IO_Data_Miller.x_df) ) def test_calc_A_arr(td_IO_Data_Miller): npt.assert_array_equal( td_IO_Data_Miller.A_arr, calc_A(td_IO_Data_Miller.Z_arr, td_IO_Data_Miller.x_arr), ) def test_calc_L_df(td_IO_Data_Miller): pdt.assert_frame_equal(td_IO_Data_Miller.L_df, calc_L(td_IO_Data_Miller.A_df)) def test_calc_L_arr(td_IO_Data_Miller): npt.assert_allclose( td_IO_Data_Miller.L_arr, calc_L(td_IO_Data_Miller.A_arr), rtol=1e-5 ) def test_calc_x_from_L_df(td_IO_Data_Miller): pdt.assert_frame_equal( td_IO_Data_Miller.x_df, calc_x_from_L(td_IO_Data_Miller.L_df, td_IO_Data_Miller.fd_df), ) def test_calc_x_from_L_arr(td_IO_Data_Miller): npt.assert_allclose( td_IO_Data_Miller.x_arr, calc_x_from_L(td_IO_Data_Miller.L_arr, td_IO_Data_Miller.fd_arr), rtol=1e-5, ) def test_calc_F_arr(td_IO_Data_Miller): npt.assert_allclose( td_IO_Data_Miller.labtot_arr, calc_F(td_IO_Data_Miller.labcoeff_arr, td_IO_Data_Miller.xnew_arr), rtol=1e-5, ) def test_calc_F_df(td_IO_Data_Miller): pdt.assert_frame_equal( td_IO_Data_Miller.labtot_df, calc_F(td_IO_Data_Miller.labcoeff_df, td_IO_Data_Miller.xnew_df), ) def test_calc_S_arr(td_IO_Data_Miller): npt.assert_allclose( td_IO_Data_Miller.labcoeff_arr, calc_S(td_IO_Data_Miller.labtot_arr, td_IO_Data_Miller.xnew_arr), rtol=1e-5, ) def test_calc_S_df(td_IO_Data_Miller): pdt.assert_frame_equal( td_IO_Data_Miller.labcoeff_df, calc_S(td_IO_Data_Miller.labtot_df, td_IO_Data_Miller.xnew_df), ) def test_calc_x_MRIO(td_small_MRIO): pdt.assert_frame_equal(td_small_MRIO.x, calc_x(td_small_MRIO.Z, td_small_MRIO.Y)) def test_calc_A_MRIO(td_small_MRIO): pdt.assert_frame_equal(td_small_MRIO.A, calc_A(td_small_MRIO.Z, td_small_MRIO.x)) # we also test the different methods to provide x: x_values = td_small_MRIO.x.values x_Tvalues = td_small_MRIO.x.T.values x_series = pd.Series(td_small_MRIO.x.iloc[:, 0]) pdt.assert_frame_equal(td_small_MRIO.A, calc_A(td_small_MRIO.Z, x_series)) pdt.assert_frame_equal(td_small_MRIO.A, calc_A(td_small_MRIO.Z, x_values)) pdt.assert_frame_equal(td_small_MRIO.A, calc_A(td_small_MRIO.Z, x_Tvalues)) def test_calc_Z_MRIO(td_small_MRIO): pdt.assert_frame_equal(td_small_MRIO.Z, calc_Z(td_small_MRIO.A, td_small_MRIO.x)) # we also test the different methods to provide x: x_values = td_small_MRIO.x.values x_Tvalues = td_small_MRIO.x.T.values x_series = pd.Series(td_small_MRIO.x.iloc[:, 0]) pdt.assert_frame_equal(td_small_MRIO.Z, calc_Z(td_small_MRIO.A, x_series)) pdt.assert_frame_equal(td_small_MRIO.Z, calc_Z(td_small_MRIO.A, x_values)) pdt.assert_frame_equal(td_small_MRIO.Z, calc_Z(td_small_MRIO.A, x_Tvalues)) def test_calc_L_MRIO(td_small_MRIO): pdt.assert_frame_equal(td_small_MRIO.L, calc_L(td_small_MRIO.A)) def test_calc_S_MRIO(td_small_MRIO): pdt.assert_frame_equal(td_small_MRIO.S, calc_S(td_small_MRIO.F, td_small_MRIO.x)) def test_calc_S_Y_MRIO(td_small_MRIO): pdt.assert_frame_equal( td_small_MRIO.S_Y, calc_S_Y(td_small_MRIO.F_Y, td_small_MRIO.Y.sum(axis=0)) ) def test_calc_F_Y_MRIO(td_small_MRIO): S_Y = calc_S_Y(td_small_MRIO.F_Y, td_small_MRIO.Y.sum(axis=0)) pdt.assert_frame_equal( td_small_MRIO.F_Y, calc_F_Y(S_Y, td_small_MRIO.Y.sum(axis=0)) ) def test_calc_M_MRIO(td_small_MRIO): pdt.assert_frame_equal(td_small_MRIO.M, calc_M(td_small_MRIO.S, td_small_MRIO.L)) def test_calc_accounts_MRIO(td_small_MRIO): # calc the accounts nD_cba, nD_pba, nD_imp, nD_exp = calc_accounts( td_small_MRIO.S, td_small_MRIO.L, td_small_MRIO.Y, nr_sectors=len(td_small_MRIO.Z.index.get_level_values("sector").unique()), ) # test all pdt.assert_frame_equal( td_small_MRIO.D_cba, nD_cba, ) pdt.assert_frame_equal( td_small_MRIO.D_pba, nD_pba, ) pdt.assert_frame_equal( td_small_MRIO.D_imp, nD_imp, ) pdt.assert_frame_equal( td_small_MRIO.D_exp, nD_exp, ) # test if fp = terr + imp - exp on the total level # that tests if imp == exp and fp == terr pdt.assert_series_equal( nD_cba.sum(axis=1), nD_pba.sum(axis=1) + nD_imp.sum(axis=1) - nD_exp.sum(axis=1), )
gpl-3.0
schae234/gingivere
tests/raw_data_clf.py
2
3422
from __future__ import print_function import numpy as np from sklearn.preprocessing import StandardScaler from sklearn.cross_validation import StratifiedKFold from sklearn.metrics import classification_report from sklearn.svm import SVC from sklearn.neighbors import KNeighborsClassifier from sklearn.decomposition import PCA from sklearn.metrics import roc_auc_score from tests import shelve_api print(__doc__) class RawClf: def __init__(self, name, verbose = True, data=None): self.name = name self.verbose = True if data: self.X = data[0] self.y = data[1] # self.scaler = StandardScaler() # self.X = self.scaler.fit_transform(self.X) else: # self.load_data() self.preprocess_data() self.verbose_svm() # self.train_pca() # self.train_svm() # def load_data(self): # data = mongo_select.load_random_training_set(self.name, num=360) # self.X =data['data'] # self.y = data['state'] def preprocess_data(self): self.X = np.array(self.X).astype('float32') self.y = np.array(self.y) self.scaler = StandardScaler() self.X = scaler.fit_transform(self.X) # print(self.X[0]) def get_pca(self): return PCA(copy=True, n_components=100, whiten=True) def train_pca(self): self.PCA = PCA(copy=True, n_components=100, whiten=False) self.PCA.fit(self.X) def get_svm(self): # return SVC(C=100, cache_size=200, class_weight=None, coef0=0.0, degree=3, gamma=0.001, kernel='rbf', max_iter=-1, random_state=None, shrinking=True, tol=0.001, verbose=False) return KNeighborsClassifier() def train_svm(self): self.SVM = SVC(C=100, cache_size=200, class_weight=None, coef0=0.0, degree=3, gamma=0.001, kernel='rbf', max_iter=-1, random_state=None, shrinking=True, tol=0.001, verbose=False) X = self.PCA.transform(self.X) # X = self.scaler.fit_transform(X) self.SVM.fit(X, self.y) if self.verbose: self.verbose_svm() def predict(self, x): return self.SVM.predict(self.PCA.transform(x)) # def predict_proba(self, x): # return self.SVM.predict_proba(self.PCA.transform(x)) def clear_data(self): self.X = [] self.y = [] def verbose_svm(self): skf = StratifiedKFold(self.y, n_folds=2) print(self.name) for train_index, test_index in skf: print("Detailed classification report:") print() print("The model is trained on the full development set.") print("The scores are computed on the full evaluation set.") print() X_train, X_test = self.X[train_index], self.X[test_index] PCA = self.get_pca() PCA.fit(self.X) y_train, y_test = self.y[train_index], self.y[test_index] SVC = self.get_svm() X_train = PCA.transform(X_train) SVC.fit(X_train, y_train) X_test = PCA.transform(X_test) y_true, y_pred = y_test, SVC.predict(X_test) print(classification_report(y_true, y_pred)) print() print(roc_auc_score(y_true, y_pred)) print() if __name__ == "__main__": clf = RawClf('Dog_1', data=(shelve_api.load('clf_x'), shelve_api.load('clf_y')))
mit
belltailjp/scikit-learn
sklearn/metrics/tests/test_pairwise.py
105
22788
import numpy as np from numpy import linalg from scipy.sparse import dok_matrix, csr_matrix, issparse from scipy.spatial.distance import cosine, cityblock, minkowski, wminkowski from sklearn.utils.testing import assert_greater from sklearn.utils.testing import assert_array_almost_equal from sklearn.utils.testing import assert_almost_equal from sklearn.utils.testing import assert_equal from sklearn.utils.testing import assert_array_equal from sklearn.utils.testing import assert_raises from sklearn.utils.testing import assert_true from sklearn.externals.six import iteritems from sklearn.metrics.pairwise import euclidean_distances from sklearn.metrics.pairwise import manhattan_distances from sklearn.metrics.pairwise import linear_kernel from sklearn.metrics.pairwise import chi2_kernel, additive_chi2_kernel from sklearn.metrics.pairwise import polynomial_kernel from sklearn.metrics.pairwise import rbf_kernel from sklearn.metrics.pairwise import sigmoid_kernel from sklearn.metrics.pairwise import cosine_similarity from sklearn.metrics.pairwise import cosine_distances from sklearn.metrics.pairwise import pairwise_distances from sklearn.metrics.pairwise import pairwise_distances_argmin_min from sklearn.metrics.pairwise import pairwise_distances_argmin from sklearn.metrics.pairwise import pairwise_kernels from sklearn.metrics.pairwise import PAIRWISE_KERNEL_FUNCTIONS from sklearn.metrics.pairwise import PAIRWISE_DISTANCE_FUNCTIONS from sklearn.metrics.pairwise import PAIRED_DISTANCES from sklearn.metrics.pairwise import check_pairwise_arrays from sklearn.metrics.pairwise import check_paired_arrays from sklearn.metrics.pairwise import _parallel_pairwise from sklearn.metrics.pairwise import paired_distances from sklearn.metrics.pairwise import paired_euclidean_distances from sklearn.metrics.pairwise import paired_manhattan_distances from sklearn.preprocessing import normalize def test_pairwise_distances(): # Test the pairwise_distance helper function. rng = np.random.RandomState(0) # Euclidean distance should be equivalent to calling the function. X = rng.random_sample((5, 4)) S = pairwise_distances(X, metric="euclidean") S2 = euclidean_distances(X) assert_array_almost_equal(S, S2) # Euclidean distance, with Y != X. Y = rng.random_sample((2, 4)) S = pairwise_distances(X, Y, metric="euclidean") S2 = euclidean_distances(X, Y) assert_array_almost_equal(S, S2) # Test with tuples as X and Y X_tuples = tuple([tuple([v for v in row]) for row in X]) Y_tuples = tuple([tuple([v for v in row]) for row in Y]) S2 = pairwise_distances(X_tuples, Y_tuples, metric="euclidean") assert_array_almost_equal(S, S2) # "cityblock" uses sklearn metric, cityblock (function) is scipy.spatial. S = pairwise_distances(X, metric="cityblock") S2 = pairwise_distances(X, metric=cityblock) assert_equal(S.shape[0], S.shape[1]) assert_equal(S.shape[0], X.shape[0]) assert_array_almost_equal(S, S2) # The manhattan metric should be equivalent to cityblock. S = pairwise_distances(X, Y, metric="manhattan") S2 = pairwise_distances(X, Y, metric=cityblock) assert_equal(S.shape[0], X.shape[0]) assert_equal(S.shape[1], Y.shape[0]) assert_array_almost_equal(S, S2) # Low-level function for manhattan can divide in blocks to avoid # using too much memory during the broadcasting S3 = manhattan_distances(X, Y, size_threshold=10) assert_array_almost_equal(S, S3) # Test cosine as a string metric versus cosine callable # "cosine" uses sklearn metric, cosine (function) is scipy.spatial S = pairwise_distances(X, Y, metric="cosine") S2 = pairwise_distances(X, Y, metric=cosine) assert_equal(S.shape[0], X.shape[0]) assert_equal(S.shape[1], Y.shape[0]) assert_array_almost_equal(S, S2) # Tests that precomputed metric returns pointer to, and not copy of, X. S = np.dot(X, X.T) S2 = pairwise_distances(S, metric="precomputed") assert_true(S is S2) # Test with sparse X and Y, # currently only supported for Euclidean, L1 and cosine. X_sparse = csr_matrix(X) Y_sparse = csr_matrix(Y) S = pairwise_distances(X_sparse, Y_sparse, metric="euclidean") S2 = euclidean_distances(X_sparse, Y_sparse) assert_array_almost_equal(S, S2) S = pairwise_distances(X_sparse, Y_sparse, metric="cosine") S2 = cosine_distances(X_sparse, Y_sparse) assert_array_almost_equal(S, S2) S = pairwise_distances(X_sparse, Y_sparse.tocsc(), metric="manhattan") S2 = manhattan_distances(X_sparse.tobsr(), Y_sparse.tocoo()) assert_array_almost_equal(S, S2) S2 = manhattan_distances(X, Y) assert_array_almost_equal(S, S2) # Test with scipy.spatial.distance metric, with a kwd kwds = {"p": 2.0} S = pairwise_distances(X, Y, metric="minkowski", **kwds) S2 = pairwise_distances(X, Y, metric=minkowski, **kwds) assert_array_almost_equal(S, S2) # same with Y = None kwds = {"p": 2.0} S = pairwise_distances(X, metric="minkowski", **kwds) S2 = pairwise_distances(X, metric=minkowski, **kwds) assert_array_almost_equal(S, S2) # Test that scipy distance metrics throw an error if sparse matrix given assert_raises(TypeError, pairwise_distances, X_sparse, metric="minkowski") assert_raises(TypeError, pairwise_distances, X, Y_sparse, metric="minkowski") # Test that a value error is raised if the metric is unkown assert_raises(ValueError, pairwise_distances, X, Y, metric="blah") def check_pairwise_parallel(func, metric, kwds): rng = np.random.RandomState(0) for make_data in (np.array, csr_matrix): X = make_data(rng.random_sample((5, 4))) Y = make_data(rng.random_sample((3, 4))) try: S = func(X, metric=metric, n_jobs=1, **kwds) except (TypeError, ValueError) as exc: # Not all metrics support sparse input # ValueError may be triggered by bad callable if make_data is csr_matrix: assert_raises(type(exc), func, X, metric=metric, n_jobs=2, **kwds) continue else: raise S2 = func(X, metric=metric, n_jobs=2, **kwds) assert_array_almost_equal(S, S2) S = func(X, Y, metric=metric, n_jobs=1, **kwds) S2 = func(X, Y, metric=metric, n_jobs=2, **kwds) assert_array_almost_equal(S, S2) def test_pairwise_parallel(): wminkowski_kwds = {'w': np.arange(1, 5).astype('double'), 'p': 1} metrics = [(pairwise_distances, 'euclidean', {}), (pairwise_distances, wminkowski, wminkowski_kwds), (pairwise_distances, 'wminkowski', wminkowski_kwds), (pairwise_kernels, 'polynomial', {'degree': 1}), (pairwise_kernels, callable_rbf_kernel, {'gamma': .1}), ] for func, metric, kwds in metrics: yield check_pairwise_parallel, func, metric, kwds def test_pairwise_callable_nonstrict_metric(): # paired_distances should allow callable metric where metric(x, x) != 0 # Knowing that the callable is a strict metric would allow the diagonal to # be left uncalculated and set to 0. assert_equal(pairwise_distances([[1]], metric=lambda x, y: 5)[0, 0], 5) def callable_rbf_kernel(x, y, **kwds): # Callable version of pairwise.rbf_kernel. K = rbf_kernel(np.atleast_2d(x), np.atleast_2d(y), **kwds) return K def test_pairwise_kernels(): # Test the pairwise_kernels helper function. rng = np.random.RandomState(0) X = rng.random_sample((5, 4)) Y = rng.random_sample((2, 4)) # Test with all metrics that should be in PAIRWISE_KERNEL_FUNCTIONS. test_metrics = ["rbf", "sigmoid", "polynomial", "linear", "chi2", "additive_chi2"] for metric in test_metrics: function = PAIRWISE_KERNEL_FUNCTIONS[metric] # Test with Y=None K1 = pairwise_kernels(X, metric=metric) K2 = function(X) assert_array_almost_equal(K1, K2) # Test with Y=Y K1 = pairwise_kernels(X, Y=Y, metric=metric) K2 = function(X, Y=Y) assert_array_almost_equal(K1, K2) # Test with tuples as X and Y X_tuples = tuple([tuple([v for v in row]) for row in X]) Y_tuples = tuple([tuple([v for v in row]) for row in Y]) K2 = pairwise_kernels(X_tuples, Y_tuples, metric=metric) assert_array_almost_equal(K1, K2) # Test with sparse X and Y X_sparse = csr_matrix(X) Y_sparse = csr_matrix(Y) if metric in ["chi2", "additive_chi2"]: # these don't support sparse matrices yet assert_raises(ValueError, pairwise_kernels, X_sparse, Y=Y_sparse, metric=metric) continue K1 = pairwise_kernels(X_sparse, Y=Y_sparse, metric=metric) assert_array_almost_equal(K1, K2) # Test with a callable function, with given keywords. metric = callable_rbf_kernel kwds = {} kwds['gamma'] = 0.1 K1 = pairwise_kernels(X, Y=Y, metric=metric, **kwds) K2 = rbf_kernel(X, Y=Y, **kwds) assert_array_almost_equal(K1, K2) # callable function, X=Y K1 = pairwise_kernels(X, Y=X, metric=metric, **kwds) K2 = rbf_kernel(X, Y=X, **kwds) assert_array_almost_equal(K1, K2) def test_pairwise_kernels_filter_param(): rng = np.random.RandomState(0) X = rng.random_sample((5, 4)) Y = rng.random_sample((2, 4)) K = rbf_kernel(X, Y, gamma=0.1) params = {"gamma": 0.1, "blabla": ":)"} K2 = pairwise_kernels(X, Y, metric="rbf", filter_params=True, **params) assert_array_almost_equal(K, K2) assert_raises(TypeError, pairwise_kernels, X, Y, "rbf", **params) def test_paired_distances(): # Test the pairwise_distance helper function. rng = np.random.RandomState(0) # Euclidean distance should be equivalent to calling the function. X = rng.random_sample((5, 4)) # Euclidean distance, with Y != X. Y = rng.random_sample((5, 4)) for metric, func in iteritems(PAIRED_DISTANCES): S = paired_distances(X, Y, metric=metric) S2 = func(X, Y) assert_array_almost_equal(S, S2) S3 = func(csr_matrix(X), csr_matrix(Y)) assert_array_almost_equal(S, S3) if metric in PAIRWISE_DISTANCE_FUNCTIONS: # Check the the pairwise_distances implementation # gives the same value distances = PAIRWISE_DISTANCE_FUNCTIONS[metric](X, Y) distances = np.diag(distances) assert_array_almost_equal(distances, S) # Check the callable implementation S = paired_distances(X, Y, metric='manhattan') S2 = paired_distances(X, Y, metric=lambda x, y: np.abs(x - y).sum(axis=0)) assert_array_almost_equal(S, S2) # Test that a value error is raised when the lengths of X and Y should not # differ Y = rng.random_sample((3, 4)) assert_raises(ValueError, paired_distances, X, Y) def test_pairwise_distances_argmin_min(): # Check pairwise minimum distances computation for any metric X = [[0], [1]] Y = [[-1], [2]] Xsp = dok_matrix(X) Ysp = csr_matrix(Y, dtype=np.float32) # euclidean metric D, E = pairwise_distances_argmin_min(X, Y, metric="euclidean") D2 = pairwise_distances_argmin(X, Y, metric="euclidean") assert_array_almost_equal(D, [0, 1]) assert_array_almost_equal(D2, [0, 1]) assert_array_almost_equal(D, [0, 1]) assert_array_almost_equal(E, [1., 1.]) # sparse matrix case Dsp, Esp = pairwise_distances_argmin_min(Xsp, Ysp, metric="euclidean") assert_array_equal(Dsp, D) assert_array_equal(Esp, E) # We don't want np.matrix here assert_equal(type(Dsp), np.ndarray) assert_equal(type(Esp), np.ndarray) # Non-euclidean sklearn metric D, E = pairwise_distances_argmin_min(X, Y, metric="manhattan") D2 = pairwise_distances_argmin(X, Y, metric="manhattan") assert_array_almost_equal(D, [0, 1]) assert_array_almost_equal(D2, [0, 1]) assert_array_almost_equal(E, [1., 1.]) D, E = pairwise_distances_argmin_min(Xsp, Ysp, metric="manhattan") D2 = pairwise_distances_argmin(Xsp, Ysp, metric="manhattan") assert_array_almost_equal(D, [0, 1]) assert_array_almost_equal(E, [1., 1.]) # Non-euclidean Scipy distance (callable) D, E = pairwise_distances_argmin_min(X, Y, metric=minkowski, metric_kwargs={"p": 2}) assert_array_almost_equal(D, [0, 1]) assert_array_almost_equal(E, [1., 1.]) # Non-euclidean Scipy distance (string) D, E = pairwise_distances_argmin_min(X, Y, metric="minkowski", metric_kwargs={"p": 2}) assert_array_almost_equal(D, [0, 1]) assert_array_almost_equal(E, [1., 1.]) # Compare with naive implementation rng = np.random.RandomState(0) X = rng.randn(97, 149) Y = rng.randn(111, 149) dist = pairwise_distances(X, Y, metric="manhattan") dist_orig_ind = dist.argmin(axis=0) dist_orig_val = dist[dist_orig_ind, range(len(dist_orig_ind))] dist_chunked_ind, dist_chunked_val = pairwise_distances_argmin_min( X, Y, axis=0, metric="manhattan", batch_size=50) np.testing.assert_almost_equal(dist_orig_ind, dist_chunked_ind, decimal=7) np.testing.assert_almost_equal(dist_orig_val, dist_chunked_val, decimal=7) def test_euclidean_distances(): # Check the pairwise Euclidean distances computation X = [[0]] Y = [[1], [2]] D = euclidean_distances(X, Y) assert_array_almost_equal(D, [[1., 2.]]) X = csr_matrix(X) Y = csr_matrix(Y) D = euclidean_distances(X, Y) assert_array_almost_equal(D, [[1., 2.]]) # Paired distances def test_paired_euclidean_distances(): # Check the paired Euclidean distances computation X = [[0], [0]] Y = [[1], [2]] D = paired_euclidean_distances(X, Y) assert_array_almost_equal(D, [1., 2.]) def test_paired_manhattan_distances(): # Check the paired manhattan distances computation X = [[0], [0]] Y = [[1], [2]] D = paired_manhattan_distances(X, Y) assert_array_almost_equal(D, [1., 2.]) def test_chi_square_kernel(): rng = np.random.RandomState(0) X = rng.random_sample((5, 4)) Y = rng.random_sample((10, 4)) K_add = additive_chi2_kernel(X, Y) gamma = 0.1 K = chi2_kernel(X, Y, gamma=gamma) assert_equal(K.dtype, np.float) for i, x in enumerate(X): for j, y in enumerate(Y): chi2 = -np.sum((x - y) ** 2 / (x + y)) chi2_exp = np.exp(gamma * chi2) assert_almost_equal(K_add[i, j], chi2) assert_almost_equal(K[i, j], chi2_exp) # check diagonal is ones for data with itself K = chi2_kernel(Y) assert_array_equal(np.diag(K), 1) # check off-diagonal is < 1 but > 0: assert_true(np.all(K > 0)) assert_true(np.all(K - np.diag(np.diag(K)) < 1)) # check that float32 is preserved X = rng.random_sample((5, 4)).astype(np.float32) Y = rng.random_sample((10, 4)).astype(np.float32) K = chi2_kernel(X, Y) assert_equal(K.dtype, np.float32) # check integer type gets converted, # check that zeros are handled X = rng.random_sample((10, 4)).astype(np.int32) K = chi2_kernel(X, X) assert_true(np.isfinite(K).all()) assert_equal(K.dtype, np.float) # check that kernel of similar things is greater than dissimilar ones X = [[.3, .7], [1., 0]] Y = [[0, 1], [.9, .1]] K = chi2_kernel(X, Y) assert_greater(K[0, 0], K[0, 1]) assert_greater(K[1, 1], K[1, 0]) # test negative input assert_raises(ValueError, chi2_kernel, [[0, -1]]) assert_raises(ValueError, chi2_kernel, [[0, -1]], [[-1, -1]]) assert_raises(ValueError, chi2_kernel, [[0, 1]], [[-1, -1]]) # different n_features in X and Y assert_raises(ValueError, chi2_kernel, [[0, 1]], [[.2, .2, .6]]) # sparse matrices assert_raises(ValueError, chi2_kernel, csr_matrix(X), csr_matrix(Y)) assert_raises(ValueError, additive_chi2_kernel, csr_matrix(X), csr_matrix(Y)) def test_kernel_symmetry(): # Valid kernels should be symmetric rng = np.random.RandomState(0) X = rng.random_sample((5, 4)) for kernel in (linear_kernel, polynomial_kernel, rbf_kernel, sigmoid_kernel, cosine_similarity): K = kernel(X, X) assert_array_almost_equal(K, K.T, 15) def test_kernel_sparse(): rng = np.random.RandomState(0) X = rng.random_sample((5, 4)) X_sparse = csr_matrix(X) for kernel in (linear_kernel, polynomial_kernel, rbf_kernel, sigmoid_kernel, cosine_similarity): K = kernel(X, X) K2 = kernel(X_sparse, X_sparse) assert_array_almost_equal(K, K2) def test_linear_kernel(): rng = np.random.RandomState(0) X = rng.random_sample((5, 4)) K = linear_kernel(X, X) # the diagonal elements of a linear kernel are their squared norm assert_array_almost_equal(K.flat[::6], [linalg.norm(x) ** 2 for x in X]) def test_rbf_kernel(): rng = np.random.RandomState(0) X = rng.random_sample((5, 4)) K = rbf_kernel(X, X) # the diagonal elements of a rbf kernel are 1 assert_array_almost_equal(K.flat[::6], np.ones(5)) def test_cosine_similarity_sparse_output(): # Test if cosine_similarity correctly produces sparse output. rng = np.random.RandomState(0) X = rng.random_sample((5, 4)) Y = rng.random_sample((3, 4)) Xcsr = csr_matrix(X) Ycsr = csr_matrix(Y) K1 = cosine_similarity(Xcsr, Ycsr, dense_output=False) assert_true(issparse(K1)) K2 = pairwise_kernels(Xcsr, Y=Ycsr, metric="cosine") assert_array_almost_equal(K1.todense(), K2) def test_cosine_similarity(): # Test the cosine_similarity. rng = np.random.RandomState(0) X = rng.random_sample((5, 4)) Y = rng.random_sample((3, 4)) Xcsr = csr_matrix(X) Ycsr = csr_matrix(Y) for X_, Y_ in ((X, None), (X, Y), (Xcsr, None), (Xcsr, Ycsr)): # Test that the cosine is kernel is equal to a linear kernel when data # has been previously normalized by L2-norm. K1 = pairwise_kernels(X_, Y=Y_, metric="cosine") X_ = normalize(X_) if Y_ is not None: Y_ = normalize(Y_) K2 = pairwise_kernels(X_, Y=Y_, metric="linear") assert_array_almost_equal(K1, K2) def test_check_dense_matrices(): # Ensure that pairwise array check works for dense matrices. # Check that if XB is None, XB is returned as reference to XA XA = np.resize(np.arange(40), (5, 8)) XA_checked, XB_checked = check_pairwise_arrays(XA, None) assert_true(XA_checked is XB_checked) assert_array_equal(XA, XA_checked) def test_check_XB_returned(): # Ensure that if XA and XB are given correctly, they return as equal. # Check that if XB is not None, it is returned equal. # Note that the second dimension of XB is the same as XA. XA = np.resize(np.arange(40), (5, 8)) XB = np.resize(np.arange(32), (4, 8)) XA_checked, XB_checked = check_pairwise_arrays(XA, XB) assert_array_equal(XA, XA_checked) assert_array_equal(XB, XB_checked) XB = np.resize(np.arange(40), (5, 8)) XA_checked, XB_checked = check_paired_arrays(XA, XB) assert_array_equal(XA, XA_checked) assert_array_equal(XB, XB_checked) def test_check_different_dimensions(): # Ensure an error is raised if the dimensions are different. XA = np.resize(np.arange(45), (5, 9)) XB = np.resize(np.arange(32), (4, 8)) assert_raises(ValueError, check_pairwise_arrays, XA, XB) XB = np.resize(np.arange(4 * 9), (4, 9)) assert_raises(ValueError, check_paired_arrays, XA, XB) def test_check_invalid_dimensions(): # Ensure an error is raised on 1D input arrays. XA = np.arange(45) XB = np.resize(np.arange(32), (4, 8)) assert_raises(ValueError, check_pairwise_arrays, XA, XB) XA = np.resize(np.arange(45), (5, 9)) XB = np.arange(32) assert_raises(ValueError, check_pairwise_arrays, XA, XB) def test_check_sparse_arrays(): # Ensures that checks return valid sparse matrices. rng = np.random.RandomState(0) XA = rng.random_sample((5, 4)) XA_sparse = csr_matrix(XA) XB = rng.random_sample((5, 4)) XB_sparse = csr_matrix(XB) XA_checked, XB_checked = check_pairwise_arrays(XA_sparse, XB_sparse) # compare their difference because testing csr matrices for # equality with '==' does not work as expected. assert_true(issparse(XA_checked)) assert_equal(abs(XA_sparse - XA_checked).sum(), 0) assert_true(issparse(XB_checked)) assert_equal(abs(XB_sparse - XB_checked).sum(), 0) XA_checked, XA_2_checked = check_pairwise_arrays(XA_sparse, XA_sparse) assert_true(issparse(XA_checked)) assert_equal(abs(XA_sparse - XA_checked).sum(), 0) assert_true(issparse(XA_2_checked)) assert_equal(abs(XA_2_checked - XA_checked).sum(), 0) def tuplify(X): # Turns a numpy matrix (any n-dimensional array) into tuples. s = X.shape if len(s) > 1: # Tuplify each sub-array in the input. return tuple(tuplify(row) for row in X) else: # Single dimension input, just return tuple of contents. return tuple(r for r in X) def test_check_tuple_input(): # Ensures that checks return valid tuples. rng = np.random.RandomState(0) XA = rng.random_sample((5, 4)) XA_tuples = tuplify(XA) XB = rng.random_sample((5, 4)) XB_tuples = tuplify(XB) XA_checked, XB_checked = check_pairwise_arrays(XA_tuples, XB_tuples) assert_array_equal(XA_tuples, XA_checked) assert_array_equal(XB_tuples, XB_checked) def test_check_preserve_type(): # Ensures that type float32 is preserved. XA = np.resize(np.arange(40), (5, 8)).astype(np.float32) XB = np.resize(np.arange(40), (5, 8)).astype(np.float32) XA_checked, XB_checked = check_pairwise_arrays(XA, None) assert_equal(XA_checked.dtype, np.float32) # both float32 XA_checked, XB_checked = check_pairwise_arrays(XA, XB) assert_equal(XA_checked.dtype, np.float32) assert_equal(XB_checked.dtype, np.float32) # mismatched A XA_checked, XB_checked = check_pairwise_arrays(XA.astype(np.float), XB) assert_equal(XA_checked.dtype, np.float) assert_equal(XB_checked.dtype, np.float) # mismatched B XA_checked, XB_checked = check_pairwise_arrays(XA, XB.astype(np.float)) assert_equal(XA_checked.dtype, np.float) assert_equal(XB_checked.dtype, np.float)
bsd-3-clause
automl/paramsklearn
ParamSklearn/components/feature_preprocessing/kitchen_sinks.py
1
2564
import sklearn.kernel_approximation from HPOlibConfigSpace.configuration_space import ConfigurationSpace from HPOlibConfigSpace.hyperparameters import UniformFloatHyperparameter, \ UniformIntegerHyperparameter from ParamSklearn.components.base import ParamSklearnPreprocessingAlgorithm from ParamSklearn.constants import * class RandomKitchenSinks(ParamSklearnPreprocessingAlgorithm): def __init__(self, gamma, n_components, random_state=None): """ Parameters: gamma: float Parameter of the rbf kernel to be approximated exp(-gamma * x^2) n_components: int Number of components (output dimensionality) used to approximate the kernel """ self.gamma = gamma self.n_components = n_components self.random_state = random_state def fit(self, X, Y=None): self.preprocessor = sklearn.kernel_approximation.RBFSampler(self.gamma, self.n_components, self.random_state) self.preprocessor.fit(X) return self def transform(self, X): if self.preprocessor is None: raise NotImplementedError() return self.preprocessor.transform(X) @staticmethod def get_properties(dataset_properties=None): return {'shortname': 'KitchenSink', 'name': 'Random Kitchen Sinks', 'handles_missing_values': False, 'handles_nominal_values': False, 'handles_numerical_features': True, 'prefers_data_scaled': True, 'prefers_data_normalized': True, 'handles_regression': True, 'handles_classification': True, 'handles_multiclass': True, 'handles_multilabel': True, 'is_deterministic': True, 'handles_sparse': True, 'handles_dense': True, 'input': (SPARSE, DENSE, UNSIGNED_DATA), 'output': (INPUT, UNSIGNED_DATA), 'preferred_dtype': None} @staticmethod def get_hyperparameter_search_space(dataset_properties=None): gamma = UniformFloatHyperparameter( "gamma", 0.3, 2., default=1.0) n_components = UniformIntegerHyperparameter( "n_components", 50, 10000, default=100, log=True) cs = ConfigurationSpace() cs.add_hyperparameter(gamma) cs.add_hyperparameter(n_components) return cs def __str__(self): name = self.get_properties()['name'] return "ParamSklearn %s" % name
bsd-3-clause
sangwook236/sangwook-library
python/test/machine_learning/keras/run_simple_training.py
2
28208
#!/usr/bin/env python # -*- coding: UTF-8 -*- import sys sys.path.append('../../../src') import os, math, shutil, argparse, logging, logging.handlers, time, datetime import numpy as np import tensorflow as tf #import sklearn #import cv2 #import matplotlib.pyplot as plt import swl.machine_learning.util as swl_ml_util #-------------------------------------------------------------------- def swish(x, beta=1): return (x * tf.keras.backend.sigmoid(beta * x)) tf.keras.utils.get_custom_objects().update({'swish': tf.keras.layers.Activation(swish)}) #tf.keras.layers.Dense(256, activation='swish') #-------------------------------------------------------------------- # REF [class] >> MyDataset in ${SWL_PYTHON_HOME}/test/machine_learning/tensorflow/run_simple_training.py. class MyDataset(object): def __init__(self, image_height, image_width, image_channel, num_classes): self._image_height, self._image_width, self._image_channel = image_height, image_width, image_channel self._num_classes = num_classes # Load data. self._train_images, self._train_labels, self._test_images, self._test_labels = MyDataset._load_data(self._image_height, self._image_width, self._image_channel, self._num_classes) self._num_train_examples = len(self._train_images) if len(self._train_labels) != self._num_train_examples: raise ValueError('Invalid train data length: {} != {}'.format(self._num_train_examples, len(self._train_labels))) self._num_test_examples = len(self._test_images) if len(self._test_labels) != self._num_test_examples: raise ValueError('Invalid test data length: {} != {}'.format(self._num_test_examples, len(self._test_labels))) @property def shape(self): return self._image_height, self._image_width, self._image_channel @property def num_classes(self): return self._num_classes @property def train_data_length(self): return self._num_train_examples @property def test_data_length(self): return self._num_test_examples @property def train_data(self): return self._train_images, self._train_labels @property def test_data(self): return self._test_images, self._test_labels def create_train_batch_generator(self, batch_size, shuffle=True): return MyDataset.create_batch_generator(self._train_images, self._train_labels, batch_size, shuffle) def create_test_batch_generator(self, batch_size, shuffle=False): return MyDataset.create_batch_generator(self._test_images, self._test_labels, batch_size, shuffle) def show_data_info(self, logger, visualize=True): logger.info('Train image: shape = {}, dtype = {}, (min, max) = ({}, {}).'.format(self._train_images.shape, self._train_images.dtype, np.min(self._train_images), np.max(self._train_images))) logger.info('Train label: shape = {}, dtype = {}, (min, max) = ({}, {}).'.format(self._train_labels.shape, self._train_labels.dtype, np.min(self._train_labels), np.max(self._train_labels))) logger.info('Test image: shape = {}, dtype = {}, (min, max) = ({}, {}).'.format(self._test_images.shape, self._test_images.dtype, np.min(self._test_images), np.max(self._test_images))) logger.info('Test label: shape = {}, dtype = {}, (min, max) = ({}, {}).'.format(self._test_labels.shape, self._test_labels.dtype, np.min(self._test_labels), np.max(self._test_labels))) if visualize: import cv2 def show_images(images, labels): images = images.squeeze(axis=-1) minval, maxval = np.min(images), np.max(images) images = (images - minval) / (maxval - minval) labels = np.argmax(labels, axis=-1) for idx, (img, lbl) in enumerate(zip(images, labels)): print('Label #{} = {}.'.format(idx, lbl)) cv2.imshow('Image', img) cv2.waitKey() if idx >= 9: break show_images(self._train_images, self._train_labels) show_images(self._test_images, self._test_labels) cv2.destroyAllWindows() @staticmethod def create_batch_generator(data1, data2, batch_size, shuffle): num_examples = len(data1) if len(data2) != num_examples: raise ValueError('Invalid data length: {} != {}'.format(num_examples, len(data2))) if batch_size is None: batch_size = num_examples if batch_size <= 0: raise ValueError('Invalid batch size: {}'.format(batch_size)) indices = np.arange(num_examples) if shuffle: np.random.shuffle(indices) if data2 is None: start_idx = 0 while True: end_idx = start_idx + batch_size batch_indices = indices[start_idx:end_idx] if batch_indices.size > 0: # If batch_indices is non-empty. # FIXME [fix] >> Does not work correctly in time-major data. batch_data1 = data1[batch_indices] if batch_data1.size > 0: # If batch_data1 is non-empty. yield (batch_data1, None), batch_indices.size else: yield (None, None), 0 else: yield (None, None), 0 if end_idx >= num_examples: break start_idx = end_idx else: start_idx = 0 while True: end_idx = start_idx + batch_size batch_indices = indices[start_idx:end_idx] if batch_indices.size > 0: # If batch_indices is non-empty. # FIXME [fix] >> Does not work correctly in time-major data. batch_data1, batch_data2 = data1[batch_indices], data2[batch_indices] if batch_data1.size > 0 and batch_data2.size > 0: # If batch_data1 and batch_data2 are non-empty. yield (batch_data1, batch_data2), batch_indices.size else: yield (None, None), 0 else: yield (None, None), 0 if end_idx >= num_examples: break start_idx = end_idx @staticmethod def _preprocess(inputs, outputs, image_height, image_width, image_channel, num_classes): if inputs is not None: # Contrast limited adaptive histogram equalization (CLAHE). #clahe = cv2.createCLAHE(clipLimit=2.0, tileGridSize=(8, 8)) #inputs = np.array([clahe.apply(inp) for inp in inputs]) # Normalization, standardization, etc. inputs = inputs.astype(np.float32) if False: inputs = sklearn.preprocessing.scale(inputs, axis=0, with_mean=True, with_std=True, copy=True) #inputs = sklearn.preprocessing.minmax_scale(inputs, feature_range=(0, 1), axis=0, copy=True) # [0, 1]. #inputs = sklearn.preprocessing.maxabs_scale(inputs, axis=0, copy=True) # [-1, 1]. #inputs = sklearn.preprocessing.robust_scale(inputs, axis=0, with_centering=True, with_scaling=True, quantile_range=(25.0, 75.0), copy=True) elif True: inputs = (inputs - np.mean(inputs, axis=None)) / np.std(inputs, axis=None) # Standardization. elif False: in_min, in_max = 0, 255 #np.min(inputs), np.max(inputs) out_min, out_max = 0, 1 #-1, 1 inputs = (inputs - in_min) * (out_max - out_min) / (in_max - in_min) + out_min # Normalization. elif False: inputs /= 255.0 # Normalization. # Reshape. inputs = np.reshape(inputs, (-1, image_height, image_width, image_channel)) if outputs is not None: # One-hot encoding (num_examples, height, width) -> (num_examples, height, width, num_classes). #outputs = swl_ml_util.to_one_hot_encoding(outputs, num_classes).astype(np.uint8) outputs = tf.keras.utils.to_categorical(outputs, num_classes).astype(np.uint8) return inputs, outputs @staticmethod def _load_data(image_height, image_width, image_channel, num_classes): # Pixel value: [0, 255]. (train_inputs, train_outputs), (test_inputs, test_outputs) = tf.keras.datasets.mnist.load_data() # Preprocess. train_inputs, train_outputs = MyDataset._preprocess(train_inputs, train_outputs, image_height, image_width, image_channel, num_classes) test_inputs, test_outputs = MyDataset._preprocess(test_inputs, test_outputs, image_height, image_width, image_channel, num_classes) return train_inputs, train_outputs, test_inputs, test_outputs class MyDataSequence(tf.keras.utils.Sequence): def __init__(self, inputs, outputs, batch_size=None, shuffle=False): self.inputs, self.outputs = inputs, outputs self.batch_size = batch_size self.num_examples = len(self.inputs) if self.outputs is not None and len(self.outputs) != self.num_examples: raise ValueError('Invalid data size: {} != {}'.format(self.num_examples, len(self.outputs))) if self.batch_size is None: self.batch_size = self.num_examples if self.batch_size <= 0: raise ValueError('Invalid batch size: {}'.format(self.batch_size)) self.indices = np.arange(self.num_examples) if shuffle: np.random.shuffle(self.indices) def __len__(self): return math.ceil(self.num_examples / self.batch_size) def __getitem__(self, idx): start_idx = idx * self.batch_size end_idx = start_idx + self.batch_size batch_indices = self.indices[start_idx:end_idx] if batch_indices.size > 0: # If batch_indices is non-empty. # FIXME [fix] >> Does not work correctly in time-major data. batch_input, batch_output = self.inputs[batch_indices], None if self.outputs is None else self.outputs[batch_indices] if batch_input.size > 0 and (batch_output is None or batch_output.size > 0): # If batch_input and batch_output are non-empty. return (batch_input, batch_output) return (None, None) #-------------------------------------------------------------------- def load_model(model_filepath, logger): try: if logger: logger.info('Start loading a model...') start_time = time.time() """ # Load only the architecture of a model. model = tf.keras.models.model_from_json(json_string) #model = tf.keras.models.model_from_yaml(yaml_string) # Load only the weights of a model. model.load_weights(model_weight_filepath) """ # Load a model. model = tf.keras.models.load_model(model_filepath) if logger: logger.info('End loading a model from {}: {} secs.'.format(model_filepath, time.time() - start_time)) return model except (ImportError, IOError): if logger: logger.error('Failed to load a model from {}.'.format(model_filepath)) return None class MyModel(object): @classmethod def create_model(cls, input_shape, num_classes): model = tf.keras.models.Sequential() # Layer 1. model.add(tf.keras.layers.Conv2D(filters=32, kernel_size=5, strides=1, activation='relu', input_shape=input_shape)) model.add(tf.keras.layers.MaxPooling2D(pool_size=2, strides=2)) # Layer 2. model.add(tf.keras.layers.Conv2D(filters=64, kernel_size=3, strides=1, activation='relu')) model.add(tf.keras.layers.MaxPooling2D(pool_size=2, strides=2)) model.add(tf.keras.layers.Flatten()) # Layer 3. model.add(tf.keras.layers.Dense(units=1024, activation='relu')) # Layer 4. model.add(tf.keras.layers.Dense(units=num_classes, activation='softmax')) return model #-------------------------------------------------------------------- class MyRunner(object): def __init__(self): # Set parameters. self._use_keras_data_sequence, self._use_generator = True, False self._max_queue_size, self._num_workers = 10, 8 self._use_multiprocessing = True #self._sess = tf.Session(config=config) #tf.keras.backend.set_session(self._sess) #tf.keras.backend.set_learning_phase(0) # Sets the learning phase to 'test'. #tf.keras.backend.set_learning_phase(1) # Sets the learning phase to 'train'. def train(self, model, criterion, optimizer, dataset, model_checkpoint_filepath, output_dir_path, batch_size, final_epoch, initial_epoch=0, logger=None): model.compile(loss=criterion, optimizer=optimizer, metrics=['accuracy']) def schedule_learning_rate(epoch, learning_rate): if epoch < 10: return 1.0e-2 elif epoch < 20: return 1.0e-3 elif epoch < 30: return 1.0e-4 else: return 1.0e-4 * tf.math.exp(0.1 * (30 - epoch)) lr_schedule_callback = tf.keras.callbacks.LearningRateScheduler(schedule=schedule_learning_rate, verbose=0) lr_reduce_callback = tf.keras.callbacks.ReduceLROnPlateau(monitor='val_loss', factor=0.1, patience=10, verbose=0, mode='auto', min_delta=0.0001, cooldown=0, min_lr=0) early_stopping_callback = tf.keras.callbacks.EarlyStopping(monitor='val_loss', min_delta=0, patience=10, verbose=0, mode='auto', baseline=None, restore_best_weights=False) if True: timestamp = datetime.datetime.now().strftime('%Y%m%dT%H%M%S') csv_log_filepath = os.path.join(output_dir_path, 'train_log_{}.csv'.format(timestamp)) file_logger_callback = tf.keras.callbacks.CSVLogger(csv_log_filepath, separator=',', append=False) # epoch, acc, loss, lr, val_acc, val_loss. else: import json timestamp = datetime.datetime.now().strftime('%Y%m%dT%H%M%S') json_log_filepath = os.path.join(output_dir_path, 'train_log_{}.json'.format(timestamp)) json_log = open(json_log_filepath, mode='wt', encoding='UTF8', buffering=1) file_logger_callback = tf.keras.callbacks.LambdaCallback( on_epoch_end=lambda epoch, logs: json_log.write(json.dumps({'epoch': epoch, 'acc': logs['acc'], 'loss': logs['loss'], 'lr': logs['lr'], 'val_acc': logs['val_acc'], 'val_loss': logs['val_loss']}) + '\n'), on_train_end=lambda logs: json_log.close() ) model_checkpoint_callback = tf.keras.callbacks.ModelCheckpoint(model_checkpoint_filepath, monitor='val_loss', verbose=0, save_best_only=True, save_weights_only=False, mode='auto', save_freq='epoch') #callbacks = [lr_schedule_callback, lr_reduce_callback, early_stopping_callback, file_logger_callback, model_checkpoint_callback] callbacks = [early_stopping_callback, file_logger_callback, model_checkpoint_callback] num_epochs = final_epoch - initial_epoch #-------------------- if logger: logger.info('Start training...') start_time = time.time() if self._use_keras_data_sequence: # Use Keras sequences. train_images, train_labels = dataset.train_data train_sequence = MyDataSequence(train_images, train_labels, batch_size=batch_size, shuffle=True) val_images, val_labels = dataset.test_data val_sequence = MyDataSequence(val_images, val_labels, batch_size=batch_size, shuffle=False) history = model.fit_generator(train_sequence, epochs=num_epochs, steps_per_epoch=None if batch_size is None else math.ceil(dataset.train_data_length / batch_size), validation_data=val_sequence, validation_steps=math.ceil(dataset.test_data_length / batch_size), shuffle=True, initial_epoch=initial_epoch, class_weight=None, max_queue_size=self._max_queue_size, workers=self._num_workers, use_multiprocessing=self._use_multiprocessing, callbacks=callbacks) elif self._use_generator: # Use generators. train_generator = dataset.create_train_batch_generator(batch_size, shuffle=True) val_generator = dataset.create_test_batch_generator(batch_size, shuffle=False) history = model.fit_generator(train_generator, epochs=num_epochs, steps_per_epoch=None if batch_size is None else math.ceil(dataset.train_data_length / batch_size), validation_data=val_generator, validation_steps=math.ceil(dataset.test_data_length / batch_size), shuffle=True, initial_epoch=initial_epoch, class_weight=None, max_queue_size=self._max_queue_size, workers=self._num_workers, use_multiprocessing=self._use_multiprocessing, callbacks=callbacks) else: train_images, train_labels = dataset.train_data history = model.fit(train_images, train_labels, batch_size=batch_size, epochs=num_epochs, validation_split=0.2, shuffle=True, initial_epoch=initial_epoch, class_weight=None, sample_weight=None, callbacks=callbacks) if logger: logger.info('End training: {} secs.'.format(time.time() - start_time)) #-------------------- if logger: logger.info('Start evaluating...') start_time = time.time() if self._use_keras_data_sequence: # Use a Keras sequence. val_images, val_labels = dataset.test_data val_sequence = MyDataSequence(val_images, val_labels, batch_size=batch_size, shuffle=False) score = model.evaluate_generator(val_sequence, steps=None if batch_size is None else math.ceil(dataset.test_data_length / batch_size), max_queue_size=self._max_queue_size, workers=self._num_workers, use_multiprocessing=self._use_multiprocessing) elif self._use_generator: # Use a generator. val_generator = dataset.create_test_batch_generator(batch_size, shuffle=False) score = model.evaluate_generator(val_generator, steps=None if batch_size is None else math.ceil(dataset.test_data_length / batch_size), max_queue_size=self._max_queue_size, workers=self._num_workers, use_multiprocessing=self._use_multiprocessing) else: val_images, val_labels = dataset.test_data score = model.evaluate(val_images, val_labels, batch_size=batch_size, sample_weight=None) if logger: logger.info('\tValidation: loss = {:.6f}, accuracy = {:.6f}.'.format(*score)) if logger: logger.info('End evaluating: {} secs.'.format(time.time() - start_time)) return history.history def test(self, model, dataset, batch_size=None, shuffle=False, logger=None): if logger: logger.info('Start testing...') start_time = time.time() if self._use_keras_data_sequence: # Use a Keras sequence. test_images, test_labels = dataset.test_data test_sequence = MyDataSequence(test_images, test_labels, batch_size=batch_size, shuffle=shuffle) inferences = model.predict_generator(test_sequence, steps=None if batch_size is None else math.ceil(dataset.test_data_length / batch_size), max_queue_size=self._max_queue_size, workers=self._num_workers, use_multiprocessing=self._use_multiprocessing) elif self._use_generator: # Use a generator. test_generator = dataset.create_test_batch_generator(batch_size, shuffle=shuffle) inferences = model.predict_generator(test_generator, steps=None if batch_size is None else math.ceil(dataset.test_data_length / batch_size), max_queue_size=self._max_queue_size, workers=self._num_workers, use_multiprocessing=self._use_multiprocessing) # TODO [implement] >> self._test_labels have to be generated. test_labels = dataset.test_data[1] else: test_images, test_labels = dataset.test_data inferences = model.predict(test_images, batch_size=batch_size) if logger: logger.info('End testing: {} secs.'.format(time.time() - start_time)) if inferences is not None and test_labels is not None: if logger: logger.info('Test: shape = {}, dtype = {}, (min, max) = ({}, {}).'.format(inferences.shape, inferences.dtype, np.min(inferences), np.max(inferences))) if dataset.num_classes > 2: inferences = np.argmax(inferences, -1) ground_truths = np.argmax(test_labels, -1) elif 2 == dataset.num_classes: inferences = np.around(inferences) ground_truths = test_labels else: raise ValueError('Invalid number of classes') correct_estimation_count = np.count_nonzero(np.equal(inferences, ground_truths)) if logger: logger.info('Test: accuracy = {} / {} = {}.'.format(correct_estimation_count, ground_truths.size, correct_estimation_count / ground_truths.size)) else: if logger: logger.warning('Invalid test results.') def infer(self, model, inputs, batch_size=None, shuffle=False, logger=None): if logger: logger.info('Start inferring...') start_time = time.time() if self._use_keras_data_sequence: # Use a Keras sequence. test_sequence = MyDataSequence(inputs, None, batch_size=batch_size, shuffle=shuffle) inferences = model.predict_generator(test_sequence, steps=None if batch_size is None else math.ceil(len(inputs) / batch_size), max_queue_size=self._max_queue_size, workers=self._num_workers, use_multiprocessing=self._use_multiprocessing) elif self._use_generator: # Use a generator. test_generator = MyDataset.create_batch_generator(inputs, None, batch_size, shuffle=shuffle) inferences = model.predict_generator(test_generator, steps=None if batch_size is None else math.ceil(len(inputs) / batch_size), max_queue_size=self._max_queue_size, workers=self._num_workers, use_multiprocessing=self._use_multiprocessing) else: if shuffle: np.random.shuffle(inputs) inferences = model.predict(inputs, batch_size=batch_size) if logger: logger.info('End inferring: {} secs.'.format(time.time() - start_time)) return inferences #-------------------------------------------------------------------- def parse_command_line_options(): parser = argparse.ArgumentParser(description='Train, test, or infer a CNN model for MNIST dataset.') parser.add_argument( '--train', action='store_true', help='Specify whether to train a model' ) parser.add_argument( '--test', action='store_true', help='Specify whether to test a trained model' ) parser.add_argument( '--infer', action='store_true', help='Specify whether to infer by a trained model' ) parser.add_argument( '-m', '--model_file', type=str, #nargs='?', help='The model file path where a trained model is saved or a pretrained model is loaded', #required=True, default=None ) parser.add_argument( '-o', '--out_dir', type=str, #nargs='?', help='The output directory path to save results such as images and log', #required=True, default=None ) parser.add_argument( '-tr', '--train_data_dir', type=str, #nargs='?', help='The directory path of training data', default='./train_data' ) parser.add_argument( '-te', '--test_data_dir', type=str, #nargs='?', help='The directory path of test data', default='./test_data' ) parser.add_argument( '-e', '--epoch', type=int, help='Final epoch', default=30 ) parser.add_argument( '-b', '--batch', type=int, help='Batch size', default=32 ) parser.add_argument( '-g', '--gpu', type=str, help='Specify GPU to use', default='0' ) parser.add_argument( '-l', '--log', type=str, help='The name of logger and log files', default=None ) parser.add_argument( '-ll', '--log_level', type=int, help='Log level, [0, 50]', # {NOTSET=0, DEBUG=10, INFO=20, WARNING=WARN=30, ERROR=40, CRITICAL=FATAL=50}. default=None ) parser.add_argument( '-ld', '--log_dir', type=str, help='The directory path to log', default=None ) return parser.parse_args() def get_logger(name, log_level=None, log_dir_path=None, is_rotating=True): if not log_level: log_level = logging.INFO if not log_dir_path: log_dir_path = './log' if not os.path.exists(log_dir_path): os.makedirs(log_dir_path, exist_ok=True) log_filepath = os.path.join(log_dir_path, (name if name else 'swl') + '.log') if is_rotating: file_handler = logging.handlers.RotatingFileHandler(log_filepath, maxBytes=10000000, backupCount=10) else: file_handler = logging.FileHandler(log_filepath) stream_handler = logging.StreamHandler() formatter = logging.Formatter('[%(levelname)s][%(filename)s:%(lineno)s][%(asctime)s] [SWL] %(message)s') #formatter = logging.Formatter('[%(levelname)s][%(asctime)s] [SWL] %(message)s') file_handler.setFormatter(formatter) stream_handler.setFormatter(formatter) logger = logging.getLogger(name if name else __name__) logger.setLevel(log_level) # {NOTSET=0, DEBUG=10, INFO=20, WARNING=WARN=30, ERROR=40, CRITICAL=FATAL=50}. logger.addHandler(file_handler) logger.addHandler(stream_handler) return logger def main(): args = parse_command_line_options() logger = get_logger(args.log if args.log else os.path.basename(os.path.normpath(__file__)), args.log_level if args.log_level else logging.INFO, args.log_dir if args.log_dir else args.out_dir, is_rotating=True) logger.info('----------------------------------------------------------------------') logger.info('Logger: name = {}, level = {}.'.format(logger.name, logger.level)) logger.info('Command-line arguments: {}.'.format(sys.argv)) logger.info('Command-line options: {}.'.format(vars(args))) logger.info('Python version: {}.'.format(sys.version.replace('\n', ' '))) logger.info('TensorFlow version: {}.'.format(tf.__version__)) if not args.train and not args.test and not args.infer: logger.error('At least one of command line options "--train", "--test", and "--infer" has to be specified.') return if args.gpu: os.environ['CUDA_VISIBLE_DEVICES'] = args.gpu if args.log_level: os.environ['TF_CPP_MIN_LOG_LEVEL'] = '0' # [0, 3]. #-------------------- initial_epoch, final_epoch, batch_size = 0, args.epoch, args.batch is_resumed = args.model_file is not None model_filepath, output_dir_path = os.path.normpath(args.model_file) if args.model_file else None, os.path.normpath(args.out_dir) if args.out_dir else None if model_filepath: if not output_dir_path: output_dir_path = os.path.dirname(model_filepath) else: if not output_dir_path: output_dir_prefix = 'simple_training' output_dir_suffix = datetime.datetime.now().strftime('%Y%m%dT%H%M%S') output_dir_path = os.path.join('.', '{}_{}'.format(output_dir_prefix, output_dir_suffix)) model_filepath = os.path.join(output_dir_path, 'model.hdf5') #model_weight_filepath = os.path.join(output_dir_path, 'model_weights.hdf5') #-------------------- # Create a dataset. image_height, image_width, image_channel = 28, 28, 1 # 784 = 28 * 28. num_classes = 10 logger.info('Start creating a dataset...') start_time = time.time() dataset = MyDataset(image_height, image_width, image_channel, num_classes) logger.info('End creating a dataset: {} secs.'.format(time.time() - start_time)) dataset.show_data_info(logger, visualize=False) #-------------------- runner = MyRunner() if args.train: model_checkpoint_filepath = os.path.join(output_dir_path, 'model_ckpt.{epoch:04d}-{val_loss:.5f}.hdf5') if output_dir_path and output_dir_path.strip() and not os.path.exists(output_dir_path): os.makedirs(output_dir_path, exist_ok=True) if is_resumed: # Load a model. model = load_model(model_filepath, logger) else: # Build a model. model = MyModel.create_model(dataset.shape, dataset.num_classes) #if model: print('Model summary:\n{}.'.format(model.summary())) if model: # Create a trainer. criterion = tf.keras.losses.categorical_crossentropy optimizer = tf.keras.optimizers.SGD(learning_rate=0.001, momentum=0.9, nesterov=True) #optimizer = tf.keras.optimizers.RMSprop(learning_rate=0.001, rho=0.9, momentum=0.9, epsilon=1.0e-7, centered=False) #optimizer = tf.keras.optimizers.Adam(learning_rate=0.001, beta_1=0.9, beta_2=0.999, epsilon=None, amsgrad=False) # Not good. history = runner.train(model, criterion, optimizer, dataset, model_checkpoint_filepath, output_dir_path, batch_size, final_epoch, initial_epoch, logger) model_filepath = os.path.join(output_dir_path, 'best_model_{}.hdf5'.format(datetime.datetime.now().strftime('%Y%m%dT%H%M%S'))) logger.info('Start saving a model...') start_time = time.time() """ # Save only the architecture of a model. json_string = model.to_json() #yaml_string = model.to_yaml() # Save only the weights of a model. model.save_weights(model_weight_filepath) """ # Save a model. model.save(model_filepath) logger.info('End saving a model to {}: {} secs.'.format(model_filepath, time.time() - start_time)) #logger.info('Train history = {}.'.format(history)) swl_ml_util.display_train_history(history) if os.path.exists(output_dir_path): swl_ml_util.save_train_history(history, output_dir_path) if args.test or args.infer: if model_filepath and os.path.exists(model_filepath): model = load_model(model_filepath, logger) if args.test and model: runner.test(model, dataset, logger=logger) if args.infer and model: inf_images, _ = dataset.test_data inferences = runner.infer(model, inf_images, logger=logger) if inferences is not None: logger.info('Inference: shape = {}, dtype = {}, (min, max) = ({}, {}).'.format(inferences.shape, inferences.dtype, np.min(inferences), np.max(inferences))) if dataset.num_classes > 2: inferences = np.argmax(inferences, -1) elif 2 == dataset.num_classes: inferences = np.around(inferences) else: raise ValueError('Invalid number of classes') results = {idx: inf for idx, inf in enumerate(inferences) if idx < 100} logger.info('Inference results (index: inference): {}.'.format(results)) else: logger.info('Invalid inference results.') else: logger.error('Model file, {} does not exist.'.format(model_filepath)) #-------------------------------------------------------------------- # Usage: # python run_simple_training.py --train --test --infer --epoch 20 --gpu 0 if '__main__' == __name__: main()
gpl-2.0
frank-tancf/scikit-learn
examples/cluster/plot_face_segmentation.py
71
2839
""" =================================================== Segmenting the picture of a raccoon face in regions =================================================== This example uses :ref:`spectral_clustering` on a graph created from voxel-to-voxel difference on an image to break this image into multiple partly-homogeneous regions. This procedure (spectral clustering on an image) is an efficient approximate solution for finding normalized graph cuts. There are two options to assign labels: * with 'kmeans' spectral clustering will cluster samples in the embedding space using a kmeans algorithm * whereas 'discrete' will iteratively search for the closest partition space to the embedding space. """ print(__doc__) # Author: Gael Varoquaux <gael.varoquaux@normalesup.org>, Brian Cheung # License: BSD 3 clause import time import numpy as np import scipy as sp import matplotlib.pyplot as plt from sklearn.feature_extraction import image from sklearn.cluster import spectral_clustering from sklearn.utils.testing import SkipTest from sklearn.utils.fixes import sp_version if sp_version < (0, 12): raise SkipTest("Skipping because SciPy version earlier than 0.12.0 and " "thus does not include the scipy.misc.face() image.") # load the raccoon face as a numpy array try: face = sp.face(gray=True) except AttributeError: # Newer versions of scipy have face in misc from scipy import misc face = misc.face(gray=True) # Resize it to 10% of the original size to speed up the processing face = sp.misc.imresize(face, 0.10) / 255. # Convert the image into a graph with the value of the gradient on the # edges. graph = image.img_to_graph(face) # Take a decreasing function of the gradient: an exponential # The smaller beta is, the more independent the segmentation is of the # actual image. For beta=1, the segmentation is close to a voronoi beta = 5 eps = 1e-6 graph.data = np.exp(-beta * graph.data / graph.data.std()) + eps # Apply spectral clustering (this step goes much faster if you have pyamg # installed) N_REGIONS = 25 ############################################################################# # Visualize the resulting regions for assign_labels in ('kmeans', 'discretize'): t0 = time.time() labels = spectral_clustering(graph, n_clusters=N_REGIONS, assign_labels=assign_labels, random_state=1) t1 = time.time() labels = labels.reshape(face.shape) plt.figure(figsize=(5, 5)) plt.imshow(face, cmap=plt.cm.gray) for l in range(N_REGIONS): plt.contour(labels == l, contours=1, colors=[plt.cm.spectral(l / float(N_REGIONS))]) plt.xticks(()) plt.yticks(()) title = 'Spectral clustering: %s, %.2fs' % (assign_labels, (t1 - t0)) print(title) plt.title(title) plt.show()
bsd-3-clause
cactusbin/nyt
matplotlib/lib/matplotlib/image.py
4
49269
""" The image module supports basic image loading, rescaling and display operations. """ from __future__ import division, print_function import os import warnings import math import numpy as np from numpy import ma from matplotlib import rcParams import matplotlib.artist as martist from matplotlib.artist import allow_rasterization import matplotlib.colors as mcolors import matplotlib.cm as cm import matplotlib.cbook as cbook # For clarity, names from _image are given explicitly in this module: import matplotlib._image as _image import matplotlib._png as _png # For user convenience, the names from _image are also imported into # the image namespace: from matplotlib._image import * from matplotlib.transforms import BboxBase, Bbox, IdentityTransform import matplotlib.transforms as mtransforms class _AxesImageBase(martist.Artist, cm.ScalarMappable): zorder = 0 # map interpolation strings to module constants _interpd = { 'none': _image.NEAREST, # fall back to nearest when not supported 'nearest': _image.NEAREST, 'bilinear': _image.BILINEAR, 'bicubic': _image.BICUBIC, 'spline16': _image.SPLINE16, 'spline36': _image.SPLINE36, 'hanning': _image.HANNING, 'hamming': _image.HAMMING, 'hermite': _image.HERMITE, 'kaiser': _image.KAISER, 'quadric': _image.QUADRIC, 'catrom': _image.CATROM, 'gaussian': _image.GAUSSIAN, 'bessel': _image.BESSEL, 'mitchell': _image.MITCHELL, 'sinc': _image.SINC, 'lanczos': _image.LANCZOS, 'blackman': _image.BLACKMAN, } # reverse interp dict _interpdr = dict([(v, k) for k, v in _interpd.iteritems()]) interpnames = _interpd.keys() def __str__(self): return "AxesImage(%g,%g;%gx%g)" % tuple(self.axes.bbox.bounds) def __init__(self, ax, cmap=None, norm=None, interpolation=None, origin=None, filternorm=1, filterrad=4.0, resample=False, **kwargs ): """ interpolation and cmap default to their rc settings cmap is a colors.Colormap instance norm is a colors.Normalize instance to map luminance to 0-1 extent is data axes (left, right, bottom, top) for making image plots registered with data plots. Default is to label the pixel centers with the zero-based row and column indices. Additional kwargs are matplotlib.artist properties """ martist.Artist.__init__(self) cm.ScalarMappable.__init__(self, norm, cmap) if origin is None: origin = rcParams['image.origin'] self.origin = origin self.set_filternorm(filternorm) self.set_filterrad(filterrad) self._filterrad = filterrad self.set_interpolation(interpolation) self.set_resample(resample) self.axes = ax self._imcache = None # this is an experimental attribute, if True, unsampled image # will be drawn using the affine transform that are # appropriately skewed so that the given position # corresponds to the actual position in the coordinate. -JJL self._image_skew_coordinate = None self.update(kwargs) def get_size(self): """Get the numrows, numcols of the input image""" if self._A is None: raise RuntimeError('You must first set the image array') return self._A.shape[:2] def set_alpha(self, alpha): """ Set the alpha value used for blending - not supported on all backends ACCEPTS: float """ martist.Artist.set_alpha(self, alpha) self._imcache = None def changed(self): """ Call this whenever the mappable is changed so observers can update state """ self._imcache = None self._rgbacache = None cm.ScalarMappable.changed(self) def make_image(self, magnification=1.0): raise RuntimeError('The make_image method must be overridden.') def _get_unsampled_image(self, A, image_extents, viewlim): """ convert numpy array A with given extents ([x1, x2, y1, y2] in data coordinate) into the Image, given the viewlim (should be a bbox instance). Image will be clipped if the extents is significantly larger than the viewlim. """ xmin, xmax, ymin, ymax = image_extents dxintv = xmax-xmin dyintv = ymax-ymin # the viewport scale factor if viewlim.width == 0.0 and dxintv == 0.0: sx = 1.0 else: sx = dxintv/viewlim.width if viewlim.height == 0.0 and dyintv == 0.0: sy = 1.0 else: sy = dyintv/viewlim.height numrows, numcols = A.shape[:2] if sx > 2: x0 = (viewlim.x0-xmin)/dxintv * numcols ix0 = max(0, int(x0 - self._filterrad)) x1 = (viewlim.x1-xmin)/dxintv * numcols ix1 = min(numcols, int(x1 + self._filterrad)) xslice = slice(ix0, ix1) xmin_old = xmin xmin = xmin_old + ix0*dxintv/numcols xmax = xmin_old + ix1*dxintv/numcols dxintv = xmax - xmin sx = dxintv/viewlim.width else: xslice = slice(0, numcols) if sy > 2: y0 = (viewlim.y0-ymin)/dyintv * numrows iy0 = max(0, int(y0 - self._filterrad)) y1 = (viewlim.y1-ymin)/dyintv * numrows iy1 = min(numrows, int(y1 + self._filterrad)) if self.origin == 'upper': yslice = slice(numrows-iy1, numrows-iy0) else: yslice = slice(iy0, iy1) ymin_old = ymin ymin = ymin_old + iy0*dyintv/numrows ymax = ymin_old + iy1*dyintv/numrows dyintv = ymax - ymin sy = dyintv/viewlim.height else: yslice = slice(0, numrows) if xslice != self._oldxslice or yslice != self._oldyslice: self._imcache = None self._oldxslice = xslice self._oldyslice = yslice if self._imcache is None: if self._A.dtype == np.uint8 and self._A.ndim == 3: im = _image.frombyte(self._A[yslice, xslice, :], 0) im.is_grayscale = False else: if self._rgbacache is None: x = self.to_rgba(self._A, bytes=False) # Avoid side effects: to_rgba can return its argument # unchanged. if np.may_share_memory(x, self._A): x = x.copy() # premultiply the colors x[..., 0:3] *= x[..., 3:4] x = (x * 255).astype(np.uint8) self._rgbacache = x else: x = self._rgbacache im = _image.frombyte(x[yslice, xslice, :], 0) if self._A.ndim == 2: im.is_grayscale = self.cmap.is_gray() else: im.is_grayscale = False self._imcache = im if self.origin == 'upper': im.flipud_in() else: im = self._imcache return im, xmin, ymin, dxintv, dyintv, sx, sy @staticmethod def _get_rotate_and_skew_transform(x1, y1, x2, y2, x3, y3): """ Retuen a transform that does (x1, y1) -> (x1, y1) (x2, y2) -> (x2, y2) (x2, y1) -> (x3, y3) It was intended to derive a skew transform that preserve the lower-left corner (x1, y1) and top-right corner(x2,y2), but change the the lower-right-corner(x2, y1) to a new position (x3, y3). """ tr1 = mtransforms.Affine2D() tr1.translate(-x1, -y1) x2a, y2a = tr1.transform_point((x2, y2)) x3a, y3a = tr1.transform_point((x3, y3)) inv_mat = 1. / (x2a*y3a-y2a*x3a) * np.mat([[y3a, -y2a], [-x3a, x2a]]) a, b = (inv_mat * np.mat([[x2a], [x2a]])).flat c, d = (inv_mat * np.mat([[y2a], [0]])).flat tr2 = mtransforms.Affine2D.from_values(a, c, b, d, 0, 0) tr = (tr1 + tr2 + mtransforms.Affine2D().translate(x1, y1)).inverted().get_affine() return tr def _draw_unsampled_image(self, renderer, gc): """ draw unsampled image. The renderer should support a draw_image method with scale parameter. """ trans = self.get_transform() # axes.transData # convert the coordinates to the intermediate coordinate (ic). # The transformation from the ic to the canvas is a pure # affine transform. # A straight-forward way is to use the non-affine part of the # original transform for conversion to the ic. # firs, convert the image extent to the ic x_llc, x_trc, y_llc, y_trc = self.get_extent() xy = trans.transform(np.array([(x_llc, y_llc), (x_trc, y_trc)])) _xx1, _yy1 = xy[0] _xx2, _yy2 = xy[1] extent_in_ic = _xx1, _xx2, _yy1, _yy2 # define trans_ic_to_canvas : unless _image_skew_coordinate is # set, it is simply a affine part of the original transform. if self._image_skew_coordinate: # skew the image when required. x_lrc, y_lrc = self._image_skew_coordinate xy2 = trans.transform(np.array([(x_lrc, y_lrc)])) _xx3, _yy3 = xy2[0] tr_rotate_skew = self._get_rotate_and_skew_transform(_xx1, _yy1, _xx2, _yy2, _xx3, _yy3) trans_ic_to_canvas = tr_rotate_skew else: trans_ic_to_canvas = IdentityTransform() # Now, viewLim in the ic. It can be rotated and can be # skewed. Make it big enough. x1, y1, x2, y2 = self.axes.bbox.extents trans_canvas_to_ic = trans_ic_to_canvas.inverted() xy_ = trans_canvas_to_ic.transform(np.array([(x1, y1), (x2, y1), (x2, y2), (x1, y2)])) x1_, x2_ = min(xy_[:, 0]), max(xy_[:, 0]) y1_, y2_ = min(xy_[:, 1]), max(xy_[:, 1]) viewLim_in_ic = Bbox.from_extents(x1_, y1_, x2_, y2_) # get the image, sliced if necessary. This is done in the ic. im, xmin, ymin, dxintv, dyintv, sx, sy = \ self._get_unsampled_image(self._A, extent_in_ic, viewLim_in_ic) if im is None: return # I'm not if this check is required. -JJL fc = self.axes.patch.get_facecolor() bg = mcolors.colorConverter.to_rgba(fc, 0) im.set_bg(*bg) # image input dimensions im.reset_matrix() numrows, numcols = im.get_size() im.resize(numcols, numrows) # just to create im.bufOut that # is required by backends. There # may be better solution -JJL im._url = self.get_url() im._gid = self.get_gid() renderer.draw_image(gc, xmin, ymin, im, dxintv, dyintv, trans_ic_to_canvas) def _check_unsampled_image(self, renderer): """ return True if the image is better to be drawn unsampled. The derived class needs to override it. """ return False @allow_rasterization def draw(self, renderer, *args, **kwargs): if not self.get_visible(): return if (self.axes.get_xscale() != 'linear' or self.axes.get_yscale() != 'linear'): warnings.warn("Images are not supported on non-linear axes.") l, b, widthDisplay, heightDisplay = self.axes.bbox.bounds gc = renderer.new_gc() gc.set_clip_rectangle(self.axes.bbox.frozen()) gc.set_clip_path(self.get_clip_path()) gc.set_alpha(self.get_alpha()) if self._check_unsampled_image(renderer): self._draw_unsampled_image(renderer, gc) else: if self._image_skew_coordinate is not None: warnings.warn("Image will not be shown" " correctly with this backend.") im = self.make_image(renderer.get_image_magnification()) if im is None: return im._url = self.get_url() im._gid = self.get_gid() renderer.draw_image(gc, l, b, im) gc.restore() def contains(self, mouseevent): """ Test whether the mouse event occured within the image. """ if callable(self._contains): return self._contains(self, mouseevent) # TODO: make sure this is consistent with patch and patch # collection on nonlinear transformed coordinates. # TODO: consider returning image coordinates (shouldn't # be too difficult given that the image is rectilinear x, y = mouseevent.xdata, mouseevent.ydata xmin, xmax, ymin, ymax = self.get_extent() if xmin > xmax: xmin, xmax = xmax, xmin if ymin > ymax: ymin, ymax = ymax, ymin #print x, y, xmin, xmax, ymin, ymax if x is not None and y is not None: inside = ((x >= xmin) and (x <= xmax) and (y >= ymin) and (y <= ymax)) else: inside = False return inside, {} def write_png(self, fname, noscale=False): """Write the image to png file with fname""" im = self.make_image() if im is None: return if noscale: numrows, numcols = im.get_size() im.reset_matrix() im.set_interpolation(0) im.resize(numcols, numrows) im.flipud_out() rows, cols, buffer = im.as_rgba_str() _png.write_png(buffer, cols, rows, fname) def set_data(self, A): """ Set the image array ACCEPTS: numpy/PIL Image A """ # check if data is PIL Image without importing Image if hasattr(A, 'getpixel'): self._A = pil_to_array(A) else: self._A = cbook.safe_masked_invalid(A) if (self._A.dtype != np.uint8 and not np.can_cast(self._A.dtype, np.float)): raise TypeError("Image data can not convert to float") if (self._A.ndim not in (2, 3) or (self._A.ndim == 3 and self._A.shape[-1] not in (3, 4))): raise TypeError("Invalid dimensions for image data") self._imcache = None self._rgbacache = None self._oldxslice = None self._oldyslice = None def set_array(self, A): """ Retained for backwards compatibility - use set_data instead ACCEPTS: numpy array A or PIL Image""" # This also needs to be here to override the inherited # cm.ScalarMappable.set_array method so it is not invoked # by mistake. self.set_data(A) def get_interpolation(self): """ Return the interpolation method the image uses when resizing. One of 'nearest', 'bilinear', 'bicubic', 'spline16', 'spline36', 'hanning', 'hamming', 'hermite', 'kaiser', 'quadric', 'catrom', 'gaussian', 'bessel', 'mitchell', 'sinc', 'lanczos', or 'none'. """ return self._interpolation def set_interpolation(self, s): """ Set the interpolation method the image uses when resizing. if None, use a value from rc setting. If 'none', the image is shown as is without interpolating. 'none' is only supported in agg, ps and pdf backends and will fall back to 'nearest' mode for other backends. ACCEPTS: ['nearest' | 'bilinear' | 'bicubic' | 'spline16' | 'spline36' | 'hanning' | 'hamming' | 'hermite' | 'kaiser' | 'quadric' | 'catrom' | 'gaussian' | 'bessel' | 'mitchell' | 'sinc' | 'lanczos' | 'none' |] """ if s is None: s = rcParams['image.interpolation'] s = s.lower() if s not in self._interpd: raise ValueError('Illegal interpolation string') self._interpolation = s def set_resample(self, v): """ Set whether or not image resampling is used ACCEPTS: True|False """ if v is None: v = rcParams['image.resample'] self._resample = v def get_resample(self): """Return the image resample boolean""" return self._resample def set_filternorm(self, filternorm): """ Set whether the resize filter norms the weights -- see help for imshow ACCEPTS: 0 or 1 """ if filternorm: self._filternorm = 1 else: self._filternorm = 0 def get_filternorm(self): """Return the filternorm setting""" return self._filternorm def set_filterrad(self, filterrad): """ Set the resize filter radius only applicable to some interpolation schemes -- see help for imshow ACCEPTS: positive float """ r = float(filterrad) assert(r > 0) self._filterrad = r def get_filterrad(self): """return the filterrad setting""" return self._filterrad class AxesImage(_AxesImageBase): def __str__(self): return "AxesImage(%g,%g;%gx%g)" % tuple(self.axes.bbox.bounds) def __init__(self, ax, cmap=None, norm=None, interpolation=None, origin=None, extent=None, filternorm=1, filterrad=4.0, resample=False, **kwargs ): """ interpolation and cmap default to their rc settings cmap is a colors.Colormap instance norm is a colors.Normalize instance to map luminance to 0-1 extent is data axes (left, right, bottom, top) for making image plots registered with data plots. Default is to label the pixel centers with the zero-based row and column indices. Additional kwargs are matplotlib.artist properties """ self._extent = extent _AxesImageBase.__init__(self, ax, cmap=cmap, norm=norm, interpolation=interpolation, origin=origin, filternorm=filternorm, filterrad=filterrad, resample=resample, **kwargs ) def make_image(self, magnification=1.0): if self._A is None: raise RuntimeError('You must first set the image' ' array or the image attribute') # image is created in the canvas coordinate. x1, x2, y1, y2 = self.get_extent() trans = self.get_transform() xy = trans.transform(np.array([(x1, y1), (x2, y2), ])) _x1, _y1 = xy[0] _x2, _y2 = xy[1] transformed_viewLim = mtransforms.TransformedBbox(self.axes.viewLim, trans) im, xmin, ymin, dxintv, dyintv, sx, sy = \ self._get_unsampled_image(self._A, [_x1, _x2, _y1, _y2], transformed_viewLim) fc = self.axes.patch.get_facecolor() bg = mcolors.colorConverter.to_rgba(fc, 0) im.set_bg(*bg) # image input dimensions im.reset_matrix() numrows, numcols = im.get_size() if numrows < 1 or numcols < 1: # out of range return None im.set_interpolation(self._interpd[self._interpolation]) im.set_resample(self._resample) # the viewport translation if dxintv == 0.0: tx = 0.0 else: tx = (xmin-transformed_viewLim.x0)/dxintv * numcols if dyintv == 0.0: ty = 0.0 else: ty = (ymin-transformed_viewLim.y0)/dyintv * numrows im.apply_translation(tx, ty) l, b, r, t = self.axes.bbox.extents widthDisplay = ((round(r*magnification) + 0.5) - (round(l*magnification) - 0.5)) heightDisplay = ((round(t*magnification) + 0.5) - (round(b*magnification) - 0.5)) # resize viewport to display rx = widthDisplay / numcols ry = heightDisplay / numrows im.apply_scaling(rx*sx, ry*sy) im.resize(int(widthDisplay+0.5), int(heightDisplay+0.5), norm=self._filternorm, radius=self._filterrad) return im def _check_unsampled_image(self, renderer): """ return True if the image is better to be drawn unsampled. """ if self.get_interpolation() == "none": if renderer.option_scale_image(): return True else: warnings.warn("The backend (%s) does not support " "interpolation='none'. The image will be " "interpolated with 'nearest` " "mode." % renderer.__class__) return False def set_extent(self, extent): """ extent is data axes (left, right, bottom, top) for making image plots This updates ax.dataLim, and, if autoscaling, sets viewLim to tightly fit the image, regardless of dataLim. Autoscaling state is not changed, so following this with ax.autoscale_view will redo the autoscaling in accord with dataLim. """ self._extent = extent xmin, xmax, ymin, ymax = extent corners = (xmin, ymin), (xmax, ymax) self.axes.update_datalim(corners) if self.axes._autoscaleXon: self.axes.set_xlim((xmin, xmax), auto=None) if self.axes._autoscaleYon: self.axes.set_ylim((ymin, ymax), auto=None) def get_extent(self): """Get the image extent: left, right, bottom, top""" if self._extent is not None: return self._extent else: sz = self.get_size() #print 'sz', sz numrows, numcols = sz if self.origin == 'upper': return (-0.5, numcols-0.5, numrows-0.5, -0.5) else: return (-0.5, numcols-0.5, -0.5, numrows-0.5) class NonUniformImage(AxesImage): def __init__(self, ax, **kwargs): """ kwargs are identical to those for AxesImage, except that 'interpolation' defaults to 'nearest', and 'bilinear' is the only alternative. """ interp = kwargs.pop('interpolation', 'nearest') AxesImage.__init__(self, ax, **kwargs) self.set_interpolation(interp) def _check_unsampled_image(self, renderer): """ return False. Do not use unsampled image. """ return False def make_image(self, magnification=1.0): if self._A is None: raise RuntimeError('You must first set the image array') A = self._A if len(A.shape) == 2: if A.dtype != np.uint8: A = self.to_rgba(A, bytes=True) self.is_grayscale = self.cmap.is_gray() else: A = np.repeat(A[:, :, np.newaxis], 4, 2) A[:, :, 3] = 255 self.is_grayscale = True else: if A.dtype != np.uint8: A = (255*A).astype(np.uint8) if A.shape[2] == 3: B = np.zeros(tuple(list(A.shape[0:2]) + [4]), np.uint8) B[:, :, 0:3] = A B[:, :, 3] = 255 A = B self.is_grayscale = False x0, y0, v_width, v_height = self.axes.viewLim.bounds l, b, r, t = self.axes.bbox.extents width = (round(r) + 0.5) - (round(l) - 0.5) height = (round(t) + 0.5) - (round(b) - 0.5) width *= magnification height *= magnification im = _image.pcolor(self._Ax, self._Ay, A, height, width, (x0, x0+v_width, y0, y0+v_height), self._interpd[self._interpolation]) fc = self.axes.patch.get_facecolor() bg = mcolors.colorConverter.to_rgba(fc, 0) im.set_bg(*bg) im.is_grayscale = self.is_grayscale return im def set_data(self, x, y, A): """ Set the grid for the pixel centers, and the pixel values. *x* and *y* are 1-D ndarrays of lengths N and M, respectively, specifying pixel centers *A* is an (M,N) ndarray or masked array of values to be colormapped, or a (M,N,3) RGB array, or a (M,N,4) RGBA array. """ x = np.asarray(x, np.float32) y = np.asarray(y, np.float32) A = cbook.safe_masked_invalid(A) if len(x.shape) != 1 or len(y.shape) != 1\ or A.shape[0:2] != (y.shape[0], x.shape[0]): raise TypeError("Axes don't match array shape") if len(A.shape) not in [2, 3]: raise TypeError("Can only plot 2D or 3D data") if len(A.shape) == 3 and A.shape[2] not in [1, 3, 4]: raise TypeError("3D arrays must have three (RGB) " "or four (RGBA) color components") if len(A.shape) == 3 and A.shape[2] == 1: A.shape = A.shape[0:2] self._A = A self._Ax = x self._Ay = y self._imcache = None # I am adding this in accor with _AxesImageBase.set_data -- # examples/pylab_examples/image_nonuniform.py was breaking on # the call to _get_unsampled_image when the oldxslice attr was # accessed - JDH 3/3/2010 self._oldxslice = None self._oldyslice = None def set_array(self, *args): raise NotImplementedError('Method not supported') def set_interpolation(self, s): if s is not None and not s in ('nearest', 'bilinear'): raise NotImplementedError('Only nearest neighbor and ' 'bilinear interpolations are supported') AxesImage.set_interpolation(self, s) def get_extent(self): if self._A is None: raise RuntimeError('Must set data first') return self._Ax[0], self._Ax[-1], self._Ay[0], self._Ay[-1] def set_filternorm(self, s): pass def set_filterrad(self, s): pass def set_norm(self, norm): if self._A is not None: raise RuntimeError('Cannot change colors after loading data') cm.ScalarMappable.set_norm(self, norm) def set_cmap(self, cmap): if self._A is not None: raise RuntimeError('Cannot change colors after loading data') cm.ScalarMappable.set_cmap(self, cmap) class PcolorImage(martist.Artist, cm.ScalarMappable): """ Make a pcolor-style plot with an irregular rectangular grid. This uses a variation of the original irregular image code, and it is used by pcolorfast for the corresponding grid type. """ def __init__(self, ax, x=None, y=None, A=None, cmap=None, norm=None, **kwargs ): """ cmap defaults to its rc setting cmap is a colors.Colormap instance norm is a colors.Normalize instance to map luminance to 0-1 Additional kwargs are matplotlib.artist properties """ martist.Artist.__init__(self) cm.ScalarMappable.__init__(self, norm, cmap) self.axes = ax self._rgbacache = None # There is little point in caching the image itself because # it needs to be remade if the bbox or viewlim change, # so caching does help with zoom/pan/resize. self.update(kwargs) self.set_data(x, y, A) def make_image(self, magnification=1.0): if self._A is None: raise RuntimeError('You must first set the image array') fc = self.axes.patch.get_facecolor() bg = mcolors.colorConverter.to_rgba(fc, 0) bg = (np.array(bg)*255).astype(np.uint8) l, b, r, t = self.axes.bbox.extents width = (round(r) + 0.5) - (round(l) - 0.5) height = (round(t) + 0.5) - (round(b) - 0.5) width = width * magnification height = height * magnification if self._rgbacache is None: A = self.to_rgba(self._A, bytes=True) self._rgbacache = A if self._A.ndim == 2: self.is_grayscale = self.cmap.is_gray() else: A = self._rgbacache vl = self.axes.viewLim im = _image.pcolor2(self._Ax, self._Ay, A, height, width, (vl.x0, vl.x1, vl.y0, vl.y1), bg) im.is_grayscale = self.is_grayscale return im def changed(self): self._rgbacache = None cm.ScalarMappable.changed(self) @allow_rasterization def draw(self, renderer, *args, **kwargs): if not self.get_visible(): return im = self.make_image(renderer.get_image_magnification()) gc = renderer.new_gc() gc.set_clip_rectangle(self.axes.bbox.frozen()) gc.set_clip_path(self.get_clip_path()) gc.set_alpha(self.get_alpha()) renderer.draw_image(gc, round(self.axes.bbox.xmin), round(self.axes.bbox.ymin), im) gc.restore() def set_data(self, x, y, A): A = cbook.safe_masked_invalid(A) if x is None: x = np.arange(0, A.shape[1]+1, dtype=np.float64) else: x = np.asarray(x, np.float64).ravel() if y is None: y = np.arange(0, A.shape[0]+1, dtype=np.float64) else: y = np.asarray(y, np.float64).ravel() if A.shape[:2] != (y.size-1, x.size-1): print(A.shape) print(y.size) print(x.size) raise ValueError("Axes don't match array shape") if A.ndim not in [2, 3]: raise ValueError("A must be 2D or 3D") if A.ndim == 3 and A.shape[2] == 1: A.shape = A.shape[:2] self.is_grayscale = False if A.ndim == 3: if A.shape[2] in [3, 4]: if ((A[:, :, 0] == A[:, :, 1]).all() and (A[:, :, 0] == A[:, :, 2]).all()): self.is_grayscale = True else: raise ValueError("3D arrays must have RGB or RGBA as last dim") self._A = A self._Ax = x self._Ay = y self._rgbacache = None def set_array(self, *args): raise NotImplementedError('Method not supported') def set_alpha(self, alpha): """ Set the alpha value used for blending - not supported on all backends ACCEPTS: float """ martist.Artist.set_alpha(self, alpha) self.update_dict['array'] = True class FigureImage(martist.Artist, cm.ScalarMappable): zorder = 0 def __init__(self, fig, cmap=None, norm=None, offsetx=0, offsety=0, origin=None, **kwargs ): """ cmap is a colors.Colormap instance norm is a colors.Normalize instance to map luminance to 0-1 kwargs are an optional list of Artist keyword args """ martist.Artist.__init__(self) cm.ScalarMappable.__init__(self, norm, cmap) if origin is None: origin = rcParams['image.origin'] self.origin = origin self.figure = fig self.ox = offsetx self.oy = offsety self.update(kwargs) self.magnification = 1.0 def contains(self, mouseevent): """Test whether the mouse event occured within the image.""" if callable(self._contains): return self._contains(self, mouseevent) xmin, xmax, ymin, ymax = self.get_extent() xdata, ydata = mouseevent.x, mouseevent.y #print xdata, ydata, xmin, xmax, ymin, ymax if xdata is not None and ydata is not None: inside = ((xdata >= xmin) and (xdata <= xmax) and (ydata >= ymin) and (ydata <= ymax)) else: inside = False return inside, {} def get_size(self): """Get the numrows, numcols of the input image""" if self._A is None: raise RuntimeError('You must first set the image array') return self._A.shape[:2] def get_extent(self): """Get the image extent: left, right, bottom, top""" numrows, numcols = self.get_size() return (-0.5+self.ox, numcols-0.5+self.ox, -0.5+self.oy, numrows-0.5+self.oy) def set_data(self, A): """Set the image array.""" cm.ScalarMappable.set_array(self, cbook.safe_masked_invalid(A)) def set_array(self, A): """Deprecated; use set_data for consistency with other image types.""" self.set_data(A) def make_image(self, magnification=1.0): if self._A is None: raise RuntimeError('You must first set the image array') x = self.to_rgba(self._A, bytes=True) self.magnification = magnification # if magnification is not one, we need to resize ismag = magnification != 1 #if ismag: raise RuntimeError if ismag: isoutput = 0 else: isoutput = 1 im = _image.frombyte(x, isoutput) fc = self.figure.get_facecolor() im.set_bg(*mcolors.colorConverter.to_rgba(fc, 0)) im.is_grayscale = (self.cmap.name == "gray" and len(self._A.shape) == 2) if ismag: numrows, numcols = self.get_size() numrows *= magnification numcols *= magnification im.set_interpolation(_image.NEAREST) im.resize(numcols, numrows) if self.origin == 'upper': im.flipud_out() return im @allow_rasterization def draw(self, renderer, *args, **kwargs): if not self.get_visible(): return # todo: we should be able to do some cacheing here im = self.make_image(renderer.get_image_magnification()) gc = renderer.new_gc() gc.set_clip_rectangle(self.figure.bbox) gc.set_clip_path(self.get_clip_path()) gc.set_alpha(self.get_alpha()) renderer.draw_image(gc, round(self.ox), round(self.oy), im) gc.restore() def write_png(self, fname): """Write the image to png file with fname""" im = self.make_image() rows, cols, buffer = im.as_rgba_str() _png.write_png(buffer, cols, rows, fname) class BboxImage(_AxesImageBase): """The Image class whose size is determined by the given bbox.""" def __init__(self, bbox, cmap=None, norm=None, interpolation=None, origin=None, filternorm=1, filterrad=4.0, resample=False, interp_at_native=True, **kwargs ): """ cmap is a colors.Colormap instance norm is a colors.Normalize instance to map luminance to 0-1 interp_at_native is a flag that determines whether or not interpolation should still be applied when the image is displayed at its native resolution. A common use case for this is when displaying an image for annotational purposes; it is treated similarly to Photoshop (interpolation is only used when displaying the image at non-native resolutions). kwargs are an optional list of Artist keyword args """ _AxesImageBase.__init__(self, ax=None, cmap=cmap, norm=norm, interpolation=interpolation, origin=origin, filternorm=filternorm, filterrad=filterrad, resample=resample, **kwargs ) self.bbox = bbox self.interp_at_native = interp_at_native def get_window_extent(self, renderer=None): if renderer is None: renderer = self.get_figure()._cachedRenderer if isinstance(self.bbox, BboxBase): return self.bbox elif callable(self.bbox): return self.bbox(renderer) else: raise ValueError("unknown type of bbox") def contains(self, mouseevent): """Test whether the mouse event occured within the image.""" if callable(self._contains): return self._contains(self, mouseevent) if not self.get_visible(): # or self.get_figure()._renderer is None: return False, {} x, y = mouseevent.x, mouseevent.y inside = self.get_window_extent().contains(x, y) return inside, {} def get_size(self): """Get the numrows, numcols of the input image""" if self._A is None: raise RuntimeError('You must first set the image array') return self._A.shape[:2] def make_image(self, renderer, magnification=1.0): if self._A is None: raise RuntimeError('You must first set the image ' 'array or the image attribute') if self._imcache is None: if self._A.dtype == np.uint8 and len(self._A.shape) == 3: im = _image.frombyte(self._A, 0) im.is_grayscale = False else: if self._rgbacache is None: x = self.to_rgba(self._A, bytes=True) self._rgbacache = x else: x = self._rgbacache im = _image.frombyte(x, 0) if len(self._A.shape) == 2: im.is_grayscale = self.cmap.is_gray() else: im.is_grayscale = False self._imcache = im if self.origin == 'upper': im.flipud_in() else: im = self._imcache # image input dimensions im.reset_matrix() im.set_interpolation(self._interpd[self._interpolation]) im.set_resample(self._resample) l, b, r, t = self.get_window_extent(renderer).extents # bbox.extents widthDisplay = round(r) - round(l) heightDisplay = round(t) - round(b) widthDisplay *= magnification heightDisplay *= magnification numrows, numcols = self._A.shape[:2] if (not self.interp_at_native and widthDisplay == numcols and heightDisplay == numrows): im.set_interpolation(0) # resize viewport to display rx = widthDisplay / numcols ry = heightDisplay / numrows #im.apply_scaling(rx*sx, ry*sy) im.apply_scaling(rx, ry) #im.resize(int(widthDisplay+0.5), int(heightDisplay+0.5), # norm=self._filternorm, radius=self._filterrad) im.resize(int(widthDisplay), int(heightDisplay), norm=self._filternorm, radius=self._filterrad) return im @allow_rasterization def draw(self, renderer, *args, **kwargs): if not self.get_visible(): return # todo: we should be able to do some cacheing here image_mag = renderer.get_image_magnification() im = self.make_image(renderer, image_mag) l, b, r, t = self.get_window_extent(renderer).extents gc = renderer.new_gc() self._set_gc_clip(gc) gc.set_alpha(self.get_alpha()) #gc.set_clip_path(self.get_clip_path()) renderer.draw_image(gc, round(l), round(b), im) gc.restore() def imread(fname, format=None): """ Read an image from a file into an array. *fname* may be a string path or a Python file-like object. If using a file object, it must be opened in binary mode. If *format* is provided, will try to read file of that type, otherwise the format is deduced from the filename. If nothing can be deduced, PNG is tried. Return value is a :class:`numpy.array`. For grayscale images, the return array is MxN. For RGB images, the return value is MxNx3. For RGBA images the return value is MxNx4. matplotlib can only read PNGs natively, but if `PIL <http://www.pythonware.com/products/pil/>`_ is installed, it will use it to load the image and return an array (if possible) which can be used with :func:`~matplotlib.pyplot.imshow`. """ def pilread(fname): """try to load the image with PIL or return None""" try: from PIL import Image except ImportError: return None if cbook.is_string_like(fname): # force close the file after reading the image with open(fname, "rb") as fh: image = Image.open(fh) return pil_to_array(image) else: image = Image.open(fname) return pil_to_array(image) handlers = {'png': _png.read_png, } if format is None: if cbook.is_string_like(fname): basename, ext = os.path.splitext(fname) ext = ext.lower()[1:] elif hasattr(fname, 'name'): basename, ext = os.path.splitext(fname.name) ext = ext.lower()[1:] else: ext = 'png' else: ext = format if ext not in handlers.iterkeys(): im = pilread(fname) if im is None: raise ValueError('Only know how to handle extensions: %s; ' 'with PIL installed matplotlib can handle ' 'more images' % handlers.keys()) return im handler = handlers[ext] # To handle Unicode filenames, we pass a file object to the PNG # reader extension, since Python handles them quite well, but it's # tricky in C. if cbook.is_string_like(fname): with open(fname, 'rb') as fd: return handler(fd) else: return handler(fname) def imsave(fname, arr, vmin=None, vmax=None, cmap=None, format=None, origin=None, dpi=100): """ Save an array as in image file. The output formats available depend on the backend being used. Arguments: *fname*: A string containing a path to a filename, or a Python file-like object. If *format* is *None* and *fname* is a string, the output format is deduced from the extension of the filename. *arr*: An MxN (luminance), MxNx3 (RGB) or MxNx4 (RGBA) array. Keyword arguments: *vmin*/*vmax*: [ None | scalar ] *vmin* and *vmax* set the color scaling for the image by fixing the values that map to the colormap color limits. If either *vmin* or *vmax* is None, that limit is determined from the *arr* min/max value. *cmap*: cmap is a colors.Colormap instance, eg cm.jet. If None, default to the rc image.cmap value. *format*: One of the file extensions supported by the active backend. Most backends support png, pdf, ps, eps and svg. *origin* [ 'upper' | 'lower' ] Indicates where the [0,0] index of the array is in the upper left or lower left corner of the axes. Defaults to the rc image.origin value. *dpi* The DPI to store in the metadata of the file. This does not affect the resolution of the output image. """ from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas from matplotlib.figure import Figure figsize = [x / float(dpi) for x in (arr.shape[1], arr.shape[0])] fig = Figure(figsize=figsize, dpi=dpi, frameon=False) canvas = FigureCanvas(fig) im = fig.figimage(arr, cmap=cmap, vmin=vmin, vmax=vmax, origin=origin) fig.savefig(fname, dpi=dpi, format=format, transparent=True) def pil_to_array(pilImage): """ Load a PIL image and return it as a numpy array. For grayscale images, the return array is MxN. For RGB images, the return value is MxNx3. For RGBA images the return value is MxNx4 """ def toarray(im, dtype=np.uint8): """Teturn a 1D array of dtype.""" x_str = im.tostring('raw', im.mode) x = np.fromstring(x_str, dtype) return x if pilImage.mode in ('RGBA', 'RGBX'): im = pilImage # no need to convert images elif pilImage.mode == 'L': im = pilImage # no need to luminance images # return MxN luminance array x = toarray(im) x.shape = im.size[1], im.size[0] return x elif pilImage.mode == 'RGB': #return MxNx3 RGB array im = pilImage # no need to RGB images x = toarray(im) x.shape = im.size[1], im.size[0], 3 return x elif pilImage.mode.startswith('I;16'): # return MxN luminance array of uint16 im = pilImage if im.mode.endswith('B'): x = toarray(im, '>u2') else: x = toarray(im, '<u2') x.shape = im.size[1], im.size[0] return x.astype('=u2') else: # try to convert to an rgba image try: im = pilImage.convert('RGBA') except ValueError: raise RuntimeError('Unknown image mode') # return MxNx4 RGBA array x = toarray(im) x.shape = im.size[1], im.size[0], 4 return x def thumbnail(infile, thumbfile, scale=0.1, interpolation='bilinear', preview=False): """ make a thumbnail of image in *infile* with output filename *thumbfile*. *infile* the image file -- must be PNG or PIL readable if you have `PIL <http://www.pythonware.com/products/pil/>`_ installed *thumbfile* the thumbnail filename *scale* the scale factor for the thumbnail *interpolation* the interpolation scheme used in the resampling *preview* if True, the default backend (presumably a user interface backend) will be used which will cause a figure to be raised if :func:`~matplotlib.pyplot.show` is called. If it is False, a pure image backend will be used depending on the extension, 'png'->FigureCanvasAgg, 'pdf'->FigureCanvasPdf, 'svg'->FigureCanvasSVG See examples/misc/image_thumbnail.py. .. htmlonly:: :ref:`misc-image_thumbnail` Return value is the figure instance containing the thumbnail """ basedir, basename = os.path.split(infile) baseout, extout = os.path.splitext(thumbfile) im = imread(infile) rows, cols, depth = im.shape # this doesn't really matter, it will cancel in the end, but we # need it for the mpl API dpi = 100 height = float(rows)/dpi*scale width = float(cols)/dpi*scale extension = extout.lower() if preview: # let the UI backend do everything import matplotlib.pyplot as plt fig = plt.figure(figsize=(width, height), dpi=dpi) else: if extension == '.png': from matplotlib.backends.backend_agg \ import FigureCanvasAgg as FigureCanvas elif extension == '.pdf': from matplotlib.backends.backend_pdf \ import FigureCanvasPdf as FigureCanvas elif extension == '.svg': from matplotlib.backends.backend_svg \ import FigureCanvasSVG as FigureCanvas else: raise ValueError("Can only handle " "extensions 'png', 'svg' or 'pdf'") from matplotlib.figure import Figure fig = Figure(figsize=(width, height), dpi=dpi) canvas = FigureCanvas(fig) ax = fig.add_axes([0, 0, 1, 1], aspect='auto', frameon=False, xticks=[], yticks=[]) basename, ext = os.path.splitext(basename) ax.imshow(im, aspect='auto', resample=True, interpolation='bilinear') fig.savefig(thumbfile, dpi=dpi) return fig
unlicense
ves-code/plumed2-ves
user-doc/tutorials/others/ves-lugano2017-kinetics/TRAJECTORIES-1700K/cdf-analysis.py
6
1134
#!/usr/bin/env python import numpy as np from scipy.stats import ks_2samp from scipy.optimize import curve_fit from statsmodels.distributions.empirical_distribution import ECDF import matplotlib.pyplot as plt f=open('fpt.dat','r') # define theoretical CDF def func(x,tau): return 1-np.exp(-x/tau) x = [] count=0 for line in f: line=line.strip() columns=line.split() x.append(float(columns[0])) count=count+1 x = np.array(x) # for numerical stability we divide by the mean mu=x.mean() x=x/mu # now compute emirical CDF ecdf = ECDF(x) # plot ECDF x1 = np.linspace(min(x), max(x)) y1 = ecdf(x1) plt.step(x1*mu, y1,'k-',lw=3.) # fit to theoretical CDF to obtain tau popt,pcov = curve_fit(func,x1,y1) tau=popt[0] print 'mean of data',mu print 'best fit tau',tau*mu yfit=func(x1,tau) # plot fit plt.plot(x1*mu,yfit,'b-',lw=3.) # for p-value # now generate some random data with the same exponential distribution np.random.seed(12345678); x2 = np.random.exponential(1/tau,1000) st,p = ks_2samp(x2,x) print 'p-value',p plt.xscale('log') plt.xlabel('time [s]') plt.ylabel('Cumulative Probability') plt.show()
lgpl-3.0
mehdidc/scikit-learn
examples/cluster/plot_cluster_comparison.py
12
4718
""" ========================================================= Comparing different clustering algorithms on toy datasets ========================================================= This example aims at showing characteristics of different clustering algorithms on datasets that are "interesting" but still in 2D. The last dataset is an example of a 'null' situation for clustering: the data is homogeneous, and there is no good clustering. While these examples give some intuition about the algorithms, this intuition might not apply to very high dimensional data. The results could be improved by tweaking the parameters for each clustering strategy, for instance setting the number of clusters for the methods that needs this parameter specified. Note that affinity propagation has a tendency to create many clusters. Thus in this example its two parameters (damping and per-point preference) were set to to mitigate this behavior. """ print(__doc__) import time import numpy as np import matplotlib.pyplot as plt from sklearn import cluster, datasets from sklearn.neighbors import kneighbors_graph from sklearn.preprocessing import StandardScaler np.random.seed(0) # Generate datasets. We choose the size big enough to see the scalability # of the algorithms, but not too big to avoid too long running times n_samples = 1500 noisy_circles = datasets.make_circles(n_samples=n_samples, factor=.5, noise=.05) noisy_moons = datasets.make_moons(n_samples=n_samples, noise=.05) blobs = datasets.make_blobs(n_samples=n_samples, random_state=8) no_structure = np.random.rand(n_samples, 2), None colors = np.array([x for x in 'bgrcmykbgrcmykbgrcmykbgrcmyk']) colors = np.hstack([colors] * 20) clustering_names = [ 'MiniBatchKMeans', 'AffinityPropagation', 'MeanShift', 'SpectralClustering', 'Ward', 'AgglomerativeClustering', 'DBSCAN', 'Birch' ] plt.figure(figsize=(len(clustering_names) * 2 + 3, 9.5)) plt.subplots_adjust(left=.02, right=.98, bottom=.001, top=.96, wspace=.05, hspace=.01) plot_num = 1 datasets = [noisy_circles, noisy_moons, blobs, no_structure] for i_dataset, dataset in enumerate(datasets): X, y = dataset # normalize dataset for easier parameter selection X = StandardScaler().fit_transform(X) # estimate bandwidth for mean shift bandwidth = cluster.estimate_bandwidth(X, quantile=0.3) # connectivity matrix for structured Ward connectivity = kneighbors_graph(X, n_neighbors=10) # make connectivity symmetric connectivity = 0.5 * (connectivity + connectivity.T) # create clustering estimators ms = cluster.MeanShift(bandwidth=bandwidth, bin_seeding=True) two_means = cluster.MiniBatchKMeans(n_clusters=2) ward = cluster.AgglomerativeClustering(n_clusters=2, linkage='ward', connectivity=connectivity) spectral = cluster.SpectralClustering(n_clusters=2, eigen_solver='arpack', affinity="nearest_neighbors") dbscan = cluster.DBSCAN(eps=.2) affinity_propagation = cluster.AffinityPropagation(damping=.9, preference=-200) average_linkage = cluster.AgglomerativeClustering(linkage="average", affinity="cityblock", n_clusters=2, connectivity=connectivity) birch = cluster.Birch(n_clusters=2) clustering_algorithms = [ two_means, affinity_propagation, ms, spectral, ward, average_linkage, dbscan, birch ] for name, algorithm in zip(clustering_names, clustering_algorithms): # predict cluster memberships t0 = time.time() algorithm.fit(X) t1 = time.time() if hasattr(algorithm, 'labels_'): y_pred = algorithm.labels_.astype(np.int) else: y_pred = algorithm.predict(X) # plot plt.subplot(4, len(clustering_algorithms), plot_num) if i_dataset == 0: plt.title(name, size=18) plt.scatter(X[:, 0], X[:, 1], color=colors[y_pred].tolist(), s=10) if hasattr(algorithm, 'cluster_centers_'): centers = algorithm.cluster_centers_ center_colors = colors[:len(centers)] plt.scatter(centers[:, 0], centers[:, 1], s=100, c=center_colors) plt.xlim(-2, 2) plt.ylim(-2, 2) plt.xticks(()) plt.yticks(()) plt.text(.99, .01, ('%.2fs' % (t1 - t0)).lstrip('0'), transform=plt.gca().transAxes, size=15, horizontalalignment='right') plot_num += 1 plt.show()
bsd-3-clause
Jimmy-Morzaria/scikit-learn
examples/applications/plot_model_complexity_influence.py
323
6372
""" ========================== Model Complexity Influence ========================== Demonstrate how model complexity influences both prediction accuracy and computational performance. The dataset is the Boston Housing dataset (resp. 20 Newsgroups) for regression (resp. classification). For each class of models we make the model complexity vary through the choice of relevant model parameters and measure the influence on both computational performance (latency) and predictive power (MSE or Hamming Loss). """ print(__doc__) # Author: Eustache Diemert <eustache@diemert.fr> # License: BSD 3 clause import time import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.axes_grid1.parasite_axes import host_subplot from mpl_toolkits.axisartist.axislines import Axes from scipy.sparse.csr import csr_matrix from sklearn import datasets from sklearn.utils import shuffle from sklearn.metrics import mean_squared_error from sklearn.svm.classes import NuSVR from sklearn.ensemble.gradient_boosting import GradientBoostingRegressor from sklearn.linear_model.stochastic_gradient import SGDClassifier from sklearn.metrics import hamming_loss ############################################################################### # Routines # initialize random generator np.random.seed(0) def generate_data(case, sparse=False): """Generate regression/classification data.""" bunch = None if case == 'regression': bunch = datasets.load_boston() elif case == 'classification': bunch = datasets.fetch_20newsgroups_vectorized(subset='all') X, y = shuffle(bunch.data, bunch.target) offset = int(X.shape[0] * 0.8) X_train, y_train = X[:offset], y[:offset] X_test, y_test = X[offset:], y[offset:] if sparse: X_train = csr_matrix(X_train) X_test = csr_matrix(X_test) else: X_train = np.array(X_train) X_test = np.array(X_test) y_test = np.array(y_test) y_train = np.array(y_train) data = {'X_train': X_train, 'X_test': X_test, 'y_train': y_train, 'y_test': y_test} return data def benchmark_influence(conf): """ Benchmark influence of :changing_param: on both MSE and latency. """ prediction_times = [] prediction_powers = [] complexities = [] for param_value in conf['changing_param_values']: conf['tuned_params'][conf['changing_param']] = param_value estimator = conf['estimator'](**conf['tuned_params']) print("Benchmarking %s" % estimator) estimator.fit(conf['data']['X_train'], conf['data']['y_train']) conf['postfit_hook'](estimator) complexity = conf['complexity_computer'](estimator) complexities.append(complexity) start_time = time.time() for _ in range(conf['n_samples']): y_pred = estimator.predict(conf['data']['X_test']) elapsed_time = (time.time() - start_time) / float(conf['n_samples']) prediction_times.append(elapsed_time) pred_score = conf['prediction_performance_computer']( conf['data']['y_test'], y_pred) prediction_powers.append(pred_score) print("Complexity: %d | %s: %.4f | Pred. Time: %fs\n" % ( complexity, conf['prediction_performance_label'], pred_score, elapsed_time)) return prediction_powers, prediction_times, complexities def plot_influence(conf, mse_values, prediction_times, complexities): """ Plot influence of model complexity on both accuracy and latency. """ plt.figure(figsize=(12, 6)) host = host_subplot(111, axes_class=Axes) plt.subplots_adjust(right=0.75) par1 = host.twinx() host.set_xlabel('Model Complexity (%s)' % conf['complexity_label']) y1_label = conf['prediction_performance_label'] y2_label = "Time (s)" host.set_ylabel(y1_label) par1.set_ylabel(y2_label) p1, = host.plot(complexities, mse_values, 'b-', label="prediction error") p2, = par1.plot(complexities, prediction_times, 'r-', label="latency") host.legend(loc='upper right') host.axis["left"].label.set_color(p1.get_color()) par1.axis["right"].label.set_color(p2.get_color()) plt.title('Influence of Model Complexity - %s' % conf['estimator'].__name__) plt.show() def _count_nonzero_coefficients(estimator): a = estimator.coef_.toarray() return np.count_nonzero(a) ############################################################################### # main code regression_data = generate_data('regression') classification_data = generate_data('classification', sparse=True) configurations = [ {'estimator': SGDClassifier, 'tuned_params': {'penalty': 'elasticnet', 'alpha': 0.001, 'loss': 'modified_huber', 'fit_intercept': True}, 'changing_param': 'l1_ratio', 'changing_param_values': [0.25, 0.5, 0.75, 0.9], 'complexity_label': 'non_zero coefficients', 'complexity_computer': _count_nonzero_coefficients, 'prediction_performance_computer': hamming_loss, 'prediction_performance_label': 'Hamming Loss (Misclassification Ratio)', 'postfit_hook': lambda x: x.sparsify(), 'data': classification_data, 'n_samples': 30}, {'estimator': NuSVR, 'tuned_params': {'C': 1e3, 'gamma': 2 ** -15}, 'changing_param': 'nu', 'changing_param_values': [0.1, 0.25, 0.5, 0.75, 0.9], 'complexity_label': 'n_support_vectors', 'complexity_computer': lambda x: len(x.support_vectors_), 'data': regression_data, 'postfit_hook': lambda x: x, 'prediction_performance_computer': mean_squared_error, 'prediction_performance_label': 'MSE', 'n_samples': 30}, {'estimator': GradientBoostingRegressor, 'tuned_params': {'loss': 'ls'}, 'changing_param': 'n_estimators', 'changing_param_values': [10, 50, 100, 200, 500], 'complexity_label': 'n_trees', 'complexity_computer': lambda x: x.n_estimators, 'data': regression_data, 'postfit_hook': lambda x: x, 'prediction_performance_computer': mean_squared_error, 'prediction_performance_label': 'MSE', 'n_samples': 30}, ] for conf in configurations: prediction_performances, prediction_times, complexities = \ benchmark_influence(conf) plot_influence(conf, prediction_performances, prediction_times, complexities)
bsd-3-clause
FofanovLab/VaST
VaST/Pattern.py
1
13973
import copy import json import logging from functools import partial from itertools import combinations import numpy as np import pandas as pd from utils import cartesian_product, get_ambiguous_pattern class Patterns: def __init__(self): self._patterns = {} self._genomes = {} self._amp_2_pattern = {} self._logger = logging.getLogger(__name__) self._strains = [] self._resolution_levels = [] self._pattern_df = None self._required_patterns = [] def get_required_patterns(self): return self._required_patterns def get_pattern_dic(self, patterns): return { pattern: self._patterns[pattern] for pattern in patterns} def get_pattern_df(self, patterns): return self._pattern_df[patterns] def get_resolution_levels(self): return copy.deepcopy(self._resolution_levels) def to_json(self, file_name, strains): d = {"strains": strains, "genomes": {v['id']: v for v in self._genomes.values()}, "patterns": self._patterns} self._logger.info("Writing patterns to: {}".format(file_name)) with open(file_name, 'w') as out: out.write(json.dumps(d)) def load_patterns(self, file_name): self._logger.info("Reading data from JSON: %s", file_name) try: with open(file_name, 'rU') as json_file: pattern_data = json.load(json_file) except ValueError: self._logger.error("Could not parse JSON: %s", file_name) raise self._strains = pattern_data['strains'] self._genomes = pattern_data['genomes'] self._patterns = pattern_data['patterns'] self._get_pattern_dataframe() self._rekey_pattern_dict() self._get_amp_2_pattern() def add_required_sites(self, required_sites): self._logger.info( "Including the following sites in the solution: %s", ", ".join(required_sites)) for site in required_sites: try: pattern_id = self._amp_2_pattern[site]['pattern_id'] self._required_patterns.append(pattern_id) except KeyError: self._logger.warning("Required site not found: %s", site) self._required_patterns = list(set(self._required_patterns)) def remove_sites(self, exclude_sites): self._logger.info( "Dropping the following sites: %s", ", ".join(exclude_sites)) for site in exclude_sites: try: pattern_id = self._amp_2_pattern[site]['pattern_id'] if len(self._patterns[pattern_id]) > 1: # Only delete the amplicon if there are more # than one amplicon for the pattern del self._patterns[pattern_id][ self._amp_2_pattern[site]['site_id']] else: # if this is the only amplicon for the pattern # delete the pattern from dictionary and dataframe del self._patterns[pattern_id] try: self._pattern_df.drop(pattern_id, inplace=True) except ValueError: self._logger.info("Excluded site already removed: %s", site) del self._amp_2_pattern[site] except KeyError: self._logger.warning( "Excluded site not found: %s", site) def remove_strains(self, exclude_strains): """ Removes strains from dataframe and strain list """ self._logger.info("Removing strains") # check that all of excluded strains are in strains in_strains = np.intersect1d( self._strains, exclude_strains) if len(in_strains) != len(exclude_strains): self._logger.warning( "The following excluded strains were not " "found: %s", ", ".join( np.setdiff1d( exclude_strains, in_strains))) self._strains = np.setdiff1d(self._strains, exclude_strains) self._pattern_df = self._pattern_df[self._strains] self._logger.info( "%s strains are being used in analysis.", len(self._strains)) self._logger.info( "The following strains were removed:\n%s", "\n".join(in_strains)) def add_new_pattern(self, pattern, amplicon, genome_size): pattern_str = self._pattern_to_string(pattern) if amplicon.genome not in self._genomes: self._genomes[amplicon.genome] = { "id": len(self._genomes), "length": genome_size, "name": amplicon.genome} if pattern_str in self._patterns: self._patterns[pattern_str][amplicon.start] = {'s': amplicon.stop, 'g': self._genomes[amplicon.genome], 'sites': amplicon.site_ids} else: self._patterns[pattern_str] = {amplicon.start: {'s': amplicon.stop, 'g': self._genomes[amplicon.genome], 'sites': amplicon.site_ids}} def add_ambiguous_amplicon(self, features, amplicon, genome_size): features = [[tuple(r) for r in cartesian_product(row)] for row in features] feature_categories = set([a[0] for a in features if len(a) == 1]) feature_categories = [[a] for a in feature_categories] amb_pattern = partial( get_ambiguous_pattern, feature_categories=feature_categories) pattern = map(amb_pattern, features) self.add_new_pattern(pattern, amplicon, genome_size) def add_unambiguous_amplicon(self, features, amplicon, genome_size): # Requires numpy >= 1.13 _, pattern = np.unique(features, return_inverse=True, axis=0) pattern = [(p,) for p in list(pattern)] self.add_new_pattern(pattern, amplicon, genome_size) def set_resolution(self, alt_resolution_file, stop_at_res): self._logger.info("Setting Resolution") full_resolution = self._get_full_resolution() if alt_resolution_file is not None: try: alt_resolution = pd.read_csv( alt_resolution_file, index_col=0, header=None) except Exception: self._logger.error( "Unable to parse resolution file: %s", alt_resolution_file ) raise # Make sure group ids are uniform for column in alt_resolution: alt_resolution[column] = np.unique( alt_resolution[column], return_inverse=True)[1] # Join full resolution and resolution dataframe # using a right join. Any NaNs indicate an invalid input. resolution = alt_resolution.join( full_resolution, how="right") if resolution.isnull().values.any(): e_message = "Resolution file does not include all strains, "\ "NaNs produced." self._logger.error(e_message) raise ValueError(e_message) resolution = self._is_valid_resolution(resolution) # If stop at res, remove last column if stop_at_res: resolution = resolution.drop( 'Full_res', axis=1, errors="ignore" ) resolution.columns = [ "Level_{}".format(i + 1) for i in range( len(resolution.columns))] for col in resolution: self._resolution_levels.append( Resolution_Pattern( resolution[col], self._get_copy_of_patterns())) else: self._resolution_levels.append( Resolution_Pattern( full_resolution, self._get_copy_of_patterns() ) ) def _get_pattern_dataframe(self): ''' Converts pattern dictionary into dataframe ''' self._pattern_df = pd.DataFrame(index=self._strains) for i, pattern in enumerate(self._patterns.keys()): pattern = self._string_to_pattern(pattern) self._pattern_df[i] = pattern def _get_amp_2_pattern(self): ''' Reverse look up for amplicon to pattern ''' for pattern_id, amps in self._patterns.iteritems(): for site_id, amp in amps.iteritems(): for site in amp['sites']: self._amp_2_pattern[site] = { 'pattern_id': pattern_id, 'site_id': site_id} def _rekey_pattern_dict(self): rekey_dic = {} for i, amplicons in enumerate(self._patterns.values()): rekey_dic[i] = amplicons self._patterns = rekey_dic def _pattern_to_string(self, pattern): return ",".join( [" ".join( [str(p) for p in pp]) for pp in pattern]) def _string_to_pattern(self, pat_str): return [tuple( [int(pp) for pp in p.split(" ")]) for p in pat_str.split(",")] def _get_copy_of_patterns(self): return self._pattern_df.copy() def _get_full_resolution(self): ''' return full resolution dataframe ''' return pd.DataFrame( {"Full_res": range(len(self._strains))}, index=self._strains) def _is_valid_resolution(self, resolution): # drop resolution columns that are the same drop_columns = [] for c1, c2 in combinations(resolution.columns, 2): if same_group_pattern( resolution[c1], resolution[c2], resolution.index): drop_columns.append(c2) resolution = resolution.drop(drop_columns, axis=1) if drop_columns: self._logger.warning( "Dropping duplicate resolution column in resolution file: %s", ", ".join(drop_columns)) # Verify that columns are in increasing resolution order # the max group id should increase in each column if not resolution.max().equals(resolution.max().sort_values()): e_message = "Resolution is not increasing across columns, "\ "check resolution file" self._logger.error(e_message) raise ValueError(e_message) # Verify that the relationship is hierarchical meaning each # group is a subset of the same parent group for i, res_level in enumerate(resolution.columns[1:]): grouped = resolution.groupby([res_level]) for name, group in grouped: if len(group.ix[:, i].unique()) > 1: e_message = "Resolution is not hierarchical. "\ "Each group should be a subset of "\ "the same parent group. Issue in "\ "resolution level: %s", res_level self._logger.error(e_message) raise ValueError(e_message) return resolution class Resolution_Pattern: def __init__(self, resolution, pattern_df): self._resolution = pd.DataFrame(resolution) self._pattern_df = pattern_df self._ambiguous = False self._set_resolution_pattern() def get_resolution_pattern(self): return self._pattern_df.copy().T def get_group_number(self): return int(self._resolution.max() + 1) def is_ambiguous(self): return self._ambiguous def _set_resolution_pattern(self): new_df = [] temp_df = self._resolution.join( self._pattern_df) for name, group in temp_df.groupby( self._resolution.columns[0]): new_column = [] for column in group[group.columns[1:]]: combined_pattern = () for value in group[column]: combined_pattern += value new_value = tuple(set(combined_pattern)) # set ambiguous flag if multiple values in tuple if not self._ambiguous and len(new_value) > 1: self._ambiguous = True new_column.append(new_value) new_df.append(new_column) self._pattern_df = pd.DataFrame( new_df, columns=self._pattern_df.columns, dtype=int) def same_group_pattern(v1, v2, index): """Check if two arrays have the same pattern of similarity v1 and v2 and index are arrays of equal length. Each value in index is considered a label for the values in v1 and v2 in the corresponding position. Labels in index are grouped together if they share similar values in v1 and in v2. The sorted list of groups is compared to see if they are the equivalent. Arguments: v1 (array_like): First array (len(v1) = len(v2) = len(index)) v2 (array_like): Second array index (array_like): Array of labels Returns: bool Raises: ValueError if each of the arguments are not the same length """ if len(v1) == len(v2) == len(index): index = np.array(index) v1_groups = [ ",".join(index[np.where(v1 == i)[0]]) for i in np.unique(v1)] v2_groups = [ ",".join(index[np.where(v2 == i)[0]]) for i in np.unique(v2)] v1_groups.sort() v2_groups.sort() return v1_groups == v2_groups else: raise ValueError("Each array must be the same length")
mit
Transkribus/TranskribusDU
TranskribusDU/tasks/TablePrototypes/DU_ABPTableRG41.py
1
38778
# -*- coding: utf-8 -*- """ DU task for ABP Table: doing jointly row BIESO and horizontal grid lines block2line edges do not cross another block. Here we make consistent label when any N grid lines have no block in-between each other. In that case, those N grid lines must have consistent BISO labels: - if one is B, all become B - elif one is S, all become S - elif one is I, all become I - else: they should all be O already Copyright Naver Labs Europe(C) 2018 JL Meunier Developed for the EU project READ. The READ project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No 674943. """ import sys, os import math from lxml import etree import collections import numpy as np from sklearn.pipeline import Pipeline, FeatureUnion try: #to ease the use without proper Python installation import TranskribusDU_version except ImportError: sys.path.append( os.path.dirname(os.path.dirname( os.path.abspath(sys.argv[0]) )) ) import TranskribusDU_version from common.trace import traceln from tasks import _checkFindColDir, _exit from tasks.DU_CRF_Task import DU_CRF_Task from crf.Edge import Edge, SamePageEdge from crf.Graph_MultiPageXml import Graph_MultiPageXml from crf.NodeType_PageXml import NodeType_PageXml_type_woText #from crf.FeatureDefinition_PageXml_std_noText import FeatureDefinition_PageXml_StandardOnes_noText from crf.FeatureDefinition import FeatureDefinition from crf.Transformer import Transformer, TransformerListByType from crf.Transformer import EmptySafe_QuantileTransformer as QuantileTransformer from crf.Transformer_PageXml import NodeTransformerXYWH_v2, NodeTransformerNeighbors, Node1HotFeatures from crf.Transformer_PageXml import Edge1HotFeatures, EdgeBooleanFeatures_v2, EdgeNumericalSelector from crf.PageNumberSimpleSequenciality import PageNumberSimpleSequenciality from tasks.DU_ABPTableGrid import GridAnnotator class GraphGrid(Graph_MultiPageXml): """ We specialize the class of graph because the computation of edges is quite specific """ # Grid stuff #Dynamically add a grid iGridStep_H = 33 #odd number is better iGridStep_V = 33 #odd number is better # Some grid line will be O or I simply because they are too short. fMinPageCoverage = 0.5 # minimum proportion of the page crossed by a grid line # we want to ignore col- and row- spans iGridVisibility = 2 # a grid line sees N neighbours below iBlockVisibility = 1 # a block sees N neighbouring grid lines _lClassicNodeType = None @classmethod def setClassicNodeTypeList(cls, lNodeType): """ determine which type of node goes thru the classical way for determining the edges (vertical or horizontal overlap, with occlusion, etc.) """ cls._lClassicNodeType = lNodeType def parseDocFile(self, sFilename, iVerbose=0): """ Load that document as a CRF Graph. Also set the self.doc variable! Return a CRF Graph object """ self.doc = etree.parse(sFilename) self.lNode, self.lEdge = list(), list() self.lNodeBlock = [] # text node self.lNodeGridLine = [] # grid line node root = self.doc.getroot() doer = GridAnnotator(self.iGridStep_H, self.iGridStep_V) #map the groundtruth table separators, if any, to our grid ltlHlV = doer.get_grid_GT_index_from_DOM(root, self.fMinPageCoverage) for (lHi, lVi) in ltlHlV: traceln(" - found %d horizontal, %d vertical GT separators" % (len(lHi), len(lVi))) #create DOM node reflecting the grid #first clean (just in case!) n = doer.remove_grid_from_dom(root) if n > 0: traceln(" - removed %d existing grid lines" % n) # we add GridSeparator elements. Groundtruth ones have type="1" n = doer.add_grid_to_DOM(root, ltlHlV) traceln(" - added %d grid lines %s" % (n, (self.iGridStep_H, self.iGridStep_V)) ) lClassicType = [nt for nt in self.getNodeTypeList() if nt in self._lClassicNodeType] lSpecialType = [nt for nt in self.getNodeTypeList() if nt not in self._lClassicNodeType] for pnum, page, domNdPage in self._iter_Page_DocNode(self.doc): #now that we have the page, let's create the node for each type! lClassicPageNode = [nd for nodeType in lClassicType for nd in nodeType._iter_GraphNode(self.doc, domNdPage, page) ] lSpecialPageNode = [nd for nodeType in lSpecialType for nd in nodeType._iter_GraphNode(self.doc, domNdPage, page) ] self.lNode.extend(lClassicPageNode) # e.g. the TextLine objects self.lNodeBlock.extend(lClassicPageNode) self.lNode.extend(lSpecialPageNode) # e.g. the grid lines! self.lNodeGridLine.extend(lSpecialPageNode) #no previous page to consider (for cross-page links...) => None lClassicPageEdge = Edge.computeEdges(None, lClassicPageNode) self.lEdge.extend(lClassicPageEdge) # Now, compute edges between special and classic objects... lSpecialPageEdge = self.computeSpecialEdges(lClassicPageNode, lSpecialPageNode) self.lEdge.extend(lSpecialPageEdge) #if iVerbose>=2: traceln("\tPage %5d %6d nodes %7d edges"%(pnum, len(lPageNode), len(lPageEdge))) if iVerbose>=2: traceln("\tPage %5d"%(pnum)) traceln("\t block: %6d nodes %7d edges (to block)" %(pnum, len(lClassicPageNode), len(lClassicPageEdge))) traceln("\t line: %6d nodes %7d edges (from block)"%(pnum, len(lSpecialPageNode), len(lSpecialPageEdge))) if iVerbose: traceln("\t\t (%d nodes, %d edges)"%(len(self.lNode), len(self.lEdge)) ) return self @classmethod def computeSpecialEdges(cls, lClassicPageNode, lSpecialPageNode): """ return a list of edges """ raise Exception("Specialize this method") class Edge_BL(Edge): """Edge block-to-Line""" pass class Edge_LL(Edge): """Edge line-to-Line""" pass class GraphGrid_H(GraphGrid): """ Only horizontal grid lines """ def __init__(self): traceln(" - iGridStep_H : ", self.iGridStep_H) traceln(" - iGridStep_V : ", self.iGridStep_V) traceln(" - iGridVisibility : ", self.iGridVisibility) traceln(" - iBlockVisibility : ", self.iBlockVisibility) traceln(" - fMinPageCoverage : ", self.fMinPageCoverage) def getNodeListByType(self, iTyp): if iTyp == 0: return self.lNodeBlock else: return self.lNodeGridLine def getEdgeListByType(self, typA, typB): if typA == 0: if typB == 0: return (e for e in self.lEdge if isinstance(e, SamePageEdge)) else: return (e for e in self.lEdge if isinstance(e, Edge_BL)) else: if typB == 0: return [] else: return (e for e in self.lEdge if isinstance(e, Edge_LL)) @classmethod def computeSpecialEdges(cls, lClassicPageNode, lSpecialPageNode): """ Compute: - edges between each block and the grid line above/across/below the block - edges between grid lines return a list of edges """ # indexing the grid lines dGridLineByIndex = {GridAnnotator.snapToGridIndex(nd.y1, cls.iGridStep_V):nd for nd in lSpecialPageNode} for nd in lSpecialPageNode: #print(nd, dGridLineByIndex[GridAnnotator.snapToGridIndex(nd.y1, cls.iGridStep_V)]) assert dGridLineByIndex[GridAnnotator.snapToGridIndex(nd.y1, cls.iGridStep_V)] == nd, "internal error inconsistent grid" # block to grid line edges lEdge = [] fLenNorm = float(cls.iGridStep_V * cls.iBlockVisibility) imin, imax = 100, -1 assert lClassicPageNode, "ERROR: empty page!!??" for ndBlock in lClassicPageNode: ### print("---- ", ndBlock) # i1 = GridAnnotator.snapToGridIndex(nd.x1, cls.iGridStep_V) # i2 = GridAnnotator.snapToGridIndex(nd.x2, cls.iGridStep_V) i1 = int(math.floor(ndBlock.y1 / float(cls.iGridStep_V))) i2 = int(math.ceil (ndBlock.y2 / float(cls.iGridStep_V))) assert i2 >= i1 yBlkAvg = (ndBlock.y1 + ndBlock.y2)/2.0 #Also make visible the iBlockVisibility-1 previous grid lines, if any for i in range(max(0, i1 - cls.iBlockVisibility + 1), i1+1): edge = Edge_BL(ndBlock, dGridLineByIndex[i]) edge.len = (yBlkAvg - i * cls.iGridStep_V) / fLenNorm edge._gridtype = -1 lEdge.append(edge) imin = min(i, imin) ### print(ndBlock.y1, i, edge.len) for i in range(max(0, i1+1), max(0, i2)): ndLine = dGridLineByIndex[i] edge = Edge_BL(ndBlock, ndLine) edge.len = (yBlkAvg - i * cls.iGridStep_V) / fLenNorm edge._gridtype = 0 # grid line is crossing the block assert ndBlock.y1 < i*cls.iGridStep_V assert i*cls.iGridStep_V < ndBlock.y2 ### print(ndBlock.y1, ndBlock.y2, i, edge.len) lEdge.append(edge) imax = max(imax, i) for i in range(max(0, i2), i2 + cls.iBlockVisibility): try: edge = Edge_BL(ndBlock, dGridLineByIndex[i]) except KeyError: break # out of the grid edge.len = (yBlkAvg - i * cls.iGridStep_V) / fLenNorm edge._gridtype = +1 lEdge.append(edge) imax = max(imax, i) ### print(ndBlock.y2, i, edge.len) #now filter those edges n0 = len(lEdge) lEdge = cls._filterBadEdge(lEdge, imin, imax, dGridLineByIndex) print(" - filtering: removed %d edges due to obstruction." % (len(lEdge) - n0)) if False: print("--- After filtering: %d edges" % len(lEdge)) lSortedEdge = sorted(lEdge, key=lambda x: x.A.domid) for edge in lSortedEdge: print("Block domid=%s y1=%s y2=%s"%(edge.A.domid, edge.A.y1, edge.A.y2) + " %s line %s "%(["↑", "-", "↓"][1+edge._gridtype], edge.B.y1 / cls.iGridStep_V) + "domid=%s y1=%s" %(edge.B.domid, edge.B.y1) ) #what differ from previosu version cls._makeConsistentLabelForEmptyGridRow(lEdge, lClassicPageNode, dGridLineByIndex) # grid line to grid line edges n = len(dGridLineByIndex) for i in range(n): A = dGridLineByIndex[i] for j in range(i+1, min(n, i+cls.iGridVisibility+1)): edge = Edge_LL(A, dGridLineByIndex[j]) edge.len = (j - i) lEdge.append(edge) return lEdge @classmethod def _filterBadEdge(cls, lEdge, imin, imax, dGridLineByIndex, fRatio=0.25): """ We get - a list of block2Line edges - the [imin, imax] interval of involved grid line index - the dGridLineByIndex dictionary But some block should not be connected to a line due to obstruction by another blocks. We filter out those edges... return a sub-list of lEdge """ lKeepEdge = [] def _xoverlapSrcSrc(edge, lEdge): """ does the source node of edge overlap with the source node of any edge of the list? """ A = edge.A for _edge in lEdge: if A.significantXOverlap(_edge.A, fRatio): return True return False def _yoverlapSrcSrc(edge, lEdge): """ does the source node of edge overlap with the source node of any edge of the list? """ A = edge.A for _edge in lEdge: if A.significantYOverlap(_edge.A, fRatio): return True return False #there are two ways for dealing with lines crossed by a block # - either it prevents another block to link to the line (assuming an x-overlap) # - or not (historical way) # THIS IS THE "MODERN" way!! #take each line in turn for i in range(imin, imax+1): ndLine = dGridLineByIndex[i] #--- process downward edges #TODO: index! lDownwardAndXingEdge = [edge for edge in lEdge \ if edge._gridtype >= 0 and edge.B == ndLine] if lDownwardAndXingEdge: #sort edge by source block from closest to line block to farthest lDownwardAndXingEdge.sort(key=lambda o: o.A.y2 - ndLine.y1, reverse=True) lKeepDownwardEdge = [lDownwardAndXingEdge.pop(0)] #now keep all edges whose source does not overlap vertically with # the source of an edge that is kept for edge in lDownwardAndXingEdge: if not _xoverlapSrcSrc(edge, lKeepDownwardEdge): lKeepDownwardEdge.append(edge) lKeepEdge.extend(lKeepDownwardEdge) #NOTHING to do for crossing edges: they should be in the list! # #--- keep all crossing edges # #TODO: index! # lCrossingEdge = [edge for edge in lEdge \ # if edge._gridtype == 0 and edge.B == ndLine] # # lKeepEdge.extend(lCrossingEdge) #--- process upward edges #TODO: index! lUpwarAndXingdEdge = [edge for edge in lEdge \ if edge._gridtype <= 0 and edge.B == ndLine] if lUpwarAndXingdEdge: #sort edge by source block from closest to line block to farthest lUpwarAndXingdEdge.sort(key=lambda o: ndLine.y2 - o.A.y1, reverse=True) lKeepUpwardEdge = [lUpwarAndXingdEdge.pop(0)] #now keep all edges whose source does not overlap vertically with # the source of an edge that is kept for edge in lUpwarAndXingdEdge: if not _xoverlapSrcSrc(edge, lKeepUpwardEdge): lKeepUpwardEdge.append(edge) # now we keep only the edges, excluding the crossing ones # (already included!!) lKeepEdge.extend(edge for edge in lKeepUpwardEdge \ if edge._gridtype != 0) return lKeepEdge @classmethod def _makeConsistentLabelForEmptyGridRow(cls, lEdge, lBlockNode, dGridLineByIndex): """ Here we make consistent label when any N grid lines have no block in-between each other. In that case, those N grid lines must have consistent BISO labels: - if one is B, all become B - elif one is S, all become S - elif one is I, all become I - else: they should all be O already (or not annotated!) lLabels_BISO_Grid = ['B', 'I', 'S', 'O'] NOTE: I'm favoring safe and clean code to efficient code, for experimenting. TODO: optimize! (if it performs better...) """ bDBG = False #list object in each interval between 2 edges dsetObjectsByInterval = collections.defaultdict(set) imax = -1 for ndBlock in lBlockNode: ### print("---- ", ndBlock) # i1 = GridAnnotator.snapToGridIndex(nd.x1, cls.iGridStep_V) # i2 = GridAnnotator.snapToGridIndex(nd.x2, cls.iGridStep_V) i1 = int(math.floor(ndBlock.y1 / float(cls.iGridStep_V))) i2 = int(math.ceil (ndBlock.y2 / float(cls.iGridStep_V))) for i in range(i1, i2): dsetObjectsByInterval[i].add(ndBlock) imax = max(imax, i2) # actually the imax is the index of the last positive grid line ('B') j = imax lj = list(dGridLineByIndex.keys()) lj.sort(reverse=True) for j in lj: if dGridLineByIndex[j].node.get('type') == 'B': imax = max(imax, j) break #enumerate empty intervals lEmptyIntervalIndex = [i for i in range(0, imax+1) \ if bool(dsetObjectsByInterval[i]) == False] if bDBG: traceln("nb empty intervals: %d"%len(lEmptyIntervalIndex)) traceln([(j, dGridLineByIndex[j].domid, dGridLineByIndex[j].node.get('type')) for j in lEmptyIntervalIndex]) #Make consistent labelling (if any labelling!!) if lEmptyIntervalIndex: k = 0 #index in lEmptyInterval list kmax = len(lEmptyIntervalIndex) while k < kmax: i = lEmptyIntervalIndex[k] dk = 1 while (k + dk) < kmax and lEmptyIntervalIndex[k+dk] == (i + dk): dk += 1 if bDBG: nd = dGridLineByIndex[i] traceln("--- start grid line %s %s (nb=%d ending at %s) cls=%s" %(nd.domid, i, dk-1,dGridLineByIndex[i+dk-1].domid, nd.cls)) #TO FIX!!!! # #we have a series of consecutive empty interval between i and i+dk (excluded) # lCls = [dGridLineByIndex[j].cls for j in range(i, min(i+dk+1, kmax))] # # we go to i+dk+1 because last boundary line may propagate its label # #the node labels are loaded later on... :-((( # # if 0 in lCls: # B # iUniformClass = 0 # elif 2 in lCls: # S # iUniformClass = 2 # elif 1 in lCls: # I # iUniformClass = 1 # elif 3 in lCls: # O # iUniformClass = 3 # else: #unannotated # if bDBG: traceln("No annotation: ", lCls) # iUniformClass = None # # if not iUniformClass is None: # for j in range(i, i+dk): # if bDBG: # nd = dGridLineByIndex[j] # traceln("grid line %s %s made %d from %s"%(nd.domid, j, iUniformClass, nd.cls)) # dGridLineByIndex[j].cls = iUniformClass #WORKAROUND lCls = [dGridLineByIndex[j].node.get('type') for j in range(i, min(i+dk+1, imax+1))] # we go to i+dk+1 because last boundary line may propagate its label if 'B' in lCls: # B cUniformClass = 'B' elif 'S' in lCls: # S cUniformClass = 'S' elif 'I' in lCls: # I cUniformClass = 'I' elif 'O' in lCls: # O cUniformClass = 'O' else: #unannotated if bDBG: traceln("No annotation: ", lCls) cUniformClass = None if not cUniformClass is None: for j in range(i, i+dk): if bDBG: nd = dGridLineByIndex[j] traceln("grid line %s %s made %s from %s"%(nd.domid, j, cUniformClass, nd.node.get('type'))) dGridLineByIndex[j].node.set('type', cUniformClass) k = k + dk return #------------------------------------------------------------------------------------------------------ class GridLine_NodeTransformer_v2(Transformer): """ features of a grid line: - horizontal or vertical. """ def transform(self, lNode): #We allocate TWO more columns to store in it the tfidf and idf computed at document level. #a = np.zeros( ( len(lNode), 10 ) , dtype=np.float64) # 4 possible orientations: 0, 1, 2, 3 a = np.zeros( ( len(lNode), 6 ) , dtype=np.float64) # 4 possible orientations: 0, 1, 2, 3 for i, blk in enumerate(lNode): page = blk.page if abs(blk.x2 - blk.x1) > abs(blk.y1 - blk.y2): #horizontal v = 2*blk.y1/float(page.h) - 1 # to range -1, +1 a[i,0:3] = (1.0, v, v*v) else: #vertical v = 2*blk.x1/float(page.w) - 1 # to range -1, +1 a[i,3:6] = (1.0, v, v*v) return a class Block2GridLine_EdgeTransformer(Transformer): """ features of a block to grid line edge: - below, crossing, above """ def transform(self, edge): a = np.zeros( ( len(edge), 3 + 3 + 3) , dtype=np.float64) # 4 possible orientations: 0, 1, 2, 3 for i, edge in enumerate(edge): z = 1 + edge._gridtype # _gridtype is -1 or 0 or 1 a[i, z] = 1.0 a[i, 3 + z] = edge.len # normalised on [0, 1] edge length a[i, 6 + z] = edge.len * edge.len return a class GridLine2GridLine_EdgeTransformer(Transformer): """ features of a block to grid line edge: - below, crossing, above """ def transform(self, edge): a = np.zeros( ( len(edge), GraphGrid_H.iGridVisibility ) , dtype=np.float64) # 4 possible orientations: 0, 1, 2, 3 for i, edge in enumerate(edge): a[i, edge.len - 1] = 1.0 # edge length (number of steps) return a class My_FeatureDefinition_v2(FeatureDefinition): """ Multitype version: so the node_transformer actually is a list of node_transformer of length n_class the edge_transformer actually is a list of node_transformer of length n_class^2 We also inherit from FeatureDefinition_T !!! """ n_QUANTILES = 16 def __init__(self, **kwargs): """ set _node_transformer, _edge_transformer, tdifNodeTextVectorizer """ FeatureDefinition.__init__(self) nbTypes = self._getTypeNumber(kwargs) print("BETTER FEATURES") block_transformer = FeatureUnion( [ #CAREFUL IF YOU CHANGE THIS - see cleanTransformers method!!!! ("xywh", Pipeline([ ('selector', NodeTransformerXYWH_v2()), #v1 ('xywh', StandardScaler(copy=False, with_mean=True, with_std=True)) #use in-place scaling ('xywh', QuantileTransformer(n_quantiles=self.n_QUANTILES, copy=False)) #use in-place scaling ]) ) , ("neighbors", Pipeline([ ('selector', NodeTransformerNeighbors()), #v1 ('neighbors', StandardScaler(copy=False, with_mean=True, with_std=True)) #use in-place scaling ('neighbors', QuantileTransformer(n_quantiles=self.n_QUANTILES, copy=False)) #use in-place scaling ]) ) , ("1hot", Pipeline([ ('1hot', Node1HotFeatures()) #does the 1-hot encoding directly ]) ) ]) grid_line_transformer = GridLine_NodeTransformer_v2() self._node_transformer = TransformerListByType([block_transformer, grid_line_transformer]) edge_BB_transformer = FeatureUnion( [ #CAREFUL IF YOU CHANGE THIS - see cleanTransformers method!!!! ("1hot", Pipeline([ ('1hot', Edge1HotFeatures(PageNumberSimpleSequenciality())) ]) ) , ("boolean", Pipeline([ ('boolean', EdgeBooleanFeatures_v2()) ]) ) , ("numerical", Pipeline([ ('selector', EdgeNumericalSelector()), #v1 ('numerical', StandardScaler(copy=False, with_mean=True, with_std=True)) #use in-place scaling ('numerical', QuantileTransformer(n_quantiles=self.n_QUANTILES, copy=False)) #use in-place scaling ]) ) ] ) edge_BL_transformer = Block2GridLine_EdgeTransformer() edge_LL_transformer = GridLine2GridLine_EdgeTransformer() self._edge_transformer = TransformerListByType([edge_BB_transformer, edge_BL_transformer, edge_BL_transformer, # useless but required edge_LL_transformer ]) self.tfidfNodeTextVectorizer = None #tdifNodeTextVectorizer def fitTranformers(self, lGraph,lY=None): """ Fit the transformers using the graphs, but TYPE BY TYPE !!! return True """ self._node_transformer[0].fit([nd for g in lGraph for nd in g.getNodeListByType(0)]) self._node_transformer[1].fit([nd for g in lGraph for nd in g.getNodeListByType(1)]) self._edge_transformer[0].fit([e for g in lGraph for e in g.getEdgeListByType(0, 0)]) self._edge_transformer[1].fit([e for g in lGraph for e in g.getEdgeListByType(0, 1)]) #self._edge_transformer[2].fit([e for g in lGraph for e in g.getEdgeListByType(1, 0)]) #self._edge_transformer[3].fit([e for g in lGraph for e in g.getEdgeListByType(1, 1)]) return True class DU_ABPTableRG4(DU_CRF_Task): """ We will do a CRF model for a DU task , with the below labels """ sXmlFilenamePattern = "*.mpxml" iGridStep_H = None iGridStep_V = None iGridVisibility = None iBlockVisibility = None #=== CONFIGURATION ==================================================================== @classmethod def getConfiguredGraphClass(cls): """ In this class method, we must return a configured graph class """ # Textline labels # Begin Inside End Single Other lLabels_BIESO = ['B', 'I', 'E', 'S', 'O'] # Grid lines: # Border Ignore Separator Outside lLabels_BISO_Grid = ['B', 'I', 'S', 'O'] #DEFINING THE CLASS OF GRAPH WE USE DU_GRAPH = GraphGrid_H DU_GRAPH.iGridStep_H = cls.iGridStep_H DU_GRAPH.iGridStep_V = cls.iGridStep_V DU_GRAPH.iGridVisibility = cls.iGridVisibility DU_GRAPH.iBlockVisibility = cls.iBlockVisibility # ROW ntR = NodeType_PageXml_type_woText("row" , lLabels_BIESO , None , False #HISTORICAL FUNCTION IS (idiotic I think...): #, BBoxDeltaFun=lambda v: max(v * 0.066, min(5, v/3)) , BBoxDeltaFun=lambda v: v / 5.0, #keep 2/3rd of the box # we reduce overlap in this way #this function returns the amount by which each border of # a bounding box is "shifted toward its centre"... # w,h = x2-x1, y2-y1 # dx = self.BBoxDeltaFun(w) # dy = self.BBoxDeltaFun(h) # x1,y1, x2,y2 = [ int(round(v)) for v in [x1+dx,y1+dy, x2-dx,y2-dy] ] ) ntR.setLabelAttribute("DU_row") ntR.setXpathExpr( (".//pc:TextLine" #how to find the nodes , "./pc:TextEquiv") #how to get their text ) DU_GRAPH.addNodeType(ntR) # HEADER ntGH = NodeType_PageXml_type_woText("gh" , lLabels_BISO_Grid , None , False , None # equiv. to: BBoxDeltaFun=lambda _: 0 ) ntGH.setLabelAttribute("type") ntGH.setXpathExpr( ('.//pc:GridSeparator[@orient="0"]' #how to find the nodes , "./pc:TextEquiv") #how to get their text ) DU_GRAPH.addNodeType(ntGH) DU_GRAPH.setClassicNodeTypeList( [ntR ]) return DU_GRAPH def __init__(self, sModelName, sModelDir, iGridStep_H = None, iGridStep_V = None, iGridVisibility = None, iBlockVisibility = None, sComment=None, C=None, tol=None, njobs=None, max_iter=None, inference_cache=None): DU_ABPTableRG4.iGridStep_H = iGridStep_H DU_ABPTableRG4.iGridStep_V = iGridStep_V DU_ABPTableRG4.iGridVisibility = iGridVisibility DU_ABPTableRG4.iBlockVisibility = iBlockVisibility DU_CRF_Task.__init__(self , sModelName, sModelDir , dFeatureConfig = {'row_row':{}, 'row_gh':{}, 'gh_row':{}, 'gh_gh':{}, 'gh':{}, 'row':{}} , dLearnerConfig = { 'C' : .1 if C is None else C , 'njobs' : 4 if njobs is None else njobs , 'inference_cache' : 50 if inference_cache is None else inference_cache #, 'tol' : .1 , 'tol' : .05 if tol is None else tol , 'save_every' : 50 #save every 50 iterations,for warm start , 'max_iter' : 10 if max_iter is None else max_iter } , sComment=sComment #,cFeatureDefinition=FeatureDefinition_PageXml_StandardOnes_noText ,cFeatureDefinition=My_FeatureDefinition_v2 ) # if options.bBaseline: # self.bsln_mdl = self.addBaseline_LogisticRegression() #use a LR model trained by GridSearch as baseline #=== END OF CONFIGURATION ============================================================= # def predict(self, lsColDir): # """ # Return the list of produced files # """ # self.sXmlFilenamePattern = "*.mpxml" # return DU_CRF_Task.predict(self, lsColDir) # # def runForExternalMLMethod(self, lsColDir, storeX, applyY, bRevertEdges=False): # """ # Return the list of produced files # """ # self.sXmlFilenamePattern = "*.mpxml" # return DU_CRF_Task.runForExternalMLMethod(self, lsColDir, storeX, applyY, bRevertEdges) # ---------------------------------------------------------------------------- def main(sModelDir, sModelName, options): doer = DU_ABPTableRG4(sModelName, sModelDir, iGridStep_H = options.iGridStep_H, iGridStep_V = options.iGridStep_V, iGridVisibility = options.iGridVisibility, iBlockVisibility = options.iBlockVisibility, C = options.crf_C, tol = options.crf_tol, njobs = options.crf_njobs, max_iter = options.max_iter, inference_cache = options.crf_inference_cache) if options.rm: doer.rm() return lTrn, lTst, lRun, lFold = [_checkFindColDir(lsDir, bAbsolute=False) for lsDir in [options.lTrn, options.lTst, options.lRun, options.lFold]] # if options.bAnnotate: # doer.annotateDocument(lTrn) # traceln('annotation done') # sys.exit(0) traceln("- classes: ", doer.getGraphClass().getLabelNameList()) ## use. a_mpxml files #doer.sXmlFilenamePattern = doer.sLabeledXmlFilenamePattern if options.iFoldInitNum or options.iFoldRunNum or options.bFoldFinish: if options.iFoldInitNum: """ initialization of a cross-validation """ splitter, ts_trn, lFilename_trn = doer._nfold_Init(lFold, options.iFoldInitNum, test_size=0.25, random_state=None, bStoreOnDisk=True) elif options.iFoldRunNum: """ Run one fold """ oReport = doer._nfold_RunFoldFromDisk(options.iFoldRunNum, options.warm, options.pkl) traceln(oReport) elif options.bFoldFinish: tstReport = doer._nfold_Finish() traceln(tstReport) else: assert False, "Internal error" #no more processing!! exit(0) #------------------- if lFold: loTstRpt = doer.nfold_Eval(lFold, 3, .25, None, options.pkl) import graph.GraphModel sReportPickleFilename = os.path.join(sModelDir, sModelName + "__report.txt") traceln("Results are in %s"%sReportPickleFilename) graph.GraphModel.GraphModel.gzip_cPickle_dump(sReportPickleFilename, loTstRpt) elif lTrn: doer.train_save_test(lTrn, lTst, options.warm, options.pkl) try: traceln("Baseline best estimator: %s"%doer.bsln_mdl.best_params_) #for GridSearch except: pass traceln(" --- CRF Model ---") traceln(doer.getModel().getModelInfo()) elif lTst: doer.load() tstReport = doer.test(lTst) traceln(tstReport) if options.bDetailedReport: traceln(tstReport.getDetailledReport()) sReportPickleFilename = os.path.join(sModelDir, sModelName + "__detailled_report.txt") graph.GraphModel.GraphModel.gzip_cPickle_dump(sReportPickleFilename, tstReport) if lRun: if options.storeX or options.applyY: try: doer.load() except: pass #we only need the transformer lsOutputFilename = doer.runForExternalMLMethod(lRun, options.storeX, options.applyY, options.bRevertEdges) else: doer.load() lsOutputFilename = doer.predict(lRun) traceln("Done, see in:\n %s"%lsOutputFilename) # ---------------------------------------------------------------------------- if __name__ == "__main__": version = "v.01" usage, description, parser = DU_CRF_Task.getBasicTrnTstRunOptionParser(sys.argv[0], version) # parser.add_option("--annotate", dest='bAnnotate', action="store_true",default=False, help="Annotate the textlines with BIES labels") #FOR GCN parser.add_option("--revertEdges", dest='bRevertEdges', action="store_true", help="Revert the direction of the edges") parser.add_option("--detail", dest='bDetailedReport', action="store_true", default=False,help="Display detailled reporting (score per document)") parser.add_option("--baseline", dest='bBaseline', action="store_true", default=False, help="report baseline method") parser.add_option("--line_see_line", dest='iGridVisibility', action="store", type=int, default=2, help="seeline2line: how many next grid lines does one line see?") parser.add_option("--block_see_line", dest='iBlockVisibility', action="store", type=int, default=2, help="seeblock2line: how many next grid lines does one block see?") parser.add_option("--grid_h", dest='iGridStep_H', action="store", type=int, default=GraphGrid.iGridStep_H, help="Grid horizontal step") parser.add_option("--grid_v", dest='iGridStep_V', action="store", type=int, default=GraphGrid.iGridStep_V, help="Grid Vertical step") # --- #parse the command line (options, args) = parser.parse_args() # --- try: sModelDir, sModelName = args except Exception as e: traceln("Specify a model folder and a model name!") _exit(usage, 1, e) main(sModelDir, sModelName, options)
bsd-3-clause
sniemi/EuclidVisibleInstrument
analysis/FlatfieldCalibration.py
1
27797
""" Flat Field Calibration ====================== This simple script can be used to study the number of flat fields required to meet the VIS calibration requirements. The following requirements related to the flat field calibration has been taken from GDPRD. R-GDP-CAL-054: The contribution of the residuals of VIS flat-field correction to the error on the determination of each ellipticity component of the local PSF shall not exceed 3x10-5 (one sigma). R-GDP-CAL-064: The contribution of the residuals of VIS flat-field correction to the relative error on the determination of the local PSF R2 shall not exceed 1x10-4 (one sigma). .. Note:: The amount of cosmic rays in the simulated input images might be too low, because the exposure was set to 10 seconds and cosmic rays were calculated based on this. However, in reality the readout takes about 80 seconds. Thus, the last row is effected by cosmic a lot more than by assuming a single 10 second exposure. :requires: PyFITS :requires: NumPy :requires: SciPy :requires: matplotlib :requires: VISsim-Python :version: 0.97 :author: Sami-Matias Niemi :contact: s.niemi@ucl.ac.uk """ import matplotlib matplotlib.rc('text', usetex=True) matplotlib.rcParams['font.size'] = 17 matplotlib.rc('xtick', labelsize=14) matplotlib.rc('axes', linewidth=1.1) matplotlib.rcParams['legend.fontsize'] = 11 matplotlib.rcParams['legend.handlelength'] = 3 matplotlib.rcParams['xtick.major.size'] = 5 matplotlib.rcParams['ytick.major.size'] = 5 import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D from matplotlib import cm import pyfits as pf import numpy as np import datetime, cPickle, glob, os, sys from scipy.ndimage.interpolation import zoom from scipy import interpolate from analysis import shape from support import logger as lg from support import surfaceFitting as sf from support import files as fileIO def generateResidualFlatField(files='Q0*flatfield*.fits', combine=77, lampfile='data/VIScalibrationUnitflux.fits', reference='data/VISFlatField1percent.fits', gain=3.5, plots=False, debug=False): """ Generate a median combined flat field residual from given input files. Randomly draws a given number (kw combine) of files from the file list identified using the files kw. Median combine all files before the lamp profile given by lampfile kw is being divided out. This will produce a derived flat field. This flat can be compared against the reference that was used to produce the initial data to derive a residual flat that describes the error in the flat field that was derived. :param files: wildcard flagged name identifier for the FITS files to be used for generating a flat :type files: str :param combine: number of files to median combine :type combine: int :param lampfile: name of the calibration unit flux profile FITS file :type lampfile: str :param reference: name of the reference pixel-to-pixel flat field FITS file :type reference: str :param gain: gain factor [e/ADU] :type gain: float :param plots: whether or not to generate plots :type plots: boolean :param debug: whether or not to produce output FITS files :type debug: boolean .. Warning:: Remember to use an appropriate lamp and reference files so that the error in the derived flat field can be correctly calculated. :return: residual flat field (difference between the generated flat and the reference) :rtype: ndarray """ #find all FITS files files = glob.glob(files) #choose randomly the files that should be combined if combine < len(files): ids = np.random.random_integers(0, len(files)-1, combine) files = np.asarray(files)[ids] #load data and scale to electrons data = fileIO.readFITSDataExcludeScanRegions(files) data *= gain #check that the sizes match and median combine if len(set(x.shape for x in data)) > 1: sys.exit('ERROR -- files are not the same shape, cannot median combine!') else: medianCombined = np.median(data, axis=0) #fit surface to the median and normalize it out #m = sf.polyfit2d(xx.ravel(), yy.ravel(), median.ravel(), order=order) # Evaluate it on a rectangular grid #fitted = sf.polyval2d(xx, yy, m) #load the lamp profile that went in and divide the combined image with the profile lamp = pf.getdata(lampfile) pixvar = medianCombined.astype(np.float64).copy() / lamp #load the true reference p-flat and calculate the error in the derived flat field (i.e. residual) real = pf.getdata(reference).astype(np.float64) res = np.abs(real - pixvar) / (real*pixvar) + 1. #old: maybe incorrect? #res = np.abs(pixvar - real) + 1. if debug: print np.mean(res), np.min(res), np.max(res), np.std(res) if not os.path.exists('debug'): os.makedirs('debug') fileIO.writeFITS(medianCombined, 'debug/medianFlat.fits') fileIO.writeFITS(pixvar, 'debug/derivedFlat.fits') fileIO.writeFITS(res, 'debug/residualFlat.fits') if plots: if not os.path.exists('plots'): os.makedirs('plots') #generate a mesh grid fo plotting ysize, xsize = medianCombined.shape xx, yy = np.meshgrid(np.linspace(0, xsize, xsize), np.linspace(0, ysize, ysize)) fig = plt.figure() ax = Axes3D(fig) ax.plot_surface(xx, yy, medianCombined, rstride=100, cstride=100, alpha=0.6, cmap=cm.jet) ax.set_xlabel('X [pixels]') ax.set_ylabel('Y [pixels]') ax.set_zlabel('Counts [electrons]') ax.set_zlim(8.9e4, 1.05e5) plt.savefig('plots/MedianFlat.png') plt.close() im = plt.imshow(medianCombined, origin='lower', vmin=8.9e4, vmax=1.05e5) c1 = plt.colorbar(im) c1.set_label('Counts [electrons]') plt.xlabel('X [pixels]') plt.ylabel('Y [pixels]') plt.savefig('plots/Mediand2D.png') plt.close() fig = plt.figure() ax = Axes3D(fig) ax.plot_surface(xx, yy, pixvar, rstride=100, cstride=100, alpha=0.6, cmap=cm.jet) ax.set_xlabel('X [pixels]') ax.set_ylabel('Y [pixels]') ax.set_zlim(0.95, 1.05) ax.set_zlabel('Counts [electrons]') plt.savefig('plots/PixelFlat.png') plt.close() im = plt.imshow(pixvar, origin='lower', vmin=0.95, vmax=1.05) c1 = plt.colorbar(im) c1.set_label('Counts [electrons]') plt.xlabel('X [pixels]') plt.ylabel('Y [pixels]') plt.savefig('plots/PixelFlat2D.png') plt.close() fig = plt.figure() ax = Axes3D(fig) ax.plot_surface(xx, yy, res, rstride=100, cstride=100, alpha=0.6, cmap=cm.jet) ax.set_xlabel('X [pixels]') ax.set_ylabel('Y [pixels]') ax.set_zlim(0.95, 1.05) ax.set_zlabel('Residual Flat Field') plt.savefig('plots/ResidualFlatField.png') plt.close() im = plt.imshow(res, origin='lower', vmin=0.95, vmax=1.05) c1 = plt.colorbar(im) c1.set_label('Residual Flat Field') plt.xlabel('X [pixels]') plt.ylabel('Y [pixels]') plt.savefig('plots/ResidualFlatField2D.png') plt.close() return res def testFlatCalibration(log, flats, surfaces=10, file='data/psf1x.fits', psfs=5000, sigma=0.75, iterations=7, weighting=True, plot=False, debug=False): """ Derive the PSF ellipticities for a given number of random surfaces with random PSF positions and a given number of flat fields median combined. This function is to derive the the actual values so that the knowledge (variance) can be studied. """ #read in PSF and rescale to avoid rounding or truncation errors data = pf.getdata(file) data /= np.max(data) data *= 300. #SNR about 10 for star... #derive reference values settings = dict(sigma=sigma, iterations=iterations, weighted=weighting) sh = shape.shapeMeasurement(data.copy(), log, **settings) reference = sh.measureRefinedEllipticity() #random positions for the PSFs, these positions are the lower corners #assume that this is done on quadrant level thus the xmax and ymax are 2065 and 2047, respectively xpositions = np.random.random_integers(0, 2047 - data.shape[1], psfs) ypositions = np.random.random_integers(0, 2065 - data.shape[0], psfs) out = {} #number of biases to median combine for a in flats: print 'Number of Flats to combine: %i / %i' % (a, flats[-1]) #data storage de1 = [] de2 = [] de = [] R2 = [] dR2 = [] e1 = [] e2 = [] e = [] for b in xrange(surfaces): print 'Random Realisations: %i / %i' % (b+1, surfaces) residual = generateResidualFlatField(combine=a, plots=plot, debug=debug) print 'Average residual = %e' % (np.mean(residual) - 1.) # generate 2D plot if b == 0 and plot: im = plt.imshow(residual, extent=(0, 2066, 2048, 0)) plt.scatter(xpositions + (data.shape[1]/2), ypositions + (data.shape[0]/2), color='white') c1 = plt.colorbar(im) c1.set_label('Residual Flat Field') plt.xlim(0, 2066) plt.ylim(0, 2048) plt.xlabel('Y [pixels]') plt.ylabel('X [pixels]') plt.savefig('residualFlat2D%i.png' % a) plt.close() #loop over the PSFs for xpos, ypos in zip(xpositions, ypositions): tmp = data.copy() #get the underlying residual surface and multiple with the PSF small = residual[ypos:ypos+data.shape[0], xpos:xpos+data.shape[1]].copy() #small += 1. small *= tmp #small *= tmp # depends on the residual geenration #measure e and R2 from the postage stamp image sh = shape.shapeMeasurement(small.copy(), log, **settings) results = sh.measureRefinedEllipticity() #save values e1.append(results['e1']) e2.append(results['e2']) e.append(results['ellipticity']) R2.append(results['R2']) de1.append(results['e1'] - reference['e1']) de2.append(results['e2'] - reference['e2']) de.append(results['ellipticity'] - reference['ellipticity']) dR2.append(results['R2'] - reference['R2']) out[a+1] = [e1, e2, e, R2, de1, de2, de, dR2] return out, reference def plotNumberOfFrames(results, reqe=3e-5, reqr2=1e-4, shift=0.1, outdir='results', timeStamp=False): """ Creates a simple plot to combine and show the results. :param res: results to be plotted [results dictionary, reference values] :type res: list :param reqe: the requirement for ellipticity [default=3e-5] :type reqe: float :param reqr2: the requirement for size R2 [default=1e-4] :type reqr2: float :param shift: the amount to shift the e2 results on the abscissa (for clarity) :type shift: float :param outdir: output directory to which the plots will be saved to :type outdir: str :param timeStamp: whether or not to include a time stamp to the output image :type timeStamp: bool :return: None """ if not os.path.exists(outdir): os.makedirs(outdir) #rename ref = results[1] res = results[0] print '\nSigma results:' txt = '%s' % datetime.datetime.isoformat(datetime.datetime.now()) fig = plt.figure() plt.title(r'VIS Flat Field Calibration: $\sigma(e)$') ax = fig.add_subplot(111) maxx = 0 frames = [] values = [] #loop over the number of frames combined for key in res: e1 = np.asarray(res[key][0]) e2 = np.asarray(res[key][1]) e = np.asarray(res[key][2]) std1 = np.std(e1) std2 = np.std(e2) std = np.std(e) frames.append(key) values.append(std) ax.scatter(key-shift, std, c='m', marker='*') ax.scatter(key, std1, c='b', marker='o') ax.scatter(key, std2, c='y', marker='s') if key > maxx: maxx = key print key, std, std1, std2 #label ax.scatter(key-shift, std, c='m', marker='*', label=r'$\sigma (e)$') ax.scatter(key, std1, c='b', marker='o', label=r'$\sigma (e_{1})$') ax.scatter(key, std2, c='y', marker='s', label=r'$\sigma (e_{2})$') #sort and interpolate values = np.asarray(values) frames = np.asarray(frames) srt = np.argsort(frames) x = np.arange(frames.min(), frames.max()+1) f = interpolate.interp1d(frames[srt], values[srt], kind='cubic') vals = f(x) ax.plot(x, vals, ':', c='0.2', zorder=20) try: msk = vals < reqe minn = np.min(x[msk]) plt.text(np.mean(frames), 8e-6, r'Flats Required $\raise-.5ex\hbox{$\buildrel>\over\sim$}$ %i' % np.ceil(minn), ha='center', va='center', fontsize=11) except: pass ax.fill_between(np.arange(maxx+10), np.ones(maxx+10)*reqe, 1.0, facecolor='red', alpha=0.08) ax.axhline(y=reqe, c='g', ls='--', label='Requirement') plt.text(1, 0.9*reqe, '%.1e' % reqe, ha='left', va='top', fontsize=11) ax.set_yscale('log') ax.set_ylim(5e-6, 1e-4) ax.set_xlim(0, maxx+1) ax.set_xlabel('Number of Flat Fields Median Combined') ax.set_ylabel(r'$\sigma (e_{i})\ , \ \ \ i \in [1,2]$') if timeStamp: plt.text(0.83, 1.12, txt, ha='left', va='top', fontsize=9, transform=ax.transAxes, alpha=0.2) plt.legend(shadow=True, fancybox=True, numpoints=1, scatterpoints=1, markerscale=2.0, ncol=2) plt.savefig(outdir+'/FlatCalibrationsigmaE.pdf') plt.close() #same for R2s fig = plt.figure() plt.title(r'VIS Flat Field Calibration: $\frac{\sigma (R^{2})}{R_{ref}^{2}}$') ax = fig.add_subplot(111) ax.axhline(y=0, c='k', ls=':') maxx = 0 frames = [] values = [] #loop over the number of frames combined for key in res: dR2 = np.asarray(res[key][3]) #std = np.std(dR2) / ref['R2'] std = np.std(dR2) / np.mean(dR2) frames.append(key) values.append(std) print key, std ax.scatter(key, std, c='b', marker='s', s=35, zorder=10) if key > maxx: maxx = key #for the legend ax.scatter(key, std, c='b', marker='s', label=r'$\frac{\sigma (R^{2})}{R_{ref}^{2}}$') #sort and interpolate values = np.asarray(values) frames = np.asarray(frames) srt = np.argsort(frames) x = np.arange(frames.min(), frames.max()) f = interpolate.interp1d(frames[srt], values[srt], kind='cubic') vals = f(x) ax.plot(x, vals, ':', c='0.2', zorder=10) try: msk = vals < reqr2 minn = np.min(x[msk]) plt.text(np.mean(frames), 2e-5, r'Flats Required $\raise-.5ex\hbox{$\buildrel>\over\sim$}$ %i' % np.ceil(minn), fontsize=11, ha='center', va='center') except: pass #show the requirement ax.fill_between(np.arange(maxx+10), np.ones(maxx+10)*reqr2, 1.0, facecolor='red', alpha=0.08) ax.axhline(y=reqr2, c='g', ls='--', label='Requirement') plt.text(1, 0.9*reqr2, '%.1e' % reqr2, ha='left', va='top', fontsize=11) ax.set_yscale('log') ax.set_ylim(5e-6, 1e-3) ax.set_xlim(0, maxx+1) ax.set_xlabel('Number of Flat Fields Median Combined') ax.set_ylabel(r'$\frac{\sigma (R^{2})}{R_{ref}^{2}}$') if timeStamp: plt.text(0.83, 1.12, txt, ha='left', va='top', fontsize=9, transform=ax.transAxes, alpha=0.2) plt.legend(shadow=True, fancybox=True, numpoints=1, scatterpoints=1, markerscale=1.8 ) plt.savefig(outdir+'/FlatCalibrationSigmaR2.pdf') plt.close() print '\nDelta results:' #loop over the number of frames combined for key in res: fig = plt.figure() ax = fig.add_subplot(111) plt.title(r'VIS Flat Field Calibration (%i exposures): $\delta e$' % key) de1 = np.asarray(res[key][4]) de2 = np.asarray(res[key][5]) de = np.asarray(res[key][6]) avg1 = np.mean(de1)**2 avg2 = np.mean(de2)**2 avg = np.mean(de)**2 #write down the values print key, avg, avg1, avg2 plt.text(0.08, 0.9, r'$\left< \delta e_{1} \right>^{2} = %e$' %avg1, fontsize=10, transform=ax.transAxes) plt.text(0.08, 0.85, r'$\left< \delta e_{2}\right>^{2} = %e$' %avg2, fontsize=10, transform=ax.transAxes) plt.text(0.08, 0.8, r'$\left< \delta | \bar{e} |\right>^{2} = %e$' %avg, fontsize=10, transform=ax.transAxes) ax.hist(de, bins=15, color='y', alpha=0.2, label=r'$\delta | \bar{e} |$', normed=True, log=True) ax.hist(de1, bins=15, color='b', alpha=0.5, label=r'$\delta e_{1}$', normed=True, log=True) ax.hist(de2, bins=15, color='g', alpha=0.3, label=r'$\delta e_{2}$', normed=True, log=True) ax.axvline(x=0, ls=':', c='k') ax.set_ylabel('Probability Density') ax.set_xlabel(r'$\delta e_{i}\ , \ \ \ i \in [1,2]$') if timeStamp: plt.text(0.83, 1.12, txt, ha='left', va='top', fontsize=9, transform=ax.transAxes, alpha=0.2) plt.legend(shadow=True, fancybox=True, numpoints=1, scatterpoints=1, markerscale=2.0, ncol=2) plt.savefig(outdir+'/FlatCalibrationEDelta%i.pdf' % key) plt.close() #same for R2s for key in res: fig = plt.figure() plt.title(r'VIS Flat Field Calibration (%i exposures): $\frac{\delta R^{2}}{R_{ref}^{2}}$' % key) ax = fig.add_subplot(111) dR2 = np.asarray(res[key][7]) avg = np.mean(dR2/ref['R2'])**2 ax.hist(dR2, bins=15, color='y', label=r'$\frac{\delta R^{2}}{R_{ref}^{2}}$', normed=True, log=True) print key, avg plt.text(0.1, 0.9, r'$\left<\frac{\delta R^{2}}{R^{2}_{ref}}\right>^{2} = %e$' %avg, fontsize=10, transform=ax.transAxes) ax.axvline(x=0, ls=':', c='k') ax.set_ylabel('Probability Density') ax.set_xlabel(r'$\frac{\delta R^{2}}{R_{ref}^{2}}$') if timeStamp: plt.text(0.83, 1.12, txt, ha='left', va='top', fontsize=9, transform=ax.transAxes, alpha=0.2) plt.legend(shadow=True, fancybox=True, numpoints=1, scatterpoints=1, markerscale=1.8) plt.savefig(outdir+'/FlatCalibrationDeltaSize%i.pdf' % key) plt.close() def findTolerableError(log, file='data/psf4x.fits', oversample=4.0, psfs=10000, iterations=7, sigma=0.75): """ Calculate ellipticity and size for PSFs of different scaling when there is a residual pixel-to-pixel variations. """ #read in PSF and renormalize it data = pf.getdata(file) data /= np.max(data) #PSF scalings for the peak pixel, in electrons scales = np.random.random_integers(1e2, 2e5, psfs) #set the scale for shape measurement settings = dict(sampling=1.0/oversample, itereations=iterations, sigma=sigma) #residual from a perfect no pixel-to-pixel non-uniformity residuals = np.logspace(-7, -1.6, 9)[::-1] #largest first tot = residuals.size res = {} for i, residual in enumerate(residuals): print'%i / %i' % (i+1, tot) R2 = [] e1 = [] e2 = [] e = [] #loop over the PSFs for scale in scales: #random residual pixel-to-pixel variations if oversample < 1.1: residualSurface = np.random.normal(loc=1.0, scale=residual, size=data.shape) elif oversample == 4.0: tmp = np.random.normal(loc=1.0, scale=residual, size=(170, 170)) residualSurface = zoom(tmp, 4.013, order=0) else: sys.exit('ERROR when trying to generate a blocky pixel-to-pixel non-uniformity map...') #make a copy of the PSF and scale it with the given scaling #and then multiply with a residual pixel-to-pixel variation tmp = data.copy() * scale * residualSurface #measure e and R2 from the postage stamp image sh = shape.shapeMeasurement(tmp.copy(), log, **settings) results = sh.measureRefinedEllipticity() #save values e1.append(results['e1']) e2.append(results['e2']) e.append(results['ellipticity']) R2.append(results['R2']) out = dict(e1=np.asarray(e1), e2=np.asarray(e2), e=np.asarray(e), R2=np.asarray(R2)) res[residual] = out return res def plotTolerableErrorR2(res, output, req=1e-4): fig = plt.figure() plt.title(r'VIS Flat Fielding') ax = fig.add_subplot(111) #loop over the number of bias frames combined vals = [] for key in res.keys(): dR2 = res[key]['R2'] normed = np.std(dR2) / np.mean(dR2) ax.scatter(key, normed, c='m', marker='*', s=35) vals.append(normed) print key, normed #for the legend ax.scatter(key, normed, c='m', marker='*', label=r'$\frac{\sigma(R^{2})}{R_{ref}^{2}}$') #show the requirement ks = np.asarray(res.keys()) ran = np.linspace(ks.min() * 0.99, ks.max() * 1.01) ax.fill_between(ran, np.ones(ran.size) * req, 1.0, facecolor='red', alpha=0.08) ax.axhline(y=req, c='g', ls='--', label='Requirement') #find the crossing srt = np.argsort(ks) values = np.asarray(vals) f = interpolate.interp1d(ks[srt], values[srt], kind='cubic') x = np.logspace(np.log10(ks.min()), np.log10(ks.max()), 100) vals = f(x) ax.plot(x, vals, ':', c='0.2', zorder=10) msk = vals < req maxn = np.max(x[msk]) plt.text(1e-5, 2e-5, r'Error must be $\leq %.2e$ per cent' % (maxn*100), fontsize=11, ha='center', va='center') ax.set_yscale('log') ax.set_xscale('log') ax.set_ylim(1e-7, 1e-2) ax.set_xlim(ks.min() * 0.99, ks.max() * 1.01) ax.set_xlabel('Error in the Flat Field Map') ax.set_ylabel(r'$\frac{\sigma (R^{2})}{R_{ref}^{2}}$') plt.legend(shadow=True, fancybox=True, numpoints=1, scatterpoints=1, markerscale=1.8, loc='upper left') plt.savefig(output) plt.close() def plotTolerableErrorE(res, output, req=3e-5): fig = plt.figure() plt.title(r'VIS Flat Fielding') ax = fig.add_subplot(111) #loop over the number of bias frames combined vals = [] for key in res.keys(): e1 = np.std(res[key]['e1']) e2 = np.std(res[key]['e']) e = np.std(res[key]['e']) vals.append(e) ax.scatter(key, e1, c='m', marker='*', s=35) ax.scatter(key, e2, c='y', marker='s', s=35) ax.scatter(key, e, c='r', marker='o', s=35) print key, e, e1, e2 #for the legend ax.scatter(key, e1, c='m', marker='*', label=r'$\sigma(e_{1})$') ax.scatter(key, e2, c='y', marker='s', label=r'$\sigma(e_{2})$') ax.scatter(key, e, c='r', marker='o', label=r'$\sigma(e)$') #show the requirement ks = np.asarray(res.keys()) ran = np.linspace(ks.min() * 0.99, ks.max() * 1.01) ax.fill_between(ran, np.ones(ran.size) * req, 1.0, facecolor='red', alpha=0.08) ax.axhline(y=req, c='g', ls='--', label='Requirement') #find the crossing srt = np.argsort(ks) values = np.asarray(vals) f = interpolate.interp1d(ks[srt], values[srt], kind='cubic') x = np.logspace(np.log10(ks.min()), np.log10(ks.max()), 100) vals = f(x) ax.plot(x, vals, ':', c='0.2', zorder=10) msk = vals < req maxn = np.max(x[msk]) plt.text(1e-5, 2e-5, r'Error for $e$ must be $\leq %.2e$ per cent' % (maxn*100), fontsize=11, ha='center', va='center') ax.set_yscale('log') ax.set_xscale('log') ax.set_ylim(1e-7, 1e-2) ax.set_xlim(ks.min() * 0.99, ks.max() * 1.01) ax.set_xlabel('Error in the Flat Field Map') ax.set_ylabel(r'$\sigma (e_{i})\ , \ \ \ i \in [1,2]$') plt.legend(shadow=True, fancybox=True, numpoints=1, scatterpoints=1, markerscale=1.8, loc='upper left') plt.savefig(output) plt.close() def testNoFlatfieldingEffects(log, file='data/psf1x.fits', oversample=1.0, psfs=500): """ Calculate ellipticity and size variance and error in case of no pixel-to-pixel flat field correction. """ #read in PSF and renormalize it data = pf.getdata(file) data /= np.max(data) data *= 1e5 #derive reference values settings = dict(sampling=1.0/oversample) sh = shape.shapeMeasurement(data.copy(), log, **settings) reference = sh.measureRefinedEllipticity() print reference #residual residual = pf.getdata('data/VISFlatField2percent.fits') #'data/VISFlatField1percent.fits' if oversample == 4.0: residual = zoom(zoom(residual, 2, order=0), 2, order=0) elif oversample == 1.0: pass else: print 'ERROR--cannot do arbitrary oversampling...' #random positions for the PSFs, these positions are the lower corners xpositions = np.random.random_integers(0, residual.shape[1] - data.shape[1], psfs) ypositions = np.random.random_integers(0, residual.shape[0] - data.shape[0], psfs) #data storage out = {} de1 = [] de2 = [] de = [] R2 = [] dR2 = [] e1 = [] e2 = [] e = [] rnd = 1 tot = xpositions.size #loop over the PSFs for xpos, ypos in zip(xpositions, ypositions): print'%i / %i' % (rnd, tot) rnd += 1 #make a copy of the PSF tmp = data.copy() #get the underlying residual surface ond multiple the PSF with the surface small = residual[ypos:ypos+data.shape[0], xpos:xpos+data.shape[1]].copy() small *= tmp #measure e and R2 from the postage stamp image sh = shape.shapeMeasurement(small.copy(), log, **settings) results = sh.measureRefinedEllipticity() #save values e1.append(results['e1']) e2.append(results['e2']) e.append(results['ellipticity']) R2.append(results['R2']) de1.append(results['e1'] - reference['e1']) de2.append(results['e2'] - reference['e2']) de.append(results['ellipticity'] - reference['ellipticity']) dR2.append(results['R2'] - reference['R2']) out[1] = [e1, e2, e, R2, de1, de2, de, dR2] return out, reference if __name__ == '__main__': run = True debug = False plots = True error = False #start the script log = lg.setUpLogger('flatfieldCalibration.log') log.info('Testing flat fielding calibration...') if error: res = findTolerableError(log) fileIO.cPickleDumpDictionary(res, 'errors/residuals.pk') res = cPickle.load(open('errors/residuals.pk')) plotTolerableErrorE(res, output='errors/FlatFieldingTolerableErrorE.pdf') plotTolerableErrorR2(res, output='errors/FlatFieldingTolerableErrorR2.pdf') if run: results = testFlatCalibration(log, flats=np.arange(5, 100, 9)) fileIO.cPickleDumpDictionary(results, 'flatfieldResults.pk') if debug: #calculate RMS on image with x frames combined together combined = generateResidualFlatField(combine=30, plots=True, debug=True) print np.std(combined), np.std(combined[500:561, 500:561]), np.std(combined[300:361, 300:361]) results = testNoFlatfieldingEffects(log, oversample=4.0, file='data/psf4x.fits', psfs=400) if plots: if not run: results = cPickle.load(open('flatfieldResults.pk')) plotNumberOfFrames(results) log.info('Run finished...\n\n\n')
bsd-2-clause
kushalbhola/MyStuff
Practice/PythonApplication/env/Lib/site-packages/numpy/lib/histograms.py
4
39639
""" Histogram-related functions """ from __future__ import division, absolute_import, print_function import contextlib import functools import operator import warnings import numpy as np from numpy.compat.py3k import basestring from numpy.core import overrides __all__ = ['histogram', 'histogramdd', 'histogram_bin_edges'] array_function_dispatch = functools.partial( overrides.array_function_dispatch, module='numpy') # range is a keyword argument to many functions, so save the builtin so they can # use it. _range = range def _hist_bin_sqrt(x, range): """ Square root histogram bin estimator. Bin width is inversely proportional to the data size. Used by many programs for its simplicity. Parameters ---------- x : array_like Input data that is to be histogrammed, trimmed to range. May not be empty. Returns ------- h : An estimate of the optimal bin width for the given data. """ del range # unused return x.ptp() / np.sqrt(x.size) def _hist_bin_sturges(x, range): """ Sturges histogram bin estimator. A very simplistic estimator based on the assumption of normality of the data. This estimator has poor performance for non-normal data, which becomes especially obvious for large data sets. The estimate depends only on size of the data. Parameters ---------- x : array_like Input data that is to be histogrammed, trimmed to range. May not be empty. Returns ------- h : An estimate of the optimal bin width for the given data. """ del range # unused return x.ptp() / (np.log2(x.size) + 1.0) def _hist_bin_rice(x, range): """ Rice histogram bin estimator. Another simple estimator with no normality assumption. It has better performance for large data than Sturges, but tends to overestimate the number of bins. The number of bins is proportional to the cube root of data size (asymptotically optimal). The estimate depends only on size of the data. Parameters ---------- x : array_like Input data that is to be histogrammed, trimmed to range. May not be empty. Returns ------- h : An estimate of the optimal bin width for the given data. """ del range # unused return x.ptp() / (2.0 * x.size ** (1.0 / 3)) def _hist_bin_scott(x, range): """ Scott histogram bin estimator. The binwidth is proportional to the standard deviation of the data and inversely proportional to the cube root of data size (asymptotically optimal). Parameters ---------- x : array_like Input data that is to be histogrammed, trimmed to range. May not be empty. Returns ------- h : An estimate of the optimal bin width for the given data. """ del range # unused return (24.0 * np.pi**0.5 / x.size)**(1.0 / 3.0) * np.std(x) def _hist_bin_stone(x, range): """ Histogram bin estimator based on minimizing the estimated integrated squared error (ISE). The number of bins is chosen by minimizing the estimated ISE against the unknown true distribution. The ISE is estimated using cross-validation and can be regarded as a generalization of Scott's rule. https://en.wikipedia.org/wiki/Histogram#Scott.27s_normal_reference_rule This paper by Stone appears to be the origination of this rule. http://digitalassets.lib.berkeley.edu/sdtr/ucb/text/34.pdf Parameters ---------- x : array_like Input data that is to be histogrammed, trimmed to range. May not be empty. range : (float, float) The lower and upper range of the bins. Returns ------- h : An estimate of the optimal bin width for the given data. """ n = x.size ptp_x = np.ptp(x) if n <= 1 or ptp_x == 0: return 0 def jhat(nbins): hh = ptp_x / nbins p_k = np.histogram(x, bins=nbins, range=range)[0] / n return (2 - (n + 1) * p_k.dot(p_k)) / hh nbins_upper_bound = max(100, int(np.sqrt(n))) nbins = min(_range(1, nbins_upper_bound + 1), key=jhat) if nbins == nbins_upper_bound: warnings.warn("The number of bins estimated may be suboptimal.", RuntimeWarning, stacklevel=3) return ptp_x / nbins def _hist_bin_doane(x, range): """ Doane's histogram bin estimator. Improved version of Sturges' formula which works better for non-normal data. See stats.stackexchange.com/questions/55134/doanes-formula-for-histogram-binning Parameters ---------- x : array_like Input data that is to be histogrammed, trimmed to range. May not be empty. Returns ------- h : An estimate of the optimal bin width for the given data. """ del range # unused if x.size > 2: sg1 = np.sqrt(6.0 * (x.size - 2) / ((x.size + 1.0) * (x.size + 3))) sigma = np.std(x) if sigma > 0.0: # These three operations add up to # g1 = np.mean(((x - np.mean(x)) / sigma)**3) # but use only one temp array instead of three temp = x - np.mean(x) np.true_divide(temp, sigma, temp) np.power(temp, 3, temp) g1 = np.mean(temp) return x.ptp() / (1.0 + np.log2(x.size) + np.log2(1.0 + np.absolute(g1) / sg1)) return 0.0 def _hist_bin_fd(x, range): """ The Freedman-Diaconis histogram bin estimator. The Freedman-Diaconis rule uses interquartile range (IQR) to estimate binwidth. It is considered a variation of the Scott rule with more robustness as the IQR is less affected by outliers than the standard deviation. However, the IQR depends on fewer points than the standard deviation, so it is less accurate, especially for long tailed distributions. If the IQR is 0, this function returns 1 for the number of bins. Binwidth is inversely proportional to the cube root of data size (asymptotically optimal). Parameters ---------- x : array_like Input data that is to be histogrammed, trimmed to range. May not be empty. Returns ------- h : An estimate of the optimal bin width for the given data. """ del range # unused iqr = np.subtract(*np.percentile(x, [75, 25])) return 2.0 * iqr * x.size ** (-1.0 / 3.0) def _hist_bin_auto(x, range): """ Histogram bin estimator that uses the minimum width of the Freedman-Diaconis and Sturges estimators if the FD bandwidth is non zero and the Sturges estimator if the FD bandwidth is 0. The FD estimator is usually the most robust method, but its width estimate tends to be too large for small `x` and bad for data with limited variance. The Sturges estimator is quite good for small (<1000) datasets and is the default in the R language. This method gives good off the shelf behaviour. .. versionchanged:: 1.15.0 If there is limited variance the IQR can be 0, which results in the FD bin width being 0 too. This is not a valid bin width, so ``np.histogram_bin_edges`` chooses 1 bin instead, which may not be optimal. If the IQR is 0, it's unlikely any variance based estimators will be of use, so we revert to the sturges estimator, which only uses the size of the dataset in its calculation. Parameters ---------- x : array_like Input data that is to be histogrammed, trimmed to range. May not be empty. Returns ------- h : An estimate of the optimal bin width for the given data. See Also -------- _hist_bin_fd, _hist_bin_sturges """ fd_bw = _hist_bin_fd(x, range) sturges_bw = _hist_bin_sturges(x, range) del range # unused if fd_bw: return min(fd_bw, sturges_bw) else: # limited variance, so we return a len dependent bw estimator return sturges_bw # Private dict initialized at module load time _hist_bin_selectors = {'stone': _hist_bin_stone, 'auto': _hist_bin_auto, 'doane': _hist_bin_doane, 'fd': _hist_bin_fd, 'rice': _hist_bin_rice, 'scott': _hist_bin_scott, 'sqrt': _hist_bin_sqrt, 'sturges': _hist_bin_sturges} def _ravel_and_check_weights(a, weights): """ Check a and weights have matching shapes, and ravel both """ a = np.asarray(a) # Ensure that the array is a "subtractable" dtype if a.dtype == np.bool_: warnings.warn("Converting input from {} to {} for compatibility." .format(a.dtype, np.uint8), RuntimeWarning, stacklevel=3) a = a.astype(np.uint8) if weights is not None: weights = np.asarray(weights) if weights.shape != a.shape: raise ValueError( 'weights should have the same shape as a.') weights = weights.ravel() a = a.ravel() return a, weights def _get_outer_edges(a, range): """ Determine the outer bin edges to use, from either the data or the range argument """ if range is not None: first_edge, last_edge = range if first_edge > last_edge: raise ValueError( 'max must be larger than min in range parameter.') if not (np.isfinite(first_edge) and np.isfinite(last_edge)): raise ValueError( "supplied range of [{}, {}] is not finite".format(first_edge, last_edge)) elif a.size == 0: # handle empty arrays. Can't determine range, so use 0-1. first_edge, last_edge = 0, 1 else: first_edge, last_edge = a.min(), a.max() if not (np.isfinite(first_edge) and np.isfinite(last_edge)): raise ValueError( "autodetected range of [{}, {}] is not finite".format(first_edge, last_edge)) # expand empty range to avoid divide by zero if first_edge == last_edge: first_edge = first_edge - 0.5 last_edge = last_edge + 0.5 return first_edge, last_edge def _unsigned_subtract(a, b): """ Subtract two values where a >= b, and produce an unsigned result This is needed when finding the difference between the upper and lower bound of an int16 histogram """ # coerce to a single type signed_to_unsigned = { np.byte: np.ubyte, np.short: np.ushort, np.intc: np.uintc, np.int_: np.uint, np.longlong: np.ulonglong } dt = np.result_type(a, b) try: dt = signed_to_unsigned[dt.type] except KeyError: return np.subtract(a, b, dtype=dt) else: # we know the inputs are integers, and we are deliberately casting # signed to unsigned return np.subtract(a, b, casting='unsafe', dtype=dt) def _get_bin_edges(a, bins, range, weights): """ Computes the bins used internally by `histogram`. Parameters ========== a : ndarray Ravelled data array bins, range Forwarded arguments from `histogram`. weights : ndarray, optional Ravelled weights array, or None Returns ======= bin_edges : ndarray Array of bin edges uniform_bins : (Number, Number, int): The upper bound, lowerbound, and number of bins, used in the optimized implementation of `histogram` that works on uniform bins. """ # parse the overloaded bins argument n_equal_bins = None bin_edges = None if isinstance(bins, basestring): bin_name = bins # if `bins` is a string for an automatic method, # this will replace it with the number of bins calculated if bin_name not in _hist_bin_selectors: raise ValueError( "{!r} is not a valid estimator for `bins`".format(bin_name)) if weights is not None: raise TypeError("Automated estimation of the number of " "bins is not supported for weighted data") first_edge, last_edge = _get_outer_edges(a, range) # truncate the range if needed if range is not None: keep = (a >= first_edge) keep &= (a <= last_edge) if not np.logical_and.reduce(keep): a = a[keep] if a.size == 0: n_equal_bins = 1 else: # Do not call selectors on empty arrays width = _hist_bin_selectors[bin_name](a, (first_edge, last_edge)) if width: n_equal_bins = int(np.ceil(_unsigned_subtract(last_edge, first_edge) / width)) else: # Width can be zero for some estimators, e.g. FD when # the IQR of the data is zero. n_equal_bins = 1 elif np.ndim(bins) == 0: try: n_equal_bins = operator.index(bins) except TypeError: raise TypeError( '`bins` must be an integer, a string, or an array') if n_equal_bins < 1: raise ValueError('`bins` must be positive, when an integer') first_edge, last_edge = _get_outer_edges(a, range) elif np.ndim(bins) == 1: bin_edges = np.asarray(bins) if np.any(bin_edges[:-1] > bin_edges[1:]): raise ValueError( '`bins` must increase monotonically, when an array') else: raise ValueError('`bins` must be 1d, when an array') if n_equal_bins is not None: # gh-10322 means that type resolution rules are dependent on array # shapes. To avoid this causing problems, we pick a type now and stick # with it throughout. bin_type = np.result_type(first_edge, last_edge, a) if np.issubdtype(bin_type, np.integer): bin_type = np.result_type(bin_type, float) # bin edges must be computed bin_edges = np.linspace( first_edge, last_edge, n_equal_bins + 1, endpoint=True, dtype=bin_type) return bin_edges, (first_edge, last_edge, n_equal_bins) else: return bin_edges, None def _search_sorted_inclusive(a, v): """ Like `searchsorted`, but where the last item in `v` is placed on the right. In the context of a histogram, this makes the last bin edge inclusive """ return np.concatenate(( a.searchsorted(v[:-1], 'left'), a.searchsorted(v[-1:], 'right') )) def _histogram_bin_edges_dispatcher(a, bins=None, range=None, weights=None): return (a, bins, weights) @array_function_dispatch(_histogram_bin_edges_dispatcher) def histogram_bin_edges(a, bins=10, range=None, weights=None): r""" Function to calculate only the edges of the bins used by the `histogram` function. Parameters ---------- a : array_like Input data. The histogram is computed over the flattened array. bins : int or sequence of scalars or str, optional If `bins` is an int, it defines the number of equal-width bins in the given range (10, by default). If `bins` is a sequence, it defines the bin edges, including the rightmost edge, allowing for non-uniform bin widths. If `bins` is a string from the list below, `histogram_bin_edges` will use the method chosen to calculate the optimal bin width and consequently the number of bins (see `Notes` for more detail on the estimators) from the data that falls within the requested range. While the bin width will be optimal for the actual data in the range, the number of bins will be computed to fill the entire range, including the empty portions. For visualisation, using the 'auto' option is suggested. Weighted data is not supported for automated bin size selection. 'auto' Maximum of the 'sturges' and 'fd' estimators. Provides good all around performance. 'fd' (Freedman Diaconis Estimator) Robust (resilient to outliers) estimator that takes into account data variability and data size. 'doane' An improved version of Sturges' estimator that works better with non-normal datasets. 'scott' Less robust estimator that that takes into account data variability and data size. 'stone' Estimator based on leave-one-out cross-validation estimate of the integrated squared error. Can be regarded as a generalization of Scott's rule. 'rice' Estimator does not take variability into account, only data size. Commonly overestimates number of bins required. 'sturges' R's default method, only accounts for data size. Only optimal for gaussian data and underestimates number of bins for large non-gaussian datasets. 'sqrt' Square root (of data size) estimator, used by Excel and other programs for its speed and simplicity. range : (float, float), optional The lower and upper range of the bins. If not provided, range is simply ``(a.min(), a.max())``. Values outside the range are ignored. The first element of the range must be less than or equal to the second. `range` affects the automatic bin computation as well. While bin width is computed to be optimal based on the actual data within `range`, the bin count will fill the entire range including portions containing no data. weights : array_like, optional An array of weights, of the same shape as `a`. Each value in `a` only contributes its associated weight towards the bin count (instead of 1). This is currently not used by any of the bin estimators, but may be in the future. Returns ------- bin_edges : array of dtype float The edges to pass into `histogram` See Also -------- histogram Notes ----- The methods to estimate the optimal number of bins are well founded in literature, and are inspired by the choices R provides for histogram visualisation. Note that having the number of bins proportional to :math:`n^{1/3}` is asymptotically optimal, which is why it appears in most estimators. These are simply plug-in methods that give good starting points for number of bins. In the equations below, :math:`h` is the binwidth and :math:`n_h` is the number of bins. All estimators that compute bin counts are recast to bin width using the `ptp` of the data. The final bin count is obtained from ``np.round(np.ceil(range / h))``. 'auto' (maximum of the 'sturges' and 'fd' estimators) A compromise to get a good value. For small datasets the Sturges value will usually be chosen, while larger datasets will usually default to FD. Avoids the overly conservative behaviour of FD and Sturges for small and large datasets respectively. Switchover point is usually :math:`a.size \approx 1000`. 'fd' (Freedman Diaconis Estimator) .. math:: h = 2 \frac{IQR}{n^{1/3}} The binwidth is proportional to the interquartile range (IQR) and inversely proportional to cube root of a.size. Can be too conservative for small datasets, but is quite good for large datasets. The IQR is very robust to outliers. 'scott' .. math:: h = \sigma \sqrt[3]{\frac{24 * \sqrt{\pi}}{n}} The binwidth is proportional to the standard deviation of the data and inversely proportional to cube root of ``x.size``. Can be too conservative for small datasets, but is quite good for large datasets. The standard deviation is not very robust to outliers. Values are very similar to the Freedman-Diaconis estimator in the absence of outliers. 'rice' .. math:: n_h = 2n^{1/3} The number of bins is only proportional to cube root of ``a.size``. It tends to overestimate the number of bins and it does not take into account data variability. 'sturges' .. math:: n_h = \log _{2}n+1 The number of bins is the base 2 log of ``a.size``. This estimator assumes normality of data and is too conservative for larger, non-normal datasets. This is the default method in R's ``hist`` method. 'doane' .. math:: n_h = 1 + \log_{2}(n) + \log_{2}(1 + \frac{|g_1|}{\sigma_{g_1}}) g_1 = mean[(\frac{x - \mu}{\sigma})^3] \sigma_{g_1} = \sqrt{\frac{6(n - 2)}{(n + 1)(n + 3)}} An improved version of Sturges' formula that produces better estimates for non-normal datasets. This estimator attempts to account for the skew of the data. 'sqrt' .. math:: n_h = \sqrt n The simplest and fastest estimator. Only takes into account the data size. Examples -------- >>> arr = np.array([0, 0, 0, 1, 2, 3, 3, 4, 5]) >>> np.histogram_bin_edges(arr, bins='auto', range=(0, 1)) array([0. , 0.25, 0.5 , 0.75, 1. ]) >>> np.histogram_bin_edges(arr, bins=2) array([0. , 2.5, 5. ]) For consistency with histogram, an array of pre-computed bins is passed through unmodified: >>> np.histogram_bin_edges(arr, [1, 2]) array([1, 2]) This function allows one set of bins to be computed, and reused across multiple histograms: >>> shared_bins = np.histogram_bin_edges(arr, bins='auto') >>> shared_bins array([0., 1., 2., 3., 4., 5.]) >>> group_id = np.array([0, 1, 1, 0, 1, 1, 0, 1, 1]) >>> hist_0, _ = np.histogram(arr[group_id == 0], bins=shared_bins) >>> hist_1, _ = np.histogram(arr[group_id == 1], bins=shared_bins) >>> hist_0; hist_1 array([1, 1, 0, 1, 0]) array([2, 0, 1, 1, 2]) Which gives more easily comparable results than using separate bins for each histogram: >>> hist_0, bins_0 = np.histogram(arr[group_id == 0], bins='auto') >>> hist_1, bins_1 = np.histogram(arr[group_id == 1], bins='auto') >>> hist_0; hist_1 array([1, 1, 1]) array([2, 1, 1, 2]) >>> bins_0; bins_1 array([0., 1., 2., 3.]) array([0. , 1.25, 2.5 , 3.75, 5. ]) """ a, weights = _ravel_and_check_weights(a, weights) bin_edges, _ = _get_bin_edges(a, bins, range, weights) return bin_edges def _histogram_dispatcher( a, bins=None, range=None, normed=None, weights=None, density=None): return (a, bins, weights) @array_function_dispatch(_histogram_dispatcher) def histogram(a, bins=10, range=None, normed=None, weights=None, density=None): r""" Compute the histogram of a set of data. Parameters ---------- a : array_like Input data. The histogram is computed over the flattened array. bins : int or sequence of scalars or str, optional If `bins` is an int, it defines the number of equal-width bins in the given range (10, by default). If `bins` is a sequence, it defines a monotonically increasing array of bin edges, including the rightmost edge, allowing for non-uniform bin widths. .. versionadded:: 1.11.0 If `bins` is a string, it defines the method used to calculate the optimal bin width, as defined by `histogram_bin_edges`. range : (float, float), optional The lower and upper range of the bins. If not provided, range is simply ``(a.min(), a.max())``. Values outside the range are ignored. The first element of the range must be less than or equal to the second. `range` affects the automatic bin computation as well. While bin width is computed to be optimal based on the actual data within `range`, the bin count will fill the entire range including portions containing no data. normed : bool, optional .. deprecated:: 1.6.0 This is equivalent to the `density` argument, but produces incorrect results for unequal bin widths. It should not be used. .. versionchanged:: 1.15.0 DeprecationWarnings are actually emitted. weights : array_like, optional An array of weights, of the same shape as `a`. Each value in `a` only contributes its associated weight towards the bin count (instead of 1). If `density` is True, the weights are normalized, so that the integral of the density over the range remains 1. density : bool, optional If ``False``, the result will contain the number of samples in each bin. If ``True``, the result is the value of the probability *density* function at the bin, normalized such that the *integral* over the range is 1. Note that the sum of the histogram values will not be equal to 1 unless bins of unity width are chosen; it is not a probability *mass* function. Overrides the ``normed`` keyword if given. Returns ------- hist : array The values of the histogram. See `density` and `weights` for a description of the possible semantics. bin_edges : array of dtype float Return the bin edges ``(length(hist)+1)``. See Also -------- histogramdd, bincount, searchsorted, digitize, histogram_bin_edges Notes ----- All but the last (righthand-most) bin is half-open. In other words, if `bins` is:: [1, 2, 3, 4] then the first bin is ``[1, 2)`` (including 1, but excluding 2) and the second ``[2, 3)``. The last bin, however, is ``[3, 4]``, which *includes* 4. Examples -------- >>> np.histogram([1, 2, 1], bins=[0, 1, 2, 3]) (array([0, 2, 1]), array([0, 1, 2, 3])) >>> np.histogram(np.arange(4), bins=np.arange(5), density=True) (array([0.25, 0.25, 0.25, 0.25]), array([0, 1, 2, 3, 4])) >>> np.histogram([[1, 2, 1], [1, 0, 1]], bins=[0,1,2,3]) (array([1, 4, 1]), array([0, 1, 2, 3])) >>> a = np.arange(5) >>> hist, bin_edges = np.histogram(a, density=True) >>> hist array([0.5, 0. , 0.5, 0. , 0. , 0.5, 0. , 0.5, 0. , 0.5]) >>> hist.sum() 2.4999999999999996 >>> np.sum(hist * np.diff(bin_edges)) 1.0 .. versionadded:: 1.11.0 Automated Bin Selection Methods example, using 2 peak random data with 2000 points: >>> import matplotlib.pyplot as plt >>> rng = np.random.RandomState(10) # deterministic random data >>> a = np.hstack((rng.normal(size=1000), ... rng.normal(loc=5, scale=2, size=1000))) >>> _ = plt.hist(a, bins='auto') # arguments are passed to np.histogram >>> plt.title("Histogram with 'auto' bins") Text(0.5, 1.0, "Histogram with 'auto' bins") >>> plt.show() """ a, weights = _ravel_and_check_weights(a, weights) bin_edges, uniform_bins = _get_bin_edges(a, bins, range, weights) # Histogram is an integer or a float array depending on the weights. if weights is None: ntype = np.dtype(np.intp) else: ntype = weights.dtype # We set a block size, as this allows us to iterate over chunks when # computing histograms, to minimize memory usage. BLOCK = 65536 # The fast path uses bincount, but that only works for certain types # of weight simple_weights = ( weights is None or np.can_cast(weights.dtype, np.double) or np.can_cast(weights.dtype, complex) ) if uniform_bins is not None and simple_weights: # Fast algorithm for equal bins # We now convert values of a to bin indices, under the assumption of # equal bin widths (which is valid here). first_edge, last_edge, n_equal_bins = uniform_bins # Initialize empty histogram n = np.zeros(n_equal_bins, ntype) # Pre-compute histogram scaling factor norm = n_equal_bins / _unsigned_subtract(last_edge, first_edge) # We iterate over blocks here for two reasons: the first is that for # large arrays, it is actually faster (for example for a 10^8 array it # is 2x as fast) and it results in a memory footprint 3x lower in the # limit of large arrays. for i in _range(0, len(a), BLOCK): tmp_a = a[i:i+BLOCK] if weights is None: tmp_w = None else: tmp_w = weights[i:i + BLOCK] # Only include values in the right range keep = (tmp_a >= first_edge) keep &= (tmp_a <= last_edge) if not np.logical_and.reduce(keep): tmp_a = tmp_a[keep] if tmp_w is not None: tmp_w = tmp_w[keep] # This cast ensures no type promotions occur below, which gh-10322 # make unpredictable. Getting it wrong leads to precision errors # like gh-8123. tmp_a = tmp_a.astype(bin_edges.dtype, copy=False) # Compute the bin indices, and for values that lie exactly on # last_edge we need to subtract one f_indices = _unsigned_subtract(tmp_a, first_edge) * norm indices = f_indices.astype(np.intp) indices[indices == n_equal_bins] -= 1 # The index computation is not guaranteed to give exactly # consistent results within ~1 ULP of the bin edges. decrement = tmp_a < bin_edges[indices] indices[decrement] -= 1 # The last bin includes the right edge. The other bins do not. increment = ((tmp_a >= bin_edges[indices + 1]) & (indices != n_equal_bins - 1)) indices[increment] += 1 # We now compute the histogram using bincount if ntype.kind == 'c': n.real += np.bincount(indices, weights=tmp_w.real, minlength=n_equal_bins) n.imag += np.bincount(indices, weights=tmp_w.imag, minlength=n_equal_bins) else: n += np.bincount(indices, weights=tmp_w, minlength=n_equal_bins).astype(ntype) else: # Compute via cumulative histogram cum_n = np.zeros(bin_edges.shape, ntype) if weights is None: for i in _range(0, len(a), BLOCK): sa = np.sort(a[i:i+BLOCK]) cum_n += _search_sorted_inclusive(sa, bin_edges) else: zero = np.zeros(1, dtype=ntype) for i in _range(0, len(a), BLOCK): tmp_a = a[i:i+BLOCK] tmp_w = weights[i:i+BLOCK] sorting_index = np.argsort(tmp_a) sa = tmp_a[sorting_index] sw = tmp_w[sorting_index] cw = np.concatenate((zero, sw.cumsum())) bin_index = _search_sorted_inclusive(sa, bin_edges) cum_n += cw[bin_index] n = np.diff(cum_n) # density overrides the normed keyword if density is not None: if normed is not None: # 2018-06-13, numpy 1.15.0 (this was not noisily deprecated in 1.6) warnings.warn( "The normed argument is ignored when density is provided. " "In future passing both will result in an error.", DeprecationWarning, stacklevel=3) normed = None if density: db = np.array(np.diff(bin_edges), float) return n/db/n.sum(), bin_edges elif normed: # 2018-06-13, numpy 1.15.0 (this was not noisily deprecated in 1.6) warnings.warn( "Passing `normed=True` on non-uniform bins has always been " "broken, and computes neither the probability density " "function nor the probability mass function. " "The result is only correct if the bins are uniform, when " "density=True will produce the same result anyway. " "The argument will be removed in a future version of " "numpy.", np.VisibleDeprecationWarning, stacklevel=3) # this normalization is incorrect, but db = np.array(np.diff(bin_edges), float) return n/(n*db).sum(), bin_edges else: if normed is not None: # 2018-06-13, numpy 1.15.0 (this was not noisily deprecated in 1.6) warnings.warn( "Passing normed=False is deprecated, and has no effect. " "Consider passing the density argument instead.", DeprecationWarning, stacklevel=3) return n, bin_edges def _histogramdd_dispatcher(sample, bins=None, range=None, normed=None, weights=None, density=None): if hasattr(sample, 'shape'): # same condition as used in histogramdd yield sample else: yield from sample with contextlib.suppress(TypeError): yield from bins yield weights @array_function_dispatch(_histogramdd_dispatcher) def histogramdd(sample, bins=10, range=None, normed=None, weights=None, density=None): """ Compute the multidimensional histogram of some data. Parameters ---------- sample : (N, D) array, or (D, N) array_like The data to be histogrammed. Note the unusual interpretation of sample when an array_like: * When an array, each row is a coordinate in a D-dimensional space - such as ``histogramgramdd(np.array([p1, p2, p3]))``. * When an array_like, each element is the list of values for single coordinate - such as ``histogramgramdd((X, Y, Z))``. The first form should be preferred. bins : sequence or int, optional The bin specification: * A sequence of arrays describing the monotonically increasing bin edges along each dimension. * The number of bins for each dimension (nx, ny, ... =bins) * The number of bins for all dimensions (nx=ny=...=bins). range : sequence, optional A sequence of length D, each an optional (lower, upper) tuple giving the outer bin edges to be used if the edges are not given explicitly in `bins`. An entry of None in the sequence results in the minimum and maximum values being used for the corresponding dimension. The default, None, is equivalent to passing a tuple of D None values. density : bool, optional If False, the default, returns the number of samples in each bin. If True, returns the probability *density* function at the bin, ``bin_count / sample_count / bin_volume``. normed : bool, optional An alias for the density argument that behaves identically. To avoid confusion with the broken normed argument to `histogram`, `density` should be preferred. weights : (N,) array_like, optional An array of values `w_i` weighing each sample `(x_i, y_i, z_i, ...)`. Weights are normalized to 1 if normed is True. If normed is False, the values of the returned histogram are equal to the sum of the weights belonging to the samples falling into each bin. Returns ------- H : ndarray The multidimensional histogram of sample x. See normed and weights for the different possible semantics. edges : list A list of D arrays describing the bin edges for each dimension. See Also -------- histogram: 1-D histogram histogram2d: 2-D histogram Examples -------- >>> r = np.random.randn(100,3) >>> H, edges = np.histogramdd(r, bins = (5, 8, 4)) >>> H.shape, edges[0].size, edges[1].size, edges[2].size ((5, 8, 4), 6, 9, 5) """ try: # Sample is an ND-array. N, D = sample.shape except (AttributeError, ValueError): # Sample is a sequence of 1D arrays. sample = np.atleast_2d(sample).T N, D = sample.shape nbin = np.empty(D, int) edges = D*[None] dedges = D*[None] if weights is not None: weights = np.asarray(weights) try: M = len(bins) if M != D: raise ValueError( 'The dimension of bins must be equal to the dimension of the ' ' sample x.') except TypeError: # bins is an integer bins = D*[bins] # normalize the range argument if range is None: range = (None,) * D elif len(range) != D: raise ValueError('range argument must have one entry per dimension') # Create edge arrays for i in _range(D): if np.ndim(bins[i]) == 0: if bins[i] < 1: raise ValueError( '`bins[{}]` must be positive, when an integer'.format(i)) smin, smax = _get_outer_edges(sample[:,i], range[i]) edges[i] = np.linspace(smin, smax, bins[i] + 1) elif np.ndim(bins[i]) == 1: edges[i] = np.asarray(bins[i]) if np.any(edges[i][:-1] > edges[i][1:]): raise ValueError( '`bins[{}]` must be monotonically increasing, when an array' .format(i)) else: raise ValueError( '`bins[{}]` must be a scalar or 1d array'.format(i)) nbin[i] = len(edges[i]) + 1 # includes an outlier on each end dedges[i] = np.diff(edges[i]) # Compute the bin number each sample falls into. Ncount = tuple( # avoid np.digitize to work around gh-11022 np.searchsorted(edges[i], sample[:, i], side='right') for i in _range(D) ) # Using digitize, values that fall on an edge are put in the right bin. # For the rightmost bin, we want values equal to the right edge to be # counted in the last bin, and not as an outlier. for i in _range(D): # Find which points are on the rightmost edge. on_edge = (sample[:, i] == edges[i][-1]) # Shift these points one bin to the left. Ncount[i][on_edge] -= 1 # Compute the sample indices in the flattened histogram matrix. # This raises an error if the array is too large. xy = np.ravel_multi_index(Ncount, nbin) # Compute the number of repetitions in xy and assign it to the # flattened histmat. hist = np.bincount(xy, weights, minlength=nbin.prod()) # Shape into a proper matrix hist = hist.reshape(nbin) # This preserves the (bad) behavior observed in gh-7845, for now. hist = hist.astype(float, casting='safe') # Remove outliers (indices 0 and -1 for each dimension). core = D*(slice(1, -1),) hist = hist[core] # handle the aliasing normed argument if normed is None: if density is None: density = False elif density is None: # an explicit normed argument was passed, alias it to the new name density = normed else: raise TypeError("Cannot specify both 'normed' and 'density'") if density: # calculate the probability density function s = hist.sum() for i in _range(D): shape = np.ones(D, int) shape[i] = nbin[i] - 2 hist = hist / dedges[i].reshape(shape) hist /= s if (hist.shape != nbin - 2).any(): raise RuntimeError( "Internal Shape Error") return hist, edges
apache-2.0
mikebenfield/scikit-learn
sklearn/linear_model/tests/test_passive_aggressive.py
42
10505
from sklearn.utils.testing import assert_true import numpy as np import scipy.sparse as sp from sklearn.utils.testing import assert_less from sklearn.utils.testing import assert_greater from sklearn.utils.testing import assert_array_almost_equal, assert_array_equal from sklearn.utils.testing import assert_almost_equal from sklearn.utils.testing import assert_raises from sklearn.base import ClassifierMixin from sklearn.utils import check_random_state from sklearn.datasets import load_iris from sklearn.linear_model import PassiveAggressiveClassifier from sklearn.linear_model import PassiveAggressiveRegressor iris = load_iris() random_state = check_random_state(12) indices = np.arange(iris.data.shape[0]) random_state.shuffle(indices) X = iris.data[indices] y = iris.target[indices] X_csr = sp.csr_matrix(X) class MyPassiveAggressive(ClassifierMixin): def __init__(self, C=1.0, epsilon=0.01, loss="hinge", fit_intercept=True, n_iter=1, random_state=None): self.C = C self.epsilon = epsilon self.loss = loss self.fit_intercept = fit_intercept self.n_iter = n_iter def fit(self, X, y): n_samples, n_features = X.shape self.w = np.zeros(n_features, dtype=np.float64) self.b = 0.0 for t in range(self.n_iter): for i in range(n_samples): p = self.project(X[i]) if self.loss in ("hinge", "squared_hinge"): loss = max(1 - y[i] * p, 0) else: loss = max(np.abs(p - y[i]) - self.epsilon, 0) sqnorm = np.dot(X[i], X[i]) if self.loss in ("hinge", "epsilon_insensitive"): step = min(self.C, loss / sqnorm) elif self.loss in ("squared_hinge", "squared_epsilon_insensitive"): step = loss / (sqnorm + 1.0 / (2 * self.C)) if self.loss in ("hinge", "squared_hinge"): step *= y[i] else: step *= np.sign(y[i] - p) self.w += step * X[i] if self.fit_intercept: self.b += step def project(self, X): return np.dot(X, self.w) + self.b def test_classifier_accuracy(): for data in (X, X_csr): for fit_intercept in (True, False): for average in (False, True): clf = PassiveAggressiveClassifier(C=1.0, n_iter=30, fit_intercept=fit_intercept, random_state=0, average=average) clf.fit(data, y) score = clf.score(data, y) assert_greater(score, 0.79) if average: assert_true(hasattr(clf, 'average_coef_')) assert_true(hasattr(clf, 'average_intercept_')) assert_true(hasattr(clf, 'standard_intercept_')) assert_true(hasattr(clf, 'standard_coef_')) def test_classifier_partial_fit(): classes = np.unique(y) for data in (X, X_csr): for average in (False, True): clf = PassiveAggressiveClassifier(C=1.0, fit_intercept=True, random_state=0, average=average) for t in range(30): clf.partial_fit(data, y, classes) score = clf.score(data, y) assert_greater(score, 0.79) if average: assert_true(hasattr(clf, 'average_coef_')) assert_true(hasattr(clf, 'average_intercept_')) assert_true(hasattr(clf, 'standard_intercept_')) assert_true(hasattr(clf, 'standard_coef_')) def test_classifier_refit(): # Classifier can be retrained on different labels and features. clf = PassiveAggressiveClassifier().fit(X, y) assert_array_equal(clf.classes_, np.unique(y)) clf.fit(X[:, :-1], iris.target_names[y]) assert_array_equal(clf.classes_, iris.target_names) def test_classifier_correctness(): y_bin = y.copy() y_bin[y != 1] = -1 for loss in ("hinge", "squared_hinge"): clf1 = MyPassiveAggressive(C=1.0, loss=loss, fit_intercept=True, n_iter=2) clf1.fit(X, y_bin) for data in (X, X_csr): clf2 = PassiveAggressiveClassifier(C=1.0, loss=loss, fit_intercept=True, n_iter=2, shuffle=False) clf2.fit(data, y_bin) assert_array_almost_equal(clf1.w, clf2.coef_.ravel(), decimal=2) def test_classifier_undefined_methods(): clf = PassiveAggressiveClassifier() for meth in ("predict_proba", "predict_log_proba", "transform"): assert_raises(AttributeError, lambda x: getattr(clf, x), meth) def test_class_weights(): # Test class weights. X2 = np.array([[-1.0, -1.0], [-1.0, 0], [-.8, -1.0], [1.0, 1.0], [1.0, 0.0]]) y2 = [1, 1, 1, -1, -1] clf = PassiveAggressiveClassifier(C=0.1, n_iter=100, class_weight=None, random_state=100) clf.fit(X2, y2) assert_array_equal(clf.predict([[0.2, -1.0]]), np.array([1])) # we give a small weights to class 1 clf = PassiveAggressiveClassifier(C=0.1, n_iter=100, class_weight={1: 0.001}, random_state=100) clf.fit(X2, y2) # now the hyperplane should rotate clock-wise and # the prediction on this point should shift assert_array_equal(clf.predict([[0.2, -1.0]]), np.array([-1])) def test_partial_fit_weight_class_balanced(): # partial_fit with class_weight='balanced' not supported clf = PassiveAggressiveClassifier(class_weight="balanced") assert_raises(ValueError, clf.partial_fit, X, y, classes=np.unique(y)) def test_equal_class_weight(): X2 = [[1, 0], [1, 0], [0, 1], [0, 1]] y2 = [0, 0, 1, 1] clf = PassiveAggressiveClassifier(C=0.1, n_iter=1000, class_weight=None) clf.fit(X2, y2) # Already balanced, so "balanced" weights should have no effect clf_balanced = PassiveAggressiveClassifier(C=0.1, n_iter=1000, class_weight="balanced") clf_balanced.fit(X2, y2) clf_weighted = PassiveAggressiveClassifier(C=0.1, n_iter=1000, class_weight={0: 0.5, 1: 0.5}) clf_weighted.fit(X2, y2) # should be similar up to some epsilon due to learning rate schedule assert_almost_equal(clf.coef_, clf_weighted.coef_, decimal=2) assert_almost_equal(clf.coef_, clf_balanced.coef_, decimal=2) def test_wrong_class_weight_label(): # ValueError due to wrong class_weight label. X2 = np.array([[-1.0, -1.0], [-1.0, 0], [-.8, -1.0], [1.0, 1.0], [1.0, 0.0]]) y2 = [1, 1, 1, -1, -1] clf = PassiveAggressiveClassifier(class_weight={0: 0.5}) assert_raises(ValueError, clf.fit, X2, y2) def test_wrong_class_weight_format(): # ValueError due to wrong class_weight argument type. X2 = np.array([[-1.0, -1.0], [-1.0, 0], [-.8, -1.0], [1.0, 1.0], [1.0, 0.0]]) y2 = [1, 1, 1, -1, -1] clf = PassiveAggressiveClassifier(class_weight=[0.5]) assert_raises(ValueError, clf.fit, X2, y2) clf = PassiveAggressiveClassifier(class_weight="the larch") assert_raises(ValueError, clf.fit, X2, y2) def test_regressor_mse(): y_bin = y.copy() y_bin[y != 1] = -1 for data in (X, X_csr): for fit_intercept in (True, False): for average in (False, True): reg = PassiveAggressiveRegressor(C=1.0, n_iter=50, fit_intercept=fit_intercept, random_state=0, average=average) reg.fit(data, y_bin) pred = reg.predict(data) assert_less(np.mean((pred - y_bin) ** 2), 1.7) if average: assert_true(hasattr(reg, 'average_coef_')) assert_true(hasattr(reg, 'average_intercept_')) assert_true(hasattr(reg, 'standard_intercept_')) assert_true(hasattr(reg, 'standard_coef_')) def test_regressor_partial_fit(): y_bin = y.copy() y_bin[y != 1] = -1 for data in (X, X_csr): for average in (False, True): reg = PassiveAggressiveRegressor(C=1.0, fit_intercept=True, random_state=0, average=average) for t in range(50): reg.partial_fit(data, y_bin) pred = reg.predict(data) assert_less(np.mean((pred - y_bin) ** 2), 1.7) if average: assert_true(hasattr(reg, 'average_coef_')) assert_true(hasattr(reg, 'average_intercept_')) assert_true(hasattr(reg, 'standard_intercept_')) assert_true(hasattr(reg, 'standard_coef_')) def test_regressor_correctness(): y_bin = y.copy() y_bin[y != 1] = -1 for loss in ("epsilon_insensitive", "squared_epsilon_insensitive"): reg1 = MyPassiveAggressive(C=1.0, loss=loss, fit_intercept=True, n_iter=2) reg1.fit(X, y_bin) for data in (X, X_csr): reg2 = PassiveAggressiveRegressor(C=1.0, loss=loss, fit_intercept=True, n_iter=2, shuffle=False) reg2.fit(data, y_bin) assert_array_almost_equal(reg1.w, reg2.coef_.ravel(), decimal=2) def test_regressor_undefined_methods(): reg = PassiveAggressiveRegressor() for meth in ("transform",): assert_raises(AttributeError, lambda x: getattr(reg, x), meth)
bsd-3-clause
lisa-1010/smart-tutor
code/test_control_problems.py
1
3012
# implementation based on https://github.com/lisa-1010/transfer_rl/blob/master/code/gym_pipeline.py import gym import matplotlib.pyplot as plt # TODO: import agents ENV_NAME = 'CartPole-v0' NUM_TEST_TRIALS = 100 class EnvWrapper(object): """ Wraps the Environment class from gym, so we can make environments partially observable. """ def __init__(self, env_name, partial=False): # if not partial: self.env = gym.make(env_name) def step(self, action): next_state, reward, done, info = self.env.step(action) if partial: if env_name == 'InvertedPendulum-v1': # TODO: hide the velocity element of the state next_state = make_partial(next_state) else: "env cannot be made partial yet" return next_state, reward, done, info class Pipeline(object): def __init__(self, env_name='InvertedPendulum-v1'): self.env = gym.make(env_name) # get action + observation space, pass into agent # TODO: define Agent (e.g. DQN or MCTS + DKT) # self.agent = self.test_performances = [] # self.env.monitor.start('../experiments/' + env_name) def run_episode(self): state = self.env.reset() for timestep in xrange(self.env.spec.timestep_limit): action = self.agent.get_noisy_action(state) next_state, reward, done, info = self.env.step(action) self.agent.perceive_and_train(state, action, reward, next_state, done) state = next_state if done: break def run_test(self, episode_num): # run current agent model on environment, # evaluate average reward, create video total_reward = 0.0 for episode in xrange(NUM_TEST_TRIALS): state = self.env.reset() for step in xrange(self.env.spec.timestep_limit): # self.env.render() action = self.agent.get_action(state) next_state, reward, done, info = self.env.step(action) state = next_state total_reward += reward if done: break avg_reward = total_reward / NUM_TEST_TRIALS self.test_performances.append(avg_reward) print 'Episode: {} Average Reward Per Episode : {} '.format(episode_num,avg_reward) def run(self, num_episodes): for episode in xrange(num_episodes): self.run_episode() # Every 100 episodes, run test and print average reward if episode % 100 == 0: self.run_test(episode) self.env.monitor.close() def plot_results(self): plt.xlabel("Episode") plt.ylabel("Average Test Reward") plt.plot(self.test_performances) plt.savefig('Reward-Vs-Episode') if __name__ == "__main__": pipeline = Pipeline(env_name=ENV_NAME) pipeline.run(num_episodes=100000) pipeline.plot_results()
mit
shoshber/fmriprep
fmriprep/workflows/confounds.py
2
12081
''' Workflow for discovering confounds. Calculates frame displacement, segment regressors, global regressor, dvars, aCompCor, tCompCor ''' from nipype.interfaces import utility, nilearn, fsl from nipype.algorithms import confounds from nipype.pipeline import engine as pe from niworkflows.interfaces.masks import ACompCorRPT, TCompCorRPT from fmriprep import interfaces from fmriprep.interfaces.bids import DerivativesDataSink from fmriprep.interfaces.utils import prepare_roi_from_probtissue def discover_wf(settings, name="ConfoundDiscoverer"): ''' All input fields are required. Calculates global regressor and tCompCor from motion-corrected fMRI ('inputnode.fmri_file'). Calculates DVARS from the fMRI and an EPI brain mask ('inputnode.epi_mask') Calculates frame displacement from MCFLIRT movement parameters ('inputnode.movpar_file') Calculates segment regressors and aCompCor from the fMRI and a white matter/gray matter/CSF segmentation ('inputnode.t1_seg'), after applying the transform to the images. Transforms should be fsl-formatted. Saves the confounds in a file ('outputnode.confounds_file')''' inputnode = pe.Node(utility.IdentityInterface(fields=['fmri_file', 'movpar_file', 't1_tpms', 'epi_mask', 't1_transform', 'reference_image', 'motion_confounds_file', 'source_file']), name='inputnode') outputnode = pe.Node(utility.IdentityInterface(fields=['confounds_file']), name='outputnode') # registration using ANTs t1_registration = pe.MapNode(fsl.preprocess.ApplyXFM(interp='sinc'), name='T1Registration', iterfield='in_file') # DVARS dvars = pe.Node(confounds.ComputeDVARS(save_all=True, remove_zerovariance=True), name="ComputeDVARS") dvars.interface.estimated_memory_gb = settings[ "biggest_epi_file_size_gb"] * 3 # Frame displacement frame_displace = pe.Node(confounds.FramewiseDisplacement(), name="FramewiseDisplacement") frame_displace.interface.estimated_memory_gb = settings[ "biggest_epi_file_size_gb"] * 3 # CompCor tcompcor = pe.Node(TCompCorRPT(components_file='tcompcor.tsv', generate_report=True, percentile_threshold=.05), name="tCompCor") tcompcor.interface.estimated_memory_gb = settings[ "biggest_epi_file_size_gb"] * 3 CSF_roi = pe.Node(utility.Function(input_names=['in_file', 'epi_mask', 'erosion_mm', 'epi_mask_erosion_mm'], output_names=['roi_file', 'eroded_mask'], function=prepare_roi_from_probtissue), name='CSF_roi') CSF_roi.inputs.erosion_mm = 0 CSF_roi.inputs.epi_mask_erosion_mm = 30 WM_roi = pe.Node(utility.Function(input_names=['in_file', 'epi_mask', 'erosion_mm', 'epi_mask_erosion_mm'], output_names=['roi_file', 'eroded_mask'], function=prepare_roi_from_probtissue), name='WM_roi') WM_roi.inputs.erosion_mm = 6 WM_roi.inputs.epi_mask_erosion_mm = 10 def concat_rois_func(in_WM, in_mask, ref_header): import os import nibabel as nb WM_nii = nb.load(in_WM) mask_nii = nb.load(in_mask) # we have to do this explicitly because of potential differences in # qform_code between the two files that prevent SignalExtraction to do # the concatenation concat_nii = nb.funcs.concat_images([WM_nii, mask_nii], check_affines=False) concat_nii = nb.Nifti1Image(concat_nii.get_data(), nb.load(ref_header).affine, nb.load(ref_header).header) concat_nii.to_filename("concat.nii.gz") return os.path.abspath("concat.nii.gz") concat_rois = pe.Node(utility.Function(input_names=['in_WM', 'in_mask', 'ref_header'], output_names=['concat_file'], function=concat_rois_func), name='concat_rois') # Global and segment regressors signals = pe.Node(nilearn.SignalExtraction(detrend=True, class_labels=["WhiteMatter", "GlobalSignal"]), name="SignalExtraction") signals.interface.estimated_memory_gb = settings[ "biggest_epi_file_size_gb"] * 3 def combine_rois(in_CSF, in_WM, ref_header): import os import numpy as np import nibabel as nb CSF_nii = nb.load(in_CSF) CSF_data = CSF_nii.get_data() WM_nii = nb.load(in_WM) WM_data = WM_nii.get_data() combined = np.zeros_like(WM_data) combined[WM_data != 0] = 1 combined[CSF_data != 0] = 1 # we have to do this explicitly because of potential differences in # qform_code between the two files that prevent aCompCor to work new_nii = nb.Nifti1Image(combined, nb.load(ref_header).affine, nb.load(ref_header).header) new_nii.to_filename("logical_or.nii.gz") return os.path.abspath("logical_or.nii.gz") combine_rois = pe.Node(utility.Function(input_names=['in_CSF', 'in_WM', 'ref_header'], output_names=['logical_and_file'], function=combine_rois), name='combine_rois') acompcor = pe.Node(ACompCorRPT(components_file='acompcor.tsv', generate_report=True), name="aCompCor") acompcor.interface.estimated_memory_gb = settings[ "biggest_epi_file_size_gb"] * 3 ds_report_a = pe.Node( DerivativesDataSink(base_directory=settings['output_dir'], suffix='acompcor', out_path_base='reports'), name='ds_report_a' ) ds_report_t = pe.Node( DerivativesDataSink(base_directory=settings['output_dir'], suffix='tcompcor', out_path_base='reports'), name='ds_report_t' ) # misc utilities concat = pe.Node(utility.Function(function=_gather_confounds, input_names=['signals', 'dvars', 'frame_displace', 'tcompcor', 'acompcor', 'motion'], output_names=['combined_out']), name="ConcatConfounds") ds_confounds = pe.Node(interfaces.DerivativesDataSink(base_directory=settings['output_dir'], suffix='confounds'), name="DerivConfounds") def pick_csf(files): return files[0] def pick_wm(files): return files[2] workflow = pe.Workflow(name=name) workflow.connect([ # connect inputnode to each non-anatomical confound node (inputnode, dvars, [('fmri_file', 'in_file'), ('epi_mask', 'in_mask')]), (inputnode, frame_displace, [('movpar_file', 'in_plots')]), (inputnode, tcompcor, [('fmri_file', 'realigned_file')]), # anatomically-based confound computation requires coregistration (inputnode, t1_registration, [('reference_image', 'reference'), ('t1_tpms', 'in_file'), ('t1_transform', 'in_matrix_file')]), (t1_registration, CSF_roi, [(('out_file', pick_csf), 'in_file')]), (inputnode, CSF_roi, [('epi_mask', 'epi_mask')]), (CSF_roi, tcompcor, [('eroded_mask', 'mask_file')]), (t1_registration, WM_roi, [(('out_file', pick_wm), 'in_file')]), (inputnode, WM_roi, [('epi_mask', 'epi_mask')]), (CSF_roi, combine_rois, [('roi_file', 'in_CSF')]), (WM_roi, combine_rois, [('roi_file', 'in_WM')]), (inputnode, combine_rois, [('fmri_file', 'ref_header')]), # anatomical confound: aCompCor. (inputnode, acompcor, [('fmri_file', 'realigned_file')]), (combine_rois, acompcor, [('logical_and_file', 'mask_file')]), (WM_roi, concat_rois, [('roi_file', 'in_WM')]), (inputnode, concat_rois, [('epi_mask', 'in_mask')]), (inputnode, concat_rois, [('fmri_file', 'ref_header')]), # anatomical confound: signal extraction (concat_rois, signals, [('concat_file', 'label_files')]), (inputnode, signals, [('fmri_file', 'in_file')]), # connect the confound nodes to the concatenate node (signals, concat, [('out_file', 'signals')]), (dvars, concat, [('out_all', 'dvars')]), (frame_displace, concat, [('out_file', 'frame_displace')]), (tcompcor, concat, [('components_file', 'tcompcor')]), (acompcor, concat, [('components_file', 'acompcor')]), (inputnode, concat, [('motion_confounds_file', 'motion')]), (concat, outputnode, [('combined_out', 'confounds_file')]), # print stuff in derivatives (concat, ds_confounds, [('combined_out', 'in_file')]), (inputnode, ds_confounds, [('source_file', 'source_file')]), (acompcor, ds_report_a, [('out_report', 'in_file')]), (inputnode, ds_report_a, [('source_file', 'source_file')]), (tcompcor, ds_report_t, [('out_report', 'in_file')]), (inputnode, ds_report_t, [('source_file', 'source_file')]) ]) return workflow def _gather_confounds(signals=None, dvars=None, frame_displace=None, tcompcor=None, acompcor=None, motion=None): ''' load confounds from the filenames, concatenate together horizontally, and re-save ''' import pandas as pd import os.path as op def less_breakable(a_string): ''' hardens the string to different envs (i.e. case insensitive, no whitespace, '#' ''' return ''.join(a_string.split()).strip('#') all_files = [confound for confound in [signals, dvars, frame_displace, tcompcor, acompcor, motion] if confound is not None] confounds_data = pd.DataFrame() for file_name in all_files: # assumes they all have headings already new = pd.read_csv(file_name, sep="\t") for column_name in new.columns: new.rename(columns={column_name: less_breakable(column_name)}, inplace=True) confounds_data = pd.concat((confounds_data, new), axis=1) combined_out = op.abspath('confounds.tsv') confounds_data.to_csv(combined_out, sep=str("\t"), index=False, na_rep="n/a") return combined_out def reverse_order(inlist): ''' if a list, return the list in reversed order; else it is a single item, return it.''' if isinstance(inlist, list): inlist.reverse() return inlist
bsd-3-clause
ChanderG/scipy
scipy/stats/_binned_statistic.py
26
17723
from __future__ import division, print_function, absolute_import import warnings import numpy as np from scipy._lib.six import callable from collections import namedtuple __all__ = ['binned_statistic', 'binned_statistic_2d', 'binned_statistic_dd'] def binned_statistic(x, values, statistic='mean', bins=10, range=None): """ Compute a binned statistic for a set of data. This is a generalization of a histogram function. A histogram divides the space into bins, and returns the count of the number of points in each bin. This function allows the computation of the sum, mean, median, or other statistic of the values within each bin. Parameters ---------- x : array_like A sequence of values to be binned. values : array_like The values on which the statistic will be computed. This must be the same shape as `x`. statistic : string or callable, optional The statistic to compute (default is 'mean'). The following statistics are available: * 'mean' : compute the mean of values for points within each bin. Empty bins will be represented by NaN. * 'median' : compute the median of values for points within each bin. Empty bins will be represented by NaN. * 'count' : compute the count of points within each bin. This is identical to an unweighted histogram. `values` array is not referenced. * 'sum' : compute the sum of values for points within each bin. This is identical to a weighted histogram. * function : a user-defined function which takes a 1D array of values, and outputs a single numerical statistic. This function will be called on the values in each bin. Empty bins will be represented by function([]), or NaN if this returns an error. bins : int or sequence of scalars, optional If `bins` is an int, it defines the number of equal-width bins in the given range (10 by default). If `bins` is a sequence, it defines the bin edges, including the rightmost edge, allowing for non-uniform bin widths. Values in `x` that are smaller than lowest bin edge are assigned to bin number 0, values beyond the highest bin are assigned to ``bins[-1]``. range : (float, float) or [(float, float)], optional The lower and upper range of the bins. If not provided, range is simply ``(x.min(), x.max())``. Values outside the range are ignored. Returns ------- statistic : array The values of the selected statistic in each bin. bin_edges : array of dtype float Return the bin edges ``(length(statistic)+1)``. binnumber : 1-D ndarray of ints This assigns to each observation an integer that represents the bin in which this observation falls. Array has the same length as values. See Also -------- numpy.histogram, binned_statistic_2d, binned_statistic_dd Notes ----- All but the last (righthand-most) bin is half-open. In other words, if `bins` is ``[1, 2, 3, 4]``, then the first bin is ``[1, 2)`` (including 1, but excluding 2) and the second ``[2, 3)``. The last bin, however, is ``[3, 4]``, which *includes* 4. .. versionadded:: 0.11.0 Examples -------- >>> from scipy import stats >>> import matplotlib.pyplot as plt First a basic example: >>> stats.binned_statistic([1, 2, 1, 2, 4], np.arange(5), statistic='mean', ... bins=3) (array([ 1., 2., 4.]), array([ 1., 2., 3., 4.]), array([1, 2, 1, 2, 3])) As a second example, we now generate some random data of sailing boat speed as a function of wind speed, and then determine how fast our boat is for certain wind speeds: >>> windspeed = 8 * np.random.rand(500) >>> boatspeed = .3 * windspeed**.5 + .2 * np.random.rand(500) >>> bin_means, bin_edges, binnumber = stats.binned_statistic(windspeed, ... boatspeed, statistic='median', bins=[1,2,3,4,5,6,7]) >>> plt.figure() >>> plt.plot(windspeed, boatspeed, 'b.', label='raw data') >>> plt.hlines(bin_means, bin_edges[:-1], bin_edges[1:], colors='g', lw=5, ... label='binned statistic of data') >>> plt.legend() Now we can use ``binnumber`` to select all datapoints with a windspeed below 1: >>> low_boatspeed = boatspeed[binnumber == 0] As a final example, we will use ``bin_edges`` and ``binnumber`` to make a plot of a distribution that shows the mean and distribution around that mean per bin, on top of a regular histogram and the probability distribution function: >>> x = np.linspace(0, 5, num=500) >>> x_pdf = stats.maxwell.pdf(x) >>> samples = stats.maxwell.rvs(size=10000) >>> bin_means, bin_edges, binnumber = stats.binned_statistic(x, x_pdf, ... statistic='mean', bins=25) >>> bin_width = (bin_edges[1] - bin_edges[0]) >>> bin_centers = bin_edges[1:] - bin_width/2 >>> plt.figure() >>> plt.hist(samples, bins=50, normed=True, histtype='stepfilled', alpha=0.2, ... label='histogram of data') >>> plt.plot(x, x_pdf, 'r-', label='analytical pdf') >>> plt.hlines(bin_means, bin_edges[:-1], bin_edges[1:], colors='g', lw=2, ... label='binned statistic of data') >>> plt.plot((binnumber - 0.5) * bin_width, x_pdf, 'g.', alpha=0.5) >>> plt.legend(fontsize=10) >>> plt.show() """ try: N = len(bins) except TypeError: N = 1 if N != 1: bins = [np.asarray(bins, float)] if range is not None: if len(range) == 2: range = [range] medians, edges, xy = binned_statistic_dd([x], values, statistic, bins, range) BinnedStatisticResult = namedtuple('BinnedStatisticResult', ('statistic', 'bin_edges', 'binnumber')) return BinnedStatisticResult(medians, edges[0], xy) def binned_statistic_2d(x, y, values, statistic='mean', bins=10, range=None): """ Compute a bidimensional binned statistic for a set of data. This is a generalization of a histogram2d function. A histogram divides the space into bins, and returns the count of the number of points in each bin. This function allows the computation of the sum, mean, median, or other statistic of the values within each bin. Parameters ---------- x : (N,) array_like A sequence of values to be binned along the first dimension. y : (M,) array_like A sequence of values to be binned along the second dimension. values : (N,) array_like The values on which the statistic will be computed. This must be the same shape as `x`. statistic : string or callable, optional The statistic to compute (default is 'mean'). The following statistics are available: * 'mean' : compute the mean of values for points within each bin. Empty bins will be represented by NaN. * 'median' : compute the median of values for points within each bin. Empty bins will be represented by NaN. * 'count' : compute the count of points within each bin. This is identical to an unweighted histogram. `values` array is not referenced. * 'sum' : compute the sum of values for points within each bin. This is identical to a weighted histogram. * function : a user-defined function which takes a 1D array of values, and outputs a single numerical statistic. This function will be called on the values in each bin. Empty bins will be represented by function([]), or NaN if this returns an error. bins : int or [int, int] or array_like or [array, array], optional The bin specification: * the number of bins for the two dimensions (nx=ny=bins), * the number of bins in each dimension (nx, ny = bins), * the bin edges for the two dimensions (x_edges = y_edges = bins), * the bin edges in each dimension (x_edges, y_edges = bins). range : (2,2) array_like, optional The leftmost and rightmost edges of the bins along each dimension (if not specified explicitly in the `bins` parameters): [[xmin, xmax], [ymin, ymax]]. All values outside of this range will be considered outliers and not tallied in the histogram. Returns ------- statistic : (nx, ny) ndarray The values of the selected statistic in each two-dimensional bin x_edges : (nx + 1) ndarray The bin edges along the first dimension. y_edges : (ny + 1) ndarray The bin edges along the second dimension. binnumber : 1-D ndarray of ints This assigns to each observation an integer that represents the bin in which this observation falls. Array has the same length as `values`. See Also -------- numpy.histogram2d, binned_statistic, binned_statistic_dd Notes ----- .. versionadded:: 0.11.0 """ # This code is based on np.histogram2d try: N = len(bins) except TypeError: N = 1 if N != 1 and N != 2: xedges = yedges = np.asarray(bins, float) bins = [xedges, yedges] medians, edges, xy = binned_statistic_dd([x, y], values, statistic, bins, range) BinnedStatistic2dResult = namedtuple('BinnedStatistic2dResult', ('statistic', 'x_edge', 'y_edge', 'binnumber')) return BinnedStatistic2dResult(medians, edges[0], edges[1], xy) def binned_statistic_dd(sample, values, statistic='mean', bins=10, range=None): """ Compute a multidimensional binned statistic for a set of data. This is a generalization of a histogramdd function. A histogram divides the space into bins, and returns the count of the number of points in each bin. This function allows the computation of the sum, mean, median, or other statistic of the values within each bin. Parameters ---------- sample : array_like Data to histogram passed as a sequence of D arrays of length N, or as an (N,D) array. values : array_like The values on which the statistic will be computed. This must be the same shape as x. statistic : string or callable, optional The statistic to compute (default is 'mean'). The following statistics are available: * 'mean' : compute the mean of values for points within each bin. Empty bins will be represented by NaN. * 'median' : compute the median of values for points within each bin. Empty bins will be represented by NaN. * 'count' : compute the count of points within each bin. This is identical to an unweighted histogram. `values` array is not referenced. * 'sum' : compute the sum of values for points within each bin. This is identical to a weighted histogram. * function : a user-defined function which takes a 1D array of values, and outputs a single numerical statistic. This function will be called on the values in each bin. Empty bins will be represented by function([]), or NaN if this returns an error. bins : sequence or int, optional The bin specification: * A sequence of arrays describing the bin edges along each dimension. * The number of bins for each dimension (nx, ny, ... =bins) * The number of bins for all dimensions (nx=ny=...=bins). range : sequence, optional A sequence of lower and upper bin edges to be used if the edges are not given explicitely in `bins`. Defaults to the minimum and maximum values along each dimension. Returns ------- statistic : ndarray, shape(nx1, nx2, nx3,...) The values of the selected statistic in each two-dimensional bin bin_edges : list of ndarrays A list of D arrays describing the (nxi + 1) bin edges for each dimension binnumber : 1-D ndarray of ints This assigns to each observation an integer that represents the bin in which this observation falls. Array has the same length as values. See Also -------- np.histogramdd, binned_statistic, binned_statistic_2d Notes ----- .. versionadded:: 0.11.0 """ known_stats = ['mean', 'median', 'count', 'sum', 'std'] if not callable(statistic) and statistic not in known_stats: raise ValueError('invalid statistic %r' % (statistic,)) # This code is based on np.histogramdd try: # Sample is an ND-array. N, D = sample.shape except (AttributeError, ValueError): # Sample is a sequence of 1D arrays. sample = np.atleast_2d(sample).T N, D = sample.shape nbin = np.empty(D, int) edges = D * [None] dedges = D * [None] try: M = len(bins) if M != D: raise AttributeError('The dimension of bins must be equal ' 'to the dimension of the sample x.') except TypeError: bins = D * [bins] # Select range for each dimension # Used only if number of bins is given. if range is None: smin = np.atleast_1d(np.array(sample.min(0), float)) smax = np.atleast_1d(np.array(sample.max(0), float)) else: smin = np.zeros(D) smax = np.zeros(D) for i in np.arange(D): smin[i], smax[i] = range[i] # Make sure the bins have a finite width. for i in np.arange(len(smin)): if smin[i] == smax[i]: smin[i] = smin[i] - .5 smax[i] = smax[i] + .5 # Create edge arrays for i in np.arange(D): if np.isscalar(bins[i]): nbin[i] = bins[i] + 2 # +2 for outlier bins edges[i] = np.linspace(smin[i], smax[i], nbin[i] - 1) else: edges[i] = np.asarray(bins[i], float) nbin[i] = len(edges[i]) + 1 # +1 for outlier bins dedges[i] = np.diff(edges[i]) nbin = np.asarray(nbin) # Compute the bin number each sample falls into. Ncount = {} for i in np.arange(D): Ncount[i] = np.digitize(sample[:, i], edges[i]) # Using digitize, values that fall on an edge are put in the right bin. # For the rightmost bin, we want values equal to the right # edge to be counted in the last bin, and not as an outlier. for i in np.arange(D): # Rounding precision decimal = int(-np.log10(dedges[i].min())) + 6 # Find which points are on the rightmost edge. on_edge = np.where(np.around(sample[:, i], decimal) == np.around(edges[i][-1], decimal))[0] # Shift these points one bin to the left. Ncount[i][on_edge] -= 1 # Compute the sample indices in the flattened statistic matrix. ni = nbin.argsort() xy = np.zeros(N, int) for i in np.arange(0, D - 1): xy += Ncount[ni[i]] * nbin[ni[i + 1:]].prod() xy += Ncount[ni[-1]] result = np.empty(nbin.prod(), float) if statistic == 'mean': result.fill(np.nan) flatcount = np.bincount(xy, None) flatsum = np.bincount(xy, values) a = flatcount.nonzero() result[a] = flatsum[a] / flatcount[a] elif statistic == 'std': result.fill(0) flatcount = np.bincount(xy, None) flatsum = np.bincount(xy, values) flatsum2 = np.bincount(xy, values ** 2) a = flatcount.nonzero() result[a] = np.sqrt(flatsum2[a] / flatcount[a] - (flatsum[a] / flatcount[a]) ** 2) elif statistic == 'count': result.fill(0) flatcount = np.bincount(xy, None) a = np.arange(len(flatcount)) result[a] = flatcount elif statistic == 'sum': result.fill(0) flatsum = np.bincount(xy, values) a = np.arange(len(flatsum)) result[a] = flatsum elif statistic == 'median': result.fill(np.nan) for i in np.unique(xy): result[i] = np.median(values[xy == i]) elif callable(statistic): with warnings.catch_warnings(): # Numpy generates a warnings for mean/std/... with empty list warnings.filterwarnings('ignore', category=RuntimeWarning) old = np.seterr(invalid='ignore') try: null = statistic([]) except: null = np.nan np.seterr(**old) result.fill(null) for i in np.unique(xy): result[i] = statistic(values[xy == i]) # Shape into a proper matrix result = result.reshape(np.sort(nbin)) for i in np.arange(nbin.size): j = ni.argsort()[i] result = result.swapaxes(i, j) ni[i], ni[j] = ni[j], ni[i] # Remove outliers (indices 0 and -1 for each dimension). core = D * [slice(1, -1)] result = result[core] if (result.shape != nbin - 2).any(): raise RuntimeError('Internal Shape Error') BinnedStatisticddResult = namedtuple('BinnedStatisticddResult', ('statistic', 'bin_edges', 'binnumber')) return BinnedStatisticddResult(result, edges, xy)
bsd-3-clause
liganega/Gongsu-DataSci
previous/y2017/W11-pandas-intro/GongSu25_Statistics_Sampling_Distribution.py
2
5188
# coding: utf-8 # In[1]: from __future__ import print_function, division # #### 자료 안내: 여기서 다루는 내용은 아래 사이트의 내용을 참고하여 생성되었음. # # https://github.com/rouseguy/intro2stats # # 표본분포와 신뢰구간 # ## 주요내용 # # 앞서 [GongSu22](https://github.com/liganega/Gongsu-DataSci/blob/master/Notes/W10/GongSu22_Statistics_Population_Variance.ipynb)에서 표본 데이터를 이용하여 모집단의 평균과 분산에 대한 점추정을 알아보았다. # 여기서는 표본분포를 이용하여 미국 51개 주에서 거래된 담배(식물) 도매가의 평균에 대한 신뢰구간을 구하는 방법을 알아본다. # ## 주요 예제 # # * 캘리포니아 주에서 2014년에 거래된 상품 담배(식물)의 도매가 # * 도매가의 표본분포 구하기 # * 도매가의 평균값 추정치의 신뢰구간 구하기 # ## 주요 모듈 # # numpy와 pandas 이외에 통계전용 모듈인 stats 모듈을 임포트 한다. # In[2]: import numpy as np import pandas as pd from scipy import stats # ## 연도별, 월별 데이터 추출하기 # Weed_Price.csv의 date 열에는 거래일자가 2014-01-01의 형식으로 포함되어 있다. # 이 정보를 이용하여 연도별, 월별 데이터를 구하려면 거래일자로부터 연도 또는 월에 대한 정보만을 추출할 수 있어야 한다. # # 여기서는 Timestamp 자료형의 속성을 활용하여 필요한 정보를 얻는 방식을 배운다. # ### csv 파일 불러오기 # # 먼저 Weed_Price.csv 파일의 내용을 다시 불러 온다. # In[3]: weed_pd = pd.read_csv("data/Weed_Price.csv", parse_dates=[-1]) # In[4]: weed_pd.head() # ### Timestamp 자료형 # # date 열에는 거래일자 정보가 들어 있는데, 각 정보의 자료형은 Timestamp 라고 불린다. # # 0번 줄의 date 정보를 확인하면 Timestamp 자료형이 사용된 것을 확인할 수 있다. # In[5]: weed_pd.date[0] # Timestamp 자료형에는 year, month, day 등 거래일자에 대한 구체적인 구체적인 정보를 담고 있는 속성이 포함되어 있다. # In[6]: weed_pd.date[0].year # In[7]: weed_pd.date[0].month # In[8]: weed_pd.date[0].day # ### apply 함수 활용 # # 위 속성들을 이용하여 거래일자에서 연도별, 월별 정보를 추출하여 새로운 열(컬럼)으로 추가할 수 있다. # 이를 위해 apply() 함수를 활용한다. # # **주의:** Series와 DataFrame 자료형에 apply 함수와 동일한 기능을 가진 apply 메소드가 선언되어 있다. # 먼저 weed_pd.date 의 자료형이 Series 임을 확인한다. # In[9]: type(weed_pd.date) # x가 Timestamp 자료형일 때, x 에서 연도 정보를 추출하는 함수를 아래와 같이 정의할 수 있다. # In[10]: def getYear(x): return x.year # 동일한 방식으로 x가 Timestamp 자료형일 때, x 에서 월에 정보를 추출하는 함수를 아래와 같이 정의할 수 있다. # In[11]: def getMonth(x): return x.month # 이제 두 함수를 이용하여 거래년도 만을 담는 칸을 추가할 수 있다. # # 먼저 아래 코드를 실행해보자. # In[12]: year_col = weed_pd.date.apply(getYear) year_col.head() # 위 결과의 자료형은 Series 이다. # In[13]: type(year_col) # 동일한 방식으로 month_col을 추출한다. # In[14]: month_col = weed_pd.date.apply(getMonth) month_col.head() # ### DataFrame에 열 추가하기 # # 추출한 두 시리즈를 weed_pd 에 새로운 열로 추가한다. # In[15]: weed_pd["month"] = month_col weed_pd["year"] = year_col # 두 개의 열이 추가되었음을 확인할 수 있다. # In[16]: weed_pd.head() # ## 캘리포니아 주에서 2014년도 거래된 담배(식물) 도매가 추출하기 # 마스크 인덱싱을 활용하여 캘리포니아 주에서 2014년도에 거래된 데이터만 추출할 수 있다. # # **주의:** year 열을 추가하였기에 가능하다. # In[17]: weed_ca_2014 = weed_pd[(weed_pd.State=="California") & (weed_pd.year==2014)] weed_ca_2014.head() # ### 캘리포니아 주에서 2014년도에 거래된 상품 담배(식물)의 도매가의 평균분포 # #### 평균분포의 평균값 # In[18]: ca_2014_mean = weed_ca_2014.HighQ.mean() ca_2014_mean # #### 평균분포의 분산 # In[19]: ca_2014_std = weed_ca_2014.HighQ.std() ca_2014_std # #### 신뢰구간 # # 신뢰수준 95%에 대한 신뢰구간을 구할 수 있다. # In[20]: stats.norm.interval(0.95, loc=ca_2014_mean, scale = ca_2014_std/np.sqrt(len(weed_ca_2014))) # 신뢰구간 설명: Weed_Price.csv 파일에는 거래된 담배의 도매가의 일부 데이터들의 표본을 담고 있다. # 하지만 이 정보를 이용하여 미국 전체에서 거래된 모든 모대가에 대한 정보를 추정할 수 있다. # 이를 위해 표본분포를 활용하며, 앞서 구한 신뢰구간의 의미는 다음과 같다. # # > 캘리포니아 주에서 2014년도에 거래된 모든 상품(HighQ) 담배(식물)의 도매가의 평균값은 앞서 구한 신뢰구간에 위치할 확률이 95%이다.
gpl-3.0
nansencenter/DAPPER
examples/basic_2.py
1
2760
# ## Illustrate usage of DAPPER to benchmark multiple DA methods. # #### Imports # <b>NB:</b> If you're on <mark><b>Gooble Colab</b></mark>, # then replace `%matplotlib notebook` below by # `!python -m pip install git+https://github.com/nansencenter/DAPPER.git` . # Also note that liveplotting does not work on Colab. # %matplotlib notebook import dapper as dpr import dapper.da_methods as da seed = dpr.set_seed(3000) # #### DA method configurations xps = dpr.xpList() from dapper.mods.Lorenz63.sakov2012 import HMM # Expected rmse.a: xps += da.Climatology() # 7.6 xps += da.OptInterp() # 1.25 xps += da.Var3D(xB=0.1) # 1.03 xps += da.ExtKF(infl=90) # 0.87 xps += da.EnKF('Sqrt' , N=3 , infl=1.30) # 0.82 xps += da.EnKF('Sqrt' , N=10 , infl=1.02, rot=True) # 0.63 xps += da.EnKF('PertObs', N=500 , infl=0.95, rot=False) # 0.56 xps += da.EnKF_N( N=10 , rot=True) # 0.54 xps += da.iEnKS('Sqrt' , N=10 , infl=1.02, rot=True) # 0.31 xps += da.PartFilt( N=100 , reg=2.4 , NER=0.3) # 0.38 xps += da.PartFilt( N=800 , reg=0.9 , NER=0.2) # 0.28 # xps += da.PartFilt( N=4000, reg=0.7 , NER=0.05) # 0.27 # xps += da.PFxN(xN=1000, N=30 , Qs=2 , NER=0.2) # 0.56 # #### With Lorenz-96 instead # + # from dapper.mods.Lorenz96.sakov2008 import HMM # Expected rmse.a: # xps += da.Climatology() # 3.6 # xps += da.OptInterp() # 0.95 # xps += da.Var3D(xB=0.02) # 0.41 # xps += da.ExtKF(infl=6) # 0.24 # xps += da.EnKF('PertObs', N=40, infl=1.06) # 0.22 # xps += da.EnKF('Sqrt', N=28, infl=1.02, rot=True) # 0.18 # # xps += da.EnKF_N( N=24, rot=True) # 0.21 # xps += da.EnKF_N( N=24, rot=True, xN=2) # 0.18 # xps += da.iEnKS('Sqrt', N=40, infl=1.01, rot=True) # 0.17 # # xps += da.LETKF( N=7, infl=1.04, rot=True, loc_rad=4) # 0.22 # xps += da.SL_EAKF( N=7, infl=1.07, rot=True, loc_rad=6) # 0.23 # - # #### Other models (suitable xp's listed in HMM files): # + # from dapper.mods.LA .evensen2009 import HMM # from dapper.mods.KS .bocquet2019 import HMM # from dapper.mods.LotkaVolterra.settings101 import HMM # - # #### Run experiment # Adjust experiment duration HMM.t.BurnIn = 2 HMM.t.T = 50 # Assimilate (for each xp in xps) save_as = xps.launch(HMM, liveplots=False) # #### Print results print(xps.tabulate_avrgs())
mit
alvarofierroclavero/scikit-learn
examples/feature_selection/plot_feature_selection.py
249
2827
""" =============================== Univariate Feature Selection =============================== An example showing univariate feature selection. Noisy (non informative) features are added to the iris data and univariate feature selection is applied. For each feature, we plot the p-values for the univariate feature selection and the corresponding weights of an SVM. We can see that univariate feature selection selects the informative features and that these have larger SVM weights. In the total set of features, only the 4 first ones are significant. We can see that they have the highest score with univariate feature selection. The SVM assigns a large weight to one of these features, but also Selects many of the non-informative features. Applying univariate feature selection before the SVM increases the SVM weight attributed to the significant features, and will thus improve classification. """ print(__doc__) import numpy as np import matplotlib.pyplot as plt from sklearn import datasets, svm from sklearn.feature_selection import SelectPercentile, f_classif ############################################################################### # import some data to play with # The iris dataset iris = datasets.load_iris() # Some noisy data not correlated E = np.random.uniform(0, 0.1, size=(len(iris.data), 20)) # Add the noisy data to the informative features X = np.hstack((iris.data, E)) y = iris.target ############################################################################### plt.figure(1) plt.clf() X_indices = np.arange(X.shape[-1]) ############################################################################### # Univariate feature selection with F-test for feature scoring # We use the default selection function: the 10% most significant features selector = SelectPercentile(f_classif, percentile=10) selector.fit(X, y) scores = -np.log10(selector.pvalues_) scores /= scores.max() plt.bar(X_indices - .45, scores, width=.2, label=r'Univariate score ($-Log(p_{value})$)', color='g') ############################################################################### # Compare to the weights of an SVM clf = svm.SVC(kernel='linear') clf.fit(X, y) svm_weights = (clf.coef_ ** 2).sum(axis=0) svm_weights /= svm_weights.max() plt.bar(X_indices - .25, svm_weights, width=.2, label='SVM weight', color='r') clf_selected = svm.SVC(kernel='linear') clf_selected.fit(selector.transform(X), y) svm_weights_selected = (clf_selected.coef_ ** 2).sum(axis=0) svm_weights_selected /= svm_weights_selected.max() plt.bar(X_indices[selector.get_support()] - .05, svm_weights_selected, width=.2, label='SVM weights after selection', color='b') plt.title("Comparing feature selection") plt.xlabel('Feature number') plt.yticks(()) plt.axis('tight') plt.legend(loc='upper right') plt.show()
bsd-3-clause
larsmans/scikit-learn
doc/conf.py
11
8021
# -*- coding: utf-8 -*- # # scikit-learn documentation build configuration file, created by # sphinx-quickstart on Fri Jan 8 09:13:42 2010. # # This file is execfile()d with the current directory set to its containing # dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented out # serve to show the default. from __future__ import print_function import sys import os from sklearn.externals.six import u # If extensions (or modules to document with autodoc) are in another # directory, add these directories to sys.path here. If the directory # is relative to the documentation root, use os.path.abspath to make it # absolute, like shown here. sys.path.insert(0, os.path.abspath('sphinxext')) from github_link import make_linkcode_resolve # -- General configuration --------------------------------------------------- # Try to override the matplotlib configuration as early as possible try: import gen_rst except: pass # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = ['gen_rst', 'sphinx.ext.autodoc', 'sphinx.ext.autosummary', 'sphinx.ext.pngmath', 'numpy_ext.numpydoc', 'sphinx.ext.linkcode', ] autosummary_generate = True autodoc_default_flags = ['members', 'inherited-members'] # Add any paths that contain templates here, relative to this directory. templates_path = ['templates'] # generate autosummary even if no references autosummary_generate = True # The suffix of source filenames. source_suffix = '.rst' # The encoding of source files. #source_encoding = 'utf-8' # Generate the plots for the gallery plot_gallery = True # The master toctree document. master_doc = 'index' # General information about the project. project = u('scikit-learn') copyright = u('2010 - 2014, scikit-learn developers (BSD License)') # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. version = '0.16-git' # The full version, including alpha/beta/rc tags. import sklearn release = sklearn.__version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y' # List of documents that shouldn't be included in the build. #unused_docs = [] # List of directories, relative to source directory, that shouldn't be # searched for source files. exclude_trees = ['_build', 'templates', 'includes'] # The reST default role (used for this markup: `text`) to use for all # documents. #default_role = None # If true, '()' will be appended to :func: etc. cross-reference text. add_function_parentheses = False # If true, the current module name will be prepended to all description # unit titles (such as .. function::). #add_module_names = True # If true, sectionauthor and moduleauthor directives will be shown in the # output. They are ignored by default. #show_authors = False # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. Major themes that come with # Sphinx are currently 'default' and 'sphinxdoc'. html_theme = 'scikit-learn' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. html_theme_options = {'oldversion': False, 'collapsiblesidebar': True, 'google_analytics': True, 'surveybanner': False, 'sprintbanner': True} # Add any paths that contain custom themes here, relative to this directory. html_theme_path = ['themes'] # The name for this set of Sphinx documents. If None, it defaults to # "<project> v<release> documentation". #html_title = None # A shorter title for the navigation bar. Default is the same as html_title. html_short_title = 'scikit-learn' # The name of an image file (relative to this directory) to place at the top # of the sidebar. html_logo = 'logos/scikit-learn-logo-small.png' # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. html_favicon = 'logos/favicon.ico' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['images'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. #html_last_updated_fmt = '%b %d, %Y' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. #html_sidebars = {} # Additional templates that should be rendered to pages, maps page names to # template names. #html_additional_pages = {} # If false, no module index is generated. html_use_modindex = False # If false, no index is generated. html_use_index = False # If true, the index is split into individual pages for each letter. #html_split_index = False # If true, links to the reST sources are added to the pages. #html_show_sourcelink = True # If true, an OpenSearch description file will be output, and all pages will # contain a <link> tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. #html_use_opensearch = '' # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml"). #html_file_suffix = '' # Output file base name for HTML help builder. htmlhelp_basename = 'scikit-learndoc' # -- Options for LaTeX output ------------------------------------------------ # The paper size ('letter' or 'a4'). #latex_paper_size = 'letter' # The font size ('10pt', '11pt' or '12pt'). #latex_font_size = '10pt' # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass # [howto/manual]). latex_documents = [('index', 'user_guide.tex', u('scikit-learn user guide'), u('scikit-learn developers'), 'manual'), ] # The name of an image file (relative to this directory) to place at the top of # the title page. latex_logo = "logos/scikit-learn-logo.png" # For "manual" documents, if this is true, then toplevel headings are parts, # not chapters. #latex_use_parts = False # Additional stuff for the LaTeX preamble. latex_preamble = r""" \usepackage{amsmath}\usepackage{amsfonts}\usepackage{bm}\usepackage{morefloats} \usepackage{enumitem} \setlistdepth{10} """ # Documents to append as an appendix to all manuals. #latex_appendices = [] # If false, no module index is generated. #latex_use_modindex = True trim_doctests_flags = True def setup(app): # to hide/show the prompt in code examples: app.add_javascript('js/copybutton.js') # to format example galleries: app.add_javascript('js/examples.js') # The following is used by sphinx.ext.linkcode to provide links to github linkcode_resolve = make_linkcode_resolve('sklearn', u'https://github.com/scikit-learn/' 'scikit-learn/blob/{revision}/' '{package}/{path}#L{lineno}')
bsd-3-clause
justincassidy/scikit-learn
sklearn/datasets/tests/test_rcv1.py
322
2414
"""Test the rcv1 loader. Skipped if rcv1 is not already downloaded to data_home. """ import errno import scipy.sparse as sp import numpy as np from sklearn.datasets import fetch_rcv1 from sklearn.utils.testing import assert_almost_equal from sklearn.utils.testing import assert_array_equal from sklearn.utils.testing import assert_equal from sklearn.utils.testing import assert_true from sklearn.utils.testing import SkipTest def test_fetch_rcv1(): try: data1 = fetch_rcv1(shuffle=False, download_if_missing=False) except IOError as e: if e.errno == errno.ENOENT: raise SkipTest("Download RCV1 dataset to run this test.") X1, Y1 = data1.data, data1.target cat_list, s1 = data1.target_names.tolist(), data1.sample_id # test sparsity assert_true(sp.issparse(X1)) assert_true(sp.issparse(Y1)) assert_equal(60915113, X1.data.size) assert_equal(2606875, Y1.data.size) # test shapes assert_equal((804414, 47236), X1.shape) assert_equal((804414, 103), Y1.shape) assert_equal((804414,), s1.shape) assert_equal(103, len(cat_list)) # test ordering of categories first_categories = [u'C11', u'C12', u'C13', u'C14', u'C15', u'C151'] assert_array_equal(first_categories, cat_list[:6]) # test number of sample for some categories some_categories = ('GMIL', 'E143', 'CCAT') number_non_zero_in_cat = (5, 1206, 381327) for num, cat in zip(number_non_zero_in_cat, some_categories): j = cat_list.index(cat) assert_equal(num, Y1[:, j].data.size) # test shuffling and subset data2 = fetch_rcv1(shuffle=True, subset='train', random_state=77, download_if_missing=False) X2, Y2 = data2.data, data2.target s2 = data2.sample_id # The first 23149 samples are the training samples assert_array_equal(np.sort(s1[:23149]), np.sort(s2)) # test some precise values some_sample_ids = (2286, 3274, 14042) for sample_id in some_sample_ids: idx1 = s1.tolist().index(sample_id) idx2 = s2.tolist().index(sample_id) feature_values_1 = X1[idx1, :].toarray() feature_values_2 = X2[idx2, :].toarray() assert_almost_equal(feature_values_1, feature_values_2) target_values_1 = Y1[idx1, :].toarray() target_values_2 = Y2[idx2, :].toarray() assert_almost_equal(target_values_1, target_values_2)
bsd-3-clause
kylerbrown/bark
bark/tools/labelview.py
1
21160
import os import sys import string import yaml import numpy as np from scipy.signal import spectrogram import matplotlib.pyplot as plt import bark from bark.io.eventops import (OpStack, write_stack, read_stack, Update, Merge, Split, Delete, New) import warnings warnings.filterwarnings('ignore') # suppress matplotlib warnings from bark.tools.spectral import BarkSpectra help_string = ''' Pressing any number or letter (uppercase or lowercase) will mark a segment. Shortcuts --------- any letter or number annotate segment ctrl+s saves the annotation data ctrl+h prints this message ctrl+o or up arrow zoom out ctrl+i or down arrow zoom in space, right, page down next segment backspace, left, page up previous segment ctrl+m, ctrl+backspace merge current syllable with previous ctrl+x or tab delete segment ctrl+z undo last operation ctrl+y redo ctrl+w close click on segment boundary move boundary ctrl+click inside a segment split segment ctrl+click outside a segment new segment (TODO) click on segment boundaries to adjust them. The bottom panel is a map of all label locations. Click on a label to travel to that location. On close, an operation file and the final event file will be written. Do not kill from terminal unless you want to prevent a save. To create custom label, create an external YAML file with key: value pairs like this: 1: c1 2: c2 z: a* ''' # kill all the shorcuts def kill_shortcuts(plt): plt.rcParams['keymap.all_axes'] = '' plt.rcParams['keymap.back'] = '' plt.rcParams['keymap.forward'] = '' plt.rcParams['keymap.fullscreen'] = '' plt.rcParams['keymap.grid'] = '' plt.rcParams['keymap.home'] = '' plt.rcParams['keymap.pan'] = '' #plt.rcParams['keymap.quit'] = '' plt.rcParams['keymap.save'] = '' plt.rcParams['keymap.xscale'] = '' plt.rcParams['keymap.yscale'] = '' plt.rcParams['keymap.zoom'] = '' def labels_to_scatter_coords(labels): times = [x['start'] for x in labels] values = [] for record in labels: name = record['name'] if not isinstance(name, str) or name == '': v = 0 elif name.isdigit(): v = int(name) elif name[0].isalpha(): # alphabet in range 11-36 v = 133 - ord(name[0].lower()) else: v = 37 values.append(v) return times, values def nearest_label(labels, xdata): return np.argmin(np.abs(xdata - np.array([x['start'] for x in labels]))) def plot_spectrogram(data, sr, start, stop, ms_nfft=15, ax=None, lowfreq=300, highfreq=8000, n_tapers=2, NW=1.5, derivative=True, window=('kaiser', 8), **kwargs): ''' data : a vector of samples, first sample starts at time = 0 sr : sampling rate start : start time to slice data, units: seconds stop : stop time to slice data, units: seconds ms_nfft : width of fourier transform in milliseconds ax : axis object to plot spectrogram on. lowfreq : lowest frequency to plot highfreq : highest frequency to plot n_tapers : Number of tapers to use in a custom multi-taper Fourier transform estimate NW : multi-taper bandwidth parameter for custom multi-taper Fourier transform estimate increasing this value reduces side-band ripple, decreasing sharpens peaks derivative: if True, plots the spectral derivative, SAP style ''' nfft = int(ms_nfft / 1000. * sr) start_samp = int(start * sr) - nfft // 2 if start_samp < 0: start_samp = 0 stop_samp = int(stop * sr) - nfft // 2 x = data[start_samp:stop_samp] # determine overlap based on screen size. # We don't need more points than pixels pixels = 1000 samples_per_pixel = int((stop - start) * sr / pixels) noverlap = max(nfft - samples_per_pixel, 0) from matplotlib import colors spa = BarkSpectra(sr, NFFT=nfft, noverlap=noverlap, data_window=int(0.01 * sr), n_tapers=n_tapers, NW=NW, freq_range=(lowfreq, highfreq)) spa.signal(x) pxx, f, t, thresh = spa.spectrogram(ax=ax, derivative=derivative) # calculate the parameter for the plot freq_mask = (f > lowfreq) & (f < highfreq) fsub = f[freq_mask] Sxxsub = pxx[freq_mask, :] t += start # plot the spectrogram if derivative: image = ax.pcolorfast(t, fsub, Sxxsub, cmap='inferno', norm=colors.SymLogNorm(linthresh=thresh)) else: image = ax.pcolorfast(t, fsub, Sxxsub, cmap='inferno', norm=colors.LogNorm(vmin=thresh)) plt.sca(ax) plt.ylim(lowfreq, highfreq) return image class SegmentReviewer: def __init__(self, osc_ax, spec_ax, map_ax, sampled, opstack, keymap, outfile, out_attrs, opsfile=None): self.canvas = osc_ax.get_figure().canvas self.osc_ax = osc_ax self.spec_ax = spec_ax self.map_ax = map_ax self.data = sampled.data.ravel() self.sr = sampled.sampling_rate self.label_attrs = out_attrs self.opstack = opstack self.opsfile = opsfile self.outfile = outfile self.keymap = keymap if opstack.ops: self.i = opstack.ops[-1].index else: self.i = 0 self.N_points = 35000 self.initialize_plots() self.update_plot_data() def initialize_plots(self): self.osc_ax.set_axis_bgcolor('k') self.osc_ax.tick_params(axis='x', which='both', bottom='off', top='off', labelbottom='off') self.spec_ax.set_axis_bgcolor('k') self.osc_line, = self.osc_ax.plot( np.arange(self.N_points), np.zeros(self.N_points), color='gray') self.osc_boundary_start = self.osc_ax.axvline(color='r') self.osc_boundary_stop = self.osc_ax.axvline(color='r') self.syl_labels = [self.osc_ax.text(0, 0, '', size='xx-large', color='r') for _ in range(20)] self.initialize_minimap() self.osc_ax.figure.tight_layout() def initialize_minimap(self): times, values = labels_to_scatter_coords(self.opstack.events) self.map_ax.set_axis_bgcolor('k') self.map_ax.scatter(times, values, c=values, vmin=0, vmax=37, cmap=plt.get_cmap('hsv'), edgecolors='none') self.map_ax.vlines(self.opstack.events[self.i]['start'], -1, 38, zorder=0.5, color='w', linewidth=1) self.map_ax.tick_params(axis='y', which='both', left='off', right='off', labelleft='off') self.map_ax.set_ylim(-1, 38) def label_nearby_syls(self): 'labels for current syl and two on either side' for i in range(-10 + self.i, 11 + self.i): label_i = i - self.i if i >= 0 and i < len(self.opstack.events): text = self.syl_labels[label_i] x = (self.opstack.events[i]['start'] + self.opstack.events[i]['stop']) / 2 name = self.opstack.events[i]['name'] if isinstance(name, str): text.set_x(x) text.set_visible(True) text.set_text(name) else: text.set_visible(False) else: self.syl_labels[label_i].set_visible(False) def update_syl_boundaries(self): start = self.opstack.events[self.i]['start'] stop = self.opstack.events[self.i]['stop'] self.osc_boundary_start.set_xdata((start, start)) self.osc_boundary_stop.set_xdata((stop, stop)) def update_minimap(self): # If perfomance lags, may need to adjust plot elements instead of # clearing everything and starting over. self.map_ax.clear() self.initialize_minimap() def update_plot_data(self): 'updates plot data on all three axes' if not self.opstack.events: print('no segments') plt.close("all") return self.selected_boundary = None i = self.i sr = self.sr start = self.opstack.events[i]['start'] start_samp = int(start * sr) stop = self.opstack.events[i]['stop'] stop_samp = int(stop * sr) syl_samps = stop_samp - start_samp self.buffer_start_samp = start_samp - (self.N_points - syl_samps) // 2 if self.buffer_start_samp < 0: self.buffer_start_samp = 0 self.buffer_stop_samp = self.buffer_start_samp + self.N_points if self.buffer_stop_samp >= self.data.shape[0]: self.buffer_stop_samp = self.data.shape[0] - 1 self.buf_start = self.buffer_start_samp / sr self.buf_stop = self.buffer_stop_samp / sr # update plots self.label_nearby_syls() self.update_syl_boundaries() self.update_spectrogram() self.update_oscillogram() self.update_minimap() if self.opstack.ops: last_command = str(self.opstack.ops[-1]) else: last_command = 'none' if i == 0: self.osc_ax.set_title('ctrl+h for help, prints to terminal') else: self.osc_ax.set_title('{}/ {} {}'.format(i + 1, len( self.opstack.events), last_command)) self.canvas.draw() def update_spectrogram(self): self.spec_ax.clear() plot_spectrogram(self.data, self.sr, self.buf_start, self.buf_stop, ax=self.spec_ax) def update_oscillogram(self): x = self.data[self.buffer_start_samp:self.buffer_stop_samp] t = np.arange(len(x)) / self.sr + self.buf_start if len(x) > 10000: t_interp = np.linspace(self.buf_start, self.buf_stop, 10000) x_interp = np.interp(t_interp, t, x) else: t_interp = t x_interp = x self.osc_line.set_data(t_interp, x_interp) self.osc_ax.set_xlim(self.buf_start, self.buf_stop) self.osc_ax.set_ylim(min(x), max(x)) def connect(self): 'creates all the event connections' self.cid_key_press = self.canvas.mpl_connect('key_press_event', self.on_key_press) self.cid_mouse_press = self.canvas.mpl_connect('button_press_event', self.on_mouse_press) self.cid_mouse_motion = self.canvas.mpl_connect('motion_notify_event', self.on_mouse_motion) self.cid_mouse_release = self.canvas.mpl_connect( 'button_release_event', self.on_mouse_release) def on_mouse_press(self, event): if event.inaxes in (None, self.spec_ax) or event.button != 1: return start_pos = self.osc_boundary_start.get_xdata()[0] stop_pos = self.osc_boundary_stop.get_xdata()[0] # jump to syllable from map click if event.inaxes == self.map_ax: i = nearest_label(self.opstack.events, float(event.xdata)) self.i = i self.update_plot_data() # sylable splitting elif (event.key == 'control' and event.xdata > start_pos and event.xdata < stop_pos): self.opstack.push(Split(self.i, float(event.xdata))) self.update_plot_data() # new syllable before elif event.key == 'control' and event.xdata < start_pos: self.opstack.push(New(self.i, name='', start=float(event.xdata), stop=float(event.xdata) + .020)) self.update_plot_data() elif event.key == 'control' and event.xdata > stop_pos: self.opstack.push(New(self.i + 1, name='', start=float(event.xdata), stop=float(event.xdata) + .020)) self.i += 1 self.update_plot_data() # boundary updates else: xlim1, xlim2 = self.osc_ax.get_xlim() xspan = xlim2 - xlim1 if abs(event.xdata - start_pos) / xspan < 0.007: self.selected_boundary = self.osc_boundary_start elif abs(event.xdata - stop_pos) / xspan < 0.007: self.selected_boundary = self.osc_boundary_stop if self.selected_boundary: self.selected_boundary.set_color('y') self.canvas.draw() def on_mouse_motion(self, event): if self.selected_boundary is None: return self.selected_boundary.set_xdata((event.xdata, event.xdata)) self.canvas.draw() def on_mouse_release(self, event): if self.selected_boundary == self.osc_boundary_start: self.opstack.push(Update(self.i, 'start', float(event.xdata))) elif self.selected_boundary == self.osc_boundary_stop: self.opstack.push(Update(self.i, 'stop', float(event.xdata))) if self.selected_boundary: self.selected_boundary.set_color('r') self.update_syl_boundaries() self.selected_boundary = None self.canvas.draw() def inc_i(self): 'Go to next syllable.' if self.i < len(self.opstack.events) - 1: self.i += 1 self.update_plot_data() def dec_i(self): 'Go to previous syllable.' if self.i > 0: self.i -= 1 self.update_plot_data() def on_key_press(self, event): #print('you pressed ', event.key) if event.key in ('pagedown', ' ', 'right'): self.inc_i() elif event.key in ('pageup', 'backspace', 'left'): self.dec_i() elif event.key in self.keymap: newlabel = self.keymap[event.key] self.opstack.push(Update(self.i, 'name', newlabel)) self.inc_i() elif event.key in ('ctrl+i', 'down'): if self.N_points > 5000: self.N_points -= 5000 self.update_plot_data() elif event.key in ('ctrl+o', 'up'): self.N_points += 5000 self.update_plot_data() elif event.key == 'ctrl+s': self.save() elif event.key == 'ctrl+h': print(help_string) elif event.key in ('ctrl+m', 'ctrl+backspace') and self.i > 0: self.i -= 1 self.opstack.push(Merge(self.i)) self.inc_i() elif event.key in ('ctrl+x', 'tab'): self.opstack.push(Delete(self.i)) if self.i >= len(self.opstack.events): self.i = len(self.opstack.events) - 1 self.update_plot_data() elif event.key == 'ctrl+z' and self.opstack.ops: self.opstack.undo() self.i = self.opstack.undo_ops[-1].index self.update_plot_data() elif event.key == 'ctrl+y' and self.opstack.undo_ops: self.opstack.redo() self.i = self.opstack.ops[-1].index self.update_plot_data() def save(self): 'Writes out labels to file.' from pandas import DataFrame label_data = DataFrame(self.opstack.events) bark.write_events(self.outfile, label_data, **self.label_attrs) print(self.outfile, 'written') if self.opsfile: write_stack(self.opsfile, self.opstack) print(self.opsfile, 'written') def __enter__(self): return self def __exit__(self, *args): self.save() def build_shortcut_map(mapfile=None): allkeys = string.digits + string.ascii_letters shortcut_map = {x: x for x in allkeys} # load keys from file if mapfile: custom = {str(key): value for key, value in yaml.load(open(mapfile, 'r')).items()} print('custom keymaps:', custom) shortcut_map.update(custom) return shortcut_map def to_seconds(dset): 'TODO Converts bark EventData object to units of seconds.' if 'offset' in dset.attrs and dset.attrs['offset'] != 0: raise Exception('offsets are not yet supported in event file') if dset.attrs['columns']['start']['units'] == 's': pass elif 'units' in dset.attrs and dset.attrs['units'] == 's': pass else: raise Exception('only units of s are supported in event file') return dset def load_opstack(opsfile, labelfile, labeldata, use_ops): load_ops = os.path.exists(opsfile) and use_ops if load_ops: opstack = read_stack(opsfile) print('Reading operations from {}.'.format(opsfile)) if len(opstack.original_events) != len(labeldata): print("The number of segments in autosave file is incorrect.") sys.exit(0) for stack_event, true_event in zip(opstack.original_events, labeldata): if (stack_event['name'] != true_event['name'] or not np.allclose(stack_event['start'], true_event['start']) or not np.allclose(stack_event['stop'], true_event['stop'])): print("Warning! Autosave:\n {}\n Original:\n{}" .format(stack_event, true_event)) else: opstack = OpStack(labeldata) return opstack def main(datfile, labelfile, outfile=None, shortcutfile=None, use_ops=True): if not labelfile: labelfile = os.path.splitext(datfile)[0] + '.csv' kill_shortcuts(plt) sampled = bark.read_sampled(datfile) assert len(sampled.attrs['columns']) == 1 labels = bark.read_events(labelfile) labeldata = to_seconds(labels).data.to_dict('records') if len(labeldata) == 0: print('{} has no data'.format(labelfile)) return shortcuts = build_shortcut_map(shortcutfile) opsfile = labelfile + '.ops.json' opstack = load_opstack(opsfile, labelfile, labeldata, use_ops) if not outfile: outfile = os.path.splitext(labelfile)[0] + '_edit.csv' plt.figure() # Oscillogram and Spectrogram get # three times the vertical space as the minimap. osc_ax = plt.subplot2grid((7, 1), (0, 0), rowspan=3) spec_ax = plt.subplot2grid((7, 1), (3, 0), rowspan=3, sharex=osc_ax) map_ax = plt.subplot2grid((7, 1), (6, 0)) # Segement review is a context manager to ensure a save prompt # on exit. see SegmentReviewer.__exit__ with SegmentReviewer(osc_ax, spec_ax, map_ax, sampled, opstack, shortcuts, outfile, labels.attrs, opsfile) as reviewer: reviewer.connect() plt.show(block=True) def _run(): import argparse p = argparse.ArgumentParser(description=''' Review and annotate segments ''') p.add_argument('dat', help='name of a sampled dataset') p.add_argument('labelfile', nargs='?', help='Associated event dataset containing segments\ defaults to same name as dat but with a .csv extension.') p.add_argument('-o', '--out', help='output label file') p.add_argument('-i', '--ignore', help='ignore operations from LABELFILE.ops.json', action='store_true') p.add_argument('-k', '--shortcut-keys', help='''YAML file with keyboard shortcuts. Keys are digits, lowercase and uppercase characters''') args = p.parse_args() main(args.dat, args.labelfile, args.out, args.shortcut_keys, not args.ignore) if __name__ == '__main__': _run()
gpl-2.0
jblackburne/scikit-learn
examples/linear_model/plot_iris_logistic.py
119
1679
#!/usr/bin/python # -*- coding: utf-8 -*- """ ========================================================= Logistic Regression 3-class Classifier ========================================================= Show below is a logistic-regression classifiers decision boundaries on the `iris <https://en.wikipedia.org/wiki/Iris_flower_data_set>`_ dataset. The datapoints are colored according to their labels. """ print(__doc__) # Code source: Gaël Varoquaux # Modified for documentation by Jaques Grobler # License: BSD 3 clause import numpy as np import matplotlib.pyplot as plt from sklearn import linear_model, datasets # import some data to play with iris = datasets.load_iris() X = iris.data[:, :2] # we only take the first two features. Y = iris.target h = .02 # step size in the mesh logreg = linear_model.LogisticRegression(C=1e5) # we create an instance of Neighbours Classifier and fit the data. logreg.fit(X, Y) # Plot the decision boundary. For that, we will assign a color to each # point in the mesh [x_min, x_max]x[y_min, y_max]. x_min, x_max = X[:, 0].min() - .5, X[:, 0].max() + .5 y_min, y_max = X[:, 1].min() - .5, X[:, 1].max() + .5 xx, yy = np.meshgrid(np.arange(x_min, x_max, h), np.arange(y_min, y_max, h)) Z = logreg.predict(np.c_[xx.ravel(), yy.ravel()]) # Put the result into a color plot Z = Z.reshape(xx.shape) plt.figure(1, figsize=(4, 3)) plt.pcolormesh(xx, yy, Z, cmap=plt.cm.Paired) # Plot also the training points plt.scatter(X[:, 0], X[:, 1], c=Y, edgecolors='k', cmap=plt.cm.Paired) plt.xlabel('Sepal length') plt.ylabel('Sepal width') plt.xlim(xx.min(), xx.max()) plt.ylim(yy.min(), yy.max()) plt.xticks(()) plt.yticks(()) plt.show()
bsd-3-clause
winklerand/pandas
pandas/errors/__init__.py
6
1697
# flake8: noqa """ Expose public exceptions & warnings """ from pandas._libs.tslib import OutOfBoundsDatetime class PerformanceWarning(Warning): """ Warning raised when there is a possible performance impact. """ class UnsupportedFunctionCall(ValueError): """ Exception raised when attempting to call a numpy function on a pandas object, but that function is not supported by the object e.g. ``np.cumsum(groupby_object)``. """ class UnsortedIndexError(KeyError): """ Error raised when attempting to get a slice of a MultiIndex, and the index has not been lexsorted. Subclass of `KeyError`. .. versionadded:: 0.20.0 """ class ParserError(ValueError): """ Exception that is raised by an error encountered in `pd.read_csv`. """ class DtypeWarning(Warning): """ Warning that is raised for a dtype incompatiblity. This can happen whenever `pd.read_csv` encounters non- uniform dtypes in a column(s) of a given CSV file. """ class EmptyDataError(ValueError): """ Exception that is thrown in `pd.read_csv` (by both the C and Python engines) when empty data or header is encountered. """ class ParserWarning(Warning): """ Warning that is raised in `pd.read_csv` whenever it is necessary to change parsers (generally from 'c' to 'python') contrary to the one specified by the user due to lack of support or functionality for parsing particular attributes of a CSV file with the requsted engine. """ class MergeError(ValueError): """ Error raised when problems arise during merging due to problems with input data. Subclass of `ValueError`. """
bsd-3-clause
KAPPS-/vincent
examples/stacked_area_examples.py
11
2281
# -*- coding: utf-8 -*- """ Vincent Stacked Area Examples """ #Build a Stacked Area Chart from scratch from vincent import * import pandas as pd import pandas.io.data as web all_data = {} for ticker in ['AAPL', 'GOOG', 'IBM', 'YHOO', 'MSFT']: all_data[ticker] = web.get_data_yahoo(ticker, '1/1/2010', '1/1/2013') price = pd.DataFrame({tic: data['Adj Close'] for tic, data in all_data.items()}) vis = Visualization(width=500, height=300) vis.padding = {'top': 10, 'left': 50, 'bottom': 50, 'right': 100} data = Data.from_pandas(price) vis.data['table'] = data facets = Transform(type='facet', keys=['data.idx']) stats = Transform(type='stats', value='data.val') stat_dat = Data(name='stats', source='table', transform=[facets, stats]) vis.data['stats'] = stat_dat vis.scales['x'] = Scale(name='x', type='time', range='width', domain=DataRef(data='table', field="data.idx")) vis.scales['y'] = Scale(name='y', range='height', type='linear', nice=True, domain=DataRef(data='stats', field="sum")) vis.scales['color'] = Scale(name='color', type='ordinal', domain=DataRef(data='table', field='data.col'), range='category20') vis.axes.extend([Axis(type='x', scale='x'), Axis(type='y', scale='y')]) facet = Transform(type='facet', keys=['data.col']) stack = Transform(type='stack', point='data.idx', height='data.val') transform = MarkRef(data='table',transform=[facet, stack]) enter_props = PropertySet(x=ValueRef(scale='x', field="data.idx"), y=ValueRef(scale='y', field="y"), interpolate=ValueRef(value='monotone'), y2=ValueRef(field='y2', scale='y'), fill=ValueRef(scale='color', field='data.col')) mark = Mark(type='group', from_=transform, marks=[Mark(type='area', properties=MarkProperties(enter=enter_props))]) vis.marks.append(mark) vis.axis_titles(x='Date', y='Price') vis.legend(title='Tech Stocks') vis.to_json('vega.json') #Convenience method vis = StackedArea(price) vis.axis_titles(x='Date', y='Price') vis.legend(title='Tech Stocks') vis.colors(brew='Paired') vis.to_json('vega.json')
mit