Qiita
You are not logged in to any team
Log in to Qiita Team...
Community
List of all organizatioins
Advent Calendar
Qiita Jobs
Qiitadon (β)
Qiita Zine
Community Guideline
How to write good articles
Release note
Signup
Login
LGTM items
Followees
Comment history
Edit request history
Issue report
Help us understand the problem. What is going on with this user?
It's illegal (copyright infringement, privacy infringement, libel, etc.)
It's socially inappropriate (offensive to public order and morals)
It's advertising
It's spam
Other than the above, but not suitable for the Qiita community (violation of guidelines)
Afo Guard
@Afo_guard_enthusiast
NA
64
Posts
95
Contributions
3
Followers
Follow
afo.guard.2020@gmail.com
Secret
Secret
Following tags
pixyz
LiNGAM
manim
Blenderbot
チャットボット
FineTuning
dlang
ffmpeg
youtube-dl
映像解析
T5
huggingface
gpt-3
gpt-2
Julia
NLP
PlaidML
Lazy_K
Prolog
Streamlit
$ analyze @Afo_guard_enthusiast
posted articles
Python:
41%
NLP:
31%
Python3:
27%
自然言語処理:
20%
DeepLearning:
20%
LGTMed articles
Python:
34%
DeepLearning:
27%
機械学習:
25%
自然言語処理:
13%
論文読み:
11%
answered questions
No data
Edit Pickup Articles (Up to 3)
Save
Pickup Articles
Python
関数型プログラミング
プログラミング言語
DependentType
RefinementType
Pythonで関数型言語の依存型と篩型の型クラスを宣言する方法
1
##問題意識の所在 自作クラスを宣言するときに、定義するクラスが用いるデータ型に制約を与えるだけでなく、そのクラスのインスタンスが__持ちうる値の範囲や、長さの範囲についても制約を与える__ことができる言語は、__依存型や篩型の型クラスを宣言できる言語__として、知られています。篩型は、「ふるい」型と読みます。 __データ型に「要素数」や「長さ」といった数的な制約条件を持ち込むことで、どんな...
2020/11/25
Python
関数型プログラミング
プログラミング言語
DependentType
RefinementType
Pythonで、持ちうる要素数の上限値と下限値が決められた配列リストを表現する自作データ型を定義する
1
##この記事で行うこと __要素の数が、[ある数値以上、ある数値以下]であるlist配列であること__、という__型制約__を持つ__自作クラス(自作データ型)__を__Pythonで宣言__してみます。 このデータ型のインスタンスを生成するときに、__コンストラクタに、上記の条件を破る引数を与えると、*TypeError*が発生して、Pythonは処理を終了__します。 なお、__このli...
2020/11/26
All Items
Articles
Answers
Questions