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
using NinjaTrader.Cbi; | |
using NinjaTrader.UnitTest; | |
using System; | |
using System.Linq; | |
namespace NinjaTrader.NinjaScript.AddOns | |
{ | |
public class AddonTests : TestCase | |
{ | |
private const string InstrumentName = "MES 09-23"; |
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
using Python.Runtime; | |
using System; | |
using System.Collections.Generic; | |
namespace GymSharp | |
{ | |
public class Env : IDisposable | |
{ | |
private dynamic env; | |
private PyObject pyEnv; |
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
/* | |
PerceptrUINO - Perceptron com Arduino | |
Samuel Oliveira Caldas | |
Como utilizar o PerceptrUINO: | |
- Conecte o Arduino a uma fonte de energia | |
- O LED piscará azul, verde e vermelho 3 vezes e ficará branco indicando está pronto para ser utilizado | |
- Para treinar a rede, pressione e segure um dos três botões de entrada enquanto o LED estiver piscando | |
- Pressione o botão "Certo" ou "Errado" para indicar se a cor do LED é a cor esperada para aquele botão | |
- Faça isso algumas vezes para que a rede aprenda |
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
#region Using declarations | |
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.ComponentModel.DataAnnotations; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows; |
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
#region Using Statements | |
using NinjaTrader.Gui; | |
using NinjaTrader.Gui.Tools; | |
using System; | |
using System.IO; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Xml.Linq; | |
#endregion |
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
#region Using declarations | |
using System; | |
using System.Windows; | |
using System.Windows.Controls; | |
using NinjaTrader.Gui; | |
using NinjaTrader.Gui.Tools; | |
using NinjaTrader.NinjaScript; | |
#endregion | |
namespace NinjaTrader.NinjaScript.AddOns |
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
""" | |
Title: Proximal Policy Optimization | |
Author: [Ilias Chrysovergis](https://twitter.com/iliachry) | |
Date created: 2021/06/24 | |
Last modified: 2021/06/24 | |
Description: Implementation of a Proximal Policy Optimization agent for the CartPole-v0 environment. | |
""" | |
""" | |
## Introduction |
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
using System; | |
using System.Collections.Generic; | |
using NumSharp; | |
using Tensorflow.Keras.Layers; | |
using Tensorflow.Keras.Losses; | |
using Tensorflow.Keras.Optimizers; | |
using Tensorflow.Keras.Utils; | |
using static Tensorflow.Binding; | |
using static Tensorflow.KerasApi; |