ClassifierAlgorithm
in package
An abstract class shared by classification algorithms that implement a common interface.
This base class implements a few administrative utility methods that all classification algorithms can take advantage of.
Tags
Table of Contents
- $debug : int
- Flag used to control level of debug messages for now 0 == no messages, anything else causes messages to be output
- log() : mixed
- Write a message to log file depending on debug level for this subpackage
Properties
$debug
Flag used to control level of debug messages for now 0 == no messages, anything else causes messages to be output
public
int
$debug
= 0
Methods
log()
Write a message to log file depending on debug level for this subpackage
public
log(string $message) : mixed
Parameters
- $message : string
-
what to write to the log