SMSUBITSHA Mineverthingaboutdata.hashnode.dev·Oct 23, 2023 · 1 min readCost Function in Linear RegressionIn linear regression, the cost function, also known as the loss function or the mean squared error (MSE) function, is used to measure the error or the dissimilarity between the predicted values and the actual target values. The goal of linear regress...00
SMSUBITSHA Mineverthingaboutdata.hashnode.dev·Sep 24, 2023 · 2 min readExplore some basic definition of AI and its subsetsArtificial Intelligence (AI): AI refers to the simulation of human intelligence in machines that are programmed to think and learn like humans. It encompasses a wide range of techniques and technologies aimed at enabling computers to perform tasks th...00
SMSUBITSHA Minsubidsa.hashnode.dev·Aug 6, 2023 · 1 min readInsertion Sort AlgorithmInsertion Sort is a simple sorting algorithm that builds the final sorted array one item at a time. It is much less efficient on large lists compared to more advanced algorithms like Merge Sort or Quick Sort, but it performs well for small lists or p...00
SMSUBITSHA Minsubidsa.hashnode.dev·Jul 31, 2023 · 1 min readSelection Sort AlgorithmSelection sorting is like organizing a group of numbers from the smallest to the largest. It starts by finding the largest number in the group and putting it last index. Then, it looks for the next smallest number and puts it next to the first one. T...00
SMSUBITSHA Minsubidsa.hashnode.dev·Jul 31, 2023 · 3 min readBubble Sort AlgorithmThe bubble sorting algorithm is an in-place sorting algorithm, where a comparison is made to sort the array. Example: Let's say we have an unsorted list of numbers: [5, 2, 9, 1, 5, 6] Step 1: In the first pass, we start comparing adjacent elements fr...00