Skip to content

Nathan Kjer

  • Posts
  • Media

Archives

Modeling the Impact of Global Conflicts using Trade Data

Posted on February 9, 2025 (February 9, 2025) by Nathan Kjer

In this post, we use international trade data to model the impact of a hypothetical invasion of Taiwan by China….

Read More

Tagged Feature Extraction, Plotting, Python2 Comments

Using Linear Programming for Value Investing

Posted on September 14, 2024 (September 14, 2024) by Nathan Kjer

Combined linear programming and value investing to optimize a $10,000 portfolio….

Read More

Tagged PythonLeave a comment

Make better choices with AI-assisted A/B testing

Posted on July 9, 2024 (July 9, 2024) by Nathan Kjer

In this post, I will show how to use A/B testing to rank thousands of qualitative items, made easier through automation by large language models (LLMs). The ELO algorithm The ELO algorithm, originally designed for ranking chess players, is a well known method for determining rankings through a series of head-to-head matches. The algorithm assigns…

Read More

Tagged PythonLeave a comment

A Comprehensive Guide to LangChain

Posted on April 4, 2023 (April 7, 2023) by Nathan Kjer

In this post, we will cover the basics of LangChain and guide you through its core components….

Read More

Tagged Machine Learning, Python2 Comments

Quantum Computing: Map Coloring via Grover’s Algorithm

Posted on January 17, 2023 (January 18, 2023) by Nathan Kjer

In this post, I demonstrate how Grover’s algorithm can be used to solve the Graph Coloring problem. …

Read More

Tagged grovers algorithm, map coloring, quantum computing, quantum programmingLeave a comment

Django Tutorial: Geotagging with LeafletJS

Posted on March 30, 2022 (November 9, 2023) by Nathan Kjer

In this post, I will create a web application that stores locations and plots them on a map. I will be using Django as the web framework, PostgreSQL to store the data, and LeafletJS to plot the points. Creating the base application This app is based on a starter project using the steps in this…

Read More

Tagged PythonLeave a comment

A Step-by-Step Guide to Building a Blockchain in Python

Posted on October 18, 2021 (January 18, 2023) by Nathan Kjer

Simple proof of work blockchain in Python in less than 100 lines of code…

Read More

Tagged Blockchain, PythonLeave a comment

A Step-by-Step Guide to Creating Physical PID Controllers in Python

Posted on July 18, 2020 (January 13, 2025) by Nathan Kjer

In this post, I cover how implement a PID controller using a DC power supply and an oscilloscope to generate arbitrary waveforms….

Read More

Tagged Instrumentation, Python1 Comment

Programming the DP800 DC Power Supply in Python

Posted on July 3, 2020 (July 3, 2020) by Nathan Kjer

This post is a part of a series of posts about instrumentation. Get the full code here. For setup details, see the original post. DC power supplies can be found in all kinds of different laboratory environments. Making supplies programmable improves the reproducibility of experiments. In this post, we will look at various features of…

Read More

Tagged InstrumentationLeave a comment

How to Program the DS1054Z Oscilloscope in Python

Posted on March 1, 2020 (January 18, 2023) by Nathan Kjer

This post shows how to program a Rigol DS1000Z series oscilloscope….

Read More

Tagged Instrumentation, PythonLeave a comment

  • « Previous
  • 1
  • 2
  • » Next

Nathan Kjer

Submarine theme