Blog Archives

Tic Tac Toe Simulation — Random Moves

March 12, 2017
By
Tic Tac Toe Simulation — Random Moves

Tic Tac Toe might be a futile children’s game but it can also teach us about artificial intelligence. Tic Tac Toe, or Naughts and Crosses, is a zero-sum game with perfect information. Both players know exactly what the other did and when nobody … Continue reading → The post Tic Tac Toe Simulation — Random Moves appeared first on The Devil is in...

Read more »

Euler Problem 15: Pathways Through a Lattice

March 9, 2017
By
Euler Problem 15: Pathways Through a Lattice

Solution in the R language to project Euler Problem 15. The problem asks to calculate the number of pathways through a 20 by 20 grid. Continue reading → The post Euler Problem 15: Pathways Through a Lattice appeared first on The Devil is in the Data.

Read more »

Create Air Travel Route Maps in ggplot: A Visual Travel Diary

March 6, 2017
By
Create Air Travel Route Maps in ggplot: A Visual Travel Diary

Create Air Travel Route Maps that look like airline route maps you find in aeroplane magazines using ggplot. Spatially visualise your travel diary. Continue reading → The post Create Air Travel Route Maps in ggplot: A Visual Travel Diary appeared first on The Devil is in the Data.

Read more »

Euler Problem 14: Longest Collatz Sequence

March 1, 2017
By
Euler Problem 14: Longest Collatz Sequence

Euler Problem 14 looks at the Collatz Conjecture. These playful sequences, named after German mathematician Lothar Collatz (1910–1990), cause mathematicians a lot of headaches. This video introduces the problem much better than I can describe it. Euler Problem 14 Definition The following iterative … Continue reading → The post Euler Problem 14: Longest Collatz Sequence appeared first on The Devil is in the...

Read more »

Euler Problem 13: Large Sum of 1000 Digits

February 22, 2017
By
Euler Problem 13: Large Sum of 1000 Digits

Euler Problem 13 asks to add one hundred numbers with fifty digits. This seems like a simple problem where it not that most computers are not designed to deal with numbers with a lot of integers. For example:   When asking … Continue reading → The post Euler Problem 13: Large Sum of 1000 Digits appeared first on The Devil is...

Read more »

Euler Problem 12: Highly Divisible Triangular Number

February 15, 2017
By
Euler Problem 12: Highly Divisible Triangular Number

Proposed solution for Euler Problem 12 in the R language. What is the value of the first triangle number to have over five hundred divisors? Continue reading → The post Euler Problem 12: Highly Divisible Triangular Number appeared first on The Devil is in the Data.

Read more »

Percentile Calculations in Water Quality Regulations

February 9, 2017
By
Percentile Calculations in Water Quality Regulations

Demonstrating the various ways percentile calculations can be undertaken in R and specifically with respect to measuring turbidity in water supplies. Continue reading → The post Percentile Calculations in Water Quality Regulations appeared first on The Devil is in the Data.

Read more »

Euler Problem 11: Largest Product in a Grid

February 9, 2017
By
Euler Problem 11: Largest Product in a Grid

Solution to Euler Problem 11 in the R language. What is the greatest product of four adjacent numbers in the same direction in the 20 by 20 grid? Continue reading → The post Euler Problem 11: Largest Product in a Grid appeared first on The Devil is in the Data.

Read more »

Lifting the Big Data Veil: Data Science Strategy for Water Utilities

February 1, 2017
By
Lifting the Big Data Veil: Data Science Strategy for Water Utilities

A summary of my essay on data science strategy for water utilities. This strategy is based on the principles of the science of data. Continue reading → The post Lifting the Big Data Veil: Data Science Strategy for Water Utilities appeared first on The Devil is in the Data.

Read more »

Euler Problem 10: Summation of Primes

February 1, 2017
By
Euler Problem 10: Summation of Primes

A solution in the R language for statistical computing to find the solution the Euler Problem 10: Find the sum of all primes below two million. Continue reading → The post Euler Problem 10: Summation of Primes appeared first on The Devil is in the Data.

Read more »

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)