add the basic statistics logic
add predict method
add method getSummary
update param