Fill in missing values with Scikit-learn impute

[Scikit-learn impute](https://scikit-learn.org/stable/modules/impute.html) is used to fill in missing data as a pre-process for machine learning. I tried to check the behavior using simple data. # T

Allows you to select by name from Django User Name

Until now, when selecting an employee, the list was displayed by UserName, but this has been changed to a Japanese name. It looks like this before the change ![image.png](https://qiita-image-store

Points that I often get hooked on writing as a MySQL beginner

I'm always addicted to writing from python to MySQL. This time I'll make a note of what I'm addicted to. ## Image of implementation contents Use Python to write data to MySQL with local csv locall

"Exception stack overflow!" In PyMu PDF

# Introduction A memo as a memorandum. I couldn't reach the answer even if I googled, so I'll leave it just in case. # problem In rare cases, ʻexception stack overflow!` Occurs when copying a PDF

I tried to summarize the frequently used implementation method of pytest-mock

I checked how to use pytest-mock, so make a note Since it is troublesome to check the use cases that are likely to be used in the future, I summarized them. It's an article I wrote in a day after I

Find it in the procession and edit it

Good evening (* ´ω `) It is an extension of yesterday. Let's raise the difficulty a little more. For the time being, randomly set integers 0 to 4 Let's randomly select and create an 8-by-8 matr

Terminology for all programming languages

## Organize the language itself ### 1. Dynamically typed programming language The program handles various "types". For example, string values, integer values, and minority values are of different ty

Summary of frequently used commands (with petit commentary)

# This article is conscious of "you can use it with copy and paste!" A supplementary explanation of when and when to use it as a petite commentary The path varies depending on the environment, but I

How to play a video while watching the number of frames (Mac)

In many cases, you want to know the number of frames of the scene you are interested in by checking the video frame by frame. Despite the relatively likely demand, recent video players can only disp

Outline the face using Dlib (1)

![SS 192.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/565043/a41cd967-f549-8677-1efa-2e99bf69518d.png) 顔の輪郭とか口の動き抽出するやつを今すぐパッと試したい。 ## things to do Use Dlib and Python to perfo

Preprocessing in machine learning 1 Data analysis process

[Aidemy](https://aidemy.net/) 2020/10/29 # 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

Sub-article: GNU, Linux peripheral knowledge organization

# About GNU.org GNU 【 GNU is Not Unix 】 A project to develop and publish software groups related to UNIX-like OS using only free software (especially open source software). ## About Linux OS Deb

Preprocessing in machine learning 4 Data conversion

[Aidemy](https://aidemy.net/) 2020/10/29 # 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

Understanding and implementing the Tonelli-Shanks algorithm (1)

# Introduction Given an odd prime number $ p $ and an integer $ n $ that is not $ 0 $ $$ x^2 \equiv n\ {\rm mod}\ p$$ If $ x \ not \ equiv 0 $ exists, then $ n $ is said to be ** Quadratic Residu

I made a webAPI! Build environment from Django Rest Framework 1 on EC2

## Introduction In this article ** Create a web API with Django! The article is **. I'm using MySQL on RDS. This is a continuation of the previous article, so please refer to it if you don't unde

I tried to estimate the interval.

## Interval estimation This time, I would like to continue the estimation from <a href='https://qiita.com/ki_ttyomo/items/5c1433908112a0bd0e84'> last time </a>. Last time, we estimated the points, s

[AWS] How to expand disk space on Amazon linux

## Big flow ① Expand the volume size from the AWS EC2 console (2) Expand the disk capacity (partition) in Amazon Linux # ① Expand the volume size from the AWS EC2 console EC2 Instance → Volume → A

[Mathematical optimization problem] Linear programming using PuLP

We will solve the mathematical optimization problem. This time, we will solve it using the linear programming method. A library called PuLP is a major library for solving linear programming, so we w

[Python] What is a zip function?

# Memorandum The zip function is used when you want to retrieve elements from different lists at the same time. * The example is done with 2 elements, but 3 or more elements are OK ### (Example 1)

How to build two CentOS7 environments / Windows10 + VirtualBox + Vagrant

## Introduction In this article, I will explain the procedure to build two virtual machines ** CentOS 7 ** on ** Windows 10 ** using VirtualBox and Vagrant. ## environment --Host OS: Windows10 --G

MKL taints symbol table (PLT / procedure linkage table)

## Introduction Related to https://qiita.com/cielavenir/items/93d2b5b057bfe1383670. Suppose you have A.so and B.so, A is statically linked to libmkl_rt and B is statically linked to libblas. At th

__name__

#### **`test.py`** ```python print(__name__) ``` #### **`output`** ```python __main__ ``` #### **`test2.py`** ```python import test ``` #### **`output`** ```python test ``` When test.p

Save the output of GAN one by one ~ With the implementation of GAN by PyTorch ~

While dealing with GAN in my graduation research, it became necessary to save the images generated by GAN one by one. However, even if you look it up, all the articles that implement GAN have output

[AtCoder explanation] Control ABC180 A, B, C problems with Python!

** A, B, C problems ** of ** AtCoder Beginner Contest 180 ** will be explained as carefully as possible with ** Python3 **. I am aiming to explain a solution that satisfies the following three poin

[Python / Jupyter] Translate the comment of the program copied to the clipboard and insert it in a new cell

# Introduction When reading a document in a library that does not have a Japanese translation, you may have a hard time interpreting it. If you can't read English fluently, I think that it is often

Wrap (part of) the AtCoder Library in Cython for use in Python

# Introduction This article is from [AtCoder Library](https://atcoder.jp/posts/517), [DSU](https://atcoder.github.io/ac-library/production/document_ja/dsu.html) And [Fenwick Tree](https://atcoder.git

Julia Quick Note [08] Variable Type (Int, Float, Bool, Char, String)

### Variable type (Int, Float, Bool, Char, String) (Example of writing) #### **`note08`** ```ruby ◆ Number type  Int   Int8   Int16   Int32   Int64   Int128  UInt   UInt8   UInt16   UInt32   UInt64

Let's search from the procession

Good evening ('Д') Thank you for your support m (_ _) m I've written various algorithms, I wanted to play in a line for a short break. I'll start with the easy guy. #### **`test.py`** ```py i

Meta-analysis in Python

# Introduction Python also has a package called [Python Meta](https://pypi.org/project/PythonMeta/) that performs meta-analysis, but for the purpose of studying, this time I will implement a meta-an

File permissions "T" are sticky bits

When I created a file with Chef, I made a typo as `644` instead of` 0644` in mode. The file permissions are as follows. ``` --w----r-T 1 root root ``` What is this T? I thought, so I looked it