Module Expr Str Import alias identifier Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad NameLoad Slice Call NameLoad BinOpDiv BinOpMult Num AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad NameLoad Slice Call NameLoad BinOpDiv BinOpMult Num AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Num Num Assign NameStore BinOpAdd ListComp Call AttributeLoad Str attr NameLoad comprehension NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Num Assign NameStore Dict Str Str Str Str Str Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr ExtSlice Index NameLoad Slice SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr ExtSlice Index NameLoad Slice keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Print Call AttributeLoad Str attr NameLoad Print Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad NameLoad Print NameLoad
N/A N/A 
Example: combining multiple inductive conformal classifiers
 N/A numpy np N/A pandas pd sklearn.tree DecisionTreeClassifier sklearn.datasets load_iris nonconformist.nc ProbEstClassifierNc nonconformist.icp IcpClassifier nonconformist.acp AggregatedCp nonconformist.acp BootstrapSampler CrossSampler RandomSubSampler nonconformist.acp BootstrapConformalClassifier nonconformist.acp CrossConformalClassifier nonconformist.evaluation class_mean_errors N/A data N/A load_iris N/A idx N/A N/A N/A np random permutation N/A N/A data target size N/A train N/A idx N/A N/A int N/A N/A 2 N/A idx size 3 N/A test N/A idx N/A N/A int N/A N/A 2 N/A idx size 3 N/A truth N/A N/A N/A N/A data target N/A test reshape -1 1 N/A columns N/A N/A N/A N/A C-{} format i N/A i N/A N/A np unique N/A data target N/A truth N/A significance 0.1 N/A models N/A ACP-RandomSubSampler ACP-CrossSampler ACP-BootstrapSampler CCP BCP N/A AggregatedCp N/A IcpClassifier N/A ProbEstClassifierNc N/A DecisionTreeClassifier N/A RandomSubSampler N/A AggregatedCp N/A IcpClassifier N/A ProbEstClassifierNc N/A DecisionTreeClassifier N/A CrossSampler N/A AggregatedCp N/A IcpClassifier N/A ProbEstClassifierNc N/A DecisionTreeClassifier N/A BootstrapSampler N/A CrossConformalClassifier N/A IcpClassifier N/A ProbEstClassifierNc N/A DecisionTreeClassifier N/A BootstrapConformalClassifier N/A IcpClassifier N/A ProbEstClassifierNc N/A DecisionTreeClassifier N/A N/A name model N/A N/A models iteritems N/A N/A N/A N/A model fit N/A N/A data data N/A N/A train N/A N/A N/A data target N/A train N/A prediction N/A N/A model predict N/A N/A data data N/A N/A test N/A significance significance N/A table N/A N/A np hstack N/A prediction truth N/A df N/A N/A pd DataFrame table columns columns N/A N/A N/A 
{} format name N/A N/A N/A Error rate: {} format N/A class_mean_errors prediction truth significance N/A df