Index Ai Academy
Glossary · Phase 11 · Professional practice

Hash function

Also written: hash functions

A function that turns any amount of data into a short fixed-length code. The same data always gives the same code, and any change gives a different one.

"We used the March export" is not a data version. Files get fixed, re-exported and overwritten under the same name. What you want is a short code that changes whenever the content does. A hash function gives you one: it reads any amount of bytes and returns a fixed-length string, the hash or fingerprint. The same bytes always give the same hash. Change one character and the hash changes completely.

Try it now

The first cell's output, drawn. The outlined bar wins in each pair.

Learn it properly

Experiment tracking and reproducible runs · A run record of settings, seed, data and code behind every score, a run log in a dozen lines, and comparing settings across seeds. About 40 minutes.

Other terms from the same lesson

  • experiment tracking: Keeping a record of every training run, so results can be compared, reproduced and traced back to what produced them.
  • reproducible: Able to be run again with the same result. A training run is reproducible when its data, code, settings and seed are all recorded.
  • run record: What a training run writes down so its score can be checked: the parameters, the seed, the data version, the code version and the metrics.
Keep learning

More in plain English.

1286 terms in the glossary, each with the lesson that teaches it.

1286 terms

The glossary

Every word you'll meet in AI and machine learning, explained in everyday language.

Phase 11 · lesson 40 min

Experiment tracking and reproducible runs

A run record of settings, seed, data and code behind every score, a run log in a dozen lines, and comparing settings across seeds.

Never trained an AI? Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account. Teach it to write