https://github.com/bfortuner/ml-cheatsheet
https://kloudstrifeblog.wordpress.com/2017/12/15/my-papers-of-the-year/
| #include <stdio.h> | |
| #include <stdlib.h> | |
| /* 1 2 3 5 | |
| 3 4 5 6 | |
| 6 7 8 7 | |
| 2 3 4 5 | |
| */ | |
| int deterstandard(const int order,int **matrix) | |
| { | |
| int i,j,k,val=0; |
| import os | |
| import cv2 | |
| from shutil import copyfile | |
| from random import randint,shuffle | |
| import string | |
| def create_dir(path): | |
| if not os.path.exists(path): | |
| os.makedirs(path) |
| """ | |
| Required modules/libraries: | |
| - falcon | |
| - falcon-cors | |
| - falcon-multipart | |
| - gunicorn | |
| TO run the api: | |
| gunicorn -b ip:port api:app |
| wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=FILE_ID' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=FILE_ID" -O FILENAME && rm -rf /tmp/cookies.txt |
| class ParadoxicalEncoder: | |
| def __init__(self): | |
| self.classes = set() | |
| self.encodings = {} | |
| def _updte_encodings(self, label): | |
| try: | |
| enc = self.encodings[label] | |
| except KeyError: | |
| self.encodings[label] = len(self.encodings)+1 |
| Spark Internals - https://github.com/JerryLead/SparkInternals (good summary of internal architecture) | |
| Spark Tutorials - https://github.com/rklick-solutions/spark-tutorial (Nice summaries for important topics) | |
| pyspark Tutorials - https://github.com/mahmoudparsian/pyspark-tutorial | |
| RDDs - https://github.com/hammerlab/magic-rdds | |
| Spark Scala Tutorial - https://github.com/deanwampler/spark-scala-tutorial |
| package salesforceintegration.salesforce.salesforceclient; | |
| import java.io.IOException; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.Map; | |
| import org.apache.http.HttpEntity; | |
| import org.apache.http.ParseException; | |
| import org.apache.http.client.methods.CloseableHttpResponse; |
| #include <iostream> | |
| #include <vector> | |
| #include <cmath> | |
| //just for unassigned location | |
| enum | |
| { | |
| UNASSIGNED = 0, | |
| }; |