コード例 #1
0
    def test_plot_mixture_data(self):
        mixt1 = Mixture(0.6, Distribution("B", 2, 18, 0.5), 0.4,
                        Distribution("NB", 10, 10, 0.5))
        mixt_histo1 = Simulate(mixt1, 200)

        if DISABLE_PLOT == False:
            mixt1.plot()
            mixt_histo1.plot()
コード例 #2
0
    def test_plot_mixture_data(self):
        mixt1 = Mixture(0.6, Distribution("B", 2, 18, 0.5), 0.4,
                        Distribution("NB", 10, 10, 0.5))
        mixt_histo1 = Simulate(mixt1, 200)

        if DISABLE_PLOT == False:
            mixt1.plot()
            mixt_histo1.plot()
コード例 #3
0
    def test_plot_survival(self):

        d1 = Distribution("B", 2, 18, 0.5)

        if DISABLE_PLOT == False:
            d1.plot(ViewPoint="Survival")

        histo1 = Simulate(d1, 200)
        if DISABLE_PLOT == False:
            histo1.plot(ViewPoint="Survival")
コード例 #4
0
    def test_plot_survival(self):


        d1 = Distribution("B", 2, 18, 0.5)

        if DISABLE_PLOT == False:
            d1.plot(ViewPoint="Survival")

        histo1 = Simulate(d1, 200)
        if DISABLE_PLOT == False:
            histo1.plot(ViewPoint="Survival")
コード例 #5
0
    def test_plot_convolution_data(self):

        convol1 = Convolution("data/convolution1.conv")
        convol_histo1 = Simulate(convol1, 200)
        if DISABLE_PLOT == False:
            convol_histo1.plot()
コード例 #6
0
    def test_plot_convolution_data(self):

        convol1 = Convolution("data/convolution1.conv")
        convol_histo1 = Simulate(convol1, 200)
        if DISABLE_PLOT == False:
            convol_histo1.plot()