Subclassing
- To do any real task, you need to write java code.
- One of the smart things I've done in the recent version
of CANT (CANT23), is that I made it extensible in an
Object Oriented way.
- So, different people can work on different experiments,
by writing separate subclasses.
- Typically, a new task will have a new CANT23.
- For instance, look in the hier subfolder, where
CANT23Hier is a subclass of CANT23.
- Typically the CANT23 subclass changes the param file, and
deals with the other major changes.
- The other changes are usually either subclassing CANTExperiment,
and CANTNet.
- Subclassing CANTExperiment enables you to specify the
training and testing mechanisms for the experiment you want
to do.
- Subcalssing the CANTNet enables you to specify your own
topology including connections between multiple nets.
- count does both.