Fourier Analysis-Algorithms that enrich our daily lives

Fourier analysis is a mathematical technique that represents complex signals as the sum of simple waves (sine and cosine waves) with different frequencies. Why is it important? Basic Concept Let’s take a complex waveform as an example and compare it to the timbre of a piano sound. A piano’s timbre is created by multiple strings vibrating at different… Read More »

Trigonometric Functions

Lengths and ratios of right-angled triangles (Basic knowledge) Trigonometric functions (sin, cos, tan, etc.) are frequently used in machine learning as tools to effectively work with angles, periods, rotations, and positions. Once the angles of a right triangle are determined, the ratio is also determined. Commercially available set squares have well-known trigonometric ratios. As shown in the figure,… Read More »

Logistic Regression Algorithm 

Logistic regression is a machine learning algorithm used to solve classification problems. It’s particularly well-suited for binary classification (problems where the outcome is either 0 or 1). For example, it’s appropriate for predicting whether an email is spam or not, or if a customer will purchase a product. 1. Basic Idea of Logistic Regression Logistic regression uses a… Read More »

Basic usage of NumPy

1. Importing NumPy To use NumPy, write import numpy as np at the beginning of your program. np is a conventionally used alias. 2. Creating NumPy Arrays The core of NumPy is the ndarray (n-dimensional array). You can create arrays in various ways. From Lists: zeros, ones, empty: arange, linspace random 3. NumPy Array Attributes NumPy arrays have… Read More »

 SymPy basic usage

1. Defining Symbols To work with expressions in SymPy, you need to define variables (symbols). Use the symbols() function. 2. Creating and Displaying Expressions Create expressions using the defined symbols. 3. Evaluating Expressions (Substitution) Use the subs() method to substitute values for symbols and evaluate the expression. 4. Expanding and Factoring Expressions Expanding: Use the expand() function. Factoring:… Read More »