[Rails] How to introduce Google Analytics [Easy]
We have introduced Google Analytics to collect data on the web service that we have developed this time and are about to release, so we will introduce how to do it. There is a gem called google-anal
Relationship between Firestore and Go data type conversion
## Source --Go to Firestore data type conversion https://godoc.org/cloud.google.com/go/firestore#DocumentRef.Create --Firestore to Go data type conversion https://godoc.org/cloud.google.com/go/fire
Geotag prediction from images using DNN
## Introduction This time, I would like to make geotag prediction from a building image using a trained model. Especially in this article, I started with the purpose of using the output of multiple
fastText is amazing! Clustering "Yahoo! News"
Last time [this article](https://qiita.com/kei0919/items/bde365bf179c0a1573af) I tried to cluster Aozora Bunko books with Doc2Vec. I wondered if it worked a little, but honestly, the result was subt
[Go] Handle queries containing IN clauses with NamedStmt with sqlx
This is a sample code of how to handle a query containing an IN clause in NamedStmt in sqlx. It can also be applied to the EXISTS clause. * No error is expected ## Sample code #### **`main.go`**
I drew a heatmap with seaborn [Python]
I practiced drawing a heat map using experimental data. ## Import of matplotlib, seaborn, pandas ```%matplotlib inline import matplotlib.pyplot as plt import pandas as pd import seaborn as sns``` Re
A disocrd bot that even beginners can regularly post Splatoon 2 results to stat.ink for free
## Introduction The basic idea is to be able to create a discord bot ** that automatically uploads Splatoon's battle record to ** stat.ink, whether you are a PC beginner or someone who only has a s
Make a Discord Bot that you can search for and paste images
I made a bot that can search images, so I will write the knowledge at that time. # What I made  With
Handle NetCDF format data in Python
# environment Ubuntu18.04LTS Python3 # Environment A NetCDF4 module is required to use NetCDF format files in Python3. This module was easy to install with pip3. # NetCDF file I / O in Python Th
What to do when gdal_merge creates a huge file
# gdal_merge creates a huge file ... Gdal module that handles tif data etc. gdal_merge.py is a script in that module that merges tif data based on location information. > [Official Documents](https
Cross-compile for Raspberry Pi Zero on Debian-Create your own shared library
# Overview This is a continuation of these articles. * [Begin cross-compiling for Raspberry Pi Zero on Ubuntu](https://qiita.com/manontroppo1974/items/a6bcef67285c10edff77) * [Cross-compiling for
Mathematical understanding of principal component analysis from the beginning
# Introduction # This time, I re-studied principal component analysis, so I will summarize it. I had studied principal component analysis itself before, but I had only the knowledge of calculating e
Search for strings in files
## This article --As the title says. ――I only write what you can understand if you google. ――It's a personal memo. ## Self-introduction I mainly develop Java (Spring Boot) web applications. ##
Python library "Jusho" that converts postal code ⇔ address all over Japan
# how to use `$ pip install jusho` Install with. [Github](https://github.com/nagataaaas/Jusho) ```python from jusho import Jusho postman = Jusho() """Obtained from zip code""" print(postman.from_
PySpark Cheat Sheet [Python]
# Introduction This article is based on the content of [PySpark 3.0.1 documentation](https://spark.apache.org/docs/latest/api/python/index.html). By knowing the behavior of functions that can be ea
Pythagorean triple Python
## About Pythagorean triple The Pythagorean theorem, which is the basis of the famous three-square theorem, is in a right triangle. $a^2 + b^2 = c^2$ Will be established. The number of combination
Change Flask's log settings (dictConfig) to output logs other than the root logger
# Introduction When trying to implement logging in python, I think that you basically build it by referring to the official tutorial. https://docs.python.org/ja/3/howto/logging.html #### **`loggi
[Python] EDA memo
# Purpose of this article Make a note of frequently used code in EDA (Exploratory Data Analysis), which is performed at the beginning of data analysis. This time, in particular, we assume the case
Aggregate by prefecture / city / ward / town / village from the PDF of the weekly Bellmark reception status of the Bellmark Education Grant Foundation
# Introduction [Bellmark Education Grant Foundation](https://www.bellmark.or.jp/) [Weekly Bellmark Reception Status](https://www.bellmark.or.jp/collect/accept.htm) Aggregated from PDF by prefecture
Install torch-scatter with PyTorch 1.7
# environment - Windows 10 - python 3.6.11 - Pytorch 1.7.0 - torch-scatter 2.0.5 # I made a note in a hurry because I succeeded in a hurry. ```sh $ pip install torch-scatter -f https://pytorch-geome
Day 3 of creating an operation log shaping tool
[Days 1 and 2 of creating operation log formatting tool](https://qiita.com/e99h2121/items/f998b0cab3dbe0e3ec40) ## Third day ``` RuntimeError: The current Numpy installation (Omission) fails to pas
Meshing polyhedra for micromagnetic simulation
# background For the simple micromagnetic simulation software MERRILL [^ 1] developed and released by Edinburgh University and others, we have summarized how to make a convex polyhedron into a simple
Use API to mark a large number of unread emails in Gmail as read
[Last time](https://qiita.com/orikei/items/4f7a53f1608916ce37bf) wrote how to delete all at once, but this time I will write about how to mark it as read. # Operating environment python3.8.3 # API
Implement DeepChem's GraphPoolLayer with PyTorch's custom layer
# Introduction Following yesterday's GraphConvLayer, I implemented DeepChem's GraphPoolLayer in a custom layer in Pytorch. # environment - DeepChem 2.3 - PyTorch 1.7.0 # Source I ported DeepChem's
AtCoder ABC 182 Python (A ~ D)
# Summary A, B, C solved. D is one step further. E just read the problem sentence in no time, but it was a surprisingly simple problem, so it may have been okay to solve E first. # problem https:
Environment construction for those who want to study python easily with VS Code (for Mac)
## Introduction "Now, let's study Python" When I started investigating to start by thinking about creating an environment, "Homebrew ..." "Check Path ..." "Default version ..." Am I the only one w
[Blender x Python] Let's master rotation !!
# table of contents 0. Let's rotate the cube 1. Let's rotate the torus 2. Sample code 3. Summary of English words # 0. Let's rotate the cube ## 0-0.1 Let's rotate one cube ◯ This is the simp
django installation location
I'm developing with django, but where is django itself installed? I thought, so I looked it up. ## django location You can check it in python's interactive mode. ```python >>> import django >>> d
A memorandum that you will often use in Python's Selenium
# Reference URL |title|URL| |---|---| |Focus on Selenium for Python Element|https://qiita.com/BlueSilverCat/items/e1dc9ec65f235a7fff01| |[Python] Let's use Headless Chrome with Selenium|https://q
Portfolio optimization with Python (Markowitz's mean variance model)
This is a summary of tips for backtesting with Python. Let's finish the troublesome pre-processing quickly and concentrate on model making! That is the purpose. Although not introduced in the article