commit 96a72055277e638550c4fd7c6b55324ef3ac877e
parent 556f1b3b849c33ba6075fb70a8ad9134e5f6949c
Author: Andrew Laack <andrew@laack.co>
Date: Sun, 24 May 2026 15:13:27 -0500
Updated formatting, nvim notes
Diffstat:
7 files changed, 39 insertions(+), 10 deletions(-)
diff --git a/docs/EquationOfAPlane.md b/docs/EquationOfAPlane.md
@@ -2,8 +2,6 @@
Khan
-
-
**Definition:** The equation of a plane is the equation that defines all points on the plane as a combination of n variables where n is the number of dimensions we are in. This is the definition of plane when in 3d space and a hyperplane in higher dimensions.
### Plane Formula
diff --git a/docs/EquivalenceClass.md b/docs/EquivalenceClass.md
@@ -2,8 +2,6 @@
AM W14 Video
-
-
**Definition:** An equivalence class is a subset of a set relation that describes a given output and all elements of the sort denoted by [X].
A simple example of this is the mod 5 relation. There are only five values that can result from mod 5 for the set $\Z$ being 0,1,2,3, and 4. Each of these can be defined as its own equivalence class denoted by [0], [1], [2], [3], and [4]. For a class to be an equivalence class, the relation must be an equivalence relation. Additionally we know [0] = [5] = [10] and no two sets are equivalent to each other. The final interesting thing is that the intersection between any of these sets is always the null set.
diff --git a/docs/EquivalenceRelation.md b/docs/EquivalenceRelation.md
@@ -2,6 +2,4 @@
Ch 9.5
-
-
**Definition:** An equivalence relation is a relation that is reflexive (xRx), symmetric (xRy -> yRx), and transitive (xRy and yRz -> xRz).
diff --git a/docs/LatentSpace.md b/docs/LatentSpace.md
@@ -2,8 +2,6 @@
SS
-
-
**Definition:** Latent space is a lower dimensional embedding space used to represent higher dimensional information.
Think of using an autoencoder to embed high dim data into lower dimensions. This ties in more generally with dimensionallity reduction as well.
diff --git a/docs/OfflineLearning.md b/docs/OfflineLearning.md
@@ -1,8 +1,7 @@
+# Offline Learning
ML CH1
-
-
**Definition:** Offline learning is the process of learning and then implementing the learned behavior where the model can not learn incrementally. This is also referred to as batch learning.
Think of alphago. It was trained to play go, then the agent was sent out to enact the policy not to learn more when playing real people.
diff --git a/docs/Software.md b/docs/Software.md
@@ -17,6 +17,7 @@ Software and software related concepts. Focused on free software and primitives.
### Terminal
- VIM / VI
+- [nvim](nvim.md)
- [qrencode](Qrencode.md)
## Isolation
diff --git a/docs/nvim.md b/docs/nvim.md
@@ -0,0 +1,37 @@
+# nvim (neovim)
+
+**Source:** [https://github.com/neovim/neovim/](https://github.com/neovim/neovim/)
+
+**Definition:** Neovim is a modal text editor based on vim, but extended to have a Lua plugin system, and other useful features.
+
+## Plugins
+
+### Structure
+
+#### Basic Directory Structure
+
+```
+│ flashcards.nvim
+├── lua
+│ └── flashcards
+│ └── init.lua
+│ └── other.lua
+└── plugin
+ └── init.lua
+```
+
+plugin/init.lua, and any other .lua files in the plugin directory, will be executed on startup if the plugin directory is added to the runtimepath.
+
+To execute anything in the lua/ directory it must be called using a "require()" statement. In the case of the flashcard plugin, assuming the plugin is on the runtimepath, we can run:
+
+`lua require"flashcards"`
+
+The `init.lua` filename is special as it is implied by specifying a directory name on the runtimepath, but we can be explicit in calling it using:
+
+`lua require"flashcards.init`
+
+There isn't a reason to do that though. In the case of the `other.lua` file we require it as follows:
+
+`lua require"flashcards.other`
+
+The specification of the keyword `lua` at the beginning of the above commands is only necessary when executed from within neovim. If it is being called from another lua function the keyword should be dropped.