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
/** | |
* Copyright 2010, BigDataCraft.com | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
softmax temprature | |
max pooling | |
dropout | |
stocastic gradient descent |
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 gym | |
import numpy as np | |
from gym import wrappers | |
import random | |
from utils.TileCoding import * | |
import matplotlib.pyplot as plt | |
env = gym.make('MountainCar-v0') | |
env.max_episode_steps = 10000 | |
env.seed(0) |
Loading
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
ArrayNode rootNode = (ArrayNode)objectMapper.readTree(input); | |
ObjectNode rootObject = (ObjectNode)rootNode.get(0); | |
ArrayList<StructField> stfList = new ArrayList<>(); | |
ArrayList<String> values = new ArrayList<>(); | |
rootObject.fields().forEachRemaining(e -> { | |
stfList.add(new StructField(e.getKey(), DataTypes.StringType, false, Metadata.empty())); | |
values.add(e.getValue().asText()); | |
}); | |
StructType st = new StructType(stfList.toArray(new StructField[] {})); |
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
### Keybase proof | |
I hereby claim: | |
* I am arun-y on github. | |
* I am aruny (https://keybase.io/aruny) on keybase. | |
* I have a public key ASChRBExiQ36zP0_ao9RPy5MvK3gzVerq-FGU0oWMvy97Ao | |
To claim this, I am signing this object: |
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
source_id, | |
source_region, | |
source, | |
region, | |
env, | |
subenv, | |
plantdesc, | |
matnr, | |
txtlg, | |
ivend, |