Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
87
This is my sixth post in a series on building a toy GPT. I recommend that you read my previous posts before reading this one. When using linear and logistic regression, which involve just a single linear equation, calculating derivatives is easy since there is only one equation to work with. Those derivatives help us…
a year ago

Improve your reading experience

Logged in users get linked directly to articles resulting in a better reading experience. Please login for free, it takes less than 1 minute.

More from Seeking Wisdom

It’s a treasure trove of health insights!

Use Insulin wisely Life on Earth started simple. For nearly 2 billion years, tiny single-celled organisms dominated. Then, a lucky accident changed everything. One cell swallowed another, and the swallowed cell became mitochondria, the powerhouse of complex cells. This chance event led to all complex life, including plants, animals, and us. This microscopic accident is…

6 months ago 79 votes
Focus on the process, not the outcome

Woorkeri Raman, a former Indian cricketer and former coach of the India women’s national cricket team, has two non-negotiables. As an offspinner, you must never get cut, and you must never get driven through the covers. Even when Ravichandran Ashwin takes five wickets, Raman will still point out if he got cut or driven off…

9 months ago 116 votes
What I Learned from The South Asian Health Solution and wearing a Continuous Glucose Monitor

We all know avocados are healthy, and coke is bad. Yet we can’t help but gulp down a coke with a plate full of french fries. It takes an enormous amount of energy to break bad habits. I’ve broken bad habits under two conditions: (a) it’s a do-or-die situation, or (b) you have a device…

11 months ago 137 votes
Ruturaj Gaikwad, P-value, and Bayes’ Theorem

IPL is one of the greatest entertainments for a cricket lover like me. Chennai Super Kings (CSK) is my favorite team. Ruturaj Gaikwad, the new CSK captain for the IPL 2024 season, lost 10 out of 13 tosses: LLLLWLLLLLLWL. The probability of seeing the sequence LLLLWLLLLLLWL is 0.513 or 0.00012. Unsurprisingly, the odds of seeing…

12 months ago 142 votes
A great investor is a great rejector

I tend to grasp math concepts better from books written for other fields. Take linear algebra for example — I developed a stronger understanding and appreciation for it after reading the book Modeling Life. Similarly, the investing book What I Learned About Investing from Darwin gave me deeper insights on how base rates, sensitivity, and…

12 months ago 150 votes

More in finance

Schedule for Week of May 11, 2025

The key reports this week are April CPI, Retail Sales and Housing Starts. ----- Monday, May 12th ----- 2:00 PM: Senior Loan Officer Opinion Survey on Bank Lending Practices for April. ----- Tuesday, May 13th ----- 6:00 AM ET: NFIB Small Business Optimism Index for April. Consumer Price Index for April from the BLS. The consensus is for 0.3% increase in CPI (up 2.4% YoY), and a 0.3% increase in core CPI (up 2.8% YoY). Q1 Quarterly Report on Household Debt and Credit ----- Wednesday, May 14th ----- 7:00 AM ET: The Mortgage Bankers Association (MBA) will release the results for the mortgage purchase applications index. ----- Thursday, May 15th ----- 8:30 AM: The initial weekly unemployment claims report will be released. The consensus is for initial claims of 230 thousand, up from 228 thousand last week. 8:30 AM ET: Retail sales for April are scheduled to be released.  The consensus is for 0.1% increase in retail sales. Producer Price Index for April from the BLS. The consensus is for a 0.3% increase in PPI, and a 0.3% increase in core PPI. Empire State manufacturing survey for May. The consensus is for a reading of -7.1, up from -8.1. Philly Fed manufacturing survey for May. The consensus is for a reading of -8.5, up from -26.4. Speech, Fed Chair Jerome Powell, Framework Review, At the Thomas Laubach Research Conference, Washington, D.C. 9:15 AM: The Fed will release Industrial Production and Capacity Utilization for April. NAHB homebuilder survey. The consensus is for a reading of 40 up from 39 last month.  Any number below 50 indicates that more builders view sales conditions as poor than good. ----- Friday, May 16th ----- 8:30 AM ET: Housing Starts for April. University of Michigan's Consumer sentiment index (Preliminary for May).

17 hours ago 2 votes
Longreads + Open Thread

Data, Invisible Software, The Post, AI, Cheating, Control, Star Wars

13 hours ago 2 votes
May 2nd COVID Update: COVID Deaths Continue to Decline

Note: Mortgage rates are from MortgageNewsDaily.com and are for top tier scenarios. For deaths, I'm currently using 4 weeks ago for "now", since the most recent three weeks will be revised significantly. Note: "Effective May 1, 2024, hospitals are no longer required to report COVID-19 hospital admissions, hospital capacity, or hospital occupancy data."  So, I'm no longer tracking hospitalizations. COVID Metrics  NowWeek AgoGoal Deaths per Week337✅393≤3501 1my goals to stop weekly posts. 🚩 Increasing number weekly for Deaths. ✅ Goal met. Click on graph for larger image. This graph shows the weekly (columns) number of deaths reported since Jan 2023. Although weekly deaths met the original goal to stop posting in June 2023 (low of 314 deaths), I've continued to post since deaths were above the goal again - and I'll continue to post until weekly deaths are once again below the goal for several weeks. Weekly deaths are steadily decreasing following the winter pickup and are nearing the lows of last June. And here is a graph I'm following concerning COVID in wastewater as of May 8th: This appears to be a leading indicator for COVID hospitalizations and deaths.  This is moving towards the lows last May. Nationally COVID in wastewater is "Low".

2 days ago 1 votes
Who Else But Google?

Plus! Tariff Plays; Good Trades; Capital Structure; Moderation; Debt and the Dollar

2 days ago 2 votes
AAR: Rail Carloads and Intermodal Up in April

From the Association of American Railroads (AAR) AAR Data Center. Graph and excerpts reprinted with permission. Recent shifts in U.S. policies on trade and immigration have introduced volatility in financial markets and heightened uncertainty for firms. The ultimate outcomes and impacts of these policy changes remain unclear. Nevertheless, U.S. rail volumes have thus far remained stable, and many core economic indicators continue to signal underlying resilience. Railroads have long adapted to changing conditions, a legacy of resilience that continues today. emphasis added Click on graph for larger image. AAR shows the year-over-year change in carloads by category. U.S. railroads originated 1.13 million total carloads in April 2025, up 6.2% (65,524 carloads) over April 2024. That’s the largest year-over-year percentage gain in 16 months and the third largest in nearly four years. Carloads averaged 225,569 per week in April—slightly below March, but otherwise the highest since October 2024, with gains in 13 of 20 categories tracked by AAR. Through the first four months of 2025, total carloads were up 1.8% (67,282 carloads) over the same period last year, with 11 of 20 carload categories seeing gains. emphasis added And on intermodal: U.S. rail intermodal traffic, which is not included in carload counts, totaled 1.36 million containers and trailers in April 2025, up 7.4% (93,244 units) over April 2024. Weekly intermodal volume averaged 272,300 units in April 2025. The only April with higher intermodal volume was April 2021. In fact, April 2021 holds the all-time intermodal record for any month, averaging 290,955 units per week. Year-to-date intermodal volume in 2025 through April was 4.90 million units, up 8.1% (365,456 units) over 2024 and the second highest ever for the first four months of a year (again behind 2021). Intermodal volume closely tracks port activity, making it a bellwether for international trade trends. As yet, there is no apparent impact on carloads and intermodal from policy changes.

2 days ago 3 votes