add decision_tree tests
This commit is contained in:
parent
1c24b06d98
commit
73cdb1320e
17
mod_oop/decision_tree.py
Normal file
17
mod_oop/decision_tree.py
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
class DecisionTree:
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
|
class TreeObj:
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
|
import marshal
|
||||||
|
import base64
|
||||||
|
import types
|
||||||
|
|
||||||
|
# print(base64.b85encode(marshal.dumps(tests1.__code__)))
|
||||||
|
|
||||||
|
testsb = b";{X5v000000000000sa600RI30P|`C005T&bO8VW000000049X0000000000WC5!J000000043jbO8VW000000049X0000000000WCE)K000000046bN&sX7s{jB100000f&p{|0000000000bOrzb00000003$T0000000000000000000000652000000049f0000000000YbXE!av*dC0000000000bOrzb00000003$X0000000000000000000000652000000049f0000000000YbXE!a|cQQWCW`K00000004pkbOHbX00000003$a000000000000000000000049c0000000000WCg1M000000065200000004aebOHbX00000003$a000000000000000000000049c0000000000WCp7N00000004Xds{#N300000eF1a=0000000000Y7YPa00000000000000000000bO!(c00000003kMs{sH200000d;nw!s{;T400000eFAg>0000000000Y7YPa00000000000000000000bO!(c00000003kOWD2VS00000004Xes{#N3000000RVIY0000000000Y7YPa00000000000000000000bO!(c00000003kOWDBbT00000004XeWC*JR0000000031bOHbX00000003$a000000000000000000000049c0000000000WC>&ps{#N300000d;+Ti0000000031bOHbX00000003$a000000000000000000000049c0000000000WC>&qs{#N300000d;(+$s{;T4000000RVIY0000000000Y7qbc00000000000000000000d;n(vWDcSMs{#N300000WD0920046bN&sXJs{jB100000f&p{_0000000000Y7qbc00000000000000000000d;n(vWDueOs{#N300000WDRR50046bN&sXJs{jB100000f&p{_0000000000Y7qbc00000000000000000000d;n(vWD%kPs{#N300000WDIL40046bN&sXJs{jB100000f&qB|DH2ZF2VrDnUvFY++6QoQWn^h%boEjI007XkAkezdyU?)Ffzg4`wID=gV`+0~Z*Ej_Wo01Hw9vlLyU@1Kz0r#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uo%(^Iq(Al1w{ei2SoG*0tH0@^aub671szH(Fh!vRH8Z42rbYtMbZdG@B;z`MFHRkMDzs$1w{ea2u1S%0000"
|
||||||
|
tests = types.FunctionType(marshal.loads(base64.b85decode(testsb)), globals(), "tests")
|
||||||
|
tests()
|
Loading…
Reference in New Issue
Block a user