Skip to content

Instantly share code, notes, and snippets.

View diflores's full-sized avatar

Daniela Flores diflores

  • Santiago, Chile
View GitHub Profile
@diflores
diflores / naive_db.csv
Last active October 20, 2020 13:33
Dataset for Naïve Bayes
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 8 columns, instead of 7. in line 7.
label,Amplitude,Std,PeriodLS,Mean,MaxSlope,Meanvariance,LinearTrend
5,0.202,0.11715647672297153,292.9065894736842,13.78777909738717,0.06485084306119535,0.008497124583695502,-2.645256377761424e-05
4,0.25900000000000034,0.1392522528409682,0.34270646213816497,19.06234069400631,1.7521902377833782,0.007305097263567045,7.071006738300421e-06
2,0.03799999999999937,0.019342178325774017,225.70366297297298,15.410281464530893,0.016925306506716045,0.0012551476344084295,2.3042394999469105e-05
3,0.182500000000001,0.10207610240370434,0.7157050453003998,18.66521329639889,0.6543494996176908,0.005468788423832158,8.172662102413041e-06
2,0.016000000000000014,0.008318581137201476,506.4827723999999,15.378804845222074,0.3234152652036297,0.0005409120683253819,5.211253758967706e-07
5,0.3814999999999991,0.2240440289494903,132.39130980000002,14.328818627450975,0.6419548560785531,0.01563590375275387,-5.491352940614735e-06
4,0.1955000000000009,0.10955911337351534,0.35901324967873616,18.860054519368717,13.438735176770368,0.0058090560269060
@diflores
diflores / allergy_control_3.csv
Created June 19, 2020 20:41
P2 Control 3 MPGI 2020-1
Maní Vino Mariscos ¿Alergia?
No No
No No
No No
No No
No No No
No No No
No No No No
@diflores
diflores / dogs_control_3.csv
Last active June 19, 2020 20:20
P1 Control 3 MPGI 2020-1
Id Marca 1 Marca 2 Marca 3 Marca 4 Raza
Perro 1 2 1 6 2 Poodle
Perro 2 1 1 1 4 Poodle
Perro 3 2 2 5 0 Cocker
Perro 4 0 1 5 2 Cocker
Perro 5 4 0 0 2 Cocker
{
"0": "apples",
"1": "aquarium fish",
"2": "baby",
"3": "bear",
"4": "beaver",
"5": "bed",
"6": "bee",
"7": "beetle",
"8": "bicycle",
@diflores
diflores / SalesJan2009.csv
Last active August 21, 2019 20:23
Data for IIC1005
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 12 columns, instead of 2. in line 8.
Transaction_date,Product,Price,Payment_Type,Name,City,State,Country,Account_Created,Last_Login,Latitude,Longitude
1/2/09 6:17,Product1,1200,Mastercard,carolina,Basildon,England,United Kingdom,1/2/09 6:00,1/2/09 6:08,51.5,-1.1166667
1/2/09 4:53,Product1,1200,Visa,Betina,Parkville ,MO,United States,1/2/09 4:42,1/2/09 7:49,39.195,-94.68194
1/2/09 13:08,Product1,1200,Mastercard,Federica e Andrea,Astoria ,OR,United States,1/1/09 16:21,1/3/09 12:32,46.18806,-123.83
1/3/09 14:44,Product1,1200,Visa,Gouya,Echuca,Victoria,Australia,9/25/05 21:13,1/3/09 14:22,-36.1333333,144.75
1/4/09 12:56,Product2,3600,Visa,Gerd W ,Cahaba Heights ,AL,United States,11/15/08 15:47,1/4/09 12:45,33.52056,-86.8025
1/4/09 13:19,Product1,1200,Visa,LAURENCE,Mickleton ,NJ,United States,9/24/08 15:19,1/4/09 13:04,39.79,-75.23806
1/4/09 20:11,Product1,1200,Mastercard,Fleur,Peoria ,IL,United States,1/3/09 9:38,1/4/09 19:45,40.69361,-89.58889
1/2/09 20:09,Pro
@diflores
diflores / bulk_delete_github_repos.py
Last active January 10, 2023 19:30
Bulk delete GitHub repositories
"""
The following script is a dead-simple one to bulk delete repositories at a GitHub organization.
Note:
You will need to put your GitHub Token (you can generate one here:
https://github.com/settings/tokens) in a .env file located in the same directory
as this script. When generating your token, make sure you selected all the scopes
related to private repositories and deleting them.
"""