Skip to content

Add a micrograd on PowerShell sample#54

Open
eosfor wants to merge 3 commits into
DataficationSDK:mainfrom
eosfor:work/micrograd-powershell-walkthrough
Open

Add a micrograd on PowerShell sample#54
eosfor wants to merge 3 commits into
DataficationSDK:mainfrom
eosfor:work/micrograd-powershell-walkthrough

Conversation

@eosfor
Copy link
Copy Markdown
Contributor

@eosfor eosfor commented May 19, 2026

Summary

  • Remove the local-build module setup cell from the PowerShell micrograd notebook.
  • Keep the notebook setup focused on importing installed PSQuickGraph and PSGraphView modules.
  • Add module version requirements to graphHelper.ps1 so the sample fails early on unsupported module versions.

Dependency

Depends on #53.

Validation

  • jq empty samples/Notebooks/powershell/micrograd/micrograd-ps.verso
  • PSParser parse check for samples/Notebooks/powershell/micrograd/graphHelper.ps1

Notebook was also smoke-checked locally by the author before this PR.

@eosfor eosfor force-pushed the work/micrograd-powershell-walkthrough branch from e6c782a to 51a9e4e Compare May 19, 2026 04:13
@eosfor eosfor changed the title Simplify micrograd PowerShell module setup Add a micrograd on PowerShell sample May 19, 2026
eosfor added 3 commits May 18, 2026 21:15
Restructure the micrograd notebook into a readable walkthrough with markdown sections for module setup, helper scripts, scalar computation graphs, backpropagation order, neuron and MLP construction, loss calculation, one training step, the training loop, and final graph rendering.

Keep both supported module-loading flows in the notebook: local manifests from the repository artifacts for development testing, and normal installed modules for a fresh kernel. The setup cells guard against switching PSGraph.dll sources after the assembly has already loaded into the PowerShell runspace.

Move the reusable micrograd pieces into helper scripts: Value operator behavior, expression/backpropagation graph construction, Neuron/Layer/MLP definitions, Zip, and Sum-Value. Clear saved notebook outputs so the example stays lightweight and rerenders from current code.
@eosfor eosfor force-pushed the work/micrograd-powershell-walkthrough branch from 51a9e4e to 3f86291 Compare May 19, 2026 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant