Skip to content

Commit 92f1062

Browse files
committed
docstring
1 parent a8669a1 commit 92f1062

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎LeanMachineLearning/SequentialLearning/Algorithms/RandomSampling.lean‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ variable {α β Ω : Type*} [MeasurableSpace α] [MeasurableSpace β] [StandardB
3838
{P : Measure Ω} [IsProbabilityMeasure P]
3939

4040
open Set in
41-
/-- The Pure Random Search algorithm. -/
41+
/-- The _Random Sampling_ algorithm, which samples from a fixed probability
42+
measure at each iteration. -/
4243
@[simps]
4344
noncomputable def randomSampling (μ : Measure α) [IsProbabilityMeasure μ] : Algorithm α β where
4445
policy _ := Kernel.const _ μ

0 commit comments

Comments
 (0)