This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import math | |
# prices = [1, 1.1, 0, 1.1, 1.0, 1.2, 100, 100, 100, 1.1, 1.3, 5, 1.2, 1.1, .9, .95, 1.1] | |
prices = [200, 200, 300, 3, 400, 400, 400, 200, 300, 300, 500, 600, 90] | |
threshold = 2 | |
# outlier detection using Z score and removing them | |
def removeOutlier(prices): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import time | |
import requests | |
import base64 | |
import ed25519 | |
URL = 'http://test.brightid.org/brightid/v6/operations' | |
PRIVATE = '' | |
op = { |
OlderNewer