tx · EagziTUuatBGN4yrywpoprrknF46urgJ1q46iavxr1Ng

3N3n75UqB8G1GKmXFr4zPhKCjGcqJPRSuJY:  -0.01000000 Waves

2024.04.28 12:50 [3082549] smart account 3N3n75UqB8G1GKmXFr4zPhKCjGcqJPRSuJY > SELF 0.00000000 Waves

{ "type": 13, "id": "EagziTUuatBGN4yrywpoprrknF46urgJ1q46iavxr1Ng", "fee": 1000000, "feeAssetId": null, "timestamp": 1714297898147, "version": 2, "chainId": 84, "sender": "3N3n75UqB8G1GKmXFr4zPhKCjGcqJPRSuJY", "senderPublicKey": "2AWdnJuBMzufXSjTvzVcawBQQhnhF1iXR6QNVgwn33oc", "proofs": [ "4ngVfQtVHW4o297Y1CdpAiN4Qn2mKg7VyeMFMUbGn3vTyvETqx8twFZh162EB6Kiv2KK6QD6hHt1vEzQLipYJ1bP" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIBAQAAAAgAAAAADWxheWVyMVdlaWdodHMJAARMAAAAAgkABEwAAAACAAAAAAAACSmxCQAETAAAAAIAAAAAAAAJKpwFAAAAA25pbAkABEwAAAACCQAETAAAAAIAAAAAAAAGUfUJAARMAAAAAgAAAAAAAAZSLQUAAAADbmlsBQAAAANuaWwAAAAADGxheWVyMUJpYXNlcwkABEwAAAACAP///////AwVCQAETAAAAAIA///////2TQsFAAAAA25pbAAAAAANbGF5ZXIyV2VpZ2h0cwkABEwAAAACCQAETAAAAAIAAAAAAAAMtcUJAARMAAAAAgD///////JPigUAAAADbmlsBQAAAANuaWwAAAAADGxheWVyMkJpYXNlcwkABEwAAAACAP//////+i8GBQAAAANuaWwBAAAACmV4cF9hcHByb3gAAAABAAAAAXgEAAAABXNjYWxlAAAAAAAAAYagAwkAAGYAAAACCQAAaAAAAAIA//////////oFAAAABXNjYWxlBQAAAAF4AAAAAAAAAAABAwkAAGYAAAACBQAAAAF4CQAAaAAAAAIAAAAAAAAAAAYFAAAABXNjYWxlAAAAAAAAAYafBAAAAAxjb2VmZmljaWVudH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ANuaWwFAAAAC2RlYnVnTGF5ZXIxBQAAAAtkZWJ1Z0xheWVyMgAAAADY8rlu", "height": 3082549, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6V35pBudomPg2sNkERM1SV5yreXyCvfUjZxcnWEAwv9b Next: 2b25PWcsfJJqtzYdx5PHEx5557PpxguKVWbbsMW8ffgA Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = [[600497, 600733], [414197, 414252]]
4+let a = [[600497, 600732], [414197, 414253]]
55
6-let b = [-259050, -635638]
6+let b = [-259051, -635637]
77
8-let c = [[832966, -897141]]
8+let c = [[832965, -897142]]
99
10-let d = [-381179]
10+let d = [-381178]
1111
1212 func e (f) = {
1313 let g = 100000
1414 if (((-6 * g) > f))
1515 then 1
1616 else if ((f > (6 * g)))
17- then g
17+ then 99999
1818 else {
19- let h = [$Tuple2(60000, (g - 1)), $Tuple2(50000, (g - 2)), $Tuple2(40000, (g - 3)), $Tuple2(30000, (g - 10)), $Tuple2(20000, (g - 20)), $Tuple2(10000, (g - 30)), $Tuple2(0, g), $Tuple2(-10000, (g + 30)), $Tuple2(-20000, (g + 20)), $Tuple2(-30000, (g + 10)), $Tuple2(-40000, (g + 3)), $Tuple2(-50000, (g + 2)), $Tuple2(-60000, (g + 1))]
19+ let h = [$Tuple2(60000, 99999), $Tuple2(50000, 95000), $Tuple2(40000, 90000), $Tuple2(30000, 85000), $Tuple2(20000, 80000), $Tuple2(10000, 75000), $Tuple2(0, 70000), $Tuple2(-10000, 65000), $Tuple2(-20000, 60000), $Tuple2(-30000, 55000), $Tuple2(-40000, 50000), $Tuple2(-50000, 45000), $Tuple2(-60000, 40000)]
2020 let i = ((f + 60000) / 10000)
2121 let j = h[i]
2222 let k = j._1
3232 then -(n)
3333 else n
3434 let r = e(q)
35- let s = (p - ((p * p) / (p + r)))
35+ let s = ((p * r) / (p + r))
3636 $Tuple2([IntegerEntry((o + "positiveZ"), q), IntegerEntry((o + "expValue"), r), IntegerEntry((o + "sigValue"), s)], s)
3737 }
3838
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = [[600497, 600733], [414197, 414252]]
4+let a = [[600497, 600732], [414197, 414253]]
55
6-let b = [-259050, -635638]
6+let b = [-259051, -635637]
77
8-let c = [[832966, -897141]]
8+let c = [[832965, -897142]]
99
10-let d = [-381179]
10+let d = [-381178]
1111
1212 func e (f) = {
1313 let g = 100000
1414 if (((-6 * g) > f))
1515 then 1
1616 else if ((f > (6 * g)))
17- then g
17+ then 99999
1818 else {
19- let h = [$Tuple2(60000, (g - 1)), $Tuple2(50000, (g - 2)), $Tuple2(40000, (g - 3)), $Tuple2(30000, (g - 10)), $Tuple2(20000, (g - 20)), $Tuple2(10000, (g - 30)), $Tuple2(0, g), $Tuple2(-10000, (g + 30)), $Tuple2(-20000, (g + 20)), $Tuple2(-30000, (g + 10)), $Tuple2(-40000, (g + 3)), $Tuple2(-50000, (g + 2)), $Tuple2(-60000, (g + 1))]
19+ let h = [$Tuple2(60000, 99999), $Tuple2(50000, 95000), $Tuple2(40000, 90000), $Tuple2(30000, 85000), $Tuple2(20000, 80000), $Tuple2(10000, 75000), $Tuple2(0, 70000), $Tuple2(-10000, 65000), $Tuple2(-20000, 60000), $Tuple2(-30000, 55000), $Tuple2(-40000, 50000), $Tuple2(-50000, 45000), $Tuple2(-60000, 40000)]
2020 let i = ((f + 60000) / 10000)
2121 let j = h[i]
2222 let k = j._1
2323 let l = j._2
2424 l
2525 }
2626 }
2727
2828
2929 func m (n,o) = {
3030 let p = 100000
3131 let q = if ((0 > n))
3232 then -(n)
3333 else n
3434 let r = e(q)
35- let s = (p - ((p * p) / (p + r)))
35+ let s = ((p * r) / (p + r))
3636 $Tuple2([IntegerEntry((o + "positiveZ"), q), IntegerEntry((o + "expValue"), r), IntegerEntry((o + "sigValue"), s)], s)
3737 }
3838
3939
4040 func t (u,v,w,o) = {
4141 let x = (((u[0] * v[0][0]) + (u[1] * v[0][1])) + (w[0] * 100000))
4242 let y = (((u[0] * v[1][0]) + (u[1] * v[1][1])) + (w[1] * 100000))
4343 let z = m(x, "Layer1N0")
4444 let A = z._1
4545 let B = z._2
4646 let C = m(y, "Layer1N1")
4747 let D = C._1
4848 let E = C._2
4949 let F = (A ++ D)
5050 let G = [B, E]
5151 $Tuple2(F, G)
5252 }
5353
5454
5555 func H (u,v,w,o) = {
5656 let x = (((u[0] * v[0][0]) + (u[1] * v[0][1])) + (w[0] * 100000))
5757 let I = m(x, "Layer2N0")
5858 let A = I._1
5959 let B = I._2
6060 let F = A
6161 let G = B
6262 $Tuple2(F, G)
6363 }
6464
6565
6666 @Callable(J)
6767 func predict (K,L) = {
6868 let M = if ((K == 1))
6969 then 1000000
7070 else 0
7171 let N = if ((L == 1))
7272 then 1000000
7373 else 0
7474 let O = [M, N]
7575 let P = t(O, a, b, "Layer1")
7676 let Q = P._1
7777 let R = P._2
7878 let S = H(R, c, d, "Layer2")
7979 let T = S._1
8080 let U = S._2
8181 (([IntegerEntry("result", U)] ++ Q) ++ T)
8282 }
8383
8484

github/deemru/w8io/169f3d6 
35.63 ms