전체 글(27)
-
Automated Test
A piece of code which makes sure that another piece of code is working correctly under a certain condition. To write an automated test in Django, you typically define a test case class that extends the django.test.TestCase class. You then write methods in your test case class that define the tests you want to run. This is an example code : from django.test import TestCase from django.urls import..
2023.04.18 -
What is "Curse of dimensionality"
In the context of data mining, the curse of dimensionality refers to the fact as the number of features and dimensions in a dataset increases, the amount of data required to accurately represent the distribution of the data increases exponentially, making it difficult to extract useful patterns and relationship from the data. For example, in a dataset with only two features, it may be relatively..
2023.03.08 -
Difference between KNN and LVQ
KNN (K-Nearest Neighbors) and LVQ (Learning Vector Quantization) are both popular machine learning algorithms for classification tasks, but they differ in their approach and methodology. KNN is a non-parametric and lazy learning algorithm, which means that it does not make any assumptions about the underlying distribution of the data and does not learn a model from the training data. Instead, KN..
2023.03.07 -
What is PCA?
PCA stands for Principal Component Analysis. It is a commonly used technique in machine learning and data analysis for reducing the dimensionality of a dataset while preserving as much of the variance in the data as possible. In simple terms, PCA helps to identify patterns and relationships in a dataset by transforming the data into a new coordinate system, where each new dimension (called a pri..
2023.03.07 -
Practice of MLP question
Question : In an MLP which has a single hidden layer with, let's say 10 neurons, and that the network is being trained for 1000 iterations. What is the total number of weights in this MLP? Solution : In an MLP with a single hidden layer and 10 neurons, the total number of weights is the sum of the weights connecting the input layer to the hidden layer and the weights connecting the hidden layer ..
2023.03.07 -
What is ROC?
ROC stands for Receiver Operating Characteristic. It is a graphical representation that illustrates the performance of a binary classification model. The ROC curve plots the true positive rate (TPR) against the false positive rate (FPR) at various threshold settings. The true positive rate (TPR) is also called sensitivity, recall or hit rate and it is the proportion of actual positive cases that..
2023.03.07