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

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

I_g_o_r 1 minute read 18 Jan 2023 0 comments $0.05

Practical data science and optimization: web scraping of crypto prices

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

I_g_o_r 2 minute read 6 Dec 2022 0 comments $0.49

Practical data science and optimization: cleaning data

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

I_g_o_r 3 minute read 22 Nov 2022 0 comments $0.62

Practical data science and optimization: advertising problem

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

I_g_o_r 1 minute read 10 Nov 2022 0 comments $0.57

Practical data science and optimization: scheduling problem

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

I_g_o_r 5 minute read 3 Nov 2022 0 comments $0.63

Practical data science and optimization: classification algorithms

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

I_g_o_r 7 minute read 26 Oct 2022 0 comments $0.35

Practical data science and optimization: farmer’s problem

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

I_g_o_r 2 minute read 18 Oct 2022 2 comments $0.83

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

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

I_g_o_r 4 minute read 5 Oct 2022 0 comments $0.68