IntoMindLearn

Chapter 9 · Middle school

The capstone

Design a brain-computer interface of your own: two of your states, a custom AI head that tells them apart, and a board that does something useful with it.

The brief

Choose a purpose: something a light or a signal that follows your mind could do. A sign that shows when you are concentrating. A signal that starts a small robot of your own.

Then choose two states, teach a custom AI head to tell them apart, test it fairly against the test you wrote first, and make the Raspberry Pi Pico 2 W act on it.

Milestones

PeriodMilestoneWhat happens
1TeachEach wearer teaches a custom AI head with the group's two states.
2TestEvery score next to guessing. Which wearer and states will you build on?
3BuildThe program on the board, paired with the group's IntoMind One.
4BuildThe board's light or pin doing the job you chose.
5Test the wholeTen switches: how often does the board follow? Then another group tries to fool it.
6ImproveChange one thing, and test again the same way.
7ImproveKeep the better version, and write down why.
8PrepareThe presentation: purpose, states, test, result, and what you would change.
9–11PresentFive minutes for each group, with the board working, or a recording of it.

Your results

Record

Against the test you wrote first

TryWearerScore, of 88Clearly better than guessing?Light followed, of 10What we changed
1
2
3
4

Work it outDid it meet the test we wrote first?

The rules

Wearing it is a choice. A group in which nobody wants to wear it teaches and tests custom AI heads on a simulated IntoMind One, by adding ?dev to the end of a demo's address. The board connects only to a real IntoMind One, so for the board's stages a volunteer, such as your teacher, teaches a custom AI head and wears it whenever the board needs someone to follow.

Projects on the board's pin stay with its own 3.3-volt signal. Nothing on it plugs into a wall.

Saved files come from someone's brain: keep them only with the wearer's permission, and delete them all together when the capstone is finished.

What makes a strong project

The plan
A clear purpose, two states that suit it, and a test written before teaching.
The fair test
Every score compared with guessing, and the light's switches counted out of ten.
The build
The board doing the job, safely, from its own pin.
Honest results
What happened, including what didn't work, and a reason for it.
The presentation
Clear, on time, and every member of the group speaks.

Chapter 10 · High school

The capstone

Design a brain-computer interface for a person and a purpose. Does it pass the test you wrote first, and does it still work on another day?

The brief

Design for the person and the purpose in your brief from Designing a BCI, and keep to the test you wrote there.

Teach a custom AI head with your two states, at your site, on two different days. Compare every score with guessing, and find out whether the first day's head still works on the second. Then make the Raspberry Pi Pico 2 W act on it for your purpose, test the whole interface against your test, and present what happened.

Milestones

Thirty-three periods Each milestone as long as it lasts. Someone wears an IntoMind One in the stretches in orange.
PeriodsMilestoneWhat happens
1–2ProposalYour brief and your test, reviewed with your teacher. Change only what your teacher asks, before anyone teaches.
3–5Teach, first dayEach wearer teaches a custom AI head with your states, at your site, and saves it and its training data, with the wearer's permission. Every score next to guessing.
6–8Teach, second dayOn another day, each wearer first installs the first day's head and counts how many of ten switches it follows. Then each teaches again.
9–12AnalyzeBoth days side by side in a spreadsheet, with the skeptic's notes. Another group checks your analysis against your test.
13–20BuildThe program on the board, changed for your purpose, and your circuit on its pin, with the threshold you planned.
21–23Test itYour test as written: ten switches, five of them timed, five minutes of rest, and a timed setup. Then someone from another group tries to fool it.
24–27ImproveOne change at a time, each tested the same way.
28–29PrepareThe presentation and the report.
30–33PresentEight minutes for each group, with questions. Then every saved file is deleted, together.

Your results

Record

Teaching, on two days

WearerDayScore, of 88Clearly better than guessing?Skeptic's notes
1First
2First
3First
4First
1Second
2Second
3Second
4Second

Record

Does it last a day?

WearerThe first day's head, on the second day: light followed, of 10The second day's head: light followed, of 10
1
2
3
4

Record

Against the test you wrote first

RequirementWhat we asked forWhat we gotMet?
The score
Switches the light followed, of 10
Median delay, in seconds
False positives in 5 minutes of rest
Setup time
Did blinks or a clenched jaw switch it?

