Manim's method 14
# Overview I checked manim's method. I tried using TextMobject. # Referenced page. https://qiita.com/maskot1977/items/c01180cc63aa67ac004e # Sample code ``` from manimlib.imports import * clas
[Infrastructure] While command summary
## 1. Basic while statement #### **`command`** ```python while true > do > echo "hello world" > sleep 1 > done ``` #### **`Output result`** ```python //Implementation results hello world //Repea
It is convenient to use Icecream instead of print when debugging.
I read [this article](https://towardsdatascience.com/stop-using-print-to-debug-in-python-use-icecream-instead-79e17b963fcc) and found it very useful, so I would like to share it. ## motivation Let's
NotFittedError handling memo that appeared when executing Partial dependence in LightGBM
# Introduction When I ran scikit-learn `` `plot_partial_dependence``` on a model built with Lightgbm, I got a NotFittedError and it didn't work. It is a memorandum about the countermeasure. # envi
Until you build the environment with ABCI and run MaskTrack RCNN
## Overview When I tried to run [MaskTrack RCNN](https://github.com/youtubevos/MaskTrackRCNN), which is the baseline model of the latest Video Instance Segmentation task, with [ABCI](https://abci.ai/
A swampy story when using firebase on AWS lamda
I was addicted to Onuma when I was developing a product to participate in a hackathon, so I will write an article. I'm tracing the memory of about half a year ago, so it may be missing here and ther
A super beginner who does not know the basics of Python tried to graph the realized profit and loss data of Rakuten Securities in Python
I tried to graph the realized profit and loss data of Rakuten Securities. Realized gains/losses are <strong> gains/losses that are fixed by selling or settling the shares you hold </strong>. Until
First aid when EditWithIdle disappears from the Windwos Python right-click menu
When reinstalling after uninstalling for the purpose of initializing the Python environment The Edit With Idle item disappeared from the right-click menu and I was in trouble. My installation versi
What to do if you get an error when installing Dlib (Ubuntu)
# environment - WSL Ubuntu 18.04 - Python3 3.8.5 # error (Full text) ```bash Running setup.py install for dlib ... error ERROR: Command errored out with exit status 1: command: /usr/
yukicoder contest 278 Participation record
# yukicoder contest 278 Participation record [A 1335 1337](https://yukicoder.me/problems/no/1335) Just write. ```python A = input() S = input() result = '' for c in S: if c in '0123456789':
SSD swap operation check for Raspberry Pi OS 64bit β version
In the previous episode [Raspberry Pi OS 64bit β version with portable SSD expansion swap](https://qiita.com/cluster_4b/items/8820a8d53a4d23424da7), Swap was set for the SSD connected to the external
I tried Philips Hue that fluctuates in seven colors at 1 / f
I'm a man who can't do electronic work. This morning, I saw [Electronic work of LED lighting that fluctuates in seven colors with 1 / f (introduction level)](https://qiita.com/Gan0803/items/ac8c54b
Python Computation Library Cheat Sheet ~ itertools ~
Why? I couldn't get a clue to solve it if I didn't know it when I did a full search in competitive programming, so I decided to take this opportunity to hold down Pandas and Numpy little by little.
We will implement the optimization algorithm (Kujira-san algorithm)
# Introduction A series of optimization algorithm implementations. First, look at [Overview](https://qiita.com/pocokhc/items/07b698cc426cadb3a64e). The code can be found on [github](https://git
Get the output value of the command (as received by xargs)
Hello. I got the output value of the command (``` $ (command)` ``), while receiving it with ``` xargs```. I received a comment and corrected it so that it works correctly. In this example, we are ch
St. Petersburg paradox
In this post, I will write down my thoughts with reference to the [wiki](https://ja.wikipedia.org/wiki/%E3%82%B5%E3%83%B3%E3%82%AF%E3%83%88%E3%83%9A%E3%83%86%E3%83%AB%E3%83%96%E3%83%AB%E3%82%AF%E3%81
Execute C ++ functions from Python with Pybind11 (for Windows & Visual Studio Code people) Environment construction
I will explain how to build an environment that allows you to call C ++ functions from Python using Pybind11. There weren't many articles for people using Windows and Visual Studio Code (hereinafter
Udemy "Master the basics of Django and create three apps! The results of doing it"
The year-end and New Year holidays are a unique opportunity to study. In particular, it is very valuable in the sense that it is possible to make a difference by pushing yourself to study when ever
Python code to convert region mesh code to latitude / longitude
# Introduction I have the opportunity to work with big data whose location is provided in the regional mesh code, and I've created a function that converts it to a latitude / longitude form that is
I tried to detect Mario with pytorch + yolov3
Background In [[OpenCV] [C ++] I tried to detect multiple using template matching](https://qiita.com/satsukiya/items/c8828f48be7673007007), I used OpenCV's Template Matching to detect Goomba. I scan
One day the jupyter notebook suddenly stopped opening [memory error]
# What happened Detect the object with jupyter notebook by packing the kaggle kernel. Learn machine learning before going to bed. Memory error when waking up in the morning And when I try to open
Draw a weakness graph in Python and save it in various formats (Raspberry Pi, macOS)
## Deliverables Draw a weakness graph with Japanese and save it in various formats. --Image (PNG, JPEG, TIFF, SVG, PDF) --GIF animation, MPEG4 video --Real-time drawing [If you want to try it
Read the function name from the DB and execute it dynamically
# Folder structure ~~~ project | ├ __init__.py ├ apps.py ├ models.py ├ routes.py ├ views.py ~~~ # Create a Model First, specify the class that represents the function list in models.py. ~~
Predict the distribution of continuous values other than the normal distribution with ordinary PyTorch or TensorFlow
Introduction ====== The other day, when I was looking at the implementation of [muzero-general](https://github.com/werner-duvaud/muzero-general), there was an interesting way to categorically predi
List comprehension
Summarize the content notation of python. For myself for learning. 1. 1. Comprehension notation Write what was written separately for processing and for statement in this way as in the last line.
Run Kali Linux on Windows with GUI (without VirtualBox)
Hello, this is c477us. Now, what method do you use when you want to run Kali Linux? Many people will use virtual environments such as Virtual Box and VMware. In fact, it's perfect if you want to do
[Day 9] Creating a model
January 14, 2021 [← Last time: Display template in Day 8 Template View](https://qiita.com/kizashi/items/a1b7f5913fa33d518e59) # Precautionary statement This article is not a single article. I wrote
I want to perform SageMaker inference from PHP
TL;DR --I think you often make SageMaker inferences from Python, but I think the front end may be PHP. I wrote how to perform SageMaker inference from PHP running on EC2. --PHP can't handle numpy,
Clustering ID-POS data with LDA
# Introduction It is said that LDA can be used to cluster high-dimensional vectorized POS data. I also looked at the transition of the cluster. LDA That is used when dividing news articles by top
We will implement the optimization algorithm (firefly algorithm)
# Introduction A series of optimization algorithm implementations. First, look at [Overview](https://qiita.com/pocokhc/items/07b698cc426cadb3a64e). The code can be found on [github](https://git