🧭 Mentorship plan
Written from the value chain only: the original document was not available.
This mentorship plan guides learners through building an AI-powered diagnostic tool for early Alzheimer's detection using EEG signals. It covers essential steps including data ingestion, artifact removal, biomarker feature engineering, and predictive model development, emphasizing practical implementation and critical thinking at each stage.
Pace rule: Each step starts with a question. The learner answers it in their own words, then does the task. A step's typical days are the time given. A learner who has not answered by then is not chased: the mentor moves on to learners who are moving, and the door stays open for when they return.
Who this is for
Final-year students or recent graduates with a foundational understanding of Python programming and basic statistics, eager to apply machine learning and signal processing to real-world healthcare challenges.Starting point
Learners should be comfortable with Python programming, basic data structures, using libraries like NumPy and Pandas, and have a conceptual understanding of machine learning principles (e.g., classification).Components
- Component name
- NeuroScan Data Ingestion & Artifact Removal
- Skill areas
- Data engineering
- AI
- Health
- Why it matters
- Raw EEG signals are inherently noisy and contain artifacts (eye blinks, muscle movements, power line interference) that can obscure brain activity related to AD. Effective artifact removal is crucial for accurate biomarker extraction and subsequent classification, directly impacting diagnostic reliability.
- Ladder
Step Question Where to look Student task Mentor checks Typical days 1 What is the fundamental structure of an EEG signal file (e.g., .edf format) and what are the primary input parameters for a basic band-pass filter? MNE-Python documentation for `mne.io.read_raw_edf` and `mne.filter.create_filter` functions. Load an example EEG file in .edf format. Apply a Chebyshev Type II band-pass filter with cut-off frequencies 0.5-60Hz. Plot a 10-second segment of a single channel before and after filtering. The learner's own-words explanation of EEG file structure and filter parameters. A plot showing raw and filtered EEG data from a single channel, clearly demonstrating noise reduction. 2 2 How do electrode impedance values impact EEG signal quality, and what is the purpose of segmenting a continuous EEG signal into fixed-length epochs for analysis? MNE-Python tutorials on preprocessing, and the 'sovereign anchor' and 'procedure' sections of the 'NeuroScan Data Ingestion & Artifact Removal' component in the value chain document. For the previously filtered EEG data, identify channels with an average amplitude above 100 µV (as a proxy for high noise/impedance) over a 30-second window and mark them for rejection. Then, segment the filtered EEG into 8-second epochs. Report the number of epochs created and the identified noisy channels. The learner's own-words explanation of impedance impact and epoching purpose. A list of identified noisy channels and the total number of 8-second epochs generated from the sample data. 2 3 Why is simple amplitude thresholding a common first step for detecting artifacts like eye blinks or muscle movements in EEG, and what are its main limitations? MNE-Python documentation for artifact detection functions or general EEG preprocessing guides (e.g., using `mne.preprocessing.mark_bad_channels` with amplitude criteria). Implement an amplitude-based artifact detection method on the 8-second epochs. Mark epochs as 'bad' if any channel exceeds ±150 µV. Report the percentage of 'bad' epochs and visualize one 'bad' epoch, highlighting the exceeding amplitude with horizontal lines. The learner's own-words explanation of amplitude thresholding's utility and limitations. The reported percentage of rejected epochs and a plot of one 'bad' epoch with threshold lines visible. 3 4 How does a regression-based method, such as Independent Component Analysis (ICA) or even simpler linear regression, effectively remove ocular (EOG) and muscle (EMG) artifacts while preserving brain activity, and what information does it require? MNE-Python tutorial on ICA (`mne.preprocessing.ICA`) for EEG artifact removal. Apply ICA to the filtered EEG data to remove eye blink and muscle artifacts. Select and exclude the identified artifactual components. Compare a segment of data from a channel affected by artifacts before and after artifact correction, plotting both on the same graph for visual comparison. The learner's own-words explanation of regression-based artifact removal. A plot showing a clear reduction of EOG/EMG artifacts in a selected channel after ICA correction. 4 5 What is the optimal trade-off between aggressively removing all detected artifacts and potentially losing subtle, disease-relevant brain signals in the context of early AD detection? Which specific parameters would you adjust to find this balance? The 'deep questions' section for this component in the value chain document, alongside scientific literature discussing EEG biomarkers for AD and MCI. Experiment with two different sets of artifact detection/correction parameters (e.g., stricter vs. looser amplitude thresholds, or different ICA component rejection strategies) on a sample dataset. Document the percentage of data removed/corrected in each case. Articulate which set of parameters you would choose for early AD detection, justifying your choice based on potential impact on AD biomarkers and clinical interpretability. The learner's own-words discussion of the trade-off, including specific parameters and their effects. A written justification (150-200 words) for the chosen parameter set, explaining why it's optimal for early AD without over-processing relevant signals. 4 - Common mistakes
- Applying filters in the wrong order (e.g., filtering after epoching or before artifact detection).
- Setting overly aggressive amplitude thresholds that remove too much valid brain data, leading to information loss.
- Not understanding the underlying signal characteristics and blindly applying generic processing parameters.
- Ignoring the impact of poor electrode contact or high impedance on initial signal quality.
- Failing to visualize data at each step, making it difficult to debug or assess effectiveness of artifact removal.
- Component name
- AD-BioMarker Feature Engineering Engine
- Skill areas
- Data engineering
- AI
- Health
- Why it matters
- Raw EEG signals are high-dimensional and complex. Feature engineering transforms this raw data into meaningful, lower-dimensional representations (biomarkers) that capture disease-specific patterns, making the data suitable for machine learning classification.
- Ladder
Step Question Where to look Student task Mentor checks Typical days 1 What is Power Spectral Density (PSD) in the context of EEG, and how are common frequency bands (delta, theta, alpha, beta, gamma) defined and calculated from an EEG epoch? MNE-Python documentation for `mne.time_frequency.psd_array_welch`, and signal processing textbooks for definitions of EEG frequency bands. For a single 8-second EEG epoch (output from the previous component), compute the PSD using Welch's method. Then, calculate the average power in the delta (0.5-4 Hz), theta (4-8 Hz), alpha (8-12 Hz), beta (12-30 Hz), and gamma (30-60 Hz) bands for one selected channel. Report these 5 power values. The learner's own-words explanation of PSD and the definition of common EEG frequency bands. Five numeric values (average power) for the specified bands and channel, with appropriate units (e.g., µV²/Hz or relative power). 2 2 What do the Hjorth parameters (activity, mobility, complexity) quantify in an EEG signal, and how are they mathematically derived from the time-series data? Original Hjorth papers or reputable signal processing textbooks/articles explaining the mathematical derivation of Hjorth parameters. Implement a Python function to compute the three Hjorth parameters for a given time-series (e.g., a single 8-second EEG channel epoch). Apply this function to an epoch and report the calculated activity, mobility, and complexity values. The learner's own-words explanation of what each Hjorth parameter represents (activity, mobility, complexity). Three numeric values for activity, mobility, and complexity, calculated correctly. 3 3 What is the Discrete Wavelet Transform (DWT), why is it suitable for analyzing non-stationary signals like EEG, and what information do the decomposition levels and wavelet family (e.g., Daubechies 4) provide? `PyWavelets` documentation (e.g., `pywt.wavedec`), and textbooks/tutorials on wavelet analysis and its application to time-series data. Apply a 5-level DWT using the Daubechies 4 wavelet to a single 8-second EEG channel epoch. Reconstruct the signal from the approximation coefficients at level 5 and from the detail coefficients at level 1. Plot the original epoch and these two reconstructed signals for visual comparison. The learner's own-words explanation of DWT, its suitability for EEG, and the meaning of decomposition levels and wavelet family. A plot showing the original epoch and two clearly reconstructed signals (approximation level 5, detail level 1). 4 4 Why is it necessary to aggregate features across multiple epochs and channels to create a single feature vector for classification, and why is feature scaling (e.g., using StandardScaler) a crucial preprocessing step for machine learning models? Scikit-learn documentation for `StandardScaler` and machine learning preprocessing guides discussing feature aggregation and scaling techniques. For a set of 10 pre-processed EEG epochs, calculate the PSD features (delta, theta, alpha, beta, gamma) for two selected channels for each epoch. Aggregate these into a single feature matrix where each row represents an epoch and columns are features (10 epochs x 10 features). Apply `StandardScaler` to this matrix and report the mean and standard deviation of one feature before and after scaling. The learner's own-words explanation of the necessity of aggregation and scaling. A generated 10x10 (or similar) feature matrix, and reported mean/stddev for one feature pre and post scaling. 3 5 Which combination of spectral, temporal, and wavelet features would you hypothesize to be most effective in discriminating between healthy controls and early AD stages, and why would this combination likely capture relevant neurophysiological changes associated with the disease? The 'deep questions' section for this component in the value chain document, and scientific literature on EEG biomarkers for Alzheimer's Disease and Mild Cognitive Impairment (MCI). Based on your understanding and a brief literature review (cite 2-3 sources), propose a specific set of 10-15 features (e.g., specific PSD ratios, Hjorth parameters in certain frequency bands, DWT coefficients from particular levels) that you believe would be most discriminative for early AD. Justify your selection (150-200 words) in terms of the known pathophysiology of AD affecting EEG signals. The learner's own-words explanation of their hypothesized feature combination and scientific justification. A list of 10-15 proposed features with their rationale and cited sources. 4 - Common mistakes
- Incorrect frequency band definitions or calculation methods for PSD features.
- Misunderstanding the mathematical meaning or interpretation of Hjorth parameters.
- Incorrect application of wavelet transform (e.g., wrong wavelet family, too few/many decomposition levels).
- Forgetting to scale features, which can lead to poor performance or convergence issues for many machine learning models.
- Extracting too many redundant or non-informative features, contributing to the 'curse of dimensionality'.
- Component name
- AD-NeuroClassifier Predictive Model
- Skill areas
- AI
- Data engineering
- Health
- Why it matters
- The predictive model takes the engineered biomarkers and learns patterns to accurately classify individuals into different AD stages (Healthy, MCI, Mild AD, Moderate AD), providing a non-invasive, objective diagnostic tool.
- Ladder
Step Question Where to look Student task Mentor checks Typical days 1 What is supervised machine learning, and why is it essential to split data into distinct training, validation, and test sets before model development? What is the recommended proportion for each split for a typical dataset? Scikit-learn documentation for `sklearn.model_selection.train_test_split`, and general machine learning textbooks or tutorials on model development workflow. Generate a synthetic dataset of 100 samples with 15 features and 4 distinct class labels (e.g., using `sklearn.datasets.make_classification`). Split this dataset into training (70%), validation (15%), and test (15%) sets. Report the number of samples in each set. The learner's own-words explanation of supervised learning and the purpose of data splitting, including recommended proportions. The reported number of samples in the training, validation, and test sets. 2 2 How does the K-Nearest Neighbors (KNN) algorithm classify new data points, and what is the significance of the parameter 'k' in its performance? Scikit-learn documentation for `sklearn.neighbors.KNeighborsClassifier`, and machine learning tutorials explaining the KNN algorithm. Train a KNN classifier on the training set from Step 1, using `k=5`. Predict labels for the test set. Report the classification accuracy on the test set. The learner's own-words explanation of KNN and the significance of 'k'. A numeric value for test accuracy (e.g., 0.75), which should be reasonable given a synthetic dataset. 2 3 How does a Support Vector Machine (SVM) with an RBF kernel classify data, and why is hyperparameter tuning (e.g., for C and gamma) critical for optimizing its performance on a given dataset? Scikit-learn documentation for `sklearn.svm.SVC` and `sklearn.model_selection.GridSearchCV`, and machine learning explanations of Support Vector Machines. Train an SVM classifier with an RBF kernel on the training set. Perform a simple grid search for hyperparameters `C` (e.g., [0.1, 1, 10]) and `gamma` (e.g., [0.01, 0.1, 1]) using 3-fold cross-validation on the training data. Report the best hyperparameters found and the corresponding cross-validation accuracy. The learner's own-words explanation of SVM with RBF kernel and the importance of hyperparameter tuning. The best C, best gamma, and the cross-validation accuracy for the best model reported. 3 4 Beyond simple accuracy, what are sensitivity (recall), specificity, AUC (Area Under the Receiver Operating Characteristic Curve), and F1-score, and why are they particularly important for evaluating diagnostic models in multi-class scenarios like AD detection, especially when class imbalance might be present? Scikit-learn documentation for `sklearn.metrics` (e.g., `classification_report`, `roc_auc_score`), and resources on medical diagnostics evaluation metrics. Using the best SVM model from Step 3, evaluate its performance on the test set. Calculate and report the overall accuracy, and for each of the 4 classes (treating one as 'positive' and others as 'negative' in a one-vs-rest manner), report its sensitivity, specificity, and F1-score. The learner's own-words explanation of each metric and its relevance for medical diagnostics. A table or list showing overall accuracy, and class-specific sensitivity, specificity, and F1-score for each of the 4 classes. 4 5 What are common strategies to mitigate the impact of class imbalance in diagnostic datasets (e.g., fewer moderate AD cases than healthy controls), and which of these strategies would you prioritize for a medical diagnostic system, considering the potential consequences of misclassification? Machine learning literature on imbalanced datasets (e.g., SMOTE, weighted loss functions) and medical ethics guidelines for diagnostic tools regarding false positives/negatives. Assume your synthetic dataset has a significant class imbalance (e.g., 70% healthy, 10% MCI, 10% mild AD, 10% moderate AD). Implement one technique (e.g., `SMOTE` from `imblearn`, or class weighting in SVM) to address this imbalance. Retrain your best SVM model using this technique and re-evaluate performance on the imbalanced test set, specifically focusing on the F1-score for the minority classes. Compare these F1-scores to the baseline without imbalance correction. The learner's own-words explanation of the chosen strategy for class imbalance and a justification (100-150 words) for prioritizing it in a medical context. Comparative F1-scores for minority classes before and after applying the chosen technique, showing improvement. 4 - Common mistakes
- Training and testing on the same data, leading to an overoptimistic evaluation of model performance (overfitting).
- Ignoring class imbalance, resulting in models that perform poorly on minority classes crucial for early diagnosis.
- Choosing evaluation metrics unsuitable for medical diagnosis (e.g., relying solely on accuracy for imbalanced datasets).
- Not performing hyperparameter tuning, leading to sub-optimal model performance.
- Lack of understanding of the limitations and assumptions of different classification algorithms.
Mentor guidance
- Encourage learners to always articulate their understanding of the 'why' behind each step before diving into the 'how'. This prevents rote application of tools and fosters deeper learning.
- Emphasize the importance of validating every small output. A small error in signal processing can propagate and invalidate all subsequent steps, leading to incorrect conclusions.
- Guide students to critically evaluate the practical implications of their choices, especially in a medical context, where false positives or negatives have significant consequences for patients.
- Stress the importance of clear, well-documented code and reproducible results. This is crucial for scientific validation, collaboration, and future development of the diagnostic tool.
- For 'where_to_look', remind students to focus on finding specific functions, classes, or sections within the documentation rather than just the general library name. The goal is precise information retrieval.
- Encourage the use of open-source libraries like MNE-Python, SciPy, Scikit-learn, PyWavelets, Matplotlib, and Imblearn, which are standard in the field and have excellent documentation and community support.
Assumptions
- The source document containing detailed value chain information is not available; this plan is generated solely from the provided JSON snippet.
- Learners have access to a Python development environment with necessary scientific computing libraries (NumPy, SciPy, MNE-Python, Scikit-learn, PyWavelets, Matplotlib, Imblearn) installed.
- Learners have access to an example EEG dataset (either public domain or synthetic) for practical exercises, as real patient data acquisition and ethical considerations are outside the scope of this initial mentorship plan.
- Learners possess basic data visualization skills to plot signals, features, and model results effectively.
- Mentors will provide immediate feedback to ensure learners are on the right track before proceeding to the next step, facilitating an agile learning process.
Prepared by InnoQuest's AI from the uploaded document. Check every number before relying on it; assumptions are listed above.