The following warnings occurred:
Warning [2] Undefined variable $can_link - Line: 6 - File: showthread.php(1658) : eval()'d code PHP 8.5.12 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php(1658) : eval()'d code 6 errorHandler->error_callback
/showthread.php 1658 eval




[Blog Post] Rightward and Downward in the Voynich Manuscript - Patrick Feaster
#16
(27-08-2021, 01:00 PM)MarcoP wrote: You are not allowed to view links. Register or Login to view.1.As Patrick said, it could be that there are differences in how the mapping to 10 positions is done; I used this method (where i is word position in the range 0..lineLength-1):
  pos=1+int(round(9.0*i/float(lineLength-1)))

Assuming it's Python, this method disadvantages the first and last position. EDIT: It's more complicated than that, depending on lineLength, realistic values (much lower than 100) seem less problematic, but I don't know if the sizes of intervals assigned to each position average out evenly.

Try:
lineLength = 100
for i in range(0, lineLength):
    pos=1+int(round(9.0*i/float(lineLength-1)))
    print(i, pos)

Mine is, I believe, equivalent to:
lineLength = 100
for i in range(0, lineLength):
    pos=1+int(10.0*i/float(lineLength))
    print(i, pos)

In this case (lineLength = 100) it gives an equal interval (of size 10) to each position. 10x10 = 100, no unfair advantage to any position.

As I don't have Python installed, I used this online interpreter: You are not allowed to view links. Register or Login to view.
[+] 1 user says Thank You to nablator for this post
Reply


Messages In This Thread
RE: Rightward and Downward in the Voynich Manuscript - Patrick Feaster - by nablator - 27-08-2021, 02:44 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)