TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #76 · 27 апр.

Ранее я делал серию постов про битовые операторы. Вот вам ещё один наглядный пример как это используется в Python в модуле re. Чтобы указать флаг для компилятора нам надо указать его после передаваемой строки. Например, добавляем флаг для игнорирования переноса строки. pattern = re.compile(r"(\w+)+") words = pattern.search(text, re.DOTALL) А как указать несколько флагов? Ведь явно будут ситуации когда нам потребуется больше одного. Кто читал посты по битовые операторы уже понял как. pattern.search(text, re.DOTALL | re.VERBOSE) А теперь смотрим исходники, что находится в этих атрибутах? Не удивительно, степени двойки. Почему? Потому что каждое следующее значение это сдвиг единицы влево. >>> for n in [1, 2, 4, 8, 16, 32, 64, 128, 256]: >>> print(bin(n)) 0b1 0b10 0b100 0b1000 0b10000 0b100000 0b1000000 0b10000000 0b100000000 Чтобы было понятней, давайте напишем тоже самое но иначе, добавим ведущие нули: 000000001 000000010 000000100 000001000 000010000 000100000 001000000 010000000 100000000 Не понятно что тут происходит? Читай три поста про битовые операторы начиная с этого ➡️https://t.me/pythonotes/45 В общем, это пример применения побитовых операций в самом Python. Теперь вы знаете Python еще немного лучше) #tricks#regex#libs

Резултати

Пронајдени 3 слични објави

Пребарај: #aiterminology

当前筛选 #aiterminology清除筛选
AI & Law

@ai_and_law · Post #786 · 17.03.2026 г., 08:04

🌐OECD Report Seeks Clear Terminology for AI Agents and Agentic AI The Organisation for Economic Co-operation and Development (OECD) has published a report examining the concepts of “AI agents” and “agentic AI” and the distinction between them. The report analyses how both terms are used in existing literature and evaluates their meaning through the lens of the OECD definition of an AI system. The study aims to establish more precise and consistent terminology around these concepts. By reviewing current academic and policy discussions, the report highlights differences in how the terms are applied and seeks to clarify their use in the context of AI governance and research. #AI#AIGovernance#AITerminology#AIRegulation#OECD

AI & Law

@ai_and_law · Post #167 · 17.11.2023 г., 08:04

EU and U.S. Release 65 Key AI Terms: Seeking Public Input Hello, dear subscribers! The European Union and the United States have unveiled 65 key AI terms crucial for comprehending risk-based AI approaches. As part of the Fourth EU-US Trade and Technology Council held in May 2023, the EU and U.S. have released essential AI terminology and taxonomy. The initiative aims to foster a shared understanding of risk management in the realm of Artificial Intelligence. Now, they are inviting public input. Comments on the completeness, relevance, and correctness of these definitions are encouraged. #AInews#EUUSTradeTech#AIterminology

AI & Law

@ai_and_law · Post #42 · 29.06.2023 г., 07:04

EU-US draft Terminology and Taxonomy for artificial intelligence released The Trade and Technology Council has published a significant document called the "Draft EU-US Terminology and Taxonomy for Artificial Intelligence." This publication marks a crucial milestone in establishing a common understanding of AI systems between the European Union and the United States. The identified terms in this draft reflect a shared understanding of the technical, socio-technical, and values-based aspects of AI. They are designed to lay the groundwork for future definitions and facilitate transatlantic collaboration on AI terminology and taxonomy. It's important to note that this list is preliminary and is expected to evolve further. In the coming months, experts and stakeholders will provide their input to expand and validate the terminology. This collaborative effort ensures a comprehensive and inclusive approach to defining AI concepts. #AITerminology#AITaxonomy#TransatlanticCooperation#AI#Law