Skip to content
Back to skills

Pinn Training Objective

ASecurity

Combine PINN supervised and residual losses and execute bounded optimizer updates with validator-compatible traces.

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
toolspython

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill pinn_training_objective --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pinn Training Objective?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pinn Training Objective
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-pinn-training-objective/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-pinn-training-objective)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: pinn_training_objective
description: Combine PINN supervised and residual losses and execute bounded optimizer updates with validator-compatible traces.
---

# PINN Training Objective

Use this skill to turn a PDE problem item and residual function into a trainable PINN objective. It is appropriate for bounded recovery, smoke tests, and reduced experiments that must prove parameter updates. Do not use it to evaluate final acceptance without the recovery-evaluation skill.

## Inputs
- PDE problem item containing observations and collocation points.
- Trainable surrogate parameters.
- Residual function compatible with the PDE.
- Learning rate and loss weights.

## Outputs
- Data loss, residual loss, and total loss before and after optimization.
- `params_before` and `params_after` for recovery validators.
- Boolean evidence that an optimizer step changed parameters.

## Workflow
1. Compute mean-squared observation error.
2. Compute mean-squared PDE residual over collocation points.
3. Sum weighted components into the PINN objective.
4. Estimate gradients by deterministic finite differences for this tiny reduced surrogate.
5. Apply one or more bounded gradient-descent steps and record the trace.

## Validation
Run `python tests/test_training_objective.py` or validate via `validate_skill_tree.py --run-tests`.

## Limitations
The bundled optimizer is intentionally small and deterministic. It is mechanism-faithful for reduced recovery but not a claim of full paper-scale training.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…