This file contains 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 numpy as np | |
import pickle | |
import gym | |
# hyperparameters | |
H = 200 # number of hidden layer neurons | |
batch_size = 10 # after how many episodes do we do a parameter update? | |
learning_rate = 3e-4 | |
gamma = 0.99 # discount factor for reward | |
decay_rate = 0.99 # decay factor for RMSProp leaky sum of grad^2 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
------------------------------------------------------------------- | |
-- Script Name: ColumnstoreReorg.sql | |
-- | |
-- Desc: Run this to get a list of columnstore index partitions | |
-- to determine which should be reorganized. The script also | |
-- generates index reorg statements which could be run. | |
-- | |
-- Notes: SQL Server 2016 is REQUIRED. SQL Server 2016 changed | |
-- what index reorganization does to columnstore indexes, | |
-- and this script takes advantage of those changes. |