CNN class
Compact CNN wrapper (ANN-backed)
This module implements a pragmatic, testable CNN-like interface by
extracting simple, local statistics from small images and delegating the
parameterized classifier head to the project's ANN MLP. The implementation
favors clarity and reproducibility rather than raw performance. It is
suitable for unit tests, examples, and educational experiments.
Input contract:
- X: batch of images as List of shape (n x h x w x c)
- Y: targets (n x k)
Constructors
Properties
Methods
-
fit(
List< List< X, List<List< >List< >double> >List< Y, {int? batchSize, bool verbose = false}) → voiddouble> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
predict(
List< List< X) → List<List< >List< >double> >List< double> > -
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited