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

Add random alias to aesara.tensor.random.basic #1364

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

redbopo
Copy link
Contributor

@redbopo redbopo commented Dec 12, 2022

Close #1353

This PR will add random() function in RandomStream.
For the testsuite I just copy that as standard_normal() does, look for some feedback.

@rlouf rlouf changed the title Add random RandomVariable Add RandomRV Dec 12, 2022
@codecov
Copy link

codecov bot commented Dec 12, 2022

Codecov Report

Merging #1364 (a85c8a9) into main (67ea5b6) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1364   +/-   ##
=======================================
  Coverage   74.66%   74.66%           
=======================================
  Files         177      177           
  Lines       49050    49051    +1     
  Branches    10400    10400           
=======================================
+ Hits        36623    36624    +1     
  Misses      10131    10131           
  Partials     2296     2296           
Impacted Files Coverage Δ
aesara/tensor/random/basic.py 99.03% <100.00%> (+<0.01%) ⬆️

@brandonwillard brandonwillard added enhancement New feature or request random variables Involves random variables and/or sampling labels Dec 12, 2022
@brandonwillard brandonwillard changed the title Add RandomRV Add random alias to aesara.tensor.random.basic Dec 15, 2022
brandonwillard
brandonwillard previously approved these changes Dec 15, 2022
@brandonwillard
Copy link
Member

The current error looks like it might be due to recent changes in JAX.

@rlouf
Copy link
Member

rlouf commented Dec 15, 2022

The current error looks like it might be due to recent changes in JAX.

Yes. Pushed a fix in #1372

@brandonwillard brandonwillard merged commit b48a6bb into aesara-devs:main Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request random variables Involves random variables and/or sampling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add random RandomVariable
3 participants