@@ -18,7 +18,7 @@ msgid ""
18
18
msgstr ""
19
19
"Project-Id-Version : Python 3.9\n "
20
20
"Report-Msgid-Bugs-To : \n "
21
- "POT-Creation-Date : 2020-05-31 09:25 +0000\n "
21
+ "POT-Creation-Date : 2020-10-14 04:21 +0000\n "
22
22
"PO-Revision-Date : 2017-02-16 23:24+0000\n "
23
23
"Last-Translator : tomo, 2020\n "
24
24
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -448,11 +448,11 @@ msgid ""
448
448
" the sample is reproducible."
449
449
msgstr ""
450
450
451
- #: ../../library/random.rst:257
451
+ #: ../../library/random.rst:259
452
452
msgid "Real-valued distributions"
453
453
msgstr "実数分布"
454
454
455
- #: ../../library/random.rst:259
455
+ #: ../../library/random.rst:261
456
456
msgid ""
457
457
"The following functions generate specific real-valued distributions. "
458
458
"Function parameters are named after the corresponding variables in the "
@@ -462,26 +462,26 @@ msgstr ""
462
462
"以下の関数は特定の実数値分布を生成します。関数の引数の名前は、一般的な数学の慣例で使われている分布の公式の対応する変数から取られています; "
463
463
"これらの公式のほとんどはどんな統計学のテキストにも載っています。"
464
464
465
- #: ../../library/random.rst:267
465
+ #: ../../library/random.rst:269
466
466
msgid "Return the next random floating point number in the range [0.0, 1.0)."
467
467
msgstr "次のランダムな浮動小数点数(範囲は [0.0, 1.0) )を返します。"
468
468
469
- #: ../../library/random.rst:272
469
+ #: ../../library/random.rst:274
470
470
msgid ""
471
471
"Return a random floating point number *N* such that ``a <= N <= b`` for ``a "
472
472
"<= b`` and ``b <= N <= a`` for ``b < a``."
473
473
msgstr ""
474
474
"``a <= b`` であれば ``a <= N <= b`` 、``b < a`` であれば ``b <= N <= a`` "
475
475
"であるようなランダムな浮動小数点数 *N* を返します。"
476
476
477
- #: ../../library/random.rst:275
477
+ #: ../../library/random.rst:277
478
478
msgid ""
479
479
"The end-point value ``b`` may or may not be included in the range depending "
480
480
"on floating-point rounding in the equation ``a + (b-a) * random()``."
481
481
msgstr ""
482
482
"端点の値 ``b`` が範囲に含まれるかどうかは、等式 ``a + (b-a) * random()`` における浮動小数点の丸めに依存します。"
483
483
484
- #: ../../library/random.rst:281
484
+ #: ../../library/random.rst:283
485
485
msgid ""
486
486
"Return a random floating point number *N* such that ``low <= N <= high`` and"
487
487
" with the specified *mode* between those bounds. The *low* and *high* "
@@ -492,14 +492,14 @@ msgstr ""
492
492
"を返します。境界 *low* と *high* のデフォルトは 0 と 1 です。最頻値 *mode* "
493
493
"引数のデフォルトは両境界値の中点になり、対称な分布を与えます。"
494
494
495
- #: ../../library/random.rst:289
495
+ #: ../../library/random.rst:291
496
496
msgid ""
497
497
"Beta distribution. Conditions on the parameters are ``alpha > 0`` and "
498
498
"``beta > 0``. Returned values range between 0 and 1."
499
499
msgstr ""
500
500
"ベータ分布です。引数の満たすべき条件は ``alpha > 0`` および ``beta > 0`` です。 0 から 1 の範囲の値を返します。"
501
501
502
- #: ../../library/random.rst:295
502
+ #: ../../library/random.rst:297
503
503
msgid ""
504
504
"Exponential distribution. *lambd* is 1.0 divided by the desired mean. It "
505
505
"should be nonzero. (The parameter would be called \" lambda\" , but that is a"
@@ -510,18 +510,18 @@ msgstr ""
510
510
"指数分布です。*lambd* は平均にしたい値の逆数です。(この引数は \" lambda\" と呼ぶべきなのですが、Python "
511
511
"の予約語なので使えません。) 返す値の範囲は *lambd* が正なら 0 から正の無限大、*lambd* が負なら負の無限大から 0 です。"
512
512
513
- #: ../../library/random.rst:304
513
+ #: ../../library/random.rst:306
514
514
msgid ""
515
515
"Gamma distribution. (*Not* the gamma function!) Conditions on the "
516
516
"parameters are ``alpha > 0`` and ``beta > 0``."
517
517
msgstr ""
518
518
"ガンマ分布です (ガンマ関数 *ではありません* !)。引数の満たすべき条件は ``alpha > 0`` および ``beta > 0`` です。"
519
519
520
- #: ../../library/random.rst:307
520
+ #: ../../library/random.rst:309
521
521
msgid "The probability distribution function is::"
522
522
msgstr "確率分布関数は::"
523
523
524
- #: ../../library/random.rst:316
524
+ #: ../../library/random.rst:318
525
525
msgid ""
526
526
"Gaussian distribution. *mu* is the mean, and *sigma* is the standard "
527
527
"deviation. This is slightly faster than the :func:`normalvariate` function "
@@ -530,7 +530,7 @@ msgstr ""
530
530
"ガウス分布です。 *mu* は平均であり、 *sigma* は標準偏差です。この関数は後で定義する関数 :func:`normalvariate` "
531
531
"より少しだけ高速です。"
532
532
533
- #: ../../library/random.rst:323
533
+ #: ../../library/random.rst:325
534
534
msgid ""
535
535
"Log normal distribution. If you take the natural logarithm of this "
536
536
"distribution, you'll get a normal distribution with mean *mu* and standard "
@@ -540,13 +540,13 @@ msgstr ""
540
540
"対数正規分布です。この分布を自然対数を用いた分布にした場合、平均 *mu* で標準偏差 *sigma* の正規分布になります。 *mu* "
541
541
"は任意の値を取ることができ、*sigma* はゼロより大きくなければなりません。"
542
542
543
- #: ../../library/random.rst:331
543
+ #: ../../library/random.rst:333
544
544
msgid ""
545
545
"Normal distribution. *mu* is the mean, and *sigma* is the standard "
546
546
"deviation."
547
547
msgstr "正規分布です。 *mu* は平均で、 *sigma* は標準偏差です。"
548
548
549
- #: ../../library/random.rst:336
549
+ #: ../../library/random.rst:338
550
550
msgid ""
551
551
"*mu* is the mean angle, expressed in radians between 0 and 2\\ *\\ *pi*, and "
552
552
"*kappa* is the concentration parameter, which must be greater than or equal "
@@ -557,34 +557,34 @@ msgstr ""
557
557
"は濃度パラメータで、ゼロ以上でなければなりません。*kappa* がゼロに等しい場合、この分布は範囲 0 から 2\\ *\\ *pi* "
558
558
"の一様でランダムな角度の分布に退化します。"
559
559
560
- #: ../../library/random.rst:344
560
+ #: ../../library/random.rst:346
561
561
msgid "Pareto distribution. *alpha* is the shape parameter."
562
562
msgstr "パレート分布です。 *alpha* は形状パラメータです。"
563
563
564
- #: ../../library/random.rst:349
564
+ #: ../../library/random.rst:351
565
565
msgid ""
566
566
"Weibull distribution. *alpha* is the scale parameter and *beta* is the "
567
567
"shape parameter."
568
568
msgstr "ワイブル分布です。 *alpha* は尺度パラメタで、 *beta* は形状パラメータです。"
569
569
570
- #: ../../library/random.rst:354
570
+ #: ../../library/random.rst:356
571
571
msgid "Alternative Generator"
572
572
msgstr "他の生成器"
573
573
574
- #: ../../library/random.rst:358
574
+ #: ../../library/random.rst:360
575
575
msgid ""
576
576
"Class that implements the default pseudo-random number generator used by the"
577
577
" :mod:`random` module."
578
578
msgstr "デフォルトの疑似乱数生成器を :mod:`random` を使って実装したクラスです。"
579
579
580
- #: ../../library/random.rst:361
580
+ #: ../../library/random.rst:363
581
581
msgid ""
582
582
"In the future, the *seed* must be one of the following types: "
583
583
":class:`NoneType`, :class:`int`, :class:`float`, :class:`str`, "
584
584
":class:`bytes`, or :class:`bytearray`."
585
585
msgstr ""
586
586
587
- #: ../../library/random.rst:368
587
+ #: ../../library/random.rst:370
588
588
msgid ""
589
589
"Class that uses the :func:`os.urandom` function for generating random "
590
590
"numbers from sources provided by the operating system. Not available on all "
@@ -598,60 +598,60 @@ msgstr ""
598
598
":meth:`seed` メソッドは何の影響も及ぼさず、無視されます。 :meth:`getstate` と :meth:`setstate` "
599
599
"メソッドが呼び出されると、例外 :exc:`NotImplementedError` が送出されます。"
600
600
601
- #: ../../library/random.rst:377
601
+ #: ../../library/random.rst:379
602
602
msgid "Notes on Reproducibility"
603
603
msgstr "再現性について"
604
604
605
- #: ../../library/random.rst:379
605
+ #: ../../library/random.rst:381
606
606
msgid ""
607
607
"Sometimes it is useful to be able to reproduce the sequences given by a "
608
608
"pseudo-random number generator. By re-using a seed value, the same sequence"
609
609
" should be reproducible from run to run as long as multiple threads are not "
610
610
"running."
611
611
msgstr ""
612
612
613
- #: ../../library/random.rst:383
613
+ #: ../../library/random.rst:385
614
614
msgid ""
615
615
"Most of the random module's algorithms and seeding functions are subject to "
616
616
"change across Python versions, but two aspects are guaranteed not to change:"
617
617
msgstr ""
618
618
"random モジュールのアルゴリズムやシード処理関数のほとんどは、Python "
619
619
"バージョン間で変更される対象となりますが、次の二点は変更されないことが保証されています:"
620
620
621
- #: ../../library/random.rst:386
621
+ #: ../../library/random.rst:388
622
622
msgid ""
623
623
"If a new seeding method is added, then a backward compatible seeder will be "
624
624
"offered."
625
625
msgstr "新しいシード処理メソッドが追加されたら、後方互換なシード処理器が提供されます。"
626
626
627
- #: ../../library/random.rst:389
627
+ #: ../../library/random.rst:391
628
628
msgid ""
629
629
"The generator's :meth:`~Random.random` method will continue to produce the "
630
630
"same sequence when the compatible seeder is given the same seed."
631
631
msgstr ""
632
632
"生成器の :meth:`~Random.random` メソッドは、互換なシード処理器に同じシードが与えられた場合、引き続き同じシーケンスを生成します。"
633
633
634
- #: ../../library/random.rst:395
635
- msgid "Examples and Recipes"
636
- msgstr "例とレシピ"
637
-
638
634
#: ../../library/random.rst:397
635
+ msgid "Examples"
636
+ msgstr "使用例"
637
+
638
+ #: ../../library/random.rst:399
639
639
msgid "Basic examples::"
640
640
msgstr "基礎的な例::"
641
641
642
- #: ../../library/random.rst:425
642
+ #: ../../library/random.rst:427
643
643
msgid "Simulations::"
644
644
msgstr "シミュレーション::"
645
645
646
- #: ../../library/random.rst:453
646
+ #: ../../library/random.rst:455
647
647
msgid ""
648
648
"Example of `statistical bootstrapping "
649
649
"<https://en.wikipedia.org/wiki/Bootstrapping_(statistics)>`_ using "
650
650
"resampling with replacement to estimate a confidence interval for the mean "
651
651
"of a sample::"
652
652
msgstr ""
653
653
654
- #: ../../library/random.rst:466
654
+ #: ../../library/random.rst:468
655
655
msgid ""
656
656
"Example of a `resampling permutation test "
657
657
"<https://en.wikipedia.org/wiki/Resampling_(statistics)#Permutation_tests>`_ "
@@ -664,12 +664,12 @@ msgstr ""
664
664
"<https://en.wikipedia.org/wiki/Resampling_(statistics)#Permutation_tests>`_ "
665
665
"を行う例::"
666
666
667
- #: ../../library/random.rst:493
667
+ #: ../../library/random.rst:495
668
668
msgid ""
669
669
"Simulation of arrival times and service deliveries for a multiserver queue::"
670
670
msgstr ""
671
671
672
- #: ../../library/random.rst:521
672
+ #: ../../library/random.rst:523
673
673
msgid ""
674
674
"`Statistics for Hackers <https://www.youtube.com/watch?v=Iq9DzN6mvYA>`_ a "
675
675
"video tutorial by `Jake Vanderplas "
@@ -681,7 +681,7 @@ msgstr ""
681
681
"`Jake Vanderplas <https://us.pycon.org/2016/speaker/profile/295/>`_ "
682
682
"による統計解析のビデオ。シミュレーション、サンプリング、シャッフル、交差検定といった基本的な概念のみを用いています。"
683
683
684
- #: ../../library/random.rst:527
684
+ #: ../../library/random.rst:529
685
685
msgid ""
686
686
"`Economics Simulation "
687
687
"<http://nbviewer.jupyter.org/url/norvig.com/ipython/Economics.ipynb>`_ a "
@@ -696,7 +696,7 @@ msgstr ""
696
696
"による市場価格のシミュレーション。このモジュールが提供する多くのツールや分布 (gauss, uniform, sample, betavariate,"
697
697
" choice, triangular, randrange) の活用法を示しています。"
698
698
699
- #: ../../library/random.rst:534
699
+ #: ../../library/random.rst:536
700
700
msgid ""
701
701
"`A Concrete Introduction to Probability (using Python) "
702
702
"<http://nbviewer.jupyter.org/url/norvig.com/ipython/Probability.ipynb>`_ a "
@@ -708,3 +708,48 @@ msgstr ""
708
708
"<http://nbviewer.jupyter.org/url/norvig.com/ipython/Probability.ipynb>`_ "
709
709
"`Peter Norvig <http://norvig.com/bio.html>`_ "
710
710
"によるチュートリアル。確率論の基礎、シミュレーションの書き方、Python を使用したデータ解析法をカバーしています。"
711
+
712
+ #: ../../library/random.rst:544
713
+ msgid "Recipes"
714
+ msgstr "レシピ"
715
+
716
+ #: ../../library/random.rst:546
717
+ msgid ""
718
+ "The default :func:`.random` returns multiples of 2⁻⁵³ in the range *0.0 ≤ x "
719
+ "< 1.0*. All such numbers are evenly spaced and are exactly representable as"
720
+ " Python floats. However, many floats in that interval are not possible "
721
+ "selections. For example, ``0.05954861408025609`` isn't an integer multiple "
722
+ "of 2⁻⁵³."
723
+ msgstr ""
724
+
725
+ #: ../../library/random.rst:552
726
+ msgid ""
727
+ "The following recipe takes a different approach. All floats in the interval"
728
+ " are possible selections. The mantissa comes from a uniform distribution of"
729
+ " integers in the range *2⁵² ≤ mantissa < 2⁵³*. The exponent comes from a "
730
+ "geometric distribution where exponents smaller than *-53* occur half as "
731
+ "often as the next larger exponent."
732
+ msgstr ""
733
+
734
+ #: ../../library/random.rst:574
735
+ msgid ""
736
+ "All :ref:`real valued distributions <real-valued-distributions>` in the "
737
+ "class will use the new method::"
738
+ msgstr ""
739
+
740
+ #: ../../library/random.rst:583
741
+ msgid ""
742
+ "The recipe is conceptually equivalent to an algorithm that chooses from all "
743
+ "the multiples of 2⁻¹⁰⁷⁴ in the range *0.0 ≤ x < 1.0*. All such numbers are "
744
+ "evenly spaced, but most have to be rounded down to the nearest representable"
745
+ " Python float. (The value 2⁻¹⁰⁷⁴ is the smallest positive unnormalized "
746
+ "float and is equal to ``math.ulp(0.0)``.)"
747
+ msgstr ""
748
+
749
+ #: ../../library/random.rst:592
750
+ msgid ""
751
+ "`Generating Pseudo-random Floating-Point Values "
752
+ "<https://allendowney.com/research/rand/downey07randfloat.pdf>`_ a paper by "
753
+ "Allen B. Downey describing ways to generate more fine-grained floats than "
754
+ "normally generated by :func:`.random`."
755
+ msgstr ""
0 commit comments