<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
	<channel>
		<title>Planning the ultimate search for the top replacement values.</title>
		<link>/blogentry/183981</link>
		<atom:link href="https://www.lotterypost.com/rss/blogcomments/183981" rel="self" type="application/rss+xml" />
		<description>hypersoniq's Blog: Planning the ultimate search for the top replacement values.</description>
		<dc:language>en-us</dc:language>
		<generator>Lottery Post RSS Generator</generator>
		<item>
			<title>Comment #2</title>
			<link>/blogentry/183981#c259577</link>
			<guid isPermaLink="true">/blogentry/183981#c259577</guid>
			<pubDate>Mon, 11 Mar 2024 12:20:16 GMT</pubDate>
			<dc:creator>hypersoniq</dc:creator>
			<description><![CDATA[<p>&#x3c;br /&#x3e;Before the function returns to process the next iteration, it will call another function that will handle the top 5 zero counts. This will be a list of lists that is ranked by that 11th element, the hit count.&#x3c;br /&#x3e;&#x3c;br /&#x3e;That means 10 billion iterations per column, where it will check the last draw, make a replacement &#x22;pick&#x22; and test it on the next result.&#x3c;br /&#x3e;&#x3c;br /&#x3e;It is a strange hobby, but I sharpen coding skills with each new idea.... &#x5b;&#xa0;<a href="/blogentry/183981#c259577">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>hypersoniq</category>
		</item>
		<item>
			<title>Comment #1</title>
			<link>/blogentry/183981#c259576</link>
			<guid isPermaLink="true">/blogentry/183981#c259576</guid>
			<pubDate>Mon, 11 Mar 2024 12:10:19 GMT</pubDate>
			<dc:creator>hypersoniq</dc:creator>
			<description><![CDATA[<p>Once we have a run time on the first pick 2 game, we can extrapolate estimated run times for the rest.&#x3c;br /&#x3e;&#x3c;br /&#x3e;Why run all 10 billion combinations? That way I can say I left no stone unturned in the search.&#x3c;br /&#x3e;&#x3c;br /&#x3e;Each column in each game will run from the second draw, since the first will be needed to base the first pick.&#x3c;br /&#x3e;&#x3c;br /&#x3e;The initial test will run the first 1,000 iterations of the list, just to be sure the logic holds out and the top 5 ranking and retention algorithms work as... &#x5b;&#xa0;<a href="/blogentry/183981#c259576">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>hypersoniq</category>
		</item>
		<item>
			<title>Original Blog Entry: Planning the ultimate search for the top replacement values.</title>
			<link>/blogentry/183981</link>
			<guid isPermaLink="true">/blogentry/183981</guid>
			<pubDate>Sun, 10 Mar 2024 14:05:32 GMT</pubDate>
			<dc:creator>hypersoniq</dc:creator>
			<description><![CDATA[<p>I had started with raw follower data, moved to a sequentially indexed mirror system, then moved to followers within that indexed system.<br /><br />The basic premise, given the digit in the last draw, which one has the highest history of making a match?<br /><br />With follower data plugged in, so far the zero count (where there is a match) is the highest, but there is yet to be a hit.<br /><br />The next thing to do would be to check ALL possibilities of replacement values for each digit to find the best one for each column of each game.<br /><br />For the basic mirror system, the replacement scheme is<br /><br />0=5<br /><br />1=6<br /><br />2=7<br /><br />3=8<br /><br />4=9<br /><br />5=0<br /><br />6=1<br /><br />7=2<br /><br />8=3<br /><br />9=4<br /><br />On one side is the index for the last drawn number, on the other, the number to replace it with.<br /><br />The total possible combinations of replacement values comes out to ten Billion!<br /><br />So, why not test them all?<br /><br />For each column, that means recording the number of hits , and that will result in running through 28 columns for the mid and eve PA pick 2 through pick 5 data, 280 billion iterations of a recursive algorithm in total...<br /><br />How do we do that without running out of memory? By only recording the top 5 sets for each column.<br /><br />How to do it? Lists!<br /><br />Starting with [0, 0, 0, 0, 0, 0, 0, 0, 0] and ending with [9, 9, 9, 9, 9, 9, 9, 9, 9]<br /><br />Each iteration will append a zero count, so that one of the top 5 output lists might look like [5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 750] and each of these lists will be stored in a list of lists which will be sorted by the appended zero count and compared to the most recent one, if it has a higher zero count it goes into the list and the lowest count gets popped off of the list.<br /><br />The output will be the sorted list of lists, containing the 5 highest zero counts. 140 total lists. The zero counts will allow sorting into the top 5 without needing to store them all.<br /><br />The main design challenges...<br /><br />Writing a list generation loop to generate the lists.<br /><br />Looping through the history files and counting the hits , and appending that number to the current list.<br /><br />Sorting and ranking logic to maintain a running top 5 list of lists.<br /><br />Perhaps writing output to a csv file in case the program crashes.<br /><br />Setting up a system to run continuously. (Raspberry Pi version 5 should do the trick)<br /><br />Fitting the whole system into my current recursive framework.<br /><br />Will take some time and small tests to get the logic right. But that is the ultimate rabbit hole dive for any replacement system.<br /><br />Happy Coding!... &#x5b;&#xa0;<a href="/blogentry/183981">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>Blog Entry</category>
			<category>hypersoniq</category>
			<wfw:comment>https://www.lotterypost.com/blogentry/183981</wfw:comment>
		</item>
	</channel>
</rss>

