This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> | |
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]--> | |
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]--> | |
<head> | |
{% include _head.html %} | |
</head> | |
<body class="home"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import common | |
import tensorflow as tf | |
from tensorflow.python.ops import rnn_cell | |
from tensorflow.python.ops.rnn import bidirectional_rnn | |
import time | |
import matplotlib.pyplot as plt | |
import numpy as np | |
sequence_length = tf.placeholder(tf.int32, [None]) | |
conv_concat = [] | |
max_pool_size = 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import common | |
import tensorflow as tf | |
from tensorflow.python.ops import rnn_cell | |
from tensorflow.python.ops.rnn import bidirectional_rnn | |
import time | |
# Utility functions | |
def weight_variable(shape): | |
initial = tf.truncated_normal(shape, stddev=0.4) | |
return tf.Variable(initial) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Handling the imports | |
import sklearn | |
from sklearn.model_selection import train_test_split | |
import pandas | |
import seaborn as sb | |
import matplotlib as plt | |
import numpy as np | |
from sklearn.preprocessing import StandardScaler | |
import cv2 | |
from PIL import Image |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This program takes data of longtitude and latitude from the csv file and plots the points on google earth. | |
import simplekml #the library used to map longitudes and latitudes on google earth | |
import pandas #used to read spreadsheet data | |
import tkinter #the library used to generate gui stuff in python | |
from tkinter.filedialog import askopenfilename | |
def browse(): | |
global infile #used so that only infile information is fetched instead of executing it directly. | |
infile = askopenfilename() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tkinter as tk | |
from tkinter import ttk | |
from tkinter import scrolledtext | |
from tkinter import Menu | |
root = tk.Tk() | |
def _quit(): | |
root.quit() | |
root.destroy() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import tkinter | |
from tkinter import messagebox | |
health = 50 | |
difficulty = input("Please input difficulty level: ") | |
difficulty = int(difficulty) | |
health_potion = random.randint(25, 50) | |
health = health + health_potion |