PyTorch learning memo (I made the same model as Karas)

# Introduction I had thought that I wouldn't study PyTorch soon, but I had a lot of time, so I studied with a book (PyTorch Neural Network Implementation Handbook) in one hand. The prerequisite know

Julia Quick Note [22] Calling Python functions and Python modules

### Calling Python functions and Python modules (example of how to write) #### **`note22`** ```ruby ◆ Calling Python functions  #Declaring and getting Python functions(max function)  pymax = py"max

I tried it with SymPyLive by referring to "[Ruby] Getting unique elements from an array".

(Original post) https://qiita.com/suzu12/items/af0ccbca88f33dec2fda #Practice https://qiita.com/suzu12/items/af0ccbca88f33dec2fda ## With SymPy Live Duplicate elements are extracted from the list

Is it Google Colaboratory?

I read the fucking app Advent Calendar along with [Pick up the 2020 Advent Calendar I want to read in 2020](https://qiita.com/e99h2121/items/dfb5004f429e352567c4). So, along with "[I made friends bec

New syntax for Python 3.8 [assignment formula]

# Introduction I would like to read [Effective Python 2nd Edition](https://www.oreilly.co.jp/books/9784873119175/) and summarize the functions that impressed me as a memorandum. Please note that the

See the behavior of drunkenness with reinforcement learning

# I want to study reinforcement learning I usually touch AI/machine learning in my work. However, until now, I have been studying mainly with supervised learning, so I thought that I hadn't touched

Check the argument type annotation when executing a function in Python and make an error

# Introduction As is known to Python users, there is no type enforcement in Python. I couldn't even write a type until the type annotation ([typing](https://docs.python.org/ja/3/library/typing.html)

Automatically delete AWS SG full open rule [Event Bridge, Lambda]

# Introduction I think that AWS SG rule automatic deletion is nothing but full open of ssh and RDP if it is AWS managed. I just wanted to touch EventBridge and Lambda, so I implemented it while inve

Go language-conditional branching

# Conditional branch I'm going to write the understanding of Go from the basics of programming! [Click here for Go language basics ❶](https://qiita.com/coxcoa/items/01cd4e30e965bcebb3ee) [Click her

[Python] Takes representative values ​​of multiple images [Numpy]

# Purpose Generate an image using the representative value of each pixel of multiple images. For example, I want to make an average image of 10 images. # Preparation ## Library Import ```python imp

Note: confusing nonlocal

Probably not used nonlocal Python 3.9.1 documentation 9.2.1. Scope and namespace examples Was difficult to read, so I added a comment that I interpreted. ```python def scope_test(): def do_

[Memo] I tried a pivot table in Python

* Articles sent by data scientists from the manufacturing industry * This time, I will leave it in the article as my memo. ## Introduction Pivot tables are often used on the shop floor when analyz

I tried to open the latest data of the Excel file managed by date in the folder with Python

```python import subprocess import glob import pathlib def findOpen(url, fil): share = pathlib.WindowsPath(url) try: if share.exists(): path =

Algorithm learned with Python 15th: Sorting (selection sort)

# #Algorithm learned in Python <selection sort> ## Introduction Implement the basic algorithm in Python to deepen your understanding of the algorithm. The 15th bullet is the selection sort. From th

Difference in how to write if statement between ruby ​​and python

I'm studying the basic grammar of python with Progate, so I will summarize the differences from ruby. ## ruby if statement ・ Enclose in if ~ end ```ruby x = 100 if x == 100 print "x is 100" el

Solving simultaneous linear equations in Python (sweeping method and fractional representation)

<script async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_CHTML"></script> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ tex2jax: { inlineMath:

Learn algorithms with Go @ Full search_Linear search method

The purpose is to understand Go basic syntax and algorithm brain training. <h2> About the algorithm </h2> <h3> What is full search? </H3> <b> This is a method to investigate all the possibilities

The story that I set transparent proxy and it worked for some reason without a certificate

This post [Squid proxy - a short guide (forward & transparent proxy examples, SSL bumping, links to guides) -Reddit](https://www.reddit.com/r/sysadmin/comments/a67hly/squid_proxy_a_short_guide_forwar

Power on/off the USB port on the RaspberryPi 4 Model B

# What I wanted to do I wanted to detect anomalies with a webcam connected to the Raspberry Pi and turn the patrol lamp in an anomaly case. (To be exact, I plan to do it from now on) As a result of

"Deep Learning from scratch" self-study memo (No. 19-2) Data Augmentation continued

While reading "Deep Learning from scratch" (written by Yasuki Saito, published by O'Reilly Japan), I will make a note of the sites I referred to. [Part 19](https://qiita.com/slow_learner/items/2ede37

[Python] Collect images easily with icrawler!

I used icrawler to collect images for machine learning, so this is an introduction. # What is icrawler A framework for collecting images by web crawling with python. You can collect images just by

Try to automate pdf format report creation with Python

# Introduction ・ In this article, we will use the data downloaded from the household account book application Zaim. For that matter, python is used to automatically generate a report in pdf format th

Write the result of keyword search with ebaysdk to Google Spread Sheets

## Introduction See [Last article](https://qiita.com/starcoffee66/items/68f9affb38e1f6e65c6e) for what you need to do to use ebay's API. This time, we will use a library called `ebaysdk` to list the

[Day 2] Project generation

January 7, 2021 [← Last time: Day1 Django development environment](https://qiita.com/kizashi/items/e20a7a48c2879e72ab95) # Precautionary statement This article is not a single article. I wrote it

[AWS Lambda] Use any container Image in Python very simply

## Overview Container Image Support announced at AWS Lambda. What's new in AWS Lambda – Container Image Support (https://aws.amazon.com/jp/blogs/news/new-for-aws-lambda-container-image-support/) H

[Day 1] Prepare Django's development environment

January 6, 2021 # Introduction The intent of creating something like this this time is for me in the future to look back at this article and see my growth. I can't even think about what I'm doing i

Manim's method 12

# Overview I checked manim's method. I tried using RubiksCube. # Sample code ``` from manimlib.imports import * class RubiksCube(VGroup): CONFIG = { "colors": [ "#FFD500", # Yellow "#C

Upgrade all at once including dependencies with pip

# Introduction A Python library consisting of many (interdependent) dependent libraries, and if you upgrade only one, the versions may differ between the libraries and it may not work properly. Ther

I tried searching for files under the folder with Python by file name

# Source code ```python import subprocess import glob import pathlib def find(url, fil): share = pathlib.WindowsPath(url) try: if share.exists():

I implemented the K-means method (clustering method)

* Articles sent by data scientists from the manufacturing industry * This time, we implemented the K-means method in the clustering method. ## What is clustering? Clustering is the classification