Skip to content

Instantly share code, notes, and snippets.

View daxaxelrod's full-sized avatar
🎣

David Axelrod daxaxelrod

🎣
View GitHub Profile
@daxaxelrod
daxaxelrod / .conf
Created March 12, 2022 18:31
Nginx Django Conf
<%
if (s.forceSsl) {
%>
server {
listen 80;
server_name <%-s.publicDomain%>;
# Used by Lets Encrypt
import os
import struct
import logging
def PrintWavHeader(strWAVFile):
""" Extracts data in the first 44 bytes in a WAV file and writes it
out in a human-readable format
"""
def DumpHeaderOutput(structHeaderFields):
for key in structHeaderFields.keys():
import pandas as pd
import numpy as np
from keras.models import Sequential
from keras.layers import Dense
from keras.wrappers.scikit_learn import KerasRegressor
from sklearn.model_selection import cross_val_score
from sklearn.model_selection import KFold
from sklearn.preprocessing import StandardScaler
from sklearn.model_selection import train_test_split
# from sklearn.pipeline import Pipeline
<html>
<head>
<title>Basic Homepage</title>
<link href="style.css" rel="stylesheet" type="text/css">
<style type="text/css">
body {
text-align: center;
margin: auto;
<html>
<head>
<title>Basic Homepage</title>
<link href="style.css" rel="stylesheet" type="text/css">
<style type="text/css">
body {
text-align: center;
margin: auto;
}
library(ggplot2)
library(lattice)
library(caret)
library(dplyr)
train <- read.csv(file="housing_prices/train.csv", header = TRUE, sep = ",")
test <- read.csv(file="housing_prices/test.csv", header = TRUE, sep = ",")
dim(train)
summary(train)
library(ggplot2)
library(lattice)
library(caret)
library(dplyr)
train <- read.csv(file="housing_prices/train.csv", header = TRUE, sep = ",")
test <- read.csv(file="housing_prices/test.csv", header = TRUE, sep = ",")
dim(train)
summary(train)