https://docs.google.com/presentation/d/1Q1mS7i_-kkTZtDw2P625NfO2TZfZFNGZ_vvtRluZ2kE/edit?usp=sharing
Introduction to Conditional Random Fields (Linear) http://blog.echen.me/2012/01/03/introduction-to-conditional-random-fields/
# BASIC SYSTEM SETUP | |
# First donwload Ubuntu iso file from https://www.ubuntu.com/download/desktop | |
# Use 16.04 LTS (17 is also ok, but it's better to use LTS versions, also 18 will be very mature in terms of systemd) | |
# Dowload Linux live USB creator and install the iso to your USB stick https://www.linuxliveusb.com | |
# Boot your system, go to BIOS on boot (usually Del) or boot menu (usually F12) and choose your USB stick as boot medium | |
# Install Linux (these steps can be omitted if clean Ubuntu installation is provided as service by admins / cloud provider / etc) | |
# Minor trick unplug ALL of your hard disks (unless you are an avanced user) except for the disk for your system |
import sys | |
import os | |
import numpy as np | |
import tensorflow as tf | |
sys.path.append("..") | |
from object_detection.utils import label_map_util | |
import numpy as np | |
import pandas as pd | |
from collections import defaultdict | |
from scipy.stats import hmean | |
from scipy.spatial.distance import cdist | |
from scipy import stats | |
import numbers | |
def weighted_hamming(data): |
https://docs.google.com/presentation/d/1Q1mS7i_-kkTZtDw2P625NfO2TZfZFNGZ_vvtRluZ2kE/edit?usp=sharing
Introduction to Conditional Random Fields (Linear) http://blog.echen.me/2012/01/03/introduction-to-conditional-random-fields/
<?php | |
date_default_timezone_set('Europe/Moscow'); | |
header('Content-Type: text/html; charset=utf-8'); | |
set_time_limit(0); | |
function ccc($url, $proxy) | |
{ | |
$url = trim($url); | |
$proxy = trim($proxy); |
#' @title | |
#' Evaluate R code and mask the output by a prefix | |
#' @description | |
#' Render reproducible example code to Markdown suitable for use in | |
#' code-oriented websites, such as StackOverflow or GitHub | |
#' @param expr Any R expression. | |
#' @param file A connection, or a character string naming the file to write to. | |
#' If "", print to the standard output connection. If it is "|cmd", the output | |
#' is piped to the command given by ‘cmd’. | |
#' @param prefix The prefix to be put before source code output. |
Dockerfile
that is based on your production image and
simply install xdebug
into it. Exemple:FROM php:5
RUN yes | pecl install xdebug \
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
#!/bin/bash | |
## Install Golang Stable 64Bits on Linux (Debian|Ubuntu|OpenSUSE|CentOS) | |
## http://www.linuxpro.com.br/2015/06/golang-aula-1-instalacao-da-linguagem-no-linux.html | |
## Run as root (sudo su) | |
## Thank's @geosoft1 | @gwmoura | |
GO_URL="https://go.dev/dl" | |
GO_VERSION=$(curl -s 'https://go.dev/VERSION?m=text'|head -n1) | |
GO_FILE="$GO_VERSION.linux-amd64.tar.gz" |
<?php | |
class AsyncResponse { | |
const | |
APPEND = 'append', | |
PREPEND = 'prepend', | |
REPLACE = 'replace', | |
HTML = 'html', | |
DELETE = 'delete', | |
CALLBACK = 'callback', | |
PAGE_REDIRECT = 'url', |