Skip to content

Instantly share code, notes, and snippets.

View bkowshik's full-sized avatar

Bhargav Kowshik bkowshik

View GitHub Profile
@bkowshik
bkowshik / tiler.py
Created July 6, 2018 08:07 — forked from daniel-j-h/tiler.py
Tiles GeoTIFF for zoom level
#!/usr/bin/env python3
'''
pip install tqdm numpy pillow mercantile 'rasterio==1.0b1' 'rio-tiler==1.0a7'
'''
import os
import argparse
@bkowshik
bkowshik / tmux-cheats.md
Created November 28, 2017 13:09 — forked from Starefossen/tmux-cheats.md
My personal tmux cheat sheet for working with sessions, windows, and panes. `NB` I have remapped the command prefix to `ctrl` + `a`.

Sessions

New Session

  • tmux new [-s name] [cmd] (:new) - new session

Switch Session

  • tmux ls (:ls) - list sessions
  • tmux switch [-t name] (:switch) - switches to an existing session

In the past, we see the future

Welcome to the proposed vision of the OSM data validation logic.

Every new object change is compared to its previous version to understand the nature of change and flag anything that is not normal. An object which breaks the fundamental laws of a world is not normal.

The new and old version of the map object is compared and quantified on various factors:

  • Nature of object (object type, feature type, significance, revisions)
  • Change type (object added, modified, deleted)
  • Tag changes (tags added, updated, deleted)
feature.revision.user.has_advanced_rights 1.0490093950737576e-06
feature.revision.page.is_draftspace 2.4621092177386807e-05
feature.english.badwords.revision.diff.match_prop_delta_decrease 4.367555356801528e-05
feature.english.badwords.revision.diff.match_delta_decrease 8.270019856970701e-05
feature.english.informals.revision.diff.match_delta_decrease 0.00020848518531816815
feature.english.informals.revision.diff.match_prop_delta_decrease 0.00043629651036459154
feature.wikitext.revision.diff.uppercase_word_delta_decrease 0.0011955337824679502
feature.english.informals.revision.diff.match_delta_increase 0.0015854950858275522
feature.wikitext.revision.diff.uppercase_word_delta_increase 0.0016891927516089244
feature.wikitext.revision.diff.uppercase_word_prop_delta_decrease 0.0018079822750063184
@bkowshik
bkowshik / enwiki.md
Created April 22, 2017 19:43 — forked from Ladsgroup/enwiki.md
PR-AUC reports

Model tuning report

  • Revscoring version: 1.2.6
  • Features: editquality.feature_lists.enwiki.damaging
  • Date: 2016-05-22T10:53:50.651577
  • Observations: 19739
  • Labels: [false, true]
  • Scoring: average_precision
  • Folds: 5

Top scoring configurations