Basis Lab

Courses written for you

An AI Tutor optimized for your learning.

Existing AI services are not optimized for learning but for running tasks. Basis Lab fills that gap by offering the most optimized learning experience by leveraging AI to it's fullest potential. Simply tell Basis Lab what you want to learn. It writes an interactive course at your level, personalized for you, so you can learn at lightning speed.

Algorithms from scratch · Lesson 3 of 10try it

Binary search

To find a number in a sorted list, look at the middle, and .

One level in

Think of guessing a secret number from 1 to 16, told only “higher” or “lower”. Guess the middle and half the numbers are gone. After four guesses, only one is left.

start16 leftguess 88 leftguess 123 leftguess 101 left
The secret is 11. Each guess halves what is still possible.

So even a million items takes only 20 guesses, where checking one by one could take a million.

Ask about anything. Go as deep as you need.

Every point in a lesson can be immedimately explored deeper. Ask the AI about it, dig into the answer, and keep going. It learns where you are strong and where you are shaky, and fills the gaps as you go.

Ask about any point

Highlight any sentence and ask your own question. The answer is written right there, for that exact point, using everything you have read so far.

Dig as deep as you want

Every answer can be opened again, and again. Each level sits under the one that raised it, so you never lose your place.

Practice that finds your gaps

Solve problems made on the spot for what you just read. The AI tracks what you have down and what you don't, then steers you to the parts that need work.

Built for learning hard technical subjects.

Every lesson comes with practice generated on demand, in whatever form fits the idea: problems, explanations, derivations, proofs, code and projects.

Which key gets the most weight?

k₁ · score 0.4
k₂ · score 1.1
k₃ · score −0.2

Interactive problems

Quick questions between paragraphs, checked the moment you answer.

“Big scores push the softmax toward one key, so the gradients get tiny…”

✓ Scores grow with d
✓ Softmax saturates
✗ Why √d, not d

Written explanations

Explain the idea in your own words and see exactly which points you missed.

Var(q·k) = Σ Var(qᵢkᵢ)
= d · 1 = d
std(q·k) = d

Line 3: the spread is the square root of d.

Math derivations

Each line is checked against the one before, so you see where it went wrong.

1. softmax(x + c) = softmax(x)
2. so shifting scores changes nothing
3. so scaling changes nothing?

Step 3 does not follow: scaling is not a shift.

Math proofs

Build the argument yourself. Gaps and unjustified steps are pointed out.

def attend(Q, K, V):
  s = Q @ K.T / sqrt(d)
  return softmax(s) @ V
● 3 passed● 1 failed: rows must sum to 1

Code

Write and run code in the lesson. It passes, or shows you the case that failed.

Project: a tiny transformer

1Token embeddings
2One attention head
3Train it on 1,000 lines of text

Mini projects

A small project for each lesson, so you put the idea to real use.

Not another chat window.

A general AI chat answers whatever you type, then forgets how you did. Basis Lab keeps learning about you. Every answer shows it what you have down and where you are shaky, and your lessons and practice change to close those gaps.

FeatureBasis LabGeneral AI chat
Learns your strengths and weak spots from every answer adaptive
Reshapes your lessons around the gaps it finds adaptive
Extra practice aimed at what you got wrong adaptive
Skips what you already know adaptive
A course planned around your goal and levelpartly
Ask about any sentence, answered in placepartly
Dig as deep as you want without losing your place
Figures drawn for each lessonpartly
Practice problems made for each lessonpartly
Math checked step by step, code run against tests
Progress kept across lessons and devicespartly
Built for learning11 of 110 of 11

Take one whole course before you pay.

No trial clock. Finish your first course, and pay only if you want the next one.

First course

$0
  • One complete course at your level
  • Open, ask and check without limits
  • Kept on your account
Start free

Monthly

$19/ month
  • As many courses as you want to take
  • Everything in the first course
  • Cancel any time from your account
Continue monthly

Yearly Save 57%

$99/ year
  • About $8.25 a month, billed once a year
  • As many courses as you want to take
  • Everything in the first course
Continue yearly