Lower bound of Wilson score confidence interval for a Bernoulli parameter
All implementations use 95% probability.
pos
is the number of positive votes, n
is the total number of votes.
Lower bound of Wilson score confidence interval for a Bernoulli parameter
All implementations use 95% probability.
pos
is the number of positive votes, n
is the total number of votes.
#!/bin/bash | |
# Stop all containers | |
containers=`docker ps -a -q` | |
if [ -n "$containers" ] ; then | |
docker stop $containers | |
fi | |
# Delete all containers | |
containers=`docker ps -a -q` | |
if [ -n "$containers" ]; then | |
docker rm -f -v $containers |
{0: 'tench, Tinca tinca', | |
1: 'goldfish, Carassius auratus', | |
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias', | |
3: 'tiger shark, Galeocerdo cuvieri', | |
4: 'hammerhead, hammerhead shark', | |
5: 'electric ray, crampfish, numbfish, torpedo', | |
6: 'stingray', | |
7: 'cock', | |
8: 'hen', | |
9: 'ostrich, Struthio camelus', |
Table of Contents
$ jupyter notebook
New -> Python (root)
from the right-hand top menu. It will open another tab. In the cell, on that new tab, enter the following command : import pandas as pd
shift+enter
to run it. If it runs fine, you are good to go for the workshop.#!/usr/bin/env python3 | |
''' | |
pip install tqdm numpy pillow mercantile 'rasterio==1.0b1' 'rio-tiler==1.0a7' | |
''' | |
import os | |
import argparse |