Practical data science & optimization in examples

Practical data science & optimization in examples

This blog gives readers practical examples of data science and optimization problems and their solutions using python scripts. These scripts can be used to solve real problems in business and life.


Practical data science and optimization: perceptron

18 Jan 2023 1 minute read 0 comments I_g_o_r

In this post we consider a basic fundamental block of all neural networks and AI applications: perceptron.   Mathematically, a perceptron is a function y=f(x1,….xN) with many inputs and one binary output. Physically, it is a device (mechanical, elect...

Practical data science and optimization: web scraping of crypto prices

6 Dec 2022 2 minute read 0 comments I_g_o_r

In our time, data is a new commodity (like unrefined gold) from which we can derive ideas, insights, knowledge, etc. Basic skills in acquiring and analyzing data are essential skills for modern skilled workers. In this post, we consider a problem of...

Practical data science and optimization: cleaning data

22 Nov 2022 3 minute read 0 comments I_g_o_r

In the current era of knowledge and information economy data is a new commodity (like unrefined gold). From data we can extract insights, knowledge, etc. which helps us to develop new inventions, products, services, etc. But if data is not clean we r...

Practical data science and optimization: advertising problem

10 Nov 2022 1 minute read 0 comments I_g_o_r

In this post we consider how to optimize advertisement campaigns on the following example.   A company has a budget of $10,000 to run an advertisement campaign for a week. There are five sites where company wants to place advertisements. Table below...

Practical data science and optimization: scheduling problem

3 Nov 2022 5 minute read 0 comments I_g_o_r

In this post we consider several examples of optimal scheduling (see [1]). Problem 1. Your business provide support services to other businesses, 24 hours per day. According to demands from your clients you need to have the following number of employ...

Practical data science and optimization: classification algorithms

26 Oct 2022 7 minute read 0 comments I_g_o_r

Our quality of life depends on quality of decisions we make. If we make bad decisions we loose a lot and feel insecure and miserable. If we make good decisions we win a lot and feel confident, healthy and prosperous.   Quality of our decisions depend...

Practical data science and optimization: farmer’s problem

18 Oct 2022 2 minute read 2 comments I_g_o_r

In this post we consider how to solve the following problem (from [1]).   Consider a farmer, who has A=500 acres of land, and raises grain, corn and sugar beet. The farmer needs N1=200T of wheat and N2=240T of corn to feed his cattle. These amounts c...

Practical data science and optimization: predicting numerical values with linear regression

5 Oct 2022 4 minute read 0 comments I_g_o_r

  In this post we consider how to build a linear regression model from a dataset to make predictions of a numerical value. Linear regression models belong to the category of supervised learning methods. This means that we have two sets of labeled dat...