A complete guide to the NeuroSpace workflow: datasets, RNN/QNN model selection, training, evaluation, visualization, exports, payments, and invoices.
Sign in and open the Dashboard.
Upload a numeric CSV dataset with a target column.
Choose RNN, QNN, or both models for training.
Configure epochs, batch sizes, and QNN options when needed.
Start training, then review Evaluation and Visualization.
Export the results as JSON or as a PDF report.
NeuroSpace is a research platform for training and comparing classical RNN models and quantum QNN models on the same dataset.
The workflow is guided from dataset upload to model selection, FastAPI and Colab-powered training, evaluation, visualization, and report export.
You can train RNN only, QNN only, or RNN + QNN. Full comparison views are shown only when both model results are available.
The dashboard accepts a numeric CSV file. The backend validates the file and detects dataset dimensions, target column, class count, and recommended qubit count.
Your dataset should contain usable feature columns and one target column for classification. Non-numeric or irrelevant columns should be prepared before upload when necessary.
After upload, NeuroSpace displays a summary with filename, rows, columns, target, classes, and recommended qubits.
In Model Config, no model is enabled by default. You must select at least one model before continuing.
Classical RNN / MLP trains the classical baseline with its own epochs and batch size.
Quantum QNN trains the quantum model with its own epochs, batch size, quantum backend, and noise options.
If only one model is selected, only that model's settings are displayed and sent to the backend. If both are selected, both configuration sections are shown.
The classical RNN is the baseline model. It can be trained alone or alongside QNN for direct comparison.
Visible settings when RNN is selected: rnn_epochs and rnn_batch_size.
Depending on the comparison mode, features can be prepared with PCA or MI to keep the experiment protocol consistent.
QNN uses a configurable quantum backend. The current payload supports PennyLane and Qiskit modes.
Visible settings when QNN is selected: qrnn_epochs, qrnn_batch_size, qrnn_backend, noise_enabled, noise_level, mitigation_enabled, and mitigation_runs.
In Ideal mode, training runs without simulated noise. In Noisy mode, you can set a noise level and optionally enable mitigation to test QNN robustness.
TrainingStep builds a conditional payload. RNN only sends model_types: ['rnn']; QNN only sends model_types: ['qrnn']; both sends ['rnn', 'qrnn'].
The FastAPI backend creates a job, prepares the package, and the Colab worker trains only the requested models.
The frontend polls job status until completion or failure. Polling behavior remains the same whether one or two models are trained.
Evaluation displays metrics returned by the backend: accuracy, precision, recall, F1 score, loss, confusion matrix, and classification report.
If only RNN is available, only the RNN section is shown. If only QNN is available, NeuroSpace displays QNN clean, noisy, or mitigated blocks depending on the returned results.
The Best Model card and RNN vs QNN comparison table appear only when both models exist in the result JSON.
Visualization renders accuracy and loss curves from the training history returned by the backend.
Curves are conditional: RNN appears only when results.rnn.history exists; QNN appears only when a QNN block contains history.
This step helps inspect convergence, train-validation gaps, and model stability.
Export JSON downloads the raw backend result. The file contains only what the job produced: rnn, qrnn, comparison, config_used, history, and related metrics.
Export PDF opens a FastAPI-generated report with the NeuroSpace logo, configuration, metrics, matrices, classification reports, and learning curves.
The PDF supports RNN-only, QNN-only, and RNN + QNN runs. It does not assume both models exist.
The Payment page lets users choose a Free, Pro, or Pro+ plan, then select Credit Card, Dahabia, or PayPal as the payment method.
After payment, Payment Success shows the confirmation, invoice, plan, amount, method, date, and transaction ID.
Billing lists payment history and opens invoices. Profile and settings remain available from the dashboard.
Authentication is handled with Supabase. Profile, payment, dashboard, and billing pages load data for the signed-in user.
Exports and training runs are tied to backend jobs and result files. Job, polling, and upload errors are surfaced in the interface.
For reproducible experiments, prepare your datasets carefully, verify the target column before upload, and keep exported JSON files for later review.
The frontend sends only the fields required by the selected model setup. These examples reflect the current Dashboard logic.
{
"model_types": ["rnn"],
"comparison_mode": "pca",
"feature_selector": "pca",
"rnn_epochs": 20,
"rnn_batch_size": 32
}{
"model_types": ["qrnn"],
"comparison_mode": "mi",
"feature_selector": "mi",
"qrnn_epochs": 10,
"qrnn_batch_size": 16,
"qrnn_backend": "pennylane",
"noise_enabled": false
}{
"model_types": ["rnn", "qrnn"],
"comparison_mode": "pca",
"feature_selector": "pca",
"rnn_epochs": 20,
"rnn_batch_size": 32,
"qrnn_epochs": 10,
"qrnn_batch_size": 16,
"qrnn_backend": "qiskit"
}Start with RNN only to validate the dataset and establish a fast baseline.
Use QNN only to test quantum parameters without running the classical baseline.
Run RNN + QNN when you need a complete comparison and exportable report.