Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
Windows 10/11にPython環境をインストールする Windows 10/11では、Windowsターミナル(コマンドプロンプトやPowerShell)で「python」コマンドを実行することで、Python環境のインストールが可能だ。ただし、通常のインストールパッケージを使ってインストールする方法とは異なる点もあるので注意が必要だ。 人工知能(AI)開発で広く使われていることからプログラミング言語の「Python(パイソン)」の人気が高まっている。Pythonがどのようなプログラミング言語なのかについては、Python入門「Pythonってどんな言語なの?」を参照してほしい。 Microsoft EdgeやWindows 11でAIチャット機能をサポートするなど、AIに力を入れているMicrosoftも、その人気にあやかってか、Windows 10/11でPythonを簡単に
Wiredrive では、私たちはかなりの数のコードレビューを行います。しかし、ここで働き始める前には私はコードレビューなどしたことがありませんでした。今回は、私がコードレビューをする時に何に注目するようにしているかや、私の考え出したベストなコードレビューのやり方をお話したいと思います。 コードレビューとは、簡単に言うと2人以上の開発者で問題を引き起こしそうなコードの修正について話し合うことです。コードレビューをすることのメリットについては多くの記事で語られており、知識を共有できること、コードのクオリティが上がること、開発者が成長できることなどが挙げられています。しかし、レビューを行う上で、どのように進めていくかという具体的なことについてはあまり多く語られてないように私は思いました。 レビューで何に注目するか アーキテクチャ/デザイン 単一責任原則 : 1つのクラスは変更する理由が2つ以上
Reproducibility is an essential requirement for many fields of research including those based on machine learning techniques. However, many machine learning publications are either not reproducible or are difficult to reproduce. With the continued growth in the number of research publications, including tens of thousands of papers now hosted on arXiv and submissions to conferences at an all time h
We are pleased to announce that the May 2019 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. You can learn more about Python support in Visual Studio Code in the documentation. In this release we made improvements that are listed in our chang
「ここで改行するほうがキレイで良いと思います」 『いや、私はこちらのほうがキレイ良いと思います』 コードレビューでこういう議論をしたことはありませんか? 大切なことだとは思いますが、生産性にはあまり直結しません。議論を避けるために書き方を決めるほうが良いでしょう (個々の問題について逐次議論するのがエネルギーを無駄にしてしまいます。一度決めて、再利用するようにしたいものです)。 今日はそのために使える black というツールを紹介します (「私はflake8を使ってるから結構です」と思われるかもしれませんが、少し違う話なので読んでみてください)。 blackを使おう Pythonのコードを自動でフォーマットしてくれる black を紹介します。 github.com blackはPythonのコードフォーマッターで、自動的にPythonプログラムの書き方を修正してくれます。 PEP8 と
書籍版:本文160ページ(12ページフルカラー含む)。 PDF版: 本文160ページフルカラー。(サンプル画像はPDF版のものです) デジタル一眼レフやミラーレスの普及で、RAW画像に後からカメラ画像処理を施してフルカラー画像を作り出す「RAW現像」はとても身近になりました。しかし中でどんな処理が行われているのかは意外と知られていません。 この本ではRAW画像ってなんなの?カメラの中の処理ってどういうもの?という疑問への答えから始まって、カメラ内部の画像処理=RAW現像を丁寧に解説し、さらに実際にRAW現像処理を行ってみます。 実行環境にはPythonとColabを使用。読者は環境設定なしでブラウザのみでBayerからフルカラー画像までの処理を理解し自分で体験できます。 目次はじめに 第 1 章 カメラ画像処理について 1.1 カメラ画像処理について 第2章 基本的な処理 2.1 準備 2
Trey Hunner 27 min. read • Python 3.10—3.14 • March 9, 2022 In every Intro to Python class I teach, there's always at least one "how can we be expected to know all this" question. It's usually along the lines of either: Python has so many functions in it, what's the best way to remember all these? What's the best way to learn the functions we'll need day-to-day like enumerate and range? How do you
Today the Windows team announced the May 2019 Update for Windows 10. In this post we’re going to look at what we, Microsoft’s Python team, have done to make Python easier to install on Windows by helping the community publish to the Microsoft Store and, in collaboration with Windows, adding a default “python.exe” command to help find it. You may have already heard about these on the Python Bytes p
Many people started switching their Python versions from 2 to 3 as a result of Python EOL. Unfortunately, most Python 3 I find still looks like Python 2, but with parentheses (even I am guilty of that in my code examples in previous posts – Introduction to web scraping with Python). Below, I show some examples of exciting features you can only use in Python 3 in the hopes that it will make solving
Page Navigation → System Description → Released Files → Development History → Main References Other Research → ML-Ask: Affect Analysis → CAO: Emoticon Analysis → Automatic Evaluation of Conversational Agents → Contextual Appropriateness of Emotions → Cyberbullying Detection → SPEC: Sentence Pattern Extraction Architecture → POST-AL: POS Tagger for Ainu Language → YACIS: Yet Another Corpus of Inter
学習履歴 ■はじめに python でテスト手法について色々と学んできたが、テストと合わせてログの出し方も 覚えておくと便利だ。 ここでは、ロギングの勉強をしよう。 ■参考 この記事は、現役シリコンバレーエンジニアが教えるPython 3 入門 + 応用 +アメリカのシリコンバレー流コードスタイルを参考にしています(すごく、おすすめです!) [その他 プログラム記事] ■環境 python3 pycharm Anaconda ■ロギング ロギングの方法を実際にコードを書きながら覚えていこう。 1.ログレベル python のロギングには、5 つのレベルがある。 1. CRITICAL 2. ERROR 3. WARNING 4. INFO 5. DEBUG デフォルトでは、INFO, DEBUG は、出力されないようになっている。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く