SlideShare a Scribd company logo
1 of 18
Download to read offline
ITAMARACÁ
N O V A S I M P L A M A N I E R O G E N E R I
P S E Ŭ D O N H A Z A R D A J N N U M E R O J N
F R N S = A B S [ N - ( P N * X R N ) ]
D H P E R E I R A ( 2 0 2 2 )
KO M P R E N A N T E
I TA M A R AC Á
• Itamaracá aŭ simple "Ita" estas noviga, simpla kaj
rapida matematika bazo por PRNG kiu generas
"senfinan" sekvencon de nombroj ene de intervalo
[0,1] konsiderante uniforman distribuon.
• Ia nomo estas derivita de la lingvo tupi-guaraní en
kiu signifas "ŝtona ŝerco" aŭ "kantanta ŝtono", en
ĉi tiu senso klara referenco al io hazarda aŭ
neatendita.
K I E L F U N KC I A S I TA M A R AC Á
Kiel ĉiuj PRNGS-algoritmoj, ITA havas iujn distingajn trajtojn. Sube ni
havas iujn komencajn kondiĉojn:
• Unue, elektu n, te, maksimuma valoro ene de intervalo inter 0 kaj N
selektita de uzanto-kriterio, kie N ∈ ℕ.
• En ĉi tiu modelo, estas 3 semoj S0, S1 kaj S2. Por ĉiu el ĉi tiuj semoj
elektas ajnan numeron ∈ apartenanta al la intervalo inter 0 kaj N
(jam elektas antaŭe).
Post selektitaj ĉiuj 3 semoj, S0, S1 kaj S2, la kalkulo procezo estas dividita
en du ĉefaj kaj tre simplaj paŝoj:
• Pn (n Procezo)
• Fina Kalkulo
K I E L F U N KC I A S I TA M A R AC Á
K I E L F U N KC I A S I TA M A R AC Á
Pn (n Procezo) or Intermeza ŝtato
En ĉi tiu etapo ni bezonas konsideri la absolutajn valorojn konsiderante la
diferencojn inter la 2 semoj, kiuj devas moviĝi sinsekve.
Pn = ABS (S2 – S0)
K I E L F U N KC I A S I TA M A R AC Á
Fina Kalkulo or aŭ Ĝenerala Formulo
En ĉi tiu paŝo, ni devas multigi la rezulton "x" akirita en la unua paŝo (en Pn) de la
Xrn, tio estas, ajna valoro en kiu ĝia fondita valoro estas dezirinda esti proksima
al 2 (t.e. 1.97, 1.98, 1.99789 ...).
FRNS = ABS [N – (Pn * Xrn)]
E K Z E M P L O
Ni supozu, ke ni volas generi nombrojn de 0 ĝis 10,000:
N 10,000
Seed 0 8,777
Seed 1 11
Seed 2 8
E K Z E M P L O
Ni povas generi la unuan numeron per la intermeza ŝtato (Pn) kaj tiam uzi la ĉefan
formulon, kiel ni povas vidi sube:
P1 = ABS (8 – 8,777) = 8,769
FRNS1 = ABS [10,000 - (8,769*1.97) = 7,275
E K Z E M P L O
Dua Numero:
P2 = ABS (7,275 – 11) = 7,264
FRNS2 = ABS [10,000 - (7,264*1.97) = 4,310
Tria Numero:
P3 = ABS (4,310 – 8) = 4,302
FRNS3 = ABS [10,000 - (4,302*1.97) = 1,525
E K Z E M P L O
Do, ni havas la unuajn tri nombrojn:
7,275 - 4,310 kaj 1,525...
La sekvaj sekvencoj de nun sekvas la saman kalkulan logikon.
R E Z U L T O J D E I U J I L O J K A J
S TAT I S T I K A J P RO V O J
Testiloj Ita Random Org
Chi-Square 11.26 3.65
Repeated Numbers / N 3,618 3,763
Average / Standard Deviation 4,941 / 2,884 4,925 / 2,905
Run Test (Even/Odd) -0.914634 0.004101
Run Test (Median) 0.759184 0.603023
Autocorrelation (Average of the first
10 k-lags different from 0)
0.000103 0.000980
Shannon Entropy 3.45327 3.45284
Komparante la rezultojn inter Ita kaj TRNG de Random Org konsiderante 10.000 nombrojn generitajn
Noto: Metodologio uzata por taksi la rezultojn estas ĝuste la samaj kiel tiuj enhavitaj en la eldonita versio
R E Z U L T O J D E I U J I L O J K A J
S TAT I S T I K A J P RO V O J
Histogramo por Ita modelo
R E Z U L T O J D E I U J I L O J K A J
S TAT I S T I K A J P RO V O J
Run Sequence por Ita modelo
0
2000
4000
6000
8000
10000
12000
1
19
37
55
73
91
109
127
145
163
181
199
217
235
253
271
289
307
325
343
361
379
397
415
433
451
469
487
505
523
541
559
577
595
613
631
649
667
685
703
721
739
757
775
793
811
829
847
865
883
901
919
937
955
973
991
Line Graph for 1,000 numbers generated by Itamaracá
R E Z U L T O J D E I U J I L O J K A J
S TAT I S T I K A J P RO V O J
Scatter Plot por Ita modelo
0
2000
4000
6000
8000
10000
12000
0 200 400 600 800 1000 1200
Scatter Plot for 1,000 numbers generated by Ita
Série1
I U J KO N S I D E RO J
• Ita modelo pruvis esti bona hazarda nombra generatoro, precipe en la kriterioj,
kiuj taksas sendependecon kaj unuformecon. Malgraŭ esti lastatempa studo, estas
bonaj perspektivoj pri la komputila kosto kaj ĝia aplikebleco por la kriptografia
areo kaj fariĝi CSPRNG.
• Alia punkto por esti elstarigita estas, ke oni ne observis iun ajn elekton rilate al la
valoro de la semoj, sufiĉas, ke ili estas elektitaj arbitre kun valoroj estas ene de la
gamo de 1 al N kie N ∈ N, ilia maksimuma valoro.
I U J KO N S I D E RO J
• Sendepende de la komencaj semaj valoroj uzataj, estas forta tendenco, ke la
algoritmo pasigu bazajn statistikajn provojn por unuformeco kaj sendependeco.
Tamen, kvankam aprobitaj, iuj elektitaj valoroj povas kaŭzi la rezultojn de iuj
provoj esti "pli bonaj" aŭ "pli malbonaj" ol kiam vi uzas aliajn semojn.
I U J KO N S I D E RO J
• Ita modelo kiel ĉiu PRNG ankaŭ havas iujn identigitajn limojn. Kiel ekzemplo,
en iu momento probable post granda kvanto da generitaj nombroj, la ripeto de
la sama sinsekvo de generitaj nombroj nur emas ripeti se kaj nur se la valoroj de
la komencaj semoj 3 (S0, S1 kaj S2) aperas meze de la generita sinsekvo.
Malgraŭ ĉi tiu limigo, ni povas vidi, ke estas tre malfacile ripeti ĉi tiun sinsekvon de
nombroj tute, ĉar ni pliigas la valoron de N kaj konsideras unuforman distribuon
[0,1].
Nu, ni povas dedukti, ke ĝi estas generatoro, kiu generas "senfinajn" psedourdomajn
nombrojn.
KO N K L U D O
La generacio de hazardaj nombroj estas tro grava
por pluraj kampoj de studado kaj praktikaj aplikoj
por la disvolviĝo de la homaro.
La nuna studo, prezentis novan kaj simplan proponon
de Pseŭdo-Hazarda Numero-Generatoro (PRNG)
nomata "Itamaracá" (Ita en mallongigita formo). Ita
modelo, kiel ĉiuj PRNG-algoritmoj, havas iujn limojn,
sed ĝenerale ĝi montris bonajn rezultojn en la
statistikaj provoj pripensitaj, kaj tiel, kiel unu plia
modelo en la biletujo, ĝi estas plene havebla por uzo
kaj ĉefe por novaj studoj, precipe tiuj aplikitaj al
specifa celo kaj realaj problemoj.

More Related Content

Featured

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 

Featured (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

ITA PRNG ESPERANTO VERSION.pdf

  • 1. ITAMARACÁ N O V A S I M P L A M A N I E R O G E N E R I P S E Ŭ D O N H A Z A R D A J N N U M E R O J N F R N S = A B S [ N - ( P N * X R N ) ] D H P E R E I R A ( 2 0 2 2 )
  • 2. KO M P R E N A N T E I TA M A R AC Á • Itamaracá aŭ simple "Ita" estas noviga, simpla kaj rapida matematika bazo por PRNG kiu generas "senfinan" sekvencon de nombroj ene de intervalo [0,1] konsiderante uniforman distribuon. • Ia nomo estas derivita de la lingvo tupi-guaraní en kiu signifas "ŝtona ŝerco" aŭ "kantanta ŝtono", en ĉi tiu senso klara referenco al io hazarda aŭ neatendita.
  • 3. K I E L F U N KC I A S I TA M A R AC Á Kiel ĉiuj PRNGS-algoritmoj, ITA havas iujn distingajn trajtojn. Sube ni havas iujn komencajn kondiĉojn: • Unue, elektu n, te, maksimuma valoro ene de intervalo inter 0 kaj N selektita de uzanto-kriterio, kie N ∈ ℕ. • En ĉi tiu modelo, estas 3 semoj S0, S1 kaj S2. Por ĉiu el ĉi tiuj semoj elektas ajnan numeron ∈ apartenanta al la intervalo inter 0 kaj N (jam elektas antaŭe).
  • 4. Post selektitaj ĉiuj 3 semoj, S0, S1 kaj S2, la kalkulo procezo estas dividita en du ĉefaj kaj tre simplaj paŝoj: • Pn (n Procezo) • Fina Kalkulo K I E L F U N KC I A S I TA M A R AC Á
  • 5. K I E L F U N KC I A S I TA M A R AC Á Pn (n Procezo) or Intermeza ŝtato En ĉi tiu etapo ni bezonas konsideri la absolutajn valorojn konsiderante la diferencojn inter la 2 semoj, kiuj devas moviĝi sinsekve. Pn = ABS (S2 – S0)
  • 6. K I E L F U N KC I A S I TA M A R AC Á Fina Kalkulo or aŭ Ĝenerala Formulo En ĉi tiu paŝo, ni devas multigi la rezulton "x" akirita en la unua paŝo (en Pn) de la Xrn, tio estas, ajna valoro en kiu ĝia fondita valoro estas dezirinda esti proksima al 2 (t.e. 1.97, 1.98, 1.99789 ...). FRNS = ABS [N – (Pn * Xrn)]
  • 7. E K Z E M P L O Ni supozu, ke ni volas generi nombrojn de 0 ĝis 10,000: N 10,000 Seed 0 8,777 Seed 1 11 Seed 2 8
  • 8. E K Z E M P L O Ni povas generi la unuan numeron per la intermeza ŝtato (Pn) kaj tiam uzi la ĉefan formulon, kiel ni povas vidi sube: P1 = ABS (8 – 8,777) = 8,769 FRNS1 = ABS [10,000 - (8,769*1.97) = 7,275
  • 9. E K Z E M P L O Dua Numero: P2 = ABS (7,275 – 11) = 7,264 FRNS2 = ABS [10,000 - (7,264*1.97) = 4,310 Tria Numero: P3 = ABS (4,310 – 8) = 4,302 FRNS3 = ABS [10,000 - (4,302*1.97) = 1,525
  • 10. E K Z E M P L O Do, ni havas la unuajn tri nombrojn: 7,275 - 4,310 kaj 1,525... La sekvaj sekvencoj de nun sekvas la saman kalkulan logikon.
  • 11. R E Z U L T O J D E I U J I L O J K A J S TAT I S T I K A J P RO V O J Testiloj Ita Random Org Chi-Square 11.26 3.65 Repeated Numbers / N 3,618 3,763 Average / Standard Deviation 4,941 / 2,884 4,925 / 2,905 Run Test (Even/Odd) -0.914634 0.004101 Run Test (Median) 0.759184 0.603023 Autocorrelation (Average of the first 10 k-lags different from 0) 0.000103 0.000980 Shannon Entropy 3.45327 3.45284 Komparante la rezultojn inter Ita kaj TRNG de Random Org konsiderante 10.000 nombrojn generitajn Noto: Metodologio uzata por taksi la rezultojn estas ĝuste la samaj kiel tiuj enhavitaj en la eldonita versio
  • 12. R E Z U L T O J D E I U J I L O J K A J S TAT I S T I K A J P RO V O J Histogramo por Ita modelo
  • 13. R E Z U L T O J D E I U J I L O J K A J S TAT I S T I K A J P RO V O J Run Sequence por Ita modelo 0 2000 4000 6000 8000 10000 12000 1 19 37 55 73 91 109 127 145 163 181 199 217 235 253 271 289 307 325 343 361 379 397 415 433 451 469 487 505 523 541 559 577 595 613 631 649 667 685 703 721 739 757 775 793 811 829 847 865 883 901 919 937 955 973 991 Line Graph for 1,000 numbers generated by Itamaracá
  • 14. R E Z U L T O J D E I U J I L O J K A J S TAT I S T I K A J P RO V O J Scatter Plot por Ita modelo 0 2000 4000 6000 8000 10000 12000 0 200 400 600 800 1000 1200 Scatter Plot for 1,000 numbers generated by Ita Série1
  • 15. I U J KO N S I D E RO J • Ita modelo pruvis esti bona hazarda nombra generatoro, precipe en la kriterioj, kiuj taksas sendependecon kaj unuformecon. Malgraŭ esti lastatempa studo, estas bonaj perspektivoj pri la komputila kosto kaj ĝia aplikebleco por la kriptografia areo kaj fariĝi CSPRNG. • Alia punkto por esti elstarigita estas, ke oni ne observis iun ajn elekton rilate al la valoro de la semoj, sufiĉas, ke ili estas elektitaj arbitre kun valoroj estas ene de la gamo de 1 al N kie N ∈ N, ilia maksimuma valoro.
  • 16. I U J KO N S I D E RO J • Sendepende de la komencaj semaj valoroj uzataj, estas forta tendenco, ke la algoritmo pasigu bazajn statistikajn provojn por unuformeco kaj sendependeco. Tamen, kvankam aprobitaj, iuj elektitaj valoroj povas kaŭzi la rezultojn de iuj provoj esti "pli bonaj" aŭ "pli malbonaj" ol kiam vi uzas aliajn semojn.
  • 17. I U J KO N S I D E RO J • Ita modelo kiel ĉiu PRNG ankaŭ havas iujn identigitajn limojn. Kiel ekzemplo, en iu momento probable post granda kvanto da generitaj nombroj, la ripeto de la sama sinsekvo de generitaj nombroj nur emas ripeti se kaj nur se la valoroj de la komencaj semoj 3 (S0, S1 kaj S2) aperas meze de la generita sinsekvo. Malgraŭ ĉi tiu limigo, ni povas vidi, ke estas tre malfacile ripeti ĉi tiun sinsekvon de nombroj tute, ĉar ni pliigas la valoron de N kaj konsideras unuforman distribuon [0,1]. Nu, ni povas dedukti, ke ĝi estas generatoro, kiu generas "senfinajn" psedourdomajn nombrojn.
  • 18. KO N K L U D O La generacio de hazardaj nombroj estas tro grava por pluraj kampoj de studado kaj praktikaj aplikoj por la disvolviĝo de la homaro. La nuna studo, prezentis novan kaj simplan proponon de Pseŭdo-Hazarda Numero-Generatoro (PRNG) nomata "Itamaracá" (Ita en mallongigita formo). Ita modelo, kiel ĉiuj PRNG-algoritmoj, havas iujn limojn, sed ĝenerale ĝi montris bonajn rezultojn en la statistikaj provoj pripensitaj, kaj tiel, kiel unu plia modelo en la biletujo, ĝi estas plene havebla por uzo kaj ĉefe por novaj studoj, precipe tiuj aplikitaj al specifa celo kaj realaj problemoj.