Quiz: Python Type Checking

Interactive Quiz ⋅ 17 QuestionsBy Martin Breuss Share Or copy the link: Copied! Happy Pythoning! In this quiz, you’ll test your understanding of Python Type Checking. By working through this quiz, you’ll revisit type annotations and type hints, adding static types to code, running a static type checker, and enforcing types at runtime. The quiz contains 17 questions and there is no time limit. You’ll get 1 point for each    

Read more

Split Your Dataset With scikit-learn’s train_test_split()

Watch Now This tutorial has a related video course created by the Real Python team. Watch it together with the written tutorial to deepen your understanding: Splitting Datasets With scikit-learn and train_test_split() One of the key aspects of supervised machine learning is model evaluation and validation. When you evaluate the predictive performance of your model, it’s essential that the process be unbiased. Using train_test_split() from the data science library scikit-learn, you can split your dataset into subsets that minimize the […]

Read more

Detailed Guide to LangChain Text Splitters with Examples

What are LangChain Text Splitters In recent times LangChain has evolved into a go-to framework for creating complex pipelines for working with LLMs. One of its important utility is the langchain_text_splitters package which contains various modules to split large textual data into more manageable chunks. Usually, LangChain Text Splitters are used in RAG architecture to chunk a large document and convert these chunks into embeddings to be stored in Vector DB. For LLMs with limited context-size windows, it is quite […]

Read more

RUBICON: Evaluating conversations between humans and AI systems

This paper has been accepted at the 1st ACM International Conference on AI-powered Software (opens in new tab) (AIware 2024), co-located with FSE 2024 (opens in new tab). AIware is the premier international forum on AI-powered software. Generative AI has redefined the landscape of AI assistants in software development, with innovations like GitHub Copilot providing real-time, chat-based programming support. As these tools increase in sophistication and domain specialization, assessing their impact  

Read more

Quiz: Build a Blog Using Django, GraphQL, and Vue

Interactive Quiz ⋅ 8 QuestionsBy Philipp Acsany Share Or copy the link: Copied! Happy Pythoning! In this quiz, you’ll test your understanding of building a Django blog back end and a Vue front end, using GraphQL to communicate between them. You’ll revisit how to run the Django server and a Vue application on your computer at the same time. The quiz contains 8 questions and there is no time limit.    

Read more

Quiz: Python’s Built-in Functions: A Complete Exploration

Interactive Quiz ⋅ 24 QuestionsBy Leodanis Pozo Ramos Share Or copy the link: Copied! Happy Pythoning! Test your understanding of Python’s built-in functions and how to use them in your code. Take this quiz after reading our Python’s Built-in Functions: A Complete Exploration tutorial. The quiz contains 24 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll    

Read more

Quiz: Choosing the Best Font for Programming

Interactive Quiz ⋅ 12 QuestionsBy Philipp Acsany Share Or copy the link: Copied! Happy Pythoning! In this quiz, you’ll test your understanding of how to choose the best font for your daily programming. You’ll get questions about the technicalities and features to consider when choosing a programming font and refresh your knowledge about how to spot a high-quality coding font. The quiz contains 12 questions and there is no time limit.    

Read more

Collaborators: Sustainable electronics with Jake Smith and Aniruddh Vashisth

I’m thrilled to be in the booth today, IRL, with Dr. Jake Smith, a senior researcher at Microsoft Research and part of the Microsoft Climate Research Initiative, or MCRI. And with him is Dr. Aniruddh Vashisth. He’s an assistant professor of mechanical engineering at the University of Washington and director of the Vashisth Research Lab. Jake and Aniruddh are working on a project that uses machine learning to help scientists design sustainable polymers with a particularly exciting application in the […]

Read more

5 Tips for Getting Started with Deep Learning

Image by Author | Midjourney Deep learning is a subset of machine learning that has become a cornerstone in many technological breakthroughs. At the core of deep learning, it’s a model inspired by the human brain, which we call a neural network. Contrary to the traditional machine learning model, deep learning can automatically find feature representations from data. That’s why many domains, including computer vision, speech recognition, text generation, and many more, use deep learning as their technology basis. With […]

Read more

Principles of Reinforcement Learning: An Introduction with Python

Image by Editor | Midjourney Reinforcement Learning (RL) is a type of machine learning. It trains an agent to make decisions by interacting with an environment. This article covers the basic concepts of RL. These include states, actions, rewards, policies, and the Markov Decision Process (MDP). By the end, you will understand how RL works. You will also learn how to implement it in Python. Key Concepts in Reinforcement Learning Reinforcement Learning (RL) involves several core ideas that shape how […]

Read more
1 22 23 24 25 26 907