ML-For-Beginners
12 weeks, 26 lessons, 52 quizzes, classic Machine Learning for all
- 92k
- Jupyter Notebook
- MIT
- 2 wk ago
Today I Learned π
Repo benthecoder/til, read from GitHub 1 min ago. benthecoder has not joined Take My Repo.
benthecoder/til is a public repo on GitHub by benthecoder. Today I Learned π. It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it. It has 7 stars and last changed on 2023-02-25. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-22.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
Other TILs on the internet
shlex.split() - Split the string s using shell-like syntaxprint(f"{var!r}") - !r calls repr instead of strLinks π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
model.predict()) -> deploy to AWS lambdaLinks π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
s = !wc -l {TRAIN_PATH}n_rows = int(s[0].split(' ')[0])+1Links π
Links π
Links π
.gitignore work for files that have been commited, do git rm -rf --cached .aws configure --profile {profile_name}Links π
Links π
Links π
Links π
nohup tar -zxvf {tar_file} & to expand tar files
nohup - makes program ignore HUP signal, allowing it to run after user logs out& - related to shell job control, allowing users to continue work in curreent shell sessiontop - shows running processesps -ef | grep {process_name} - grab specific processkill -9 {pid} to kill processLinks π
= vs LIKE
DATE_PART('year', {date_column}::DATE) - returns year of dateROUND(division_res::DECIMAL, 2) ROUND requires type to be numeric, division is type double, cast to DECIMAL for it to workGROUP BY 1 - group by first columnCOUNT(CASE WHEN event_type = 'click' THEN 1 ELSE NULL END)SUM(CASE WHEN event_type = 'click' THEN 1 ELSE 0 END)SUM(1) FILTER (WHERE event_type = 'click')INTERVAL
texts.action_date = emails.signup_date + INTERVAL '1 day'Links π
Links π
Links π
git gc when facing hangups in git pushLinks π
R CMD build to build R packagesR CMD install to install R packagestempdir() to create temporary directory tempfile() to create temporary fileLinks π
Links π
np.where for logical conditionsnp.select for 2+ logical conditionsLinks π
-1000x faster data manipulation: vectorizing with Pandas and Numpy
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
"type" : 0" takes 9 bytes to represent single byte (4 for key, 2 for quotes, 1 for colon, 1 for comma)"timestamp" : 1666295748665 takes 27 bytes when it could just be 95748665Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
CountVectorizer(analyzer="char", ngram_range= (2, 3)) helps capture more information and context and makes it more robust against spelling errors as it looks at characterssudo /etc/hostssudo dscacheutil -flushcacheLinks π
Links π
Links π
Links π
assert_frame_equal to check if two dataframes are equalnp.isclose to check if two arrays are closeinfer_schemainfer_schema on steroies)Links π
model <- lm(score ~ hours + intelligence, data = mydata) where score is the dependent variable, hours is the independent variable, and intelligence is the covariate.Links π
Links π
Links π
Links π
Links π
Links π
Links π
Links π
from functools import cache and @cache allows you to cache the result of a function call, so that if you call the function with the same arguments, it will return the cached result instead of recomputing it.@lru_cache (least recently used cache) that only saves up to the maxsize most recent calls. It can save time when an expensive or I/O bound function is periodically called with the same arguments.Links π
benthecoder/til is a public repo on GitHub by benthecoder. Today I Learned π.
It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it.
Its maker tagged it for macOS, Windows and Linux, or as Docker or cross-platform. That is declared by the maker; Take My Repo has not tested it.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2023-02-25. GitHub counts 0 open issues and pull requests. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.

12 weeks, 26 lessons, 52 quizzes, classic Machine Learning for all

Learn how to develop, deploy and iterate on production-grade ML applications.

scikit-learn: machine learning in Python
Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:

The 30 Days of Python programming challenge is a step-by-step guide to learn the Python programming language in 30 days. This challenge may take more than 100 days. Follow your own pace. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
A comprehensive list of 180+ YouTube Channels for Data Science, Data Engineering, Machine Learning, Deep learning, Computer Science, programming, software engineering, etc.
Blogs on Machine Learning and Deep learning

My Code Repository for Coursera Data Science Specialization by John Hopkins University
This page is also available as structured data, with the same sources and dates.
/api/v1/resources/gh/benthecoder/tilTake My Repo has not tested this on your machine. Requirements come from the project's own documentation.