σμimplied vol · KKmax(S−K,0)udβρᵢⱼfat tailsPnL · drawdownyield · TdSₜ = μSₜ dt + σSₜ dWₜC = S·N(d₁) − K·e⁻ʳᵀ·N(d₂)σₚ² = wᵀΣwd₁ = [ln(S/K) + (r + σ²⁄2)T] ⁄ σ√T∂V/∂t + ½σ²S²·∂²V/∂S² + rS·∂V/∂S − rV = 0Sharpe = (Rₚ − R_f) ⁄ σₚVaR₉₉ = μ − 2.33σρ = Cov(X,Y) ⁄ σₓσᵧE[Rₚ] = Σ wᵢ·E[Rᵢ]φ(x) = e^(−x²/2) ⁄ √2πE[Rᵢ] = R_f + βᵢ(E[Rₘ] − R_f)dXₜ = θ(μ − Xₜ)dt + σ dWₜσ²ₜ = ω + α·ε²ₜ₋₁ + β·σ²ₜ₋₁C − P = S − K·e⁻ʳᵀΔ = ∂V/∂S Γ = ∂²V/∂S²p = (e^(rΔt) − d) ⁄ (u − d)rₜ = ln(Pₜ ⁄ Pₜ₋₁)E[Xₜ₊₁ | ℱₜ] = Xₜf* = (bp − q) ⁄ bz = (x − μ) ⁄ σP(N=k) = λᵏe^(−λ) ⁄ k!Θ = −∂V/∂Tν = S·φ(d₁)·√Tmin wᵀΣw s.t. wᵀμ = μ*∫Σ∂∞λ
uantCraft AcademyRoadmapsSkills
Ctrl K
AO
+1.2k Learners
LoginJoin ↗
RoadmapsSkills
AO
+1.2k Learners
Login
  • English
  • Français
  • Español
  • العربية
  • Português
  • Deutsch
  • 日本語
  • 中文
uantCraft Academy

Quant development, learned by doing: short lessons, graded labs and a real IDE, right in your browser.

Learn
All roadmapsAll skillsPythonMarket StructureCalculusLinear AlgebraProbabilityStatisticsMatrix DecompositionsOptimizationTime SeriesStochastic CalculusBayesian InferenceHidden Markov ModelsParticle filtering and non-stationary time series
Support
Give us feedbackBuy us a Coffee
Legal
Privacy policyTerms of service
© 2026 QuantCraft Solutions. All rights reserved.
QuantCraft
σμimplied vol · KKmax(S−K,0)udβρᵢⱼfat tailsPnL · drawdownyield · TdSₜ = μSₜ dt + σSₜ dWₜC = S·N(d₁) − K·e⁻ʳᵀ·N(d₂)σₚ² = wᵀΣwd₁ = [ln(S/K) + (r + σ²⁄2)T] ⁄ σ√T∂V/∂t + ½σ²S²·∂²V/∂S² + rS·∂V/∂S − rV = 0Sharpe = (Rₚ − R_f) ⁄ σₚVaR₉₉ = μ − 2.33σρ = Cov(X,Y) ⁄ σₓσᵧE[Rₚ] = Σ wᵢ·E[Rᵢ]φ(x) = e^(−x²/2) ⁄ √2πE[Rᵢ] = R_f + βᵢ(E[Rₘ] − R_f)dXₜ = θ(μ − Xₜ)dt + σ dWₜσ²ₜ = ω + α·ε²ₜ₋₁ + β·σ²ₜ₋₁C − P = S − K·e⁻ʳᵀΔ = ∂V/∂S Γ = ∂²V/∂S²p = (e^(rΔt) − d) ⁄ (u − d)rₜ = ln(Pₜ ⁄ Pₜ₋₁)E[Xₜ₊₁ | ℱₜ] = Xₜf* = (bp − q) ⁄ bz = (x − μ) ⁄ σP(N=k) = λᵏe^(−λ) ⁄ k!Θ = −∂V/∂Tν = S·φ(d₁)·√Tmin wᵀΣw s.t. wᵀμ = μ*∫Σ∂∞λ
uantCraft AcademyRoadmapsSkills
Ctrl K
AO
+1.2k Learners
LoginJoin ↗
RoadmapsSkills
AO
+1.2k Learners
Login
  • English
  • Français
  • Español
  • العربية
  • Português
  • Deutsch
  • 日本語
  • 中文
Skills›LightGBM

LightGBM Skill

LiveStart here

LightGBM is a gradient boosting library built for speed. Where XGBoost grows every level of a tree, LightGBM grows leaf-wise: it always splits the leaf that gains the most, and it finds cuts from histograms of binned columns instead of sorting. This skill follows the same running example as the XGBoost skill, a panel of 56 US stocks with a few features known at each month-end, so every result can be compared. You grow trees both ways and see where the leaves go, build the histograms and the subtraction trick that make training fast, cut a column of labels without turning it into dozens of columns, handle a target where the event you care about is rare, tune a model without fooling yourself with the validation set, rank stocks with lambdarank and group queries, and read a model with split counts, gain and SHAP values. The skill ends with XGBoost and LightGBM on one panel, judged the way a research team would judge them.

4 modules8 graded labs~7 hoursIntermediate → Advanced
Start skill

Prerequisites

Best after the XGBoost skill, which uses the same panel. Comfort with Python and pandas and a first look at boosted trees is enough.

  • Python
  • XGBoost

Syllabus

8 topics · open any topic, in any order
  1. 1Leaf-wise growth versus level-wise growthNot startedRequires Python45 minStart
  2. 2Histogram binning and speedNot startedRequires Python45 minStart
  1. 3Categorical featuresNot startedRequires Python45 minStart
  2. 4Imbalanced targetsNot startedRequires Python40 minStart
  1. 5Parameter tuning without fooling yourselfNot startedRequires Python50 minStart
  2. 6lambdarank and group queriesNot startedRequires Python55 minStart
  1. 7Model interpretationNot startedRequires Python45 minStart
  2. 8Capstone: XGBoost versus LightGBM on the same panelNot startedRequires Python1 hr 30 minStart

Completion

Pass all 8 labs with a score of 70+ to complete the skill and earn the LightGBM badge on your profile.

0 / 80%

Prerequisites

Best after the XGBoost skill, which uses the same panel. Comfort with Python and pandas and a first look at boosted trees is enough.

  • Python
  • XGBoost

Tools you'll use

PythonLightGBMNumPypandaspytest

What you'll learn

  • Grow a tree leaf-wise and level-wise and see where each puts its leaves
  • Build histograms and the subtraction trick that make LightGBM fast
  • Cut categorical columns directly and know when a category helps and when it only memorises
  • Handle a rare event with weights and thresholds, and tune a model without fooling yourself
  • Rank with lambdarank, read a model with gain and SHAP, and compare LightGBM with XGBoost on one panel

Next skill

ΔDerivatives PricingLive
uantCraft Academy

Quant development, learned by doing: short lessons, graded labs and a real IDE, right in your browser.

Learn
All roadmapsAll skillsPythonMarket StructureCalculusLinear AlgebraProbabilityStatisticsMatrix DecompositionsOptimizationTime SeriesStochastic CalculusBayesian InferenceHidden Markov ModelsParticle filtering and non-stationary time series
Support
Give us feedbackBuy us a Coffee
Legal
Privacy policyTerms of service
© 2026 QuantCraft Solutions. All rights reserved.
QuantCraft
LoginJoin ↗
Login