Cost 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...1 min read·everthingaboutdata.hashnode.devOct 23, 2023
Explore 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...2 min read·everthingaboutdata.hashnode.devSep 24, 2023
Insertion 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...1 min read·subidsa.hashnode.devAug 6, 2023
Selection 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...1 min read·subidsa.hashnode.devJul 31, 2023
Bubble 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...3 min read·subidsa.hashnode.devJul 31, 2023