Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/b/i/biopython-1.63/Tests/test_lowess.py   biopython(Download)
        "Install NumPy if you want to use Bio.Statistics.lowess.")
 
from Bio.Statistics.lowess import lowess
import unittest
 
                    11.62986671, 28.18598762, 86.85271581, 116.83893423 ])
        # Smooth output calculated by the lowess function
        output = lowess(x, y, f=2./3., iter = 3)
        for precomputed, calculated in zip(ys, output):
            self.assertAlmostEqual(precomputed, calculated, places=4)

src/b/i/biopython-HEAD/Tests/test_lowess.py   biopython(Download)
        "Install NumPy if you want to use Bio.Statistics.lowess.")
 
from Bio.Statistics.lowess import lowess
import unittest
 
                    11.62986671, 28.18598762, 86.85271581, 116.83893423 ])
        # Smooth output calculated by the lowess function
        output = lowess(x, y, f=2./3., iter = 3)
        for precomputed, calculated in zip(ys, output):
            self.assertAlmostEqual(precomputed, calculated, places=4)