-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Geometric Extrapolation of Integer Sequences with error prediction -- -- Solves thousands of oeis.org math functions just in one, Probnet . A -- new way to calculate and predict results from the data source without -- knowing the function who composes a data set. Aplications in math, AI, -- infromation compresion when the data source follows math patterns. -- Describe the 100 % accuracy functions in 3 fraction parameters and 1 -- parameter for the index. @package Probnet @version 0.1.0.2 -- | Probnet 0.1.0.0 | Usage : probnet 1 [1,2,3,5,8,13] | Result : -- [1,2,3,5,8,13,21] module Probnet -- | Ratios between consecutive elements (logarithmic differences). percents :: RealFrac a => [a] -> [a] -- | This is to assume that the next ratio is close to that of the element -- with the closest value to the last element; in case of monotonic data -- (always increasing or always decreasing) it is the last ratio. predict1 :: RealFrac a => [a] -> a -- | Generates new prediction predict :: (Integral b, RealFrac a) => Int -> [a] -> [b] -- | Generate new prediction with error prediction probnet :: (Integral b, RealFrac a) => Int -> [a] -> [b]