A.I, Data and Software Engineering

Categorydata science

K-Means vs K-Nearest neighbours quick note

petamind

These are completely different methods in machine learning. The fact that they both have the letter K in their name is a coincidence. K-means is a clustering algorithm that tries to partition a set of points into K sets (clusters) such that the points in each cluster tend to be near each other. It is unsupervised because the points have no external classification. The typical k-means...

Lasso vs Ridge vs Elastic Net – Machine learning

petamind

Lasso, Ridge, and Elastic Net are excellent methods to improve the performance of your linear model. This post will summarise the usage of these regularization techniques. Bias: Biases are the underlying assumptions that are made by data to simplify the target function. Bias does help us generalize the data better and make the model less sensitive to single data points. It also decreases the...

How to Setup SSH Tunneling in Mac OS (or Ubuntu)

petamind

When working with Jupyter notebooks on AWS, I want to interact with it directly in my browsers. In order to do so, we may need to create an SSH tunnel from our laptop to the remote server. If you are using a Macbook, you can easily do so using the default Terminal application available in the Mac OS. Yes, we do not have to install any other application for doing so, as we do in Windows. If you...

Understanding Latent Dirichlet Allocation (LDA)

petamind

Imagine a large law firm takes over a smaller law firm and tries to identify the documents corresponding to different types of cases such as civil or criminal cases which the smaller firm has dealt or is currently dealing with. The presumption is that the documents are not already classified by the smaller law firm. An intuitive way of identifying the documents in such situations is to look for...

Play with computer vision using teachable machine

petamind

Nowadays, with the existing tools, creating an AI application is not so complicated. In this post, I will quickly show how easy you can make a computer vision project within 10 minutes. Steps Create a computer vision project in Teachable machinePrepare some images of different classes, e.g. cup, people, hand.Upload photos and train the modelDownload the model and integrate to your website (web...

A.I, Data and Software Engineering

PetaMinds focuses on developing the coolest topics in data science, A.I, and programming, and make them so digestible for everyone to learn and create amazing applications in a short time.

Categories