mattHawthorn
Would-have-been mathematician who got sidetracked by writing software with a could-have-been-math flavor. Lead developer of @bourbaki-py suite of libraries.
Trilliant Health
Pinned Repositories
application
Command line apps - there should be one, and preferably only one, obvious way to do it
regex
Awesomely readable construction of arbitrarily complex regular expressions in pure Python
typing_inspect
Runtime inspection utilities for Python typing module
advent_of_code_2022
My solutions to the advent of code 2022 challenges
asciify
command line tool to turn images into ascii art
cacheproperty
A subclass of python's builtin property class that removes boilerplate by implementing the _hidden_attribute pattern with a single decorator call. Also facilitates invalidation of the cached hidden attribute with a `@cacheproperty.invalidate` decorator on any other methods or properties in a class.
carefree-automated-language-models
Tool to build efficient vector space and n-gram language models from a stream of arbitrarily-structured documents using builtin python data types. Never store a token more than once- always use an ID. Count n-grams with tries, not tables. Make everything easily configurable. Build a language model CALMly- spend your time thinking about preprocessing choices, not the implementation.
CongressPolarization
A project to visualize polarization and alliances in the US Congress throughout its history. Analysis with Python + pandas & numpy, storage with Sqlite3, visualization with d3.js/HTML/CSS.
sk-torch
A wrapper around pytorch module objects with a sklearn-like interface, allowing boilerplate-free training of complex neural nets.
mattHawthorn's Repositories
mattHawthorn/sk-torch
A wrapper around pytorch module objects with a sklearn-like interface, allowing boilerplate-free training of complex neural nets.
mattHawthorn/cacheproperty
A subclass of python's builtin property class that removes boilerplate by implementing the _hidden_attribute pattern with a single decorator call. Also facilitates invalidation of the cached hidden attribute with a `@cacheproperty.invalidate` decorator on any other methods or properties in a class.
mattHawthorn/advent_of_code_2022
My solutions to the advent of code 2022 challenges
mattHawthorn/asciify
command line tool to turn images into ascii art
mattHawthorn/carefree-automated-language-models
Tool to build efficient vector space and n-gram language models from a stream of arbitrarily-structured documents using builtin python data types. Never store a token more than once- always use an ID. Count n-grams with tries, not tables. Make everything easily configurable. Build a language model CALMly- spend your time thinking about preprocessing choices, not the implementation.
mattHawthorn/CongressPolarization
A project to visualize polarization and alliances in the US Congress throughout its history. Analysis with Python + pandas & numpy, storage with Sqlite3, visualization with d3.js/HTML/CSS.
mattHawthorn/ADHoCMLP
Almost-Done (Always Developing) Homebrew Categorical Multi-Layer Perceptron
mattHawthorn/advent_of_code_2021
Artistically crafted solutions to the Advent of Code 2021 problems with a consistent interface
mattHawthorn/advent_of_code_2023
My solutions to the advent of code 2023 challenges
mattHawthorn/CellsD3
A continuous-state 1-D cellular automaton implemented using D3.js.
mattHawthorn/cookiecutter-hypermodern-python
Hypermodern Python Cookiecutter
mattHawthorn/Corpus-Explorer
A tool for modeling a corpus with an LDA topic model and visualizing/searching the results in a Shiny app
mattHawthorn/datatable-vs-dataframe
Functions for simple benchmarking of data.frame vs data.table operations on identical inputs, with utilities for graphing the output
mattHawthorn/infixable
h = f |o>> g in Python, plus other neat functional tricks like h = f *o>> g and h = f **o>> g
mattHawthorn/math_genealogy_explorer
Eventual home of an interactive tool to explore the origin and evolution of mathematical ideas
mattHawthorn/matty_dotfiles
mattHawthorn/mystics_and_simpletons
How One Mathematician Dutifully Fulfills the Stereotype of Being Woefully Socially Inept
mattHawthorn/pandera
A light-weight, flexible, and expressive pandas data validation library
mattHawthorn/parray
framework for parallelized array ops in python
mattHawthorn/PianoTuner
A Python package for optimizing piano tuning sequences from a set of target pitches
mattHawthorn/python-human-regex
More understandable alternatives for Python regular expressions
mattHawthorn/TextMiningFinal
mattHawthorn/tuning_theory_talk
Paper wrapping up the content of a talk on the mathematics of tuning systems that I gave to the UofL Mathematics Club in 2014
mattHawthorn/typing_inspect
Runtime inspection utilities for Python typing module