Recording of code for clinical studies rejected by the Ethics Committee
The code below was created for clinical research in the anesthesiology department. The theme was "preoperative airway evaluation by face recognition (provisional)". The project itself was rejected b
Write multiple records to DynamoDB with Lambda (Python, JavaScript)
## Introduction I had to write (update) multiple records to DynamoDB, so I posted an article because I wanted to write down the results of implementation and cautions. I will also post an implemen
Code to send an email based on the Excel email list
# Why do you like this? There are quite a few so-called chores, such as creating a star chart for work (such as attendance at a drinking party outside of work) and urging people who have not yet subm
[Introduction with official documentation] Vagrant tutorial (with translation + thorough explanation)
 # Introduction ## Target audience ――I'v
Points that got stuck in SSL conversion of Web services created on Sakura VPS server
As a prerequisite The environment construction has been completed with Sakura VPS, and I have acquired the original domain of the Web service I created. On condition that the document root is set
Unzip all Zips in Python folder (recursive) garbled characters (Qiita first post)
First Qiita post I usually do data visualization with R or Python in Tableau. # When you want to unzip Zip with Python but the characters are garbled import ``` from zipfile import ZipFile ``` #
Introducing Elixir on Linux Mint
# In Linux Mint, official procedure + file rewriting. As is often the case with Linux Mint, there are times when you need to change the source of a package when you install it. It was also necessary
Download video from YouTube (youtube-dl)
This method is fairly stable in downloading videos. This is recommended rather than struggling with the video download service. Since it operates on the command line, it is relatively easy to incor
Methods available in set type
# Methods available in set type In the example below, I used the numbers above, but it works for strings as well. * union () method It is a method that returns a unique union, and can be used in
Python built-in functions ~ Zip ~
# Introduction In this article, I'd like to talk about the Python built-in function "zip function". I've known the existence of the "zip function" before, and I've been using it for some reason, so
Change the order of PostgreSQL on Heroku
# background Regarding Django. When arranging the posts in the database in the order of creation (ID order), MySQL that is included by default is stored in the ID order in the local environment, so t
I took a benchmark of h5py compression
This time, I saved the big image data again in h5 format. In h5py, you can compress variables with gzip by writing as follows. ``` python x = cv2.imread("Big image 1.png ") y = cv2.imread("Big ima
Create initial settings and staff apps in Django
Now that you have created the project, set it to Setteing. #### **`setting.py`** ```python TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS':
Convert exponential notation float to str in Python
In Python, to change the numeric type to a string type, you can cast it with str (), but casting the exponential notation float with str () gave somehow awkward results. ``` Python 3.8.0 (tags/v3.8.
Unit test Databricks Notebook
# Introduction Unit test the following Notebook #### **`MyNotebook`** ```python def hoge(i): return 'hoge'*i def fuga(i): return 'fuga'*i ``` # Creating a test notebook Create a test Notebo
A memo packed with RADEX environment construction
# environment ・ MacBook Pro 2017 ・ Mojave 10.14.5 # RADEX environment construction Follow the steps to build the environment according to the page below. https://personal.sron.nl/~vdtak/radex/i
Hyperparameter tuning 2
# Introduction [Last time](https://qiita.com/yassyyuki/items/d55c36bde9b865d83b8d), I created a model of handwriting recognition on CNN and tuned hyperparameters using grid search. From this, we lear
Python --Difference between exec and eval
# Introduction Have you ever encountered an error using the exec or eval functions? In my case, I got caught quite often. In this article, I will explain the exec and eval functions with brief expl
Implementation of cos similarity matrix [Pytorch, Tensorflow]
Cos (cosine) similarity is one of the methods of contrast learning (Contrastive Learning) such as SimCLR that is used as an index of similarity in the feature space. Since it was implemented by Ten
How to use VS Code (code server) with Google Colab in just 3 lines
## install package ```zsh !pip install colabcode ``` GitHub https://github.com/abhishekkrthakur/colabcode/ ## Start colab code ```py from colabcode import ColabCode ColabCode(port=10000) ``` After
Sugoroku game and addition game with python
There are assignments to the same variable, etc. Check the behavior of python and memorandum using the contents that match the text # Up to 30 alternate sugoroku games ```python pl_pos = 1 com_
GPU-enabled build of LibTorch (PyTorch C ++) app on Windows without CMake (only the first time)
# wrap up --Prepare sample source code and output `* .sln` and` * .vcxproj` with CMake. --Create a property sheet from `* .vcxproj`. --From now on, if you apply the property sheet to "Empty project
"Deep Learning from scratch" self-study memo (unreadable glossary)
While reading "Deep Learning from scratch" (written by Yasuki Saito, published by O'Reilly Japan), I will make a note of the sites I referred to. It is natural that new words and terms will appear
Summary Note on Deep Learning -4.2 Loss Function-
# Summary of explanation The purpose here is to interpret what I couldn't understand just by reading a book while studying Deep Learning, and to remember it smoothly when I look back at it later. I w
Acquisition of past electricity usage Kansai Electric Power
# Introduction I was holding a seminar on electricity usage forecast, and I heard that it is difficult to obtain it because the format of the past electricity consumption published by each electric
kabu Station® API-I made a Python wrapper for REST API
# Overview In the following kabu station API article, I converted from dictionary format to json format, created requests, and reconverted response from json format to dictionary type every time, bu
Differences in prices by prefecture (2019)
Even within the same Japan, prices seem to differ depending on the region. Let's visualize it. # Statistical data The statistical data used this time is as follows. -[Statistics Bureau, Ministry
I want to move selenium for the time being [for mac]
# Introduction A web browser test tool called selenium, Roughly speaking, I knew that there was something that could automatically operate the web screen by writing a little code. I wanted to try
Prepare an Ubuntu 20.04 system
I have been using Ubuntu (18.04) as my main PC since 2018. Since the new LTS 20.04 was released this year, I'm waiting for the initial bug fix and installing 20.04.1 from scratch () and using it. Thi
* Python * Controls ECHONET Lite compatible home appliances (emulators)
# Introduction This article can be understood by anyone who has used Flask and has written a socket communication program. Let's try controlling home appliances using Flask of Python. Node.js is ofte