GithubHelp home page GithubHelp logo

dvdjlaw / pyscagnostics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uschilaa/binostics

3.0 0.0 1.0 298 KB

A Python package to calculate graph theoretic scagnostics

License: Other

C++ 83.55% Python 16.45%

pyscagnostics's Introduction

pyscagnostics

Python wrapper for computing graph theoretic scatterplot diagnostics.

Scagnostics describe various measures of interest for pairs of variables, based on their appearance on a scatterplot. They are useful tool for discovering interesting or unusual scatterplots from a scatterplot matrix, without having to look at every individual plot.

Wilkinson L., Anand, A., and Grossman, R. (2006). High-Dimensional visual analytics: Interactive exploration guided by pairwise views of point distributions. IEEE Transactions on Visualization and Computer Graphics, November/December 2006 (Vol. 12, No. 6) pp. 1363-1372.

Installation

pip install pyscagnostics

Usage

from pyscagnostics import scagnostics

# Using NumPy arrays or lists
measures, _ = scagnostics(x, y)
print(measures)

# Using Pandas DataFrame
all_measures = scagnostics(df)
for measures, _ in all_measures:
    print(measures)

Documentation

def scagnostics(
    *args,
    bins: int=50,
    remove_outliers: bool=True
) -> Tuple[dict, np.ndarray]:
    """Scatterplot diagnostic (scagnostic) measures

    Scagnostics describe various measures of interest for pairs of variables,
    based on their appearance on a scatterplot.  They are useful tool for
    discovering interesting or unusual scatterplots from a scatterplot matrix,
    without having to look at every individual plot.

    Example:
        `scagnostics` can take an x, y pair of iterables (e.g. lists or NumPy arrays):
        ```
            from pyscagnostics import scagnostics
            import numpy as np

            # Simulate data for example
            x = np.random.uniform(0, 1, 100)
            y = np.random.uniform(0, 1, 100)

            measures, bins = scagnostics(x, y)
        ```

        A Pandas DataFrame can also be passed as the singular required argument. The
        output will be a generator of results:
        ```
            from pyscagnostics import scagnostics
            import numpy as np
            import pandas as pd

            # Simulate data for example
            x = np.random.uniform(0, 1, 100)
            y = np.random.uniform(0, 1, 100)
            z = np.random.uniform(0, 1, 100)
            df = pd.DataFrame({
                'x': x,
                'y': y,
                'z': z
            })

            results = scagnostics(df)
            for x, y, result in results:
                measures, bins = result
                print(measures)
        ```

    Args:
        *args:
            x, y: Lists or numpy arrays
            df: A Pandas DataFrame
        bins: Max number of bins for the hexagonal grid axis
            The data are internally binned starting with a (bins x bins) hexagonal grid
            and re-binned with smaller bin sizes until less than 250 empty bins remain.
        remove_outliers: If True, will remove outliers before calculations

    Returns:
        (measures, bins)
            measures is a dict with scores for each of 9 scagnostic measures.
                See pyscagnostics.measure_names for a list of measures

            bins is a 3 x n numpy array of x-coordinates, y-coordinates, and
                counts for the hex-bin grid. The x and y coordinates are re-scaled
                between 0 and 1000. This is returned for debugging and inspection purposes.

        If the input is a DataFrame, the output will be a generator yielding a tuples of
        scagnostic results for each column pair:
            (x, y, (measures, bins))
    """

pyscagnostics's People

Contributors

uschilaa avatar dvdjlaw avatar hadley avatar

Stargazers

 avatar  avatar Marius Hogräfer avatar

Forkers

arranzeyuwang

pyscagnostics's Issues

Segmentation fault: 11

I get Segmentation fault: 11 when I run the following code. I've tried manipulating the data in various ways (e.g. normalizing to [0,1]) but I still get the error. The error goes away when I set bins to a value higher than 562.

Steps to reproduce:

  • Put the code in scag-segfault.py
  • Run python -m scag-segfault on the command line
