ModifiedBetaGeoNBDRV#

class pymc_marketing.clv.distributions.ModifiedBetaGeoNBDRV(name=None, ndim_supp=None, ndims_params=None, dtype=None, inplace=None, signature=None)[source]#

Methods

ModifiedBetaGeoNBDRV.L_op(inputs, outputs, ...)

Construct a graph for the L-operator.

ModifiedBetaGeoNBDRV.R_op(inputs, eval_points)

Construct a graph for the R-operator.

ModifiedBetaGeoNBDRV.__init__([name, ...])

Create a random variable Op.

ModifiedBetaGeoNBDRV.add_tag_trace([user_line])

Add tag.trace to a node or variable.

ModifiedBetaGeoNBDRV.batch_ndim(node)

ModifiedBetaGeoNBDRV.dist_params(node)

Return the node inpust corresponding to dist params

ModifiedBetaGeoNBDRV.do_constant_folding(...)

Determine whether or not constant folding should be performed for the given node.

ModifiedBetaGeoNBDRV.grad(inputs, outputs)

Construct a graph for the gradient with respect to each input variable.

ModifiedBetaGeoNBDRV.infer_shape(fgraph, ...)

ModifiedBetaGeoNBDRV.inplace_on_inputs(...)

Try to return a version of self that tries to inplace in as many as allowed_inplace_inputs.

ModifiedBetaGeoNBDRV.make_node(rng, size, ...)

Create a random variable node.

ModifiedBetaGeoNBDRV.make_py_thunk(node, ...)

Make a Python thunk.

ModifiedBetaGeoNBDRV.make_thunk(node, ...[, ...])

Create a thunk.

ModifiedBetaGeoNBDRV.perform(node, inputs, ...)

Calculate the function on the inputs and put the variables in the output storage.

ModifiedBetaGeoNBDRV.prepare_node(node, ...)

Make any special modifications that the Op needs before doing Op.make_thunk().

ModifiedBetaGeoNBDRV.rng_fn(rng, a, b, r, ...)

Sample a numeric random variate.

ModifiedBetaGeoNBDRV.rng_param(node)

Return the node input corresponding to the rng

ModifiedBetaGeoNBDRV.size_param(node)

Return the node input corresponding to the size

Attributes

default_output

An int that specifies which output Op.__call__() should return.

destroy_map

A dict that maps output indices to the input indices upon which they operate in-place.

dtype

itypes

name

otypes

signature

view_map

A dict that maps output indices to the input indices of which they are a view.