Skip to content

Tung M Phung's Blog

  • Home
  • About me

Tag: Python

Miscellaneous, Software DevelopmentLeave a comment

Pythonic Python

September 28, 2021January 24, 2023 Tung.M.Phung

A pool of unique features in the Python programming language. A must read if you are preparing for an interview. Continue reading Pythonic Python

Deep Learning, Machine Learning - Data Mining, Reinforcement LearningLeave a comment

Reinforcement learning: Q Learning, Deep Q Learning introduction with Tensorflow

September 7, 2021November 11, 2021 Tung.M.Phung

Q Learning, Deep Q Learning, Double Q Learning, and Dueling Q Learning explained. TensorFlow code provided. Continue reading Reinforcement learning: Q Learning, Deep Q Learning introduction with Tensorflow

Data Cleaning, Machine Learning - Data MiningLeave a comment

Data Cleaning case study: Google Play Store Dataset

April 17, 2020July 31, 2020 Tung.M.Phung

This post attempts to give readers a practical example of how to clean a dataset (in particular, the Google Play Store Apps dataset). Continue reading Data Cleaning case study: Google Play Store Dataset

DataVisualization, Machine Learning - Data MiningLeave a comment

Coronavirus cases: an interactive geo-map with Plotly

April 1, 2020July 31, 2020 Tung.M.Phung

The new Coronavirus is spreading fiercely. This article describes how to make a geo-map to showcase the status of this disease around the world using Python and Plotly. Continue reading Coronavirus cases: an interactive geo-map with Plotly

Feature Engineering, Machine Learning - Data Mining2 Comments

How to convert Categorical Variables to Numerical Variables

December 18, 2019July 31, 2020 Tung.M.Phung

In Machine Learning, while some predictive models allow categorical variables in the data, most require all predictor variables to be continuous Continue reading How to convert Categorical Variables to Numerical Variables

Machine Learning - Data Mining, Regression ModelsLeave a comment

Linear Regression in Python

December 6, 2019July 31, 2020 Tung.M.Phung

Train and cross-validate your Linear regression on Python with pre-defined or customized evaluation functions. Continue reading Linear Regression in Python

Intro to ML, Machine Learning - Data MiningLeave a comment

Introduction to Python and Jupyter

October 27, 2019July 31, 2020 Tung.M.Phung

Python, the most common programming language for practicing Machine Learning – Data Mining (ML and DM) today, and Jupyter, a convenient environment for writing Python code. Continue reading Introduction to Python and Jupyter

DataVisualization, Machine Learning - Data MiningLeave a comment

Charts to compare different objects

September 28, 2019July 31, 2020 Tung.M.Phung

This is my 5th blog on a series of data visualization with charts for specific purposes. Continue reading Charts to compare different objects

Machine Learning - Data Mining, Text MiningLeave a comment

Basic Regular Expression

September 18, 2019July 31, 2020 Tung.M.Phung

The Regular expression (regex, or just re) is a means of representation, used for string matching and searching. Continue reading Basic Regular Expression

DataVisualization, Machine Learning - Data MiningLeave a comment

Basic plots with Matplotlib

September 7, 2019July 31, 2020 Tung.M.Phung

Matplotlib is undeniably the most prevalent name in the family of visualization libraries in Python. Continue reading Basic plots with Matplotlib

Feature Engineering, Machine Learning - Data MiningLeave a comment

How to deal with missing values (NaNs)

August 31, 2019July 31, 2020 Tung.M.Phung

This blog post attempts to address why NaNs are bad and how we can fix them. Continue reading How to deal with missing values (NaNs)