Work it outDid it meet the test we wrote first? Did the first day's head still work on the second day, and what might explain it?

The report

One page, clear enough that another group could repeat what you did, in this order:

  1. The person and the purpose.
  2. Your two states and your site, and why.
  3. Your test, as you wrote it first.
  4. Your results against it, including anything that failed.
  5. The first day's head on the second day.
  6. What you would change next, and how you would test it.

The rules

Wearing it is a choice. A group in which nobody wants to wear it teaches and tests custom AI heads on a simulated IntoMind One, by adding ?dev to the end of a demo's address. The board connects only to a real IntoMind One, so for the board's stages a volunteer, such as your teacher, teaches a custom AI head and wears it whenever the board needs someone to follow.

Projects on the board's pin stay with its own 3.3-volt signal. Nothing on it plugs into a wall.

Saved files come from someone's brain: keep them only with the wearer's permission, and delete them all together when the capstone is finished.

What makes a strong project

The plan
A person and a purpose, requirements a test can check, and the test signed before anyone teaches.
The fair test
Every score compared with guessing, on two days, and the whole interface tested as written.
The analysis
The two days side by side, and what could make a score look better than it is.
The build
Your own changes to the program, serving the purpose, and a safe circuit on the pin.
Honest results
What happened, including what failed the test, and a reason for it.
The presentation and report
Clear enough that another group could repeat it, with every member of the group speaking.

Chapter 12 · College

The capstone

Carry a brain-computer interface from a user's need to a working board: requirements, a preregistered test, data collected under a data plan, a reproducible analysis, and the loop deployed with its latency measured. Does it meet what you said it would?

The brief

Start from the user's need and the requirements you wrote in Designing a BCI. Preregister your hypothesis and analysis, with the amount of data justified by simulated power. Collect under the data plan your instructor approves, in at least two sessions per wearer on different days. Analyze with held-out rounds and a permutation test, test whether a head from one day works on the next, and reproduce your custom AI head from its training data byte for byte. Deploy it on the board, measure the loop's latency, and test the whole against your requirements.

Milestones

SessionMilestoneWhat happens
Meeting 1Design reviewEach group presents its proposal: the user, requirements, the preregistration, the data plan and the simulated power, for critique and approval.
Lab 1CollectFirst sessions for every wearer, under the approved plan, every head and its training data saved with permission.
Meeting 2Analysis clinicEach pipeline checked against its preregistration: held-out rounds, the permutation test, no leakage.
Lab 2Collect againSecond sessions, on another day: the first day's head tested first, then a new one taught.
Meeting 3Analysis clinicTransfer across days, the head reproduced byte for byte, and every deviation from the preregistration written down.
Lab 3Deploy and testThe board, the program, the latency measured, and every requirement tested as written.
Meeting 4Peer reviewDrafts exchanged and reviewed against what makes a strong project.
Meeting 5ReviseRevisions, with the deviations stated.
Meetings 6 and 7PresentTwelve minutes for each group, with questions.
Lab 4DemonstrateWorking demonstrations. Reports due. Then every saved file is deleted, together.

Your results

Record

Against your requirements

RequirementAs preregisteredResultMet?
Effectiveness
Efficiency
False alarms
Setup
The first day's head on the second day
The loop's latency

The report

  1. The user and their need, and the requirements.
  2. The preregistration, as written, and every deviation from it, with the reason.
  3. Methods another group could repeat: states, site, sessions, the pipeline, the folds, the test, the board's program.
  4. Results against each requirement, with the permutation p, the transfer across days, and the latency against your budget.
  5. Limitations: what the result doesn't show, and why.
  6. Code and the reproduced head's checksum, as an appendix. The data only where every wearer agreed.

The rules

Wearing it is a choice. A group in which nobody wants to wear it teaches and tests custom AI heads on a simulated IntoMind One, by adding ?dev to a demo's address. The board connects only to a real IntoMind One, so for the board's stages a volunteer, such as your instructor, teaches a custom AI head and wears it whenever the board needs someone to follow.

Projects on the board's pin stay with its own 3.3-volt signal. Nothing on it plugs into a wall.

Saved files come from someone's brain: keep them only with the wearer's permission, under your data plan, and delete them all together when the capstone is finished.

