A.I, Data and Software Engineering

CategoryProject

Constraints with Android Worker

petamind

Sometimes, we want our app to perform some background tasks under certain conditions, such as Battery level or network etc. With Worker and Constraints, we can conveniently achieve that. The example problem A worker class that prints a message to the console. class MyWorker(context: Context, params: WorkerParameters): Worker(context,params) { override fun doWork(): Result { Log.i(LOG_TAG...

Advanced Keras – Custom loss functions

petamind

When working on machine learning problems, sometimes you want to construct your own custom loss function(s). This article will introduce abstract Keras backend for that purpose. Keras loss functions From Keras loss documentation, there are several built-in loss functions, e.g. mean_absolute_percentage_error, cosine_proximity, kullback_leibler_divergence etc. When compiling a Keras model, we often...

Celebrating 6k+ Stack overflow

It has been a while since I joined Stack Overflow. As a programmer, I would like to acknowledge the creators and all contributors to the website. It has been an awesome resource for developers and other fields of interest. Stack Overflow is a question-and-answer site for professional and enthusiast programmers. It is a privately-held website, the flagship site of the Stack Exchange...

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...

How to Write a Research Question

petamind

The research question, if correctly completed, will help you to set out what it is that you want to answer. This can help you make a plan for your research, but might also help you to foresee any potential challenges or problems. This will save you time, energy, and effort. Therefore, it is extremely important for ones who pursuit research careers, such as PhD, Analysts, or R&D. What is a...

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