slice
':' Slice notation is possible using':'. If a is an array, a [i: j: k] means a partial array of k-1 skipped from the i-th element to the j-1st element. i, j, k are optional, the default value of i is
WEB application development using Django [Admin screen creation]
[Continued from model definition](https://qiita.com/tesla1017/items/196f3e3fcfc71423cabb) Check the Admin screen - Check the Django admin screen. Until now, I had opened [http://127.0.0.1:8000/pos
Remove one-line comments containing Japanese from source code in Python
This article uses Python3. # code #### **`test.py`** ```py import re #Line feed code EOL = '\n' #ASCII pattern p_ac = '[!-~\\s]' #Japanese(Non-ASCII)pattern p_jp = '([^!-~\\s]|[ ])' #1-line comme
Mount S3 on Ubuntu with goofys
### Version confirmation ``` $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS" ``` ## install goofys It seems that it is
[Part.2] Crawling with Python! Click the web page to move!
# at first Oops! Recently, I'm Jesse (I'm from Human Wolf J ~ ♪) with only 15 reverse cats! The continuation of the last time has been completed, so it's open to the public! If you like, read from
[Memo] How to use BeautifulSoup4 (2) Display the article headline with Requests
The html of websites on the Internet contains various information, and it is difficult to analyze it by yourself. Therefore, we use a library called Requests that gets html. This time, we will lear
How to add new data (lines and plots) using matplotlib
## How to add new data (straight lines and plots) using matplotlib Suppose you have a 2D plot for x1 and y1 as shown below. ``` import numpy as np import matplotlib.pyplot as plt x1 = np.array([1,
Application of CNN2 image recognition
[Aidemy](https://aidemy.net/) 2020/10/3 # Introduction Hello, it is Yope! I am a liberal arts student, but I was interested in the possibilities of AI, so I went to the AI-specialized school "Aidemy"
Julia Quick Note [02] Arithmetic formulas, operators
### Arithmetic formula, operator (writing example) #### **`note02`** ```ruby ◆ Code +x ...Positive value -x ...Negative value ◆ Four arithmetic operators, etc. x + y ...addition x - y ...subtr
Data wrangling of Excel file of My Number card issuance status (September)
# Introduction [My Number System and My Number Card] of the Ministry of Internal Affairs and Communications (https://www.soumu.go.jp/kojinbango_card/) + Excel format of My Number card issuance sta
Start SQLite in a programming language
I have almost no experience with SQL, I learned how to use SQLite in Node.js, C <span> # </ span>, Python3, and HSP3. (For the time being, it works only with SQL statements) Node.js is written in
AtCoder Regular Contest 104 Participation Report
# AtCoder Regular Contest 104 Participation Report Looking at C, D, E, I started thinking that D was the easiest, and on the way I noticed a misunderstanding and I could not solve any of them. I'm s
I tried to restore because the Oracle database initialization parameter setting failed.
Make a note so as not to forget it. ## What happened I didn't notice that I set the initialization parameter incorrectly from `sqlplus`, and when I did` shutdown` with momentum, it never started a
Pyhton's Full Hechend Study Method (1) ... A confusion factor when machine learning beginners start studying Python
## Anecdote that appears at the beginning of Dutch studies (Fulhechend) It is said that this anecdote does not actually exist ... I think that the situation when a beginner who is not a programmer
Resolve ffmpeg background run-time errors
## environment os:ubuntu18.0.4(ec2:g4.xlarge) Python:3.7.7 ffmpeg:4.3.1 ## Conclusion Add the ``` -nostdin``` option when running ffmpeg in a background process. ```python cmd = f'ffmpeg -nostdin -
Supervised learning (classification)
# Classification I write a memo about the classification of supervised learning, which I mainly studied using Aidemy. ## Method ### ▼ Logistic regression #### ■ Overview --Find and classify the bo
[Linux] A list of unique command selections that are convenient but unexpectedly unknown
# Introduction I have more opportunities to use Linux commands, but I found that some commands I didn't know seemed to be useful, so I searched and wrote an article. I also introduce commands that I
[Part1] Scraping with Python → Organize to csv!
# at first Oops! This is Jesse. I've just survived from the mansion, and I'm just a beginner. I'll put it together so that I can refer to it, just in case there are about the same number of people!
RC circuit simulation
# I want to calculate the noise level from the voice recorded by the sound level meter As for the time weighting characteristic of the sound level meter, Fast seems to have a time constant of 125 ms
Edit Django shift table HTML and CSS
 I am changing the layout while editing html and cSS. I don't know how to r
[For beginners] Quantify the similarity of sentences with TF-IDF
# 0. in short 1. 1. ** TF-IDF ** is a good way to easily quantify the similarity of sentences. 2. The similarity is calculated by multiplying the frequency (** TF **) of the words appearing in the s
Signate 2nd _Beginner Limited Competition Review
# Introduction Participated in the shoulder break-in beginner-only competition (https://signate.jp/competitions/293) for the second term of AIQuest starting in October 2020. The competition I partic
A high school student created a real-time language conversion service and pushed it to Github.
Leo is a high school student who likes programming! !! This time, I made a [service](https://github.com/lra21711214/transchat) that can convert languages in real time, so I would like to introduce
What I learned by participating in the ISUCON10 qualifying
## I participated in ISUCON10 I joined Isucon10 as a good luck power-in team with my colleague [ToshihitoKon](https://github.com/ToshihitoKon). The origin of the name is the inner ring material that
Debug shared libraries with VScode
I tried to debug a shared library (.so) created in C ++ with VScode, I didn't have much information and had a hard time, so I will write it as an article. ### Creating a shared library First, crea
Summary of how to write AWS Lambda
There are times when you want to do ○○ using AWS Lambda. At that time, I had a hard time with low skills in Lambda and programming languages, so I will summarize the strategy for myself and the wor
Custom state space model in Python
# Introduction Among the state space models, there were few sites that explained the custom model in Japanese (I could not find it), so I will post the results of my own research. statsmodels (espe
yukicoder contest 268 Review
# result  # Impressions I think the minimum mo
Let's take a look at the forest fire on the west coast of the United States with satellite images.
(Update) Updated the method of creating composite images. # Overview So far, we have introduced the acquisition of satellite images of the Sentinel series of European artificial satellites using Goo
Study natural language processing with Kikagaku
This time, I would like to write a place where I learned when I was studying natural language processing on a site called Kikagaku where I can learn about deep learning for free. # Execution environ