I tried to predict the BTC Trade data obtained from BitMEX with LSTM using PyTorch, but the vanishing gradient problem? Frustrated by the NaN problem, etc. I regained my mind and tried backtesting with a separate trading strategy!

# title I tried to predict the BTC Trade data obtained from BitMEX with LSTM using PyTorch, but the vanishing gradient problem? Frustrated by the NaN problem, etc. I regained my mind and tried backte

Quantify "Don't use too strong words" (Sentiment analysis starting with BLEACH)

> ** "... Don't use too strong words" ** ** "Looks weak" ** ![F3E6714B-0440-434F-817D-40F7B9542686.jpeg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/438597/bacea54d-c128-e49d-49ad-8

Make it possible to output a log to a file with go echo

```golang fp, err := os.OpenFile("logs/debug.log", os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666) if err != nil { panic(err) } e.Use(middleware.LoggerWithConfig(middleware.LoggerConfig{ Output: fp, }))

python text aloud (pyttsx3)

# Deepen your understanding of pyttsx3. pyttsx3 is a python text-to-speech conversion library. Study with the subject of bodybuilding. It is more motivating to use what you are interested in. ####

ubuntu 20.04 + Geth environment account settings and ether mining

After installing Geth on ubuntu, create an account and open a procedure to mine. Click here for the previous article summarizing the environment construction. https://qiita.com/kanazwk/items/76ffd

Introducing Python using pyenv on Ubuntu 20.04

This article summarizes the steps to deploy Python on Ubuntu 20.04 using [pyenv](https://github.com/pyenv/pyenv). # Note --Let's check if pyenv is needed in the first place. It's not easy to get P

How to enumerate USB block devices (USB memory and HDD) (Part2)

# How to enumerate USB block devices (USB memory and HDD) (Part2) Enumerate USB block devices in a different way than described in [How to enumerate USB block devices (USB memory and HDD)](https://q

Applied practice of try/except and dictionary editing and retrieval in Python

# Introduction Thank you for browsing. Please forgive English grammar. Please kindly tell the experts if there is something you can do about it. # Overview -Search for a key from the dictionary.

[Python] Warning came out when I raised from Selenium 3 to 4 [Web Driver]

# Introduction In a survey to write [Previously posted Selenium article](https://qiita.com/yagaodekawasu/items/cbdb00eb085d056e92f0), I raised Selenium on my private PC from 3 to 4, but along with th

Cut out A4 print in the image

# Cut out A4 print in the image Converts a print existing in a photo into an image cropped from directly above. ![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/573723/319b1a

[Reinforcement learning] Explanation and implementation of Ape-X in Keras (failure)

I have researched and implemented it on the Internet, so there are some parts that I have not fully understood yet. Please point out any falsehoods or outrages in the article. # Introduction This

[Python] Summary of array generation (initialization) time! !! !!

# Summary! !! !! Let's summarize the results first. It's the so-called "for those who don't have time". I am proud that it is fairly easy to see and organized. ## 1d array | Code

[Note] Deploying Azure Functions for the first time

# 1.First of all In this article, I'll use the `HttpTrigger` and` TimerTrigger` that I often use in Azure Functions. I will explain up to the point of deploying and running. It's been quite long,

Install pyenv on EC2 (Amazon Linux)

# Note that there were some problems when installing pyenv on EC ```shell #install git yum install git #Clone pyenv git clone https://github.com/pyenv/pyenv.git ~/.pyenv #Add to environment variabl

Using Azure ML Python SDK 5: Pipeline Basics

# Contents of this time This time, I will introduce the function to execute multiple tasks (such as data preparation and model training) as one pipeline. The completed pipeline can now be published

taichi's Torisetsu ① ~ Output as mp4 and gif ~

## Background I've been addicted to [taichi](https://github.com/taichi-dev/taichi) since yesterday, so I'll try to use it in various ways and share information as needed. This time, I will show you h

ubuntu20.04 + Geth installation procedure

Install Ethereum runtime environment on ubuntu 20.04. See here for the installation procedure for Virtual Box. https://qiita.com/kanazwk/items/5af85437ec556e23ef40 Click here for this reference si

Post to slack in Go language

# Introduction I was curious about how to post to Slack without using an external library, so I built it myself. The Slack setting enables `chat: write` and` files: write` in `Bot Token Scopes`. A

A complete guidebook to using pyenv, pip and python in an offline environment

## Target person For those who want to install various libraries on a machine that does not want to be connected to the network without any prerequisite knowledge so that python files can be executed

Incorporate JWT authentication into Python's Flask Web API

## Introduction I tried to incorporate JWT (JSON Web Token) authentication into the Flask Web API created in Python. Reference: [Creation of Web API using Python + Flask + MongoDB and placement on

How to do Bulk Update with PyMySQL and notes [Python]

# Conclusion * Use execute many for INSERT ... ON DUPLICATE KEY UPDATE syntax. * When updating with ELT & FIELD, set the parameter with the prepared statement. # INSERT ... ON DUPLICATE KEY UPDATE

[Python] pytest-mock Usage notes

# Installation It's easy if you use poetry. ```console poetry add -D pytest-mock ``` It's easy even if you're not using it. However, poetry is recommended. #### **`python`** ````console pip in

I'm trying to create an authentication / authorization process with Django

# First, what is different from Spring Security Spring Security controls access URLs with matchers using method chains, Django doesn't seem to have filter control. Therefore, it is necessary to i

I put Arch in XPS 13 (7390) (Note)

# Introduction A memorandum of the procedure and addiction when Arch was installed in XPS 13 (7390). # Referenced site [Archwiki Installation Guide](https://wiki.archlinux.jp/index.php/%E3%82%A4%E3

[Python3] Let's analyze data using machine learning! (Regression)

# Target --People who are interested in AI --People who are interested but don't know what to do --People who want to know what AI can do # Premise --I have a Google account --Know the basic us

How to enumerate USB block devices (USB memory sticks and HDDs)

# How to enumerate USB block devices (USB memory sticks and HDDs) There is also a method of [How to enumerate USB block devices (USB memory and HDD) (Part 2)](https://qiita.com/m-tmatma/items/4769d

I made a prime number generation program in Python 2

WANTED: Please let me know if there is a better way ...! # Last time [I made a prime number generator with Python](https://qiita.com/okazakik/items/194064ace4e45c42d7a8) # Improvements from the

Get started with Python on macOS Big Sur

+ Beginners have a basic knowledge of Unix-like operating systems + Python is my first time, no knowledge + Environment updated to Apple's iMac (mid 2020, last iMac of x86_64 ??), macOS Big Sur 2

RDKit usage memo

# Preparation The environment and things that should be installed ## environment - Anaconda - Ubuntu 18.04.1(on WSL2) ## Installation Create a virtual environment for RDKit with conda ``` $ conda

Understanding Go's net package-Day 2-

# Introduction > This article is the second day article of [Understanding Go's net package-Day 1-](https://qiita.com/Marny/items/918f292614de7d8fa8f7). This time, ** POST and GET processing and ht