Skip to content
Bath, Somerset

Coding classes in Bath

What are the best coding classes in Bath?

Bath and North East Somerset had 193,409 usual residents at the 2021 census, and 25.2% of those aged five and over were students, against 20.4% in England. The city's World Heritage office says Bath was inscribed as a World Heritage Site in 1987 and again in 2021 as one of the Great Spa Towns of Europe. We teach Bath learners aged six to sixty-seven from India over live video, in a group of five to ten at the same level or one to one, at times that suit the UK day. The first lesson is free, and after that a group place is USD 100 a month and private lessons USD 150.

Jane Austen set parts of two novels in Bath: Northanger Abbey names the city 83 times and Persuasion 99. Do they sound alike? Our teenagers turn each of six Austen novels into a vector of word counts and measure the angle between them, cosine similarity. With raw counts, every pair scores above 0.97, because "the" and "and" swamp everything. With TF-IDF, which weights words by how rare they are, every pair falls below 0.05, because character names dominate. Only when names are removed do themes appear: the Bath pair rises to fourth of fifteen, joined by "pump", "concert" and "buildings", and Persuasion's nearest neighbour becomes Mansfield Park, through its sailors and navy.

Facts last verified 23 September 2026. Teaching is online; no Bath branch is claimed.

Course picks for Bath

Four courses for the spa city

Pick the course closest to what the learner already loves. A free live lesson opens each one, and booking it never needs payment details.

Browse the course atlas for more than one hundred options and use the coding roadmap to check prerequisites.

The four we are known for

Python, AI, vibe coding and agentic coding

These run underneath everything above. Every one is live and online, placed by ability rather than by age, and the first class is free.

Bath today

A student city inside a wider district

Census 2021 figures for Bath and North East Somerset, which includes Keynsham, Midsomer Norton and Radstock as well as Bath, and for two middle-layer areas of the city named by the House of Commons Library, from the Office for National Statistics on Nomis.

Bath and North East Somerset and two Bath areas, Census 2021
AreaUsual residentsStudents among those aged 5 and overResidents per square kilometre
Bath and North East Somerset193,40925.2%559.2
Central Bath and Lansdown10,99825.2%2,928.0
Oldfield Park East5,97942.3%6,215.8
England56,490,04820.4%433.5

Teenagers and students

Across the district, 7.6% of residents were aged 15 to 19 and 9.6% were aged 20 to 24, against 5.7% and 6.0% in England.

A student neighbourhood

In Oldfield Park East, 2,432 of the 5,747 residents aged five and over were students, 42.3%, in an area of 6,215.8 people per square kilometre.

Households and halls

District-wide, 185,438 people lived in households and 7,971 in communal establishments such as student halls; 46,409 of the 184,389 aged five and over were in study.

Our Bath classes bring that mix together. A Year 3 child in Combe Down might be building a first game, a Year 13 student in Widcombe finishing an A level project, and an adult in Keynsham learning Python for their job, each in a small group at the right level.

Roman and Georgian

Twice a World Heritage Site

From the council's World Heritage and Roman Baths websites, and Historic England's open listing data.

1987

The City of Bath was inscribed as a World Heritage Site. Bath's World Heritage office describes it as rare in having two UNESCO inscriptions.

24 July 2021

The Great Spa Towns of Europe were inscribed on the World Heritage List, with Bath among them, giving the city its second inscription.

Sulis Minerva

The Roman Baths calls the gilt bronze head of the goddess Sulis Minerva one of the treasures of Roman Britain, part of a collection of thousands of finds.

Historic England lists the Grand Pump Room, the Assembly Rooms, the thirty houses of the Royal Crescent and Bath Abbey at Grade I. The Pump Room turns up in our project too: "pump" is the most distinctive word in Northanger Abbey once names are removed, almost all of it from the novel's 23 mentions of the pump-room, and one of the words it shares with Persuasion. We have no connection with Bath and North East Somerset Council, the Roman Baths, Historic England or Project Gutenberg.

Where the novels come from

Project Gutenberg publishes all six novels as free plain text. They were transcribed by different volunteers from different printed editions, which, as the project found, matters more than you might expect.

Signature project

Do Austen's two Bath novels sound alike?

Turn each novel into a list of word counts, treat the list as an arrow in a space with one direction per word, and measure the angle between two arrows. A cosine of 1 means the same direction; 0 means nothing in common.

Cosine similarity between six Austen novels (15 pairs), spellings normalised, under four ways of counting words
How words are countedClosest pairNorthanger Abbey and Persuasion
Raw counts of every wordNorthanger Abbey and Mansfield Park, 0.9850.977, 11th of 15
100 most common words removedNorthanger Abbey and Pride and Prejudice, 0.6480.596, 12th of 15
TF-IDF weightingNorthanger Abbey and Pride and Prejudice, 0.0460.003, 7th of 15
TF-IDF, name-like words removedPersuasion and Mansfield Park, 0.1240.073, 4th of 15