What makes a strong project

Need and requirements
A user's need, from a published case, turned into requirements a test can check.
Preregistration and power
The hypothesis and analysis fixed before the data, with simulated power justifying the design.
Data and ethics
An approved data plan, followed, with consent and deletion.
Analysis
Held-out rounds, a permutation test, no leakage, transfer across days, and every deviation stated.
Reproducibility
Code that runs, and the custom AI head reproduced byte for byte.
Deployment
The board running the head, its latency measured against the budget and explained.
Limitations
What the result doesn't show, and why.
Communication
A report and presentation another group could build on.

Chapter 12 · Graduate

The capstone

A question of your own, answered as a registered report: the question, the design and the analysis reviewed before any data, then the data, the planned tests, and an honest account of what they show.

The brief

Choose a question that this book leaves open and that your group can answer with what it has. Write it as an estimand, design the study, simulate its power with numbers from the labs, write the confirmatory analysis as code that runs on simulated data, and write the protocol: consent, data and deletion. That is the first stage, and it is reviewed before any data exist. After approval, collect, run the planned analysis unchanged, and label everything else exploratory. That is the second stage.

A question the labs leave openWhere it comes from
Does the trainer's penalty cost accuracy on real sessions of 88 windows, and does a label-free heavier one recover it?Models that learn, and the Mind-Controlled Light Switch
For which pairs of states does a head survive to another day, and does removing each session's mean rescue the rest?The Mind-Controlled Light Switch
Is individual alpha frequency more stable across days than reactivity or alpha's power, at one site with dry electrodes?Alpha Flower
Do the 10 and 15 hertz responses lateralize between O1 and O2 with the eyes on the center, and which way?BCI Flight Simulator
Is the age head's estimate the same at two sites within a person, inside a margin set in advance?Age Detector
How much of a head's separation of two states is left when the blinks and muscle that come with them are matched?Signal and noise, and the Mind-Controlled Light Switch

Milestones

SessionMilestoneWhat happens
Meeting 1First-stage reviewEach group presents its question, estimand, hypotheses, design, simulated power, analysis code and protocol, for critique and approval.
Meeting 2Pilot and first sessionsThe protocol run end to end once, then first sessions. Collection continues outside class.
Meeting 3Second sessionsOn another day, for designs that need one. Every file saved and named under the protocol.
Meeting 4Analysis clinicEach group runs the planned analysis, unchanged, and another group reruns its code to the same numbers. Deviations logged.
Meeting 5PresentationsHalf the groups: fifteen minutes each, with questions.
Meeting 6PresentationsThe rest. Second-stage reports are due a week later, then every saved file is deleted, together.

Your results

Record

Planned against found

HypothesisThe planned testResultSupported?
1
2
3
Exploratory

The report

  1. The first stage as approved: the question, the estimand, the hypotheses, the design and its power, and the analysis plan.
  2. Methods to the COBIDAS MEEG recommendations, and every deviation from the plan, each with its reason.
  3. The confirmatory results exactly as planned, then the exploratory ones, labeled as such.
  4. What the results do and don't show, and what the next study should be.
  5. Code another group has rerun to the same numbers, and data shared only where every wearer agreed.

The rules

Wearing it is a choice. A group in which nobody wants to wear it can ask a methods question of simulated data, or of the data others agreed to share, and a demo on a simulated IntoMind One, with ?dev on the end of its address, can stand in for the device while a pipeline is built.

The board's pin stays with its own 3.3-volt signal. Nothing on it plugs into a wall.

Saved files come from someone's brain: keep them only with the wearer's permission, under your protocol, and delete them all together when the capstone is finished. A study meant for publication needs a review board's approval before its first recording.

What makes a strong project

Question and estimand
A question the field hasn't settled, stated as an estimand two analysts would compute the same way.
Design and power
A design that controls what could fake the answer, with power simulated from realistic numbers.
Protocol
Consent, data and deletion planned, approved and followed.
Confirmatory analysis
The planned test, run as written, with the right unit and a test that respects the design.
Exploration
Labeled as such, and never promoted to a finding.
Reproducibility
Code another group reran to the same numbers.
Interpretation
Claims no larger than the evidence, with what would change them.
Communication
A report and a talk another lab could build on.