When I started creating my first ever machine learning app, I decided to use CoreML instead of Tensorflow or PyTorch just because of the convenience. Not only was I able to understand the training a lot better, but also the deployment: Just throw it into Xcode and use the class which is created for the model. That’s it.However, factoring out your code and model into a library — … [Read more...] about How to include a Core ML model in a Swift Package
Machine Learning
Intro to Regularization With Ridge And Lasso Regression with Sklearn
Regularization With RidgeBoth problems related to bias and overfitting can be elegantly solved using Ridge and Lasso Regression. The equation for the line of best fit is still the same for the new two regressions:What is changed is the cost function. Both Ridge and Lasso Regression introduce a new hyperparameter to the OLS — 𝜆. Let’s first look at the cost function of … [Read more...] about Intro to Regularization With Ridge And Lasso Regression with Sklearn
Review of Healthcare AI/ML reporting in 2020: Information, Validation and Replication
A recap on ‘how to read healthcare publications about AI/ML’This reading guide written by Liu et al in the Journal of American Medicine gives a good overview of what to look out for in any literature source that uses machine learning methodology. These can be categorized broadly in 4 separate categories, with each category helping us understand different facets of the quality … [Read more...] about Review of Healthcare AI/ML reporting in 2020: Information, Validation and Replication
Differential Evolution Global Optimization With Python
Differential Evolution is a global optimization algorithm. It is a type of evolutionary algorithm and is related to other evolutionary algorithms such as the genetic algorithm. Unlike the genetic algorithm, it was specifically designed to operate upon vectors of real-valued numbers instead of bitstrings. Also unlike the genetic algorithm it uses vector operations like vector … [Read more...] about Differential Evolution Global Optimization With Python
Linear Regression: As simple as G&T
As you can see there is clearly a relationship between a patients age and their depression score. Now what if we want to describe this relationship objectively? I think we can agree that the relationship looks visually linear, but the exact equation of this linear relationship is unknown. In real life, it may be useful to predict a new patients depression score based on some … [Read more...] about Linear Regression: As simple as G&T
A Manager’s Word of Caution about Data Science & Machine Learning
Is it the answer to all your quests?Image credit: UnsplashJudgment has been the bedrock of decision-making ever since human beings started trading with each other. Today judgment is one of the primary attributes that differentiate a good manager from the not so good one. Even in team sports, it’s not the best player but, usually, the player with the best judgment who is in … [Read more...] about A Manager’s Word of Caution about Data Science & Machine Learning
#60: Google Pixel car crash detection, Model Search for TensorFlow, an a movie frame search engine
Hey everyone, welcome to Dynamically Typed #60. Two weeks after we were ice skating on the canals, spring has arrived in Amsterdam and I’m sitting on the roof, writing this issue in the sun after a great row this morning! 🌞🚣♂️For productized AI, I wrote about the car crash detection feature on Google’s Pixel phones, and about an NYT article on Exposing.AI, a tool that traces … [Read more...] about #60: Google Pixel car crash detection, Model Search for TensorFlow, an a movie frame search engine
Learn and Understand Word Embedding and Depth to Master NLP
Word to Vector : Understanding the ConceptNLP is buzzword and there are plenty of problem statements to experiment with. The more deeper you go, you will get more insights about data. Innovation to explore data is capable of producing new things to solve existing problem statement. We already experienced feature engineering in NLP using tfidf and pmi in earlier blog. Link is … [Read more...] about Learn and Understand Word Embedding and Depth to Master NLP
Bored of talking to humans, try ChatBot
“As more and more artificial intelligence is entering into the world, more and more emotional intelligence must enter into leadership.”Are we talking about some kind of AI here?Let me elaborate a little on what are we going to develop here, A chatbot which is a Machine-Learning based bot to pass our time out of boredom. It is build up upon Python, which powers to give back the … [Read more...] about Bored of talking to humans, try ChatBot
Generative Adversarial Networks (GAN): An Intuitive Introduction
Counterfeit items sold on the streets in South Korea [Photo by Adli Wahid on Unsplash]Have you watched the movie Catch Me If You Can, starring Leonardo DiCaprio? It was based on real life story of a conman Frank Abagnale, who forged payroll cheques worth millions of dollars. He became so good at it, that eventually the FBI turned to him to help catch other forgers.GAN are very … [Read more...] about Generative Adversarial Networks (GAN): An Intuitive Introduction