1. Count the words

Strip the Gutenberg front and back matter, split each book into words and count them. Northanger Abbey has 78,305 words by our rule; Emma has 162,099.

2. Weight the words

TF-IDF multiplies each count by how rare the word is across the six books. A word in all six scores zero; a name found in one book scores highest.

3. Remove the names

Words capitalised in at least nine out of ten mid-sentence uses are treated as names: 355 of them. The rule is imperfect; it missed Grant, a family in Mansfield Park.

The editions were talking, not Austen

Our first run put Persuasion and Mansfield Park far ahead at 0.156, with "shewn", "connexion" and "everything" among the words linking them. Those are spelling choices: the Gutenberg Emma writes "every thing" 107 times and "everything" never, while Northanger Abbey uses modern "show" throughout. Normalising the spellings cut the pair to 0.124. It stayed closest, but now through sailor, navy, baronet and naval, which is at least a real connection between two books with naval officers in them.

The two Bath novels never become the closest pair. Their strongest shared words, pump, concert and buildings, are Bath life itself, and the city's name appears 83 times in Northanger Abbey and 99 in Persuasion, 76 of them in its second half, chapters 13 to 24. Setting alone does not make two books similar; the plots, the characters and even the spelling of the edition pull harder.

Text as vectors

Five decisions before comparing any two documents

Learned on Austen, then used in search engines, plagiarism checks, recommendation systems and the embeddings behind modern AI tools.

Choices that decide what "similar" means
DecisionFor the six novelsWhat goes wrong if you skip it
What is in the file?Gutenberg front and back matter removedLicence text counted as Austen
Are the spellings consistent?shew, connexion, every thing normalisedEditors' habits read as the author's
Which words carry meaning?Most common words removed or down-weightedEvery book looks the same
Should names count?Removed by a stated, imperfect ruleEvery book looks unique
What is the question?Which pairs share themes, not plotsA number with no meaning attached

The fourth row is a judgement call. Names are what make a novel itself, so keeping them is defensible if the question is about stories. Removing them is right if the question is about themes and style. The honest report states which question it answers and shows the numbers both ways.

Younger learners

Counting favourite words in two stories and drawing them as arrows, to see which stories point the same way.

Teenagers

Six novels in Python, word vectors, TF-IDF and cosine similarity, with the name rule and spelling fixes tested step by step.

Adults

Comparing documents at work, from duplicate reports to similar enquiries, with every cleaning step written down.

We have no connection with Bath and North East Somerset Council, the Roman Baths, Historic England or Project Gutenberg. The novels are in the public domain and the census and listing data are open; the vectors, similarities and word lists on this page are our own work.

Learning ladder

From counting words to cosine similarity

The age bands give a rough idea; the free lesson finds the right starting level.

Ages 6 to 10

Words and stories

Counting words in two short stories and deciding, with reasons, which stories are most alike.

Scratch Coding for KidsProblem Solving and Computational Thinking for Kids
Ages 11 to 13

Counts in code

Counting every word in a chapter with a Python dictionary and listing the most common ones.

Python and AI for KidsMaths Through Coding
Ages 14 to 18

Vectors and angles

Word vectors, TF-IDF and cosine similarity on whole novels, with each cleaning choice tested.

Python for TeensAI and Machine Learning for Teens
Ages 18 to 67

Documents at work

Finding similar and duplicate documents in real collections, with the rules behind every match explained.

Python Automation CourseData Science Course
Coding and AI

AI tools compare text with embeddings. Why should a Bath teenager count Austen's words by hand?

Because embeddings are still vectors compared by cosine similarity, and they inherit every quirk of the text they were built from.

Modern search and chat tools turn text into vectors and compare them with the same cosine measure used here. A learner who has watched spelling habits of old editions pull two novels together knows that a similarity score can reflect how a text was copied, not what it means, and will check before trusting one.

The name problem is just as real in AI. Systems that match documents often latch onto names and places rather than ideas, much as TF-IDF did with Austen's characters. Seeing that happen on six familiar books makes it easy to spot in a far larger system.

So a Bath teenager should still learn to program in 2026, in the city of the pump-room Austen wrote about: machines can compare millions of documents, but someone has to ask what the similarity is really measuring. The longer argument is in why coding is worth learning in 2026.

Delivery

Oldfield Park, Weston or Keynsham, right at home

The district runs from the city's terraces out to Keynsham, Midsomer Norton and Radstock. Online, every one of them is next to the lesson.

City and valleys

A learner in Twerton and another in Radstock can share a class without a drive into the centre or a hunt for parking.

English school stages

