Skip to content

Commit d0d54b8

Browse files
Merge pull request #36 from yuta-nakahara/develop-devdoc
Develop devdoc
2 parents dc8baf8 + 839db19 commit d0d54b8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/devdoc/docstring_rule.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ class LearnModel(base.Posterior,base.PredictiveMixin):
414414
xxx : float or numpy.ndarray, optional
415415
Real numbers,
416416
by default [0.0, 0.0, ... , 0.0]
417-
If a single scaler is input, it will be broadcasted.
417+
If a single real number is input, it will be broadcasted.
418418
```
419419

420420
#### 非負の実数の組
@@ -423,7 +423,7 @@ class LearnModel(base.Posterior,base.PredictiveMixin):
423423
xxx : float or numpy.ndarray, optional
424424
Non-negative real numbers,
425425
by default [1.0, 1.0, ... , 1.0]
426-
If a single scaler is input, it will be broadcasted.
426+
If a single real number is input, it will be broadcasted.
427427
```
428428

429429
#### 正の実数の組
@@ -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)