Lecture 01 - A simple linear classifier
MachineLearningCourse.Lecture01 — Module
Lecture01A simple linear classifier.
Available Functions
demo(a=nothing): Simple demo for 2x2 pixel symbol recognition
Usage
using MachineLearningCourse
Lecture01.demo()MachineLearningCourse.Lecture01.demo — Function
demo(a=nothing)Simple demo for 2x2 pixel symbol recognition
Arguments
a: input vector of 4 real numbers. If not provided, random values between 0 and 1 are used.
Usage
# Run with random input
demo()
# Run with specific 2x2 pixel intensities arranged as [top-left, top-right, bottom-left, bottom-right]
demo([0.8, 0.2, 0.1, 0.9])The demo implements a simple linear classifier that takes an input representing pixel intensities to identify either symbol ⟋ or ⟍ .