Organize your Python development environment
Regarding the Python development environment, I used to use Jupyter Notebook from Anaconda installed in the local environment, and recently I am using Jupyter Notebook from Amazon SageMaker, but I ha
Enumerate duplicate combinations (C ++) → Add Python code
** Updated on 9/14: The implementation example taught in the comment section is posted at the end of this article. (C ++, Python) ** # Article summary I wanted to make a combination that allows dup
I tried to summarize various sentences using the automatic summarization API "summpy"
# What is summpy It is an automatic summarization API of sentences published by Recruit Technologies. It summarizes the entered text with the specified number of lines. Published GitHub https://gi
I changed the jwt token generator to simplejwt with Django Rest Auth.
# Why not use djangorestframework-jwt There were two main reasons. --Reason 1: No longer supported. (2017 is the last release.) --There is a security problem. (CVE-2018-0114 etc.) --Reason 2: Yo
What to do when "Something is already running at port 8000" is displayed when the develop command of Gatsby is executed.
# environment -OS: macOS 10.15.5 ・ Gatsby: 2.24.14 # Case study When I run "gats by develop" casually, I get the following message: ``` Something is already running at port 8000 ? Would you like
Use Python in your environment from Win Automation
## Overview If you want to automate the input process, you may want to include a Python process as a pre-process. WinAutomation has a Python action, but it's called IronPython, and it seems difficul
Keras multiclass classification Iris
## environment - Tensorflow 2.3.0 - Google Colaboratory ## introduction -(Caution) The emphasis is not on the content of multi-class classification, but on the use of tf.keras. --Create Multilayer
Natural Language: BERT Part1 --Japanese Wikipedia Corpus
# Target We have summarized BERT using the Microsoft Cognitive Toolkit (CNTK). Part 1 prepares for BERT. I will introduce them in the following order. 1. Download Japanese Wikipedia and extract
[Python] I asked LINE BOT to answer the weather forecast.
# Introduction I scraped tenki.jp and incorporated the weather forecast into linebot. https://tenki.jp/ * line developer will talk on the premise that you are registered! # environment windows pyt
List of array (ndarray) operations of Python's numerical calculation library "Numpy"
The operation method of N-dimensional array object (hereinafter, ndarray) provided by Python's numerical calculation library "Numpy" is organized. Python is slow to calculate due to lack of data typ
The only way to get iter_rows back to the beginning with openpyxl is to reload the file with load_workbook.
# What I tried to do --There is a ʻopenpyxl` library that can read and write EXCEL with python --ʻIter_rows` method can read EXCEL line by line (similar to DB cursor) --If you add a line with `ws.a
AI drug discovery to start for free using papers and public databases
# 1.First of all Predicting the activity and physical properties of compounds on a computer has been performed for some time, but in recent years, with the increase in accumulated data and the develo
Try using Django templates.html
I honestly don't know form.py at all and use it for the first time. I read multiple articles on the net, but I couldn't think of it at all ... (laughs) However, I will write it for the time being.
VSCodeでProcessing.py
I will summarize how to execute Processing.py (Python Mode of Processing) with Visual Studio Code (hereinafter VS Code). The author's environment is Windows 10 (64bit). The file path etc. are descri
Creating a GUI as easily as possible with python [tkinter edition]
Create UI using tkinter which is included by default in python Receive actions on the operation screen and connect them to processing I want to make the hyperparameters of deep learning selectab
Solve with Python [100 selections of past questions that beginners and intermediates should solve] (034-038 Dynamic programming: Knapsack DP basic)
# 1. Purpose Solve [100 past questions that beginners and intermediates should solve](https://qiita.com/e869120/items/eb50fdaece12be418faa) in Python. The goal is to turn light blue by the time you
Simplify the path displayed at the prompt
# / home / username / foo / bar is long I want to display it at the prompt with `~ / f / bar` like fish ### View fish source [Source of `prompt_pwd`](https://github.com/fish-shell/fish-shell/blob/
Study Genetic Algorithms (1)-Basic OneMax Problems
### Studying genetic algorithms I am studying the knowledge of genetic algorithms necessary to operate platypus and deap based on the special article of the March 2019 issue of Nikkei Software. ####
[Python] Generate a password with Slackbot
Hello, I Ya. This time, I will explain how to implement password with Slackbot + Python. Specifically, the following two are explained. -How to generate a password in Python ・ Generate password
Build GPU environment with GCP and kaggle official image (docker)
# Introduction Since it was necessary to have a GPU-equipped machine power to participate in the kaggle image competition, we built a GPU environment with GCP. There are already a number of articles
I started Docker
I heard that it would be convenient to put all the tools I made into a container, so I decided to start using Docker, which I had been interested in for a long time. This time, I will make a web ser
[CovsirPhy] COVID-19 Python Package for Data Analysis: Parameter estimation
Introduction We are creating a Python package [CovsirPhy](https://github.com/lisphilar/covid19-sir) that allows you to easily download and analyze COVID-19 data (such as the number of PCR positives
[Definition] What is a framework?
## Introduction The framework definition part that is the subject of this article is in ** the second half of the article **, so you can skip the first half. ## Transition to investigating the fram
Python-How to use pyinstaller
# Introduction Have you ever wanted to turn a program written in Python into an exe file? This time, I will show you how to use pyinstaller to turn a Python program into an exe file. # Install pyin
Natural Language: BERT Part2 --Unsupervised pretraining ALBERT
# Target This is a continuation of BERT using the Microsoft Cognitive Toolkit (CNTK). In Part2, ALBERT will be pre-learned using the Japanese Wikipedia prepared in Part1. It is assumed that you ha
Get stock price with Python
While studying Python, there was a module that seemed to be interesting, so I tried using it Things necessary --- pandas_datareader You can install it with the following code `pip install pandas
Codeforces Round # 669 (Div. 2) Bacha Review (9/9)
# This time's results  # Impressions of this tim
Image reduction (LED matrix panel 16 x 32)
Reduce the ppm file to create an image to be displayed on the RGB matrix panel 16x32. # 1. Library pip install Pillow #### **`resize.py`** ```perl encoding:UTF-8 #-*- codinf:utf-8 -*- from PIL i
Getting list elements in Python
# 1. Get the specified element. (Specify index) * Element number (index) starts from 0. * Negative element numbers start at -1. Count from the back and get the element at the specified position. `
Taskbar display with tqdm
# Trigger What is tqdm in Kaggle? I thought. # Conclusion For displaying the progress of processing on the taskbar # Example of use #### **`qiita.rb`** ```ruby import time from tqdm.notebook im