Design Memristor Model & Inference Task

planningChallenge

Prompt Content

Your initial task is to design a simplified, yet representative, memristor device model that captures essential non-linear I-V characteristics and state dynamics. Implement this model within a `MemristorArraySimulator` class capable of simulating an NxN array. Concurrently, define a specific Bayesian inference task, such as estimating parameters of a material's degradation curve (e.g., `y = A * exp(-B*t) + noise`), where `A` and `B` are the parameters to be inferred using a memristor-based approximate Bayesian inference approach. Articulate how the memristor array would map the input data and perform the necessary computations for this task.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations