Algorithm3 Enhance K-Means Clustering Performance with PCA! / K-평균 알고리즘에 PCA 활용하기! While K-Means Clustering is a popular choice, it can sometimes struggle with high-dimensional datasets. PCA can be a valuable tool in such cases, as it helps us focus on the most important factors and improve the algorithm's efficiency. As can be seen in the figure above, K-Means Clustering wasn't able to effectively group data points in my dataset. To address this, I implemented Principal Compo.. 2024. 5. 29. AI Study : Logic Gates in Linear Perceptron Algorithm(3D graphs) / 선형 퍼셉트론 회로 Let's understand Logic Gates in Linear Perceptron Algorithm by plotting. We can learn how to visualize these gates by 3D graphs. 3D graph를 그려서 선형 퍼셉트론 회로들을 이해해보고자 한다. Linear Perceptron : OR , AND gates OR gate def OR(x1, x2): a1, a2, b=0.3, 0.3, 0.4 delta=0.5 y=a1*x1+a2*x2+b if y< delta: return 0 else: return 1 * Let's explore this logic further with the help of a plot. CODE import numpy as np i.. 2024. 4. 7. C Programming : Concept of Pointer (1) / C언어 포인터 개념의 기초 A pointer contains the memory address of another variable. It points to the memory address, which is why it's called a pointer. 포인터는 메모리 주소를 저장한다. 메모리 주소를 가리킨다(points to)고 생각하면 된다. #include int main() { int a=5; int *pointer; pointer =&a; printf("%p\n", &a); printf("%p\n", pointer); return 0; } OUTPUT 0x16af43168 0x16af43168 int *pointer; Use '*' to declare an integer pointer variable. *를 이용해 in.. 2024. 3. 17. 이전 1 다음