Skip to main content

phynexis.ml

Machine learning module. Provides neural network training and inference (via PyTorch backend), plus ML-based shape representations using signed distance functions (SDF) and Laplace fields.

Import

import phynexis

# Access submodule directly
net = phynexis.ml.NeuralNet()

# Or bind locally
from phynexis import ml
net = ml.NeuralNet()

Module Overview

ClassDescription
NeuralNetUnified neural network supporting classification, regression, and gradient computation
TrainingConfigTraining hyperparameters (step size, batch size, epochs, etc.)
LayerTypeLayer type enumeration (Linear, ReLU, Tanh, etc.)
PyTorchUtilsUtility functions for PyTorch interoperability
NetFieldBase class for neural-network field representations
NetSDFNeural network-based signed distance function
NetLaplaceNeural network-based Laplace field
CodedNetSDFSDF with latent code conditioning
CodedNetLaplaceLaplace field with latent code conditioning
LaplaceConfigConfiguration for Laplace field training and extraction
FieldTypeField type enumeration (SDF / Laplace)

C++ Namespace

phynexis::ml

pybind Module

pyml (lazy-loaded via phynexis.ml)