back_prop, stats_examples, endogenous_lake, multi_hyper: four small fixes
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 72/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- python
- Domaine
- data, documentation
Piste de recherche
Read the four named lecture files at the cited sections: lectures/back_prop.md, lectures/stats_examples.md, lectures/endogenous_lake.md, and lectures/multi_hyper.md. Check the described training shuffle, Pascal formulas, job-finding comparison and message, and count loop length against the issue. Done when each listed correction is reflected and the install cell remains runnable.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Four small things found while these lectures were reviewed on their way into the shared lecture pool (QuantEcon/lectures#44). None is urgent. Line numbers are at 4d82fff.
lectures/back_prop.md,train(line 501): each epoch splitskey, but line 504 draws the permutation from a fixedrandom.key(1), so the data come in the same order every epoch and thekeyargument has no effect.key, subkey = random.split(key)followed byrandom.permutation(subkey, indices)shuffles as intended.lectures/stats_examples.md, the Pascal (negative binomial) section (lines 121–122): the mean and variance are written with $k$, the value of $X$, where the parameter $r$ belongs: they should read $\mathbb{E}(X) = r(1-p)/p$ and $\mathbb{V}(X) = r(1-p)/p^2$.lectures/endogenous_lake.md, the job-finding rate (lines 338, 464 and 496): the text accepts an offer when $w \geq \bar w$ (lines 84 and 319), but the code countsw_vec > w_bar. Sincew_baris the first grid wage at which accepting is optimal (jnp.searchsorted(V - U, 0)), the strict inequality treats the reservation wage itself as rejected and understates $\lambda$ by $\gamma , p(\bar w)$;>=matches the text. The message printed at line 339 also reads "paramters".lectures/multi_hyper.md,count(line 391): it takes its loop length from the globalsample(size = sample.shape[0], line 392) rather than from its own arguments. It gives the right answer here, since it is only called with columns ofsample, but Numba freezes global arrays when it compiles, sosize = vec1.shape[0]is the safer form.
The same review asked for skip-execution on back_prop's install cell, but that cell is meant to run: the lecture uses kaleido and plotly afterwards.
When these land here, the pool picks them up through its nightly refresh.
- Langage dominant
- TeX
- Étoiles
- 129
- Forks
- 59
- Merge moyen
- 2 j 10 h
- PR mergées (30 j)
- 11
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de QuantEcon/lecture-python.myst
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
QuantEcon/lecture-python.myst#1115 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
phillips_drifts_volatilities: `kalman_forward` pairs each observation with the previous date's volatilityPeut-être pris @bennibyx l’a pris il y a 1 jour. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
QuantEcon/lecture-python.myst#1108 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Link Checker ReportOuverteautomated issue linkchecker report
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
QuantEcon/lecture-python.myst#1098 ·
Les mainteneurs répondent en général sous 1 jour
-
Link Checker ReportOuverteautomated issue linkchecker report
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
QuantEcon/lecture-python.myst#1094 ·
Les mainteneurs répondent en général sous 1 jour
-
Link Checker ReportOuverteautomated issue linkchecker report
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
QuantEcon/lecture-python.myst#1062 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de QuantEcon/lecture-python.myst
Issues similaires
-
[Bug]: GraphML export writes invalid XML when a value contains a control character (e.g. form feed)Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
topoteretes/cognee#6646 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
opensanctions/opensanctions#6227 ·
Les mainteneurs répondent en général sous 1 jour
-
ai-driven-fuzzing bug claude Minor
Difficulté 2/5 1-3 heures Accessibilité débutants 79/100
Les mainteneurs répondent en général sous 2 jours
-
Edit: TVS Encarnacion [PY]Ouvertechannels:edit check:passed
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
duckduckgo/tracker-radar#409 ·