Neural Network Inside Viewer with 3D Visualization#1045
Open
konard wants to merge 3 commits into
Open
Conversation
Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: undefined
This implementation addresses issue #618 by providing a complete system to load neural network topologies with weights into a Doublets database and visualize them from inside. Features: - Neural network to Doublets converter (Python) - Interactive 3D web-based viewer (Three.js) - Sample networks (XOR, classifier, deep network) - Comprehensive documentation The system represents neural networks in Doublets as: - Network root link - Layer links connected to network - Neuron links within each layer - Connection links with weights between neurons - Bias links for each neuron The 3D viewer allows: - Interactive rotation, zoom, and pan - Layer-based coloring (input=green, hidden=blue, output=magenta) - Connection visualization with weight-based opacity - Real-time statistics display - Adjustable spacing controls - Optional pulsing animation Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This reverts commit 8dff7e2.
Owner
Author
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 📎 Log file uploaded as GitHub Gist (344KB) Now working session is ended, feel free to review and add any feedback on the solution draft. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Neural Network Inside Viewer
This PR implements a complete solution for issue #618: loading neural network topologies with weights into a Doublets database and visualizing how they look from inside.
Features
1. Neural Network to Doublets Converter
neural-network-loader.py) that:2. Interactive 3D Visualization
neural-network-viewer.html) featuring:3. Sample Networks
Three example networks demonstrating different complexities:
Doublets Representation Design
The system encodes neural networks in Doublets as follows:
Each component type uses semantic markers:
NetworkType,LayerType,NeuronTypeConnectionType,WeightType,BiasTypeThis allows querying patterns like:
Usage
Test Results
All sample networks successfully convert and visualize:
Future Enhancements
The foundation supports future additions:
Files Added
examples/neural-network-viewer/README.md- Comprehensive documentationexamples/neural-network-viewer/neural-network-loader.py- Converter scriptexamples/neural-network-viewer/neural-network-viewer.html- 3D viewerexamples/neural-network-viewer/sample-networks/*.json- Example networksScreenshots
The viewer provides an immersive 3D experience showing the internal structure of neural networks stored as Doublets links, making it easy to understand and explore how neural networks are represented in associative memory.
Fixes #618
Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com