-
Notifications
You must be signed in to change notification settings - Fork 38
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
Code 1.2 pz.BetaBinomial: AttributeError: module 'preliz' has no attribute 'BetaBinomial' #24
Comments
Hola Bryan,
Me parece muy raro el error. Como si algo se hubiera instalado mal.
Probaste instalar la última versión. Simplemente pip install preliz. Creo
que no debería romper ninguno de los otros ejemplos.
Saludos.
El vie., 24 may. 2024 16:15, bwcastillo ***@***.***> escribió:
… Hi @aloctavodia <https://github.com/aloctavodia>,
I am writing because I got a problem in the Code 1.2. I installed it with pip
install preliz==0.0.2. However, when I code ´pz.BetaBinomial(alpha=10,
beta=10, n=6).plot_interactive()´ I got: AttributeError: module 'preliz'
has no attribute 'BetaBinomial'. Do you suggest some way to solve it? I
keep attentive.
Best regards from Chile.
Thanks in advance for sharing your knowledge.
Bryan
PS: Let me know if I can write you in Spanish.
—
Reply to this email directly, view it on GitHub
<#24>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKG4TRJFOWW4V2SH5WSTSDZD6GWZAVCNFSM6AAAAABIIDDRDCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYTMMJQGAYTEOA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Genial! Ahora funcionó, sin embargo, obtuve:
De todas maneras las otras funciones trabajan. Quedo atento. |
Otro detalle, en las versiones nuevas de PreliZ algunas dependencias son opcionales. Podes instalarlas todas haciendo pip install "preliz[full,notebook]" |
Genial funcionó perfecto. Quería agregar esta pregunta, no sé si tengo que abrir un nuevo issue. Entiendo que la primera parte del libro es para desarrollar las intuiciones de los tipos de distribuciones. Sin embargo, en el Código 1.4 obtuve este gráfico, que discrepa del que está en la Figura 1.4. Creo que es por la escala de
|
En general es mejor abrir un issue por cada tema. La diferencia entre las barras y los puntos es que el histograma no está normalizado, para que esté normalizado tenés que pasar el argumento density=True a plt.hist |
Muchas gracias Osvaldo! |
Hi @aloctavodia,
I am writing because I got a problem in the Code 1.2. I installed it with
pip install preliz==0.0.2
. However, when I code ´pz.BetaBinomial(alpha=10, beta=10, n=6).plot_interactive()´ I got:AttributeError: module 'preliz' has no attribute 'BetaBinomial'.
Do you suggest some way to solve it? I keep attentive.Best regards from Chile.
Thanks in advance for sharing your knowledge.
Bryan
PS: Let me know if I can write you in Spanish.
The text was updated successfully, but these errors were encountered: