To evaluate the performance of a trained machine learning model, we would have to test it on a dataset that it hasn’t seen before. But sometimes there’s just not enough data that would make a sizeable chunk just for testing. A common practice to solve this problem is by holding off a part of theContinue reading “Resampling Methods: Splitting and k-Folds”
Amazon Web Services provides a Python SDK called boto3 to programmatically perform actions to our AWS cloud resources such as EC2 instances and S3 buckets. This means that we can build an external front-end application that users interact with (instead of giving access to AWS), and then build the back-end integration with AWS using theContinue reading “Authorize access to AWS using boto3”
Next to linear search, binary search is arguably the simplest to implement among the many search algorithms. Binary search can be summarized with the following rules: The list in which we are performing the search should be sorted beforehand. If the value being searched is less than the value in the middle of the list,Continue reading “Two ways to implement Binary Search in Python”
The exponent says how many times to multiply a number. Example: 25 = 32 The exponent here is 5. The logarithm says what exponent was used to multiply a number in order to get another number. Example: log2(32) = 5 5 is the exponent that was used to multiply 2 to get 32. Exponent andContinue reading “What is the relationship between exponent and logarithm?”
A loss function is a function that calculates the difference between an estimate and the true value of some data. In machine learning, it is often called the “cost function” – a calculation of the cost of the prediction of a machine learning algorithm from some target value. It is used in optimization problems whereContinue reading “What is a loss function?”
Something went wrong. Please refresh the page and/or try again.
I aim to blog about concepts that I actually use for machine learning, data analysis, cloud infrastructure, or general programming. This page contains a collection of my tech guides or lessons that hopefully someone might find useful.
Subscribe to My Blog
Get new content delivered directly to your inbox.