from pyscagnostics import scagnostics

if __name__ == "__main__":
    data = [[-3.2000553915557086, -3.1985707694293524, -3.1995730952126844, -3.1986239608800577, -3.1989272960408326, -3.201291054497661, -3.200488413740486, -3.201438171401458, -3.201345377796647, -3.2013982238455347, -3.2014619015335515, -3.202068543519234, -3.20123253258068, -3.201875359611328, -3.2013347946793007, -3.1997881003888313, -3.1990499608055707, -3.1994840119558714, -3.19934837847217, -3.1989884977697884, -3.2020266509505726, -3.2017557778480903, -3.2015357990587665, -3.2013365204129904, -3.201776378015028, -3.2005186119686115, -3.200482921038692, -3.2001069247197043, -3.200631464470861, -3.200664881128162, -3.199003636123504, -3.1990009924619383, -3.1990579905350818, -3.1995510110462626, -3.19936188351191, -3.2012126210656575, -3.2008261667939784, -3.2016131346212724, -3.2006393231670742, -3.201280011208514, -3.201870640559473, -3.2005683868880093, -3.200960400160871, -3.2010340905554786, -3.201538000208581, -3.2001892235150233, -3.200370211652815, -3.2000443179438083, -3.2000124286372738, -3.2005739181301327, -3.2012226316175174, -3.20093340658348, -3.200924377589783, -3.2018319941140527, -3.2011633081934723, -3.2018075865616917, -3.2017705163327164, -3.201469872766531, -3.2016245248407262, -3.2020187888057463, -3.2015470675777116, -3.201257461302574, -3.2011739319774275, -3.201290152099337, -3.2019422373109805, -3.2011808731436444, -3.2011141162184513, -3.200679242688294, -3.2010790664627042, -3.20148995264917, -3.201543605297182, -3.2018043870956925, -3.2019102363899097, -3.201865021456832, -3.201764653495953, -3.201160722258839, -3.2020908150441474, -3.201214674204533, -3.2018053103179533, -3.201174905764143, -3.201642161406224, -3.2018729090059, -3.2018398512853867, -3.2011353937581486, -3.2015446252270503, -3.198589394382288, -3.197791534731319, -3.198316423456802, -3.1989350841995665, -3.1983754480008124, -3.201513681853315, -3.2005459632429156, -3.2006770481870146, -3.2006720922744054, -3.201305417698398, -3.201260814132703, -3.201445397395239, -3.2012774445162897, -3.2017712763142843, -3.2018530944651276, -3.201600819404131, -3.201345229544395, -3.2016579413759967, -3.2019380883046176, -3.2018457967096094, -3.198987064537143, -3.1982512877690383, -3.197587508853691, -3.199309564665512, -3.19858606267237, -3.201328139288655, -3.200622888260546, -3.2013469890162782, -3.200853717671193, -3.2007216771361215, -3.1986910279988527, -3.1973519610102015, -3.1977097271837467, -3.199137492876655, -3.198111030120051, -3.2003271901884447, -3.2003501855162004, -3.200108376627547, -3.2007470560086135, -3.200492069938318, -3.201409575688439, -3.201280058146101, -3.2015001304968416, -3.2008608169090556, -3.2011732498688676, -3.200402500800836, -3.2014802608539425, -3.2020220250190703, -3.2014811367178146, -3.2025234669133074, -3.200191632726797, -3.2007806708699293, -3.2005437687850495, -3.199499212168245, -3.2004047068675194, -3.201543321780504, -3.2017862599949294, -3.201741855343996, -3.202168963455387, -3.200941097399446, -3.2013622980130108, -3.2013222013366485, -3.2010517826880216, -3.2010006955140757, -3.2013573727866445, -3.20001826718461, -3.2001803702451768, -3.2003604820593767, -3.2002833921629668, -3.1996588495118936, -3.201846731986636, -3.2016439269484875, -3.2016691306917937, -3.2016409996723185, -3.2011843846145425, -3.2012504204245857, -3.201873025653591, -3.2017599357989175, -3.201065430585633, -3.200839567198513, -3.2016961191419138, -3.201600414576649, -3.202126602533944, -3.2017535908527703, -3.2017089299503003, -3.2019337130520373, -3.2011339955424156, -3.2023302292404714, -3.2030947134768843, -3.2010498350806076, -3.1986300114851622, -3.1984902922318845, -3.1984995348228904, -3.1990063221804834, -3.19829945546636, -3.201030083178539, -3.2010444717391553, -3.2016388300206597, -3.201339576207504, -3.2010742435784625, -3.1971627797945152, -3.1966710259831954, -3.197599486337232, -3.1978928190930787, -3.1974781123842306, -3.2012851019926867, -3.201825022490251, -3.201210373954623, -3.201082858308739, -3.201983737201154, -3.2019962599201133, -3.2013706847145063, -3.201966855964767, -3.2022785916417535, -3.201327141268892, -3.201675110871013, -3.2020346502697627, -3.202064727043864, -3.2011351688029293, -3.2015529896429022, -3.2009381124885423, -3.2017390845870923, -3.2011899635535097, -3.201091024092504, -3.200927904469413, -3.20167760683896, -3.2022894937020348, -3.202187098239486, -3.2015783488973346, -3.20163348972477, -3.2019007982384893, -3.201513368035487, -3.201725284727555, -3.2020275467679062, -3.201968169095065, -3.200994971200328, -3.2015555646246363, -3.2011105964896234, -3.2012402774172095, -3.201356091223401, -3.197385410985418, -3.1966402518542103, -3.1973166572539986, -3.196851469740166, -3.1973579241389274, -3.1908549687474097, -3.1931698391061087, -3.1944845070447743, -3.1939360756347748, -3.191480573628277, -3.194508141378257, -3.196189172765619, -3.195847974179814, -3.1957899169814596, -3.1950388294365113, -3.2014501236886015, -3.201658361081825, -3.200996556692683, -3.2015561281469243, -3.2014773764211393, -3.2016325629187077, -3.202191033721944, -3.2016341468950924, -3.202301283215261, -3.2015636230327873, -3.2018283986379723, -3.2016336551812707, -3.2024479550954283, -3.201321792331974, -3.202391402908681, -3.198672825938082, -3.197402310270244, -3.198094630255181, -3.198943837951589, -3.19791399069554, -3.2013761318990235, -3.2014224301736345, -3.201193323315732, -3.2014228114913723, -3.201033744572569, -3.201863495507385, -3.20189440123154, -3.201899600420939, -3.2022355601800974, -3.2020905504677537, -3.2012661373974423, -3.201596172171581, -3.201191613389122, -3.2021028807956085, -3.2013712671986796, -3.20115218729105, -3.2018213826730113, -3.200923791674421, -3.201663851765695, -3.201968080460113, 3.2580252819092386, 3.2585479012456995, 3.2583432269024026, 3.257925701262916, 3.2580962571940133, 3.2607930603680177, 3.2609868457803177, 3.260656326800692, 3.25997576578416, 3.2609689588659814, 3.255416075535188, 3.255450611263891, 3.255373091970675, 3.2558324595503803, 3.2551302619522358, 3.25645204965876, 3.2558158159288992, 3.2560152892021508, 3.256696930300027, 3.2559778047624452, 3.259830369818606, 3.2596878231575097, 3.258883117808273, 3.2587594721145074, 3.2596176004602104, 3.257165597896858, 3.257053272122751, 3.2573139110353657, 3.2572013283102117, 3.257107597595978, 3.2580290567775143, 3.2575880693889645, 3.2571952723521242, 3.257232098254505, 3.2569108446039237, 3.2563900020223246, 3.257130381829107, 3.257013516158092, 3.2569391462577766, 3.2565769405931815, 3.259710612690891, 3.260178037196591, 3.2599960994709454, 3.260329708351708, 3.2608249209878997, 3.2611297884695705, 3.2608218965285647, 3.261435763536283, 3.2611123223619383, 3.2608487712850107, 3.2561416133477836, 3.256644790470523, 3.2569786301512225, 3.256781229642998, 3.2565859887502304, 3.2616217521632627, 3.2609435622790546, 3.261906984982984, 3.2613429306714754, 3.260834546089773, 3.2605317955175828, 3.2610785548880967, 3.2607416245274337, 3.2611014555922035, 3.2604367322409864, 3.258439335541318, 3.2586074738297355, 3.2583075415785063, 3.258704819729125, 3.2584062941103467, 3.2606591982411026, 3.2613253365111636, 3.260424518653302, 3.2603894724764304, 3.260543058792143, 3.260386376016994, 3.2607335275998515, 3.2612707552458127, 3.2603429854743045, 3.260458887378666, 3.2562314337919793, 3.2559115089409816, 3.2559216076518362, 3.255763212505727, 3.2555003280073787, 3.2587062036607333, 3.257944880685474, 3.2589892050523934, 3.258114966060739, 3.2584316301997656, 3.256936855181126, 3.2567217336947247, 3.255454331871759, 3.2558269860062024, 3.2558246655820224, 3.2608340804157137, 3.2600067478336383, 3.2604499136846328, 3.260179387466964, 3.2604921688176844, 3.258977483737033, 3.2585559336647574, 3.2591826002837077, 3.2583937710076873, 3.2589865149041173, 3.2588348867212216, 3.258447400867714, 3.2581163745784103, 3.258617156827084, 3.258566568991336, 3.2557952625303743, 3.2559099563837357, 3.2561631099431683, 3.2564257458819967, 3.2557979760185725, 3.2613859461139465, 3.261320560789618, 3.261265971866528, 3.2610772481035806, 3.2608152008164972, 3.260306269610892, 3.2609612453107637, 3.260774225381432, 3.261414691771433, 3.2600852624216725, 3.2592082091682375, 3.257898394438405, 3.25875167720582, 3.258549408566151, 3.2585978687083332, 3.2606700113049887, 3.260509072668973, 3.2608402232323885, 3.261747860197913, 3.2611271530162766, 3.259271588456931, 3.2595940897914906, 3.259484711666746, 3.260147980643434, 3.259540352471673, 3.260911345047889, 3.2605297600685885, 3.2604287703425068, 3.261117725134141, 3.261029801174197, 3.258653713049126, 3.258300253774693, 3.2590340044524626, 3.258120878031473, 3.259047836379222, 3.256413204289478, 3.256572394333118, 3.257198609440893, 3.25676439600449, 3.2567112859837266, 3.2559494567528238, 3.256744301604855, 3.2566221796492583, 3.2564743367024076, 3.256297001945138, 3.2614951635258294, 3.261317620347844, 3.262448409067942, 3.2604273916045865, 3.2608916578811975, 3.2607625399313704, 3.2614358487765, 3.2607116152777382, 3.2610825639053225, 3.2605971570054377, 3.2583619945019247, 3.2577884913748125, 3.2580933633588103, 3.2577714440366874, 3.258994768470873, 3.258093616346704, 3.259183186869018, 3.2590805396747684, 3.2583828819915484, 3.258026355441262, 3.256439692545207, 3.257876790340737, 3.2566764956979433, 3.2565822949442924, 3.256521440742758, 3.257548893309654, 3.25706321896392, 3.257359731489727, 3.2576288892729264, 3.2582246712581293, 3.2609668403974488, 3.261226682144295, 3.2611600732152928, 3.261336341261275, 3.2608227262417717, 3.260778368800294, 3.2612321918500786, 3.2606742618009537, 3.2609985451518577, 3.260670687011352, 3.26084155285438, 3.261038753852359, 3.261067077202071, 3.2609088044009233, 3.2606614384844983, 3.2566715460437217, 3.2564429214052484, 3.2571005207544834, 3.2566441761338143, 3.2565210995400986, 3.2590598760711136, 3.258576800396418, 3.2588711906599084, 3.258690239539539, 3.2593681227543785, 3.2583015608005543, 3.2580202203132433, 3.2586550107609917, 3.2579530334769027, 3.2583766687529994, 3.258885876257262, 3.2586470343819953, 3.2586998437860326, 3.258996356799636, 3.2589150136377287, 3.2574461566014237, 3.257810094115884, 3.2574440033677523, 3.25773788638131, 3.2577001859401156, 3.2607458582395497, 3.2609121623864183, 3.260825863395628, 3.2606226586417617, 3.2606398258037146, 3.258910525403973, 3.2592307464853323, 3.2583208165028217, 3.258364417092243, 3.2587716197588614, 3.259420776044311, 3.259714941494792, 3.2593476450069625, 3.259428405369423, 3.259331296077292, 3.2592361162091374, 3.2588185204096733, 3.258932282251824, 3.259266766196076, 3.2589759657078132, 3.257728835280955, 3.2576432410508396, 3.2585106565523505, 3.2583739886009635, 3.2579035008905217, 3.2589903206007045, 3.2585618350429937, 3.258723953920017, 3.2578839809006626, 3.2579496672177988, 3.2565567646064792, 3.256602222253586, 3.2567271717502835, 3.256136544059906, 3.2567847337543627, 3.2566400194385094, 3.2565478733589672, 3.256265466614671, 3.256427711096047, 3.2565343497071457, 3.259339823271304, 3.260082557008119, 3.2589069200992364, 3.2589502902281966, 3.2595718542710816], [-0.04417774537640284, -0.04417030849479621, -0.04416438132170628, -0.044178065862779343, -0.04418036510358745, -0.04419854492379489, -0.0441870926852003, -0.04419918673134112, -0.0441987507431083, -0.04419863783035491, -0.04419558586955939, -0.04420726489277529, -0.04420090198106518, -0.04419923858186927, -0.04420535826096408, -0.04417273845844488, -0.044171233030474176, -0.04416496996610033, -0.04416297034016445, -0.04417477093175648, -0.04420967092630818, -0.0442011636765667, -0.04420884301690877, -0.044210633683589094, -0.04420920884604905, -0.04419438412211916, -0.04417942596105164, -0.04419578403169621, -0.044189613246847316, -0.04419259996630277, -0.04416653555506003, -0.044170313521978255, -0.044168448913463255, -0.04417248474148479, -0.04417718658924631, -0.044197916047319846, -0.04420227481098445, -0.044200077840462565, -0.04419848100379188, -0.04420259004009011, -0.04419348577611043, -0.04419798974468762, -0.044199721280172015, -0.044193191115439866, -0.04419541168015683, -0.04418007910998099, -0.04418829520871168, -0.04418387246006031, -0.04419097159887856, -0.04419031736362486, -0.04418740059896042, -0.044206127020884584, -0.04419889631617799, -0.04420418432178841, -0.04418950358526867, -0.04421102904510602, -0.04419720422150199, -0.044208424974625925, -0.04420499399993932, -0.04420482477539727, -0.04421189558047954, -0.04419596112574462, -0.04420188879780442, -0.044201688556641534, -0.04420641636745864, -0.044210776267498954, -0.04419312132094732, -0.04420275398469414, -0.04418984490151274, -0.04420036133195281, -0.04420027115984838, -0.04420369371418599, -0.044206135564489886, -0.04420663938271014, -0.0442222567423168, -0.044206062862277754, -0.0442006849829255, -0.044221114990838556, -0.044203784733620716, -0.04420262901679893, -0.044190266559078664, -0.044208294716798525, -0.044201477932960816, -0.04419263365435247, -0.044204377633070877, -0.04416018970384897, -0.04415770281070106, -0.0441622554668697, -0.04415656507356681, -0.04417004922502262, -0.04420224295685948, -0.044196717869515435, -0.04419470766016721, -0.04419346276298576, -0.04419236560642405, -0.044206283459154574, -0.04420089240377818, -0.044199091092549624, -0.04420064277692897, -0.044210370590729776, -0.04418991141399051, -0.044200148573482236, -0.04419893884562768, -0.044200037490142285, -0.04421673883616011, -0.04416126578758883, -0.04415658503083954, -0.04415289209905158, -0.044164737343898065, -0.04417031205937045, -0.04418402573891691, -0.04418708921004168, -0.04417870126489968, -0.044208576649744244, -0.04419419822690875, -0.04415786034459139, -0.04415896789372157, -0.0441495364782294, -0.04415951820584708, -0.04414629806488328, -0.04419418310305448, -0.04418862007029427, -0.04418904126059975, -0.044193483958105344, -0.04419632156955362, -0.04420065601096167, -0.04420845393734935, -0.04420844117773864, -0.04420864898258783, -0.04420301388169084, -0.04421076589503773, -0.04421117310567824, -0.04420743900124401, -0.04420081580123917, -0.04420673210522074, -0.044195255166388586, -0.04418407465289344, -0.04418570908028129, -0.044182578741775655, -0.044192993875451114, -0.04420356458293901, -0.04419463500092497, -0.044206632933757976, -0.04421694406257316, -0.044206540130962105, -0.044202737321028134, -0.04419503504962104, -0.04419831117484525, -0.04420336904476006, -0.04420873984517398, -0.044191182168570646, -0.04417781295223367, -0.044185336043361334, -0.0441841844825183, -0.04418656469361372, -0.044206500704363084, -0.04418900034366043, -0.04420601307345976, -0.0441941208649682, -0.04420392459232622, -0.04419657802292085, -0.04419758748058275, -0.04419645898238976, -0.044195815261755866, -0.04419688227560493, -0.04420579204286775, -0.044197801176257684, -0.04421364485940603, -0.04421390745644968, -0.04420846180691521, -0.04419468837690067, -0.04420606777369279, -0.044203494851040574, -0.04420166446742971, -0.04420084825449432, -0.04415542336195832, -0.044158405426288225, -0.0441532152232846, -0.04414562099257999, -0.044159210798995686, -0.044196663074022494, -0.04419195696456404, -0.04419650490321918, -0.04420288450990692, -0.044202931979766304, -0.04415384349172519, -0.044146602776873316, -0.044140973003220424, -0.044144508825437086, -0.04414238141426163, -0.04419838218206933, -0.04419994006203813, -0.04419881028662471, -0.044201007228034786, -0.04420220699188117, -0.044199056775191196, -0.044202256042960054, -0.044204684017484355, -0.044214200166951795, -0.044213190598504946, -0.044209417537228915, -0.04419845581897643, -0.044211961904311675, -0.044209278596694226, -0.044216141927093326, -0.04419853254663017, -0.044191846641209544, -0.044195707959974566, -0.04419865784159068, -0.04419093463992762, -0.04421991349581769, -0.04420437691330751, -0.04421770635031928, -0.04420857638325742, -0.0442163338373633, -0.04420681649762603, -0.04420010044028212, -0.04420543531721068, -0.04419984387796676, -0.0442032524423467, -0.0442018738486821, -0.04419907269907226, -0.04420160739165738, -0.044193958197231015, -0.0442182123023897, -0.044144040768789736, -0.04414720369376291, -0.04413768912199992, -0.044139800732418306, -0.04416193675370345, -0.04406334796279553, -0.04408981969139, -0.04410168349128314, -0.04410027074779765, -0.04407036442367349, -0.04411555578900641, -0.044117435385427034, -0.04412050358020317, -0.04412549421555013, -0.04411337791620974, -0.04420142410324725, -0.04419766427946421, -0.044196020065791146, -0.04419985824172675, -0.044203295105872696, -0.044210266127867714, -0.04420977193473423, -0.044219009704712556, -0.04420246046525622, -0.044208256100622276, -0.044209473989996036, -0.04420835541382012, -0.044211993200096195, -0.04420527694070851, -0.04420920217692706, -0.044164853700984566, -0.04415151699220794, -0.04414996360020372, -0.04415550500599776, -0.04415790791285712, -0.04419808796225749, -0.04420389484943013, -0.044199593053892414, -0.04419258046549984, -0.04419745087283524, -0.04420020661867709, -0.04420808515220801, -0.04421170636960633, -0.04420592232801647, -0.0442132674292583, -0.04420712167276882, -0.044206713233698486, -0.04420599428765319, -0.04421097145211996, -0.044209254866743, -0.04421019271282741, -0.0442020590850601, -0.04420578294786927, -0.044201365666514655, -0.04420371091615795, 0.04499471344041882, 0.04498534009881017, 0.044979826318275205, 0.04498244928708498, 0.0449775446270829, 0.04501062286708976, 0.04502248939114658, 0.04501252008971285, 0.04501580102053651, 0.0450057294136107, 0.04494968976427854, 0.04494802595867636, 0.044959735009550514, 0.044954343873268694, 0.044951045932116775, 0.044960827624107004, 0.04495920546793209, 0.04492922956903921, 0.044961065086386635, 0.04495674178022225, 0.044998768940765904, 0.04500366794079702, 0.04499890192749993, 0.04500175614478445, 0.04499624542096512, 0.044969927192097935, 0.044968111127903464, 0.044967335306199306, 0.04496630933277266, 0.04497211869502851, 0.04497532946186989, 0.04496987690277424, 0.04497200495166425, 0.04497087018932882, 0.04496900572983344, 0.04496225580382372, 0.04496740890534219, 0.04496565404371771, 0.04496516814735914, 0.04496275979718786, 0.045009011899812476, 0.045017761690629134, 0.04501884201636564, 0.04501246607007131, 0.04501042528245998, 0.04502080408323918, 0.0450229520773976, 0.04503254320778086, 0.04501945723357995, 0.04501909493149605, 0.044971963116848236, 0.04496191329415755, 0.04497220479361727, 0.044966356605405135, 0.04496161529848816, 0.045017963129069145, 0.04501813851079169, 0.04502814279696134, 0.045030935499081895, 0.04501407645012398, 0.045033087370289604, 0.04501401203379233, 0.04502826117924308, 0.045032003954334245, 0.045027757300837905, 0.04498666513047699, 0.044990110738272776, 0.04499279471448449, 0.044983857914338926, 0.04498614291846187, 0.04501276356858201, 0.04501711663106259, 0.045005762292331206, 0.04501475908891266, 0.04501756559744885, 0.045017460402033006, 0.04502989724581639, 0.045024591078547824, 0.045018833279669726, 0.045016030687739864, 0.044956219723983934, 0.04494933766693481, 0.04496063470080694, 0.044948122511320264, 0.04495614401562195, 0.04499221718841294, 0.044986871096936484, 0.04499804088167689, 0.04499243792256733, 0.04498184212845674, 0.044961902023625176, 0.044960368516874696, 0.04496088056015658, 0.04495479941212697, 0.04495766075129532, 0.04500940696970403, 0.04501240572660222, 0.04502276844632274, 0.04501297359821167, 0.0450185145863793, 0.04499517480235201, 0.04499072023861472, 0.04500023626747458, 0.0449823270984625, 0.04498055699817515, 0.04499458544717223, 0.04499508479493622, 0.0450071084104856, 0.044999257239422746, 0.04499045695362532, 0.04496469081152406, 0.04495846821551348, 0.04496023004478385, 0.044954585110928987, 0.044953835598674476, 0.04503299409987805, 0.04502227652681726, 0.04501894452876475, 0.045019622090469814, 0.04502098144433457, 0.04501572512668113, 0.04501582661470755, 0.045011995375569054, 0.04501883362807391, 0.04501474891312413, 0.04499457429424444, 0.04500216514071095, 0.044998940267073406, 0.04499344773640836, 0.04498738857573213, 0.04502530418724103, 0.04501734171152637, 0.045011813436817906, 0.04500867216360392, 0.0450234565364081, 0.04499802405163214, 0.0450051863676281, 0.04500170398020116, 0.045002093840413065, 0.04501357136364671, 0.045024227910472066, 0.04502790321273727, 0.04501594847369905, 0.04501500080696365, 0.045013134652113616, 0.04498917297152893, 0.0449864323338218, 0.04499462763634594, 0.04499545649150076, 0.04499866166997057, 0.044967567123944, 0.04496522349146796, 0.04496776453513689, 0.04495853442982063, 0.0449701338736199, 0.04496509329062241, 0.04497050539363956, 0.044978108532253445, 0.04496089624526483, 0.044963929956498234, 0.04502066424554831, 0.045015040915878005, 0.04502551853180383, 0.045023887988082226, 0.04502221660750684, 0.045020767607022116, 0.0450312390845937, 0.04502733735973231, 0.04501866319860263, 0.045020557466712706, 0.044993657552913985, 0.0449875735049259, 0.04498185405629046, 0.04498372221166765, 0.04498528519449358, 0.0449912298765643, 0.04498883028021523, 0.04497760458343218, 0.04498570758153209, 0.0449940102081479, 0.044972354249811254, 0.04496545066705157, 0.04496516943239404, 0.044976647568065284, 0.044968354576050744, 0.044980804995153896, 0.044980769718907826, 0.04497939332781623, 0.0449802502279236, 0.04497693942906371, 0.0450219932804704, 0.04502855642054111, 0.045029372103768665, 0.045030634815287324, 0.04503548119754869, 0.04502389516631502, 0.045025476949699654, 0.0450277152899448, 0.04503241072198589, 0.04503294680304413, 0.04502617343415012, 0.045025194433503, 0.04502411500661554, 0.04502016163079979, 0.04502051121384173, 0.04496730206659504, 0.04496826993030861, 0.044968016835864814, 0.044966126553380045, 0.04496796736844791, 0.04499255802692297, 0.04500405499691473, 0.04498106942022757, 0.04499272291718963, 0.04499763104848162, 0.04499020590859212, 0.04498255216336234, 0.04499520697054401, 0.04498078476691764, 0.044990372241957274, 0.045001428216081885, 0.045009788432677396, 0.04499931822502378, 0.04500492407252395, 0.04499947387871815, 0.044985531032012825, 0.04497455397117941, 0.04497820452309072, 0.04498033061148109, 0.044974307362842594, 0.04502603674411685, 0.04501872146528541, 0.045016881907793294, 0.045015213418763966, 0.04501800891179893, 0.04499806757563718, 0.04500521781533509, 0.04499081749952434, 0.04498945577096758, 0.04499656865143251, 0.04501249619236797, 0.04500835243382761, 0.04500525736655364, 0.045006086895563145, 0.04501374522703799, 0.04499615143413092, 0.04497182594056047, 0.04498800748338893, 0.04498796183103612, 0.04499346236922942, 0.04497732045912666, 0.04498577050901386, 0.04498368568154683, 0.04499151335283301, 0.044989137982214794, 0.04499887941321717, 0.04499427160895802, 0.044985480033453915, 0.044986347038064416, 0.04498807892466953, 0.0449627785707777, 0.04496162153555556, 0.04496328992700147, 0.04496452379027216, 0.04496547555179394, 0.044961566117268134, 0.044958244705281494, 0.0449691349024867, 0.04496674154616687, 0.04496748380432686, 0.04500402791801315, 0.04499895133976552, 0.044998732918165446, 0.04499948564581363, 0.04500215668550335]]

    x = data[0]
    y = data[1]

    measures, _ = scagnostics(x, y)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.