↓ Skip to Main Content

TheoryApp

Main Navigation

  • Home
  • Java

Markov’s Inequality

By theoryapp Posted on December 18, 2020 Posted in Probability Tagged with chebyshevs inequality, markovs inequality, tail probability

Markov’s inequality provides a bound on the upper-tail probability of non-negative random variables. The bound is expressed with the expectation of the random variable. [Markov’s Inequality] Let \(X\) be a non-negative random variable. Then, for any \(\lambda > 0\), \[ …

Markov’s Inequality Read more »

Shuffle an Array or a List in Java

By theoryapp Posted on December 11, 2020 Posted in Java Tagged with java collection, random, shuffle

How can we rearrange an array of items in random order? A simple way is to manipulate the array by picking elements randomly. Or we can use Java Collections API. Shuffle an Array Write a loop to go through each …

Shuffle an Array or a List in Java Read more »

Pairwise Independence

By theoryapp Posted on December 10, 2020 Posted in Theory Tagged with derandomization, k-wise independent, maxcut, pairwise independent

A collection of random variables is pairwise independent if every pair of variables are independent. Given \(k\) independent bits, we define \(n = 2^k-1\) random variables each of which is a parity of a non-empty subset of the \(k\) bits. …

Pairwise Independence Read more »

Server-Side Geocoding and Caching

By theoryapp Posted on December 8, 2020 Posted in Web Tagged with geocoding, google maps

Google Maps API provides geocoding services to convert addresses (“Singapore 208539”) into geographic coordinates (1.311403, 103.85662). There are two approaches: Client-side geocoding, which uses JavaScript API to send requests and receive responses. HTTP server-side geocoding, which uses HTTP requests to …

Server-Side Geocoding and Caching Read more »

Posts navigation

Previous 1 … 8 9 10 11 12 … 30 Next

Recent Posts

  • Customize Mediawiki To Remove Management Links
  • Install and Run PHP on MacOS
  • Load Apache Access Logs into MySQL
  • How to Stop Processes Run by “launchd” in Mac
  • Use PHP Imagick to Combine Multiple Images into One Image
  • Remove a Substring Based on Begining and Ending Tags in PHP
  • Trim Leading Zeros of Numbers in a String with PHP
  • How to Create a Table using jsPDF
  • How to Choose a Random Element from an Array
  • How to Print a List of Items in Rows and Columns in jsPDF

Categories

  • Algorithm
  • BigData
  • Combinatorics
  • DevTool
  • HowTo
  • Java
  • JavaScript
  • MySQL
  • PHP
  • Probability
  • SQL
  • Theory
  • Uncategorized
  • Web

Tags

abstract class abstract method ArrayList boolean function chernoff bound class CSS derandomization divide and conquer dom endswith expression FIFO fourier analysis generic type geocoding google maps html inheritance interface java java collection JavaScript lifo loop mysql object-oriented parser PHP polymorphism probability programming pseudorandom generator random random walk recursion regular expression rss seo sql startswith store locator string twitter xml

Archives

  • May 2024
  • March 2024
  • February 2024
  • January 2024
  • July 2023
  • May 2023
  • March 2023
  • May 2022
  • February 2022
  • December 2021
  • August 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • February 2020
  • January 2020
  • December 2019

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2025 TheoryApp | Powered by Responsive Theme