mse: Find the better tree

Description Usage Arguments Value

View source: R/ATEN.R

Description

Given a data matrix with respond, try to find which tree is more predictive. The output of each tree is compared with the standard respond.

Usage

1
mse(input, resp, tree1, tree2, nodes)

Arguments

input

The input matrix in a data matrix

resp

The respond in a data matrix

tree1

An And/Or tree

tree2

Another And/Or tree

nodes

the number of nodes in the Boolean network

Value

the output difference between the output of tree1 and tree2. If a negative value is returned, then tree1 is better. If a positive value is returned, the tree2 is better. If zero is return, then tree1 and tree2 are equally good.


ningshi/ATEN documentation built on April 27, 2021, 7:40 a.m.