Effective Python Learning Memorandum Day 8 [8/100]
# Introduction The other day I learned about 100 Days Of Code, which was popular on Twitter for a while. The purpose of this article is to keep a record and output how much I, as a beginner, can grow
[Day 4] Application creation
January 9, 2021 [← Last time: Preparing to connect to Day 3 database](https://qiita.com/kizashi/items/6da5d871908e61297279) # Precautionary statement This article is not a single article. I wrote i
Algorithm learned with Python 16th: Sorting (insertion sort)
# #Algorithm learned in Python <Insert Sort> ## Introduction Implement the basic algorithm in Python to deepen your understanding of the algorithm. Insertion sort is handled as the 16th bullet. ##
Search for strings in Python
How to search for a string in Python to determine if it contains any string and get its position. You can use the re module of the standard library for more flexible processing with regular expressio
Linux basic command memorandum
### What is Linux Same OS as Mac OS and Windows The OS is the software that manages the hardware of the computer. # Basic commands ls Check the files directly under the current directory #### **
Random forest (implementation / parameter summary)
# Introduction This is an article summarizing the implementation and parameters of Random Forest. # What is Random Forest? A model that combines multiple decision trees to improve prediction perfor
[Raspberry Pi] Scraping of web pages that cannot be obtained with python requests + Beautiful Soup
TL;DR I wanted to do web scraping with python, so I tried it with requests + BeautifulSoup as usual. However, for some reason I could only get a part of the page, and after various investigations,
Getting Started with Golang 1
Hello world! From installation! <a href="https://bizzare.me/post/golang1"> Click here for the text </a>
[Error handling] peewee.IntegrityError 1451 occurs in peewee
# Introduction When I wrote an API to delete a row in the User table with peewee, which is an ORM mapper of python, the following error occurred. ```bash peewee.IntegrityError: (1451, 'Cannot dele
[CpawCTF] Q14. [PPC] Try writing Sort! In Python
https://ctf.cpaw.site/questions.php?qnum=14 It is a memo to solve Q14 of Cpaw CTF in Python It seems that the array is sorted in descending order I want to write it in Python because it's a big d
Get BITCOIN LTP information with Raspberry PI
# Overview Since the trading price of BITCOIN has been high recently, I created this code with the intention of collecting information through the API of Bitflyer in order to digitize the trading inf
Use regular expressions in Python
#### **`regex.spl`** ```java | makeresults | eval text="THE JAPANESE SCHOOL EDUCATION In Japan, education system is changing fast now." | rex field=text "(?ix)((?P<big_japan>(?P<japan>Japan).*?(?P
[pyqtgraph] Link Plot Options-> Transforms display
# Thing you want to do Right-click inside the pyqt graph and select Plot Options-> Transforms to change the display format of the graph. <img width=500 alt='describe.gif' src='https://qiita-image-st
Go language-iteration
# Iterative processing I'm going to write the understanding of Go from the basics of programming! ### Iterative processing ```go for i := 1; i <= 4; i ++ { //Variable initialization;Repeating condi
Obtain vulnerability information using the REST API published by NVD
# background NVD (National Vulnerability Database) is a database of vulnerability information managed by NIST, and NVD is very often taken care of when checking software and hardware vulnerability in
[Ubuntu 18.04 LTS] What to do when the screen resolution cannot be selected [NVIDIA]
One day, Ubuntu 18.04 LTS suddenly output only low resolution, so I dealt with it. I think that the work will be completed in about 20 minutes as a whole. Symptoms - When I started Ubuntu18.04LTS
Limitation of default dict using typing
# Introduction There is an official document of [default dict using typing](https://docs.python.org/ja/3/library/typing.html#typing.DefaultDict). However, how to use it is not explained in detail
nvidia cuda setup
Make a note of how to install the `NVIDIA driver (version 450)`, the CUDA 11 compatible `CUDA Toolkit` and the` cuDNN SDK 8.0.4` on Ubuntu 20.04LTS. The purpose is to run TensorFlow. 
# Introduction A series of optimization algorithm implementations. First look at [Overview](https://qiita.com/pocokhc/items/07b698cc426cadb3a64e). The whole code can be found on [github](https:/
(Important inner product in deep learning.) About the relationship between inner product, outer product, dot product, and numpy dot function.
# Overview Inner product is quite important in deep learning. The relationship between the inner product, outer product, dot product, and numpy dot function is a little complicated, so I will write
I want a Spotify sleep timer on my PC
# Introduction Before going to bed, I sleep on my PC with Spotify music. However, I was worried that it would keep ringing until morning, so I checked if there was a Spotify sleep timer on my PC, bu
I tried to make a bot that randomly acquires Wikipedia articles and tweets once a day
If you live mainly on the Internet, your information browsing will be biased toward what you are interested in, and you will have less chance to come into contact with things that you are not interes
Run PartiQL on Dynamodb via boto3
# Run PartiQL on Dynamodb via boto3 ## Introduction In November of last year, DynamoDB became able to execute the SQL-compatible query language ** PartiQL **. https://aws.amazon.com/jp/about-aws/what
Fedora33 DashToPanel etc.
happy New Year. Nice to meet you this year too! By the way, the first new year is Linux material I am using Fedora33 stably. Sometimes I find it "difficult to use", so I'll add a Dash to panel.
Notes on how to use doctest
# What is doctest A python standard library for running simple tests # How to use #### 1. Write a test Just write the execution content and the correct return value as a set in the docstring
Memory is not allocated when ndarray is initialized with numpy.zeros ()
As the title suggests, when the ndarray is initialized with numpy.zeros ([number of rows, columns]), the memory area for storing the data of ** [number of rows, columns] size ndarray is not secured.
Mount Windows shared folder on Raspberry Pi
# 1. Contents of this article Here are the steps to mount a Windows shared folder from a Raspberry Pi. The procedure is from Raspberry Pi, but I think that it can be mounted from a Linux PC by the
Error running Jupyter Notebook in Anaconda virtual environment
I had a problem trying to run Jupyter Notebook in Anaconda's virtual environment, so I will write down the remedy I took. # environment --Windows10 64bit Home version 20H2 - Anaconda3-2020.11-Windo
[Discord.py] How to add or remove job titles after a reaction [python]
I'm a little ridiculous, so I'll make a note of it. ## If you give a specific reaction to a specific message, add a role ```python @client.event async def on_raw_reaction_add(payload): if payl
Try to specify the axis with PyTorch's Softmax function
# Introduction The subject, the memo when I looked it up. # environment - pytorch 1.7.0 # How to specify the axis When creating an instance of the nn.Softmax class, you can specify the axis with t