Open git bash and execute
ssh-keygen -t rsa -b 4096 -C "[email protected]"This procedure generates two files: .ssh/id_rsa and .ssh/id_rsa.pub. Add public key to Github.
| """ SQL Code Generator. | |
| Analisa as regras de uma árvore de decisão ajustada pelos modelos | |
| Random Forest ou Gradient Boosted do Spark, para gerar o | |
| correspondente código em SQL. | |
| O conjunto de árvores pode ser extraido com o método `toDebugString` | |
| e formatado como uma lista: | |
| >> ensemble = model.trees |
| DROP TABLE IF EXISTS | |
| dados; | |
| CREATE TEMPORARY TABLE | |
| dados | |
| ( | |
| cnpj INT, | |
| anomes INT, | |
| sinal FLOAT | |
| ); |
| DROP TABLE IF EXISTS temp1; | |
| CREATE TABLE temp1 (anomes INT, cnpj STRING, x DOUBLE); | |
| INSERT INTO temp1 VALUES | |
| (201801, 'c0', 1), | |
| (201801, 'c1', 1), | |
| (201801, 'c2', 3), | |
| (201802, 'c0', 2), | |
| (201802, 'c1', 2), |
| DROP TABLE IF EXISTS temp1; | |
| CREATE TABLE temp1 (anomes INT, cnpj STRING, x DOUBLE); | |
| INSERT INTO temp1 VALUES | |
| (201801, 'c0', 1), | |
| (201801, 'c1', 1), | |
| (201801, 'c2', 3), | |
| (201802, 'c0', 2), | |
| (201802, 'c1', 2), |
| CREATE TABLE temp1 (anomes INT, cnpj STRING, feat0 STRING, feat1 STRING); | |
| INSERT INTO temp1 VALUES | |
| (201901, '0', 'x', 'a'), | |
| (201901, '0', 'y', 'b'), | |
| (201901, '1', 'v', 'c'), | |
| (201901, '1', 'w', 'd'), | |
| (201902, '0', 'x', 'a'), | |
| (201902, '0', 'x', 'a'), | |
| (201902, '1', 'y', 'b'), |
Open git bash and execute
ssh-keygen -t rsa -b 4096 -C "[email protected]"This procedure generates two files: .ssh/id_rsa and .ssh/id_rsa.pub. Add public key to Github.
https://conda.io/miniconda.html
conda update conda
conda config --add channels intelInstall OpenCV on macOS Sierra enabling Python 3 with the following instructions:
mkdir build