Forwarded from DLeX: AI Python (Farzad 🦅)
دوره یادگیری ماشین با تنسرفلو شرکت گوگل منتشر شد.
✏️ Link
#یادگیری_ماشین #تنسرفلو #منابع #فیلم #کلاس_آموزشی #پایتون
#machinelearning #python
❇️ @AI_Python
🗣 @AI_Python_arXiv
✴️ @AI_Python_EN
✏️ Link
#یادگیری_ماشین #تنسرفلو #منابع #فیلم #کلاس_آموزشی #پایتون
#machinelearning #python
❇️ @AI_Python
🗣 @AI_Python_arXiv
✴️ @AI_Python_EN
Python 3.9 got released and it comes with new cool features:
1. Dictionary union:
a = {1: 'a', 2: 'b', 3: 'c'}
b = {4: 'd', 5: 'e'}
c = a | b
print(c)
[Out]: {1: 'a', 2: 'b', 3: 'c', 4: 'd', 5: 'e'}
2. Type hinting. Allows you to write:
def sum_dict(var: dict[str, int]) -> int:
return sum(var[key] for key in var)
3. New string methods. Two new string methods for removing prefixes and suffixes have been added.
"Hello world".removeprefix("He")
[Out]: "llo world"
4. Python 3.9 uses a new parser, based on PEG instead of LL(1). Python users are not affected, but parser improvements would help to develop new language features faster.
Link
#python
@pythonicAi
1. Dictionary union:
a = {1: 'a', 2: 'b', 3: 'c'}
b = {4: 'd', 5: 'e'}
c = a | b
print(c)
[Out]: {1: 'a', 2: 'b', 3: 'c', 4: 'd', 5: 'e'}
2. Type hinting. Allows you to write:
def sum_dict(var: dict[str, int]) -> int:
return sum(var[key] for key in var)
3. New string methods. Two new string methods for removing prefixes and suffixes have been added.
"Hello world".removeprefix("He")
[Out]: "llo world"
4. Python 3.9 uses a new parser, based on PEG instead of LL(1). Python users are not affected, but parser improvements would help to develop new language features faster.
Link
#python
@pythonicAi
Blogspot
Python 3.9.0b3 is now available for testing
On behalf of the entire Python development community, and the currently serving Python release team in particular, I’m pleased to announce...
Join our discussion group to share your knowledge and resolve your issues in #python #machinelearning and #artificialintelligence.
با عضویت در گروه بحث و گفتگوی ما میتوانید دانش خود را با دیگران به اشتراک گذاشته و مسائل و سوالات خود در زمینه #ماشین_لرنینگ #پایتون و #هوش_مصنوعی را برطرف نمایید.
@pythonic_discussion
با عضویت در گروه بحث و گفتگوی ما میتوانید دانش خود را با دیگران به اشتراک گذاشته و مسائل و سوالات خود در زمینه #ماشین_لرنینگ #پایتون و #هوش_مصنوعی را برطرف نمایید.
@pythonic_discussion