Skip to content

Instantly share code, notes, and snippets.

View Linkbit-gif's full-sized avatar

Ryan Donnelly Linkbit-gif

  • N. Ireland
View GitHub Profile
df1 = pd.read_csv("fer2013.csv") #make sure the file is in the root location
# Preprocessing
x_train=[]
x_test=[]
y_train=[]
y_test=[]
for i,row in df1.iterrows():
k=row['pixels'].split(" ")
if(row['Usage']=='Training'):
@Linkbit-gif
Linkbit-gif / Api.java
Last active April 2, 2021 00:02
higgs.boson.brain
package higgs.boson;
import java.lang.System;
@kotlin.Metadata(mv = {1, 4, 2}, bv = {1, 0, 3}, k = 1, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\b\u00c3\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002\u00a8\u0006\u0003"}, d2 = {"Lhiggs/boson/Api;", "", "()V", "excalibur"})
@OpenAPIDefinition(info = @io.swagger.v3.oas.annotations.info.Info(version = "0.0", title = "excalibur"))
final class Api {
@org.jetbrains.annotations.NotNull
public static final higgs.boson.Api INSTANCE = null;