Skip to content

Instantly share code, notes, and snippets.

View aelnonym's full-sized avatar
🏴‍☠️
ロロロ

Andrey Yanusckiewicz aelnonym

🏴‍☠️
ロロロ
  • 01:14 (UTC -03:00)
View GitHub Profile
stages:
- build
- test
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:latest
docker:
image: docker:latest
Petersen - Veneno
10 15
1 2
2 3
3 4
4 5
5 1
6 1
7 2
8 3
@aelnonym
aelnonym / batchdw.py
Created November 4, 2018 21:36
Batch download from csv
# Download images:
import urllib.request
# Lidar com tabelas e dados:
import pandas as pd
filePath = "your_csv_here.csv"
dataFrame = pd.read_csv(filePath)
for file in dataFrame.values:
from sklearn.preprocessing import StandardScaler
from sklearn.decomposition import PCA
# Escalando com SciKitLearn----------------------------------------
scaler = StandardScaler()
scaler.fit(X) # Fit on training set only.
# Apply transform to both the training set and the test set.
X = scaler.transform(X)
x_test = scaler.transform(x_test)

Dicas para o relatório


Erros mais frequentes

  • Ausencia de argumentação
  • Mal uso dos espaços
  • Codigo desorganizado e a discrepância entre o código apresentado e o relatado no trabalho