We teach to the stages used in Bath schools, from Reception and Key Stages 1 to 4 through GCSE and A level, entirely in English.

A proper first lesson

The free session is a full lesson on a real task and finishes with a recommended level, course and weekly time. We never take card details.

Groups by stage

Five to ten learners at the same level, from Bath, the rest of the UK and abroad, which keeps sensible times available for every stage.

Twice every week

Two regular lessons a week, about eight a month, with holidays and exam weeks agreed with the teacher well in advance.

Evening in Bath, night in India

A 5 pm lesson in Bath starts at 9.30 pm in India while British Summer Time runs and 10.30 pm in winter, since India has one time all year; our teachers work late for UK families.

Around Bath and Bristol

Families in Bristol, Chippenham, Frome or Trowbridge join exactly the same classes, because every group is online and set by level.

Fees

Bath lesson fees

A free first lesson, then a single monthly fee.

First classUSD 0

A full lesson at no cost, finishing with our advice on level, course and a weekly time.

Group tuitionUSD 100

About eight live lessons a month in a group of five to ten learners at one stage.

Private tuitionUSD 150

About eight live lessons a month, with the teacher attending to your learner alone.

A Lansdown family pays in US dollars like every family outside India, and there are no pound prices anywhere on the site. The free lesson always comes first, with billing only after a course and a weekly time are agreed; the pricing page sets out pausing, missed lessons and changing between a group and private teaching.

Reviews

Six family reviews from Google, just as written

Rated 4.9 across 547 Google reviews. These are real reviews, reproduced as written.

★★★★★

"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."

Ria Mukherjee

Parent

★★★★★

"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."

Samriddha Mondal

Student

★★★★★

"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."

Vansh Agarwal

Student

★★★★★

"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."

Sonam Oswal

Parent of Dhairya

★★★★★

"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."

Sonu Goyal

Parent

★★★★★

"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."

Ritu Kedia

Parent

Free placement class

Book a free lesson for a Bath learner

The first task depends on the learner: a word-counting game with two short stories for a young child, a Python program that counts the words in a chapter for a beginner, or six Austen novels and cosine similarity for a teenager ready for real text.

+44

FAQ

Bath coding class questions

What Bath families ask us most often.

How many people live in Bath and North East Somerset?

Census 2021 counted 193,409 usual residents in Bath and North East Somerset, the council area that includes Bath, with 185,438 in households and 7,971 in communal establishments.

How does Bath compare with England?

It has many students and young people: 25.2% of residents aged five and over were in study in 2021 (England 20.4%), and 9.6% were aged 20 to 24 (England 6.0%). In Oldfield Park East, 42.3% of residents aged five and over were students.

What is cosine similarity?

A way of comparing two lists of numbers by the angle between them when they are drawn as arrows. For texts, each list holds word counts; a score near 1 means the texts use words in similar proportions, and a score near 0 means they share little.

Are Northanger Abbey and Persuasion the most similar Austen novels?

Not by our measures. With names removed and spellings normalised, they are the fourth closest of fifteen pairs, linked by words such as pump, concert and buildings. Persuasion comes closest to Mansfield Park.

Where do the novels come from?

From Project Gutenberg's free plain-text editions of six Austen novels, with the Gutenberg front and back matter removed before counting.

Why is Bath a World Heritage Site twice?

Bath's World Heritage office says the City of Bath was inscribed in 1987, and that Bath received a second inscription in 2021 as one of the Great Spa Towns of Europe. We are not connected with the council or its World Heritage office.

When do Bath lessons happen?

Bath families can pick an after-school slot, a weekday evening or a weekend, and we set the exact UK time in the free lesson. India is four and a half hours ahead of Bath in summer and five and a half in winter.

Is there anywhere in Bath to visit you?

No. We have no Bath centre and no premises anywhere in the UK, since every lesson is live online. A learner needs a computer with sound and a good connection, and our phone number is Indian.

How much do lessons cost for a Bath learner?

The first lesson is free. After it, a group place is USD 100 a month for two live lessons a week, about eight a month, with five to ten learners, and one-to-one teaching on the same timetable is USD 150 a month. No charge is made before the course, format and time are agreed.

How are learners grouped?

By level, pace and goals rather than age or where they live, with five to ten learners at one stage in each group. If no group fits the learner's week, we offer one-to-one lessons.

Explore England and the UK

The West Country and beyond

Down the road, the Bristol page draws a Voronoi diagram showing which library is nearest to each part of the city, and in Canterbury learners count the words in Chaucer and find the answer depends on what a word is. York measures how surprising its street names are. The England guide explains school stages, and the UK coding page links every other city.

Free Bath classCall +91 91233 66161

Keep exploring Modern Age Coders

Coding classes in nearby cities

Learn more

Free resources

From the blog

Start here