TorchLean API

NN.Spec.Module.LogisticRegression

Logistic regression as an NNModuleSpec #

The model spec provides a standalone gradient-descent baseline and prediction helpers. This file adds the NNModuleSpec wrapper (Linear + Sigmoid) for composition and export.

Logistic regression wrapped as NNModuleSpec (linear + sigmoid).

Instances For

    SpecChain wrapper for logistic regression (useful for composition).

    Instances For