Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove some math utilities from the PyMC root scope? #6761

Open
ricardoV94 opened this issue Jun 8, 2023 · 2 comments · May be fixed by #6973
Open

Remove some math utilities from the PyMC root scope? #6761

ricardoV94 opened this issue Jun 8, 2023 · 2 comments · May be fixed by #6973

Comments

@ricardoV94
Copy link
Member

Description

I would suggest moving those first six back to the math module scope.

image

@iykat
Copy link
Contributor

iykat commented Jun 25, 2023

Hi @ricardoV94 I will be happy to work on it. Do you have any implementation in mind?

@ricardoV94
Copy link
Member Author

This is the current output of dir(pymc)

['ADVI',
 'AR',
 'ASVGD',
 'Approximation',
 'AsymmetricLaplace',
 'Bernoulli',
 'Beta',
 'BetaBinomial',
 'BinaryGibbsMetropolis',
 'BinaryMetropolis',
 'Binomial',
 'Bound',
 'CAR',
 'CallableTensor',
 'Categorical',
 'CategoricalGibbsMetropolis',
 'Cauchy',
 'CauchyProposal',
 'Censored',
 'ChiSquared',
 'CompoundStep',
 'ConstantData',
 'Continuous',
 'CustomDist',
 'DEMetropolis',
 'DEMetropolisZ',
 'Data',
 'DensityDist',
 'Deterministic',
 'DictToArrayBijection',
 'DiracDelta',
 'Dirichlet',
 'DirichletMultinomial',
 'Discrete',
 'DiscreteUniform',
 'DiscreteWeibull',
 'Distribution',
 'ELPDData',
 'Empirical',
 'EulerMaruyama',
 'ExGaussian',
 'Exponential',
 'Flat',
 'FullRank',
 'FullRankADVI',
 'GARCH11',
 'Gamma',
 'GaussianRandomWalk',
 'GeneratorAdapter',
 'Geometric',
 'Group',
 'Gumbel',
 'HalfCauchy',
 'HalfFlat',
 'HalfNormal',
 'HalfStudentT',
 'HamiltonianMC',
 'HurdleGamma',
 'HurdleLogNormal',
 'HurdleNegativeBinomial',
 'HurdlePoisson',
 'HyperGeometric',
 'ICAR',
 'ImplicitGradient',
 'ImputationWarning',
 'IncorrectArgumentsError',
 'Inference',
 'Interpolated',
 'InverseGamma',
 'KLqp',
 'KroneckerNormal',
 'Kumaraswamy',
 'LKJCholeskyCov',
 'LKJCorr',
 'Laplace',
 'LaplaceProposal',
 'LogNormal',
 'Logistic',
 'LogitNormal',
 'Lognormal',
 'MatrixNormal',
 'MeanField',
 'Metropolis',
 'Minibatch',
 'Mixture',
 'Model',
 'Moyal',
 'Multinomial',
 'MultivariateNormalProposal',
 'MutableData',
 'MvGaussianRandomWalk',
 'MvNormal',
 'MvStudentT',
 'MvStudentTRandomWalk',
 'NUTS',
 'NegativeBinomial',
 'Normal',
 'NormalMixture',
 'NormalProposal',
 'OrderedLogistic',
 'OrderedMultinomial',
 'OrderedProbit',
 'Pareto',
 'Point',
 'Poisson',
 'PoissonProposal',
 'PolyaGamma',
 'Potential',
 'RandomWalk',
 'Rice',
 'STEP_METHODS',
 'SVGD',
 'SamplingError',
 'ShapeError',
 'ShapeWarning',
 'Simulator',
 'SkewNormal',
 'Slice',
 'Stein',
 'StickBreakingWeights',
 'StudentT',
 'SymbolicRandomVariable',
 'TraceDirectoryError',
 'Triangular',
 'Truncated',
 'TruncatedNormal',
 'Uniform',
 'UniformProposal',
 'VonMises',
 'Wald',
 'Weibull',
 'Wishart',
 'WishartBartlett',
 'ZeroInflatedBinomial',
 'ZeroInflatedNegativeBinomial',
 'ZeroInflatedPoisson',
 'ZeroSumNormal',
 '__builtins__',
 '__cached__',
 '__doc__',
 '__file__',
 '__loader__',
 '__name__',
 '__package__',
 '__path__',
 '__set_compiler_flags',
 '__spec__',
 '__version__',
 '_calculate_ics',
 '_log',
 '_version',
 'adadelta',
 'adagrad',
 'adagrad_window',
 'adam',
 'adamax',
 'apply_momentum',
 'apply_nesterov_momentum',
 'apply_test_function',
 'approximations',
 'arraystep',
 'autocorr',
 'autocorrplot',
 'autocov',
 'backends',
 'bfmi',
 'blocking',
 'bool_types',
 'callbacks',
 'compare',
 'compareplot',
 'compile_fn',
 'compile_forward_sampling_function',
 'compile_pymc',
 'complex_types',
 'compound',
 'compute_log_likelihood',
 'cont_inputs',
 'continuous_types',
 'convert_observed_data',
 'data',
 'densityplot',
 'discrete_types',
 'distributions',
 'do',
 'draw',
 'drop_warning_stat',
 'energyplot',
 'ess',
 'exceptions',
 'expand_packed_triangular',
 'find_MAP',
 'find_constrained_prior',
 'find_hessian',
 'fit',
 'floatX',
 'float_types',
 'forestplot',
 'forward',
 'func_utils',
 'generator',
 'get_data',
 'gp',
 'gradient',
 'guess_scaling',
 'handler',
 'hdi',
 'hessian',
 'hessian_diag',
 'hmc',
 'icdf',
 'inference',
 'init_nuts',
 'initial_point',
 'inputvars',
 'intX',
 'int_types',
 'invlogit',
 'invprobit',
 'isgenerator',
 'jacobian',
 'join_nonshared_inputs',
 'kde',
 'kdeplot',
 'logaddexp',
 'logcdf',
 'logging',
 'logit',
 'logp',
 'logprob',
 'logsumexp',
 'loo',
 'loo_pit',
 'make_shared_replacements',
 'make_ufunc',
 'math',
 'mcmc',
 'mcse',
 'metropolis',
 'minibatch_rv',
 'model',
 'model_graph',
 'model_to_graphviz',
 'model_to_networkx',
 'modelcontext',
 'momentum',
 'nesterov_momentum',
 'norm_constraint',
 'observe',
 'ode',
 'operators',
 'opvi',
 'pairplot',
 'parallel',
 'plot_autocorr',
 'plot_bf',
 'plot_bpv',
 'plot_compare',
 'plot_density',
 'plot_dist',
 'plot_dist_comparison',
 'plot_dot',
 'plot_ecdf',
 'plot_elpd',
 'plot_energy',
 'plot_ess',
 'plot_forest',
 'plot_hdi',
 'plot_kde',
 'plot_khat',
 'plot_lm',
 'plot_loo_pit',
 'plot_mcse',
 'plot_pair',
 'plot_parallel',
 'plot_posterior',
 'plot_ppc',
 'plot_rank',
 'plot_separation',
 'plot_trace',
 'plot_ts',
 'plot_violin',
 'plots',
 'population',
 'predictions_to_inference_data',
 'printing',
 'probit',
 'psislw',
 'pytensorf',
 'r2_samples',
 'r2_score',
 'reloo',
 'rhat',
 'rmsprop',
 'sample',
 'sample_approx',
 'sample_posterior_predictive',
 'sample_posterior_predictive_w',
 'sample_prior_predictive',
 'sample_smc',
 'sampling',
 'scaling',
 'set_data',
 'sgd',
 'slicer',
 'smartfloatX',
 'smc',
 'starting',
 'stats',
 'stein',
 'step_methods',
 'step_sizes',
 'str_for_dist',
 'str_for_model',
 'str_for_potential_or_deterministic',
 'summary',
 'test_functions',
 'to_inference_data',
 'total_norm_constraint',
 'trace_cov',
 'traceplot',
 'tuning',
 'typefilter',
 'updates',
 'util',
 'variational',
 'vartypes',
 'waic',
 'weight_predictions',
 'wrap_xarray_ufunc']

@ricardoV94 ricardoV94 linked a pull request Oct 26, 2023 that will close this issue
5 tasks
@fonnesbeck fonnesbeck added the hackathon Suitable for hackathon label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants