West Health Data Science Blog

Applied Data Science to Lower Healthcare Costs for Successful Aging




Tue 25 February 2020

Metamorphic Truth

Posted by Haw-minn Lu in Machine Learning   

What is Metamorphic Truth?

Metamorphic truth is a method of training an Artificial Neural Network (ANN) where the "truth" supplied during training is not fixed and may depend on the prediction made by the ANN. More specifically during training a truth metamorphism is defined as a function of the prediction …

Read more...



Fri 21 February 2020

Categorial Encodings

Posted by Haw-minn Lu in Machine Learning   

Introduction

While most popular machine learning methods such as deep learning require numerical data as input, categorical data is very common practice. For example, a person's vitals could be a combination of both, they could include height, weight (numerical) and gender, race (categorical). The challenge is to convert the categorical …

Read more...


Fri 22 November 2019

Heatmap Test

Posted by Haw-minn Lu in Machine Learning   

Heat map code from https://stackoverflow.com/questions/33282368/plotting-a-2d-heatmap-with-matplotlib

import matplotlib.pyplot as plt
import numpy as np
%matplotlib inline
# generate 2 2d grids for the x & y bounds
y, x = np.meshgrid(np.linspace(-3, 3, 100), np.linspace(-3, 3, 100))

z = (1 - x / 2. + x ** 5 …

Read more...