Skip to content

Commit e75d31d

Browse files
committed
Update docstring_rule.md
1 parent 16afc3a commit e75d31d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/devdoc/docstring_rule.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ class LearnModel(base.Posterior,base.PredictiveMixin):
518518
```
519519
xxx : numpy.ndarray, optional
520520
Vectors of real numbers,
521-
by default zero vectors.
521+
by default zero vectors
522522
If a single vector is input, will be broadcasted.
523523
```
524524

@@ -527,7 +527,7 @@ class LearnModel(base.Posterior,base.PredictiveMixin):
527527
```
528528
xxx : numpy.ndarray, optional
529529
Vectors of non-negative numbers,
530-
by default vectors whose elements are all 1.
530+
by default vectors whose elements are all 1.0
531531
If a single vector is input, will be broadcasted.
532532
```
533533

@@ -536,7 +536,7 @@ class LearnModel(base.Posterior,base.PredictiveMixin):
536536
```
537537
xxx : numpy.ndarray, optional
538538
Vectors of positive numbers,
539-
by default vectors whose elements are all 1.
539+
by default vectors whose elements are all 1.0
540540
If a single vector is input, will be broadcasted.
541541
```
542542

@@ -546,7 +546,7 @@ class LearnModel(base.Posterior,base.PredictiveMixin):
546546
xxx : numpy.ndarray, optional
547547
Vectors of real numbers in :math:`[0, 1]`,
548548
by default vectors such as [1/yyy, 1/yyy, ... , 1/yyy]
549-
Sum of the elements of each vector must be 1.
549+
Sum of the elements of each vector must be 1.0.
550550
If a single vector is input, will be broadcasted.
551551
```
552552

@@ -566,7 +566,7 @@ class LearnModel(base.Posterior,base.PredictiveMixin):
566566
xxx : numpy.ndarray, optional
567567
A matrix of real numbers in :math:`[0, 1]`,
568568
by default a matrix obtained by stacking [1/yyy, 1/yyy, ... , 1/yyy]
569-
Sum of the elements of each row vector must be 1.
569+
Sum of the elements of each row vector must be 1.0.
570570
If a single vector is input, will be broadcasted.
571571
```
572572

0 commit comments

Comments
 (0)