Hands-On Differential Privacy: Introduction to the Theory and Practice Using OpenDP

Автор: literator от 19-05-2024, 21:40, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: Hands-On Differential Privacy: Introduction to the Theory and Practice Using OpenDP
Автор: Ethan Cowan, Michael Shoemate, Mayana Pereira
Издательство: O’Reilly Media, Inc.
Год: 2024
Страниц: 373
Язык: английский
Формат: epub
Размер: 10.1 MB

Many organizations today analyze and share large, sensitive datasets about individuals. Whether these datasets cover healthcare details, financial records, or exam scores, it's become more difficult for organizations to protect an individual's information through deidentification, anonymization, and other traditional statistical disclosure limitation techniques. This practical book explains how differential privacy (DP) can help. Authors Ethan Cowan, Michael Shoemate, and Mayana Pereira explain how these techniques enable data scientists, researchers, and programmers to run statistical analyses that hide the contribution of any single individual. You'll dive into basic DP concepts and understand how to use open source tools to create differentially private statistics, explore how to assess the utility/privacy trade-offs, and learn how to integrate differential privacy into workflows. The OpenDP Library is part of the larger OpenDP Project. OpenDP is a community effort to build a trustworthy suite of open-source tools for enabling privacy-protective analysis of sensitive personal data, focused on a library of algorithms for generating differentially private statistical releases. The target use cases for OpenDP are to enable government, industry, and academic institutions to safely and confidently share sensitive data to support scientifically oriented research and exploration in the public interest. We aim for OpenDP to flexibly grow with the rapidly advancing science of differential privacy, and be a pathway to bring the newest algorithmic developments to a wide array of practitioners. SmartNoise is a collaboration between Microsoft, Harvard’s Institute for Quantitative Social Science (IQSS), and the OpenDP Project. The project aims to connect solutions from the research community with the lessons learned from real-world deployments to make differential privacy broadly accessible. Building upon the foundation of the OpenDP Library, the SmartNoise SDK includes two Python packages: smartnoise-sql and smartnoise-synth.
 

Prompt Engineering for Generative AI: Future-Proof Inputs for Reliable AI Outputs (Final Release)

Автор: literator от 19-05-2024, 21:01, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: Prompt Engineering for Generative AI: Future-Proof Inputs for Reliable AI Outputs at Scale (Final Release)
Автор: James Phoenix, Mike Taylor
Издательство: O’Reilly Media, Inc.
Год: 2024
Страниц: 499
Язык: английский
Формат: epub
Размер: 33.5 MB

Large language models (LLMs) and diffusion models such as ChatGPT and Stable Diffusion have unprecedented potential. Because they have been trained on all the public text and images on the internet, they can make useful contributions to a wide variety of tasks. And with the barrier to entry greatly reduced today, practically any developer can harness LLMs and diffusion models to tackle problems previously unsuitable for automation. With this book, you'll gain a solid foundation in generative AI, including how to apply these models in practice. When first integrating LLMs and diffusion models into their workflows, most developers struggle to coax reliable enough results from them to use in automated systems. Authors James Phoenix and Mike Taylor show you how a set of principles called prompt engineering can enable you to work effectively with AI. All of the code in this book is in Python and was designed to be run in a Jupyter Notebook or Google Colab notebook. The concepts taught in the book are transferable to jаvascript or any other coding language if preferred, though the primary focus of this book is on prompting techniques rather than traditional coding skills. The code can all be found on GitHub, and we will link to the relevant notebooks throughout. It’s highly recommended that you utilize the GitHub repository and run the provided examples while reading the book.
 

Introduction to Data Science in Biostatistics: Using R, the Tidyverse Ecosystem, and APIs

Автор: literator от 19-05-2024, 17:37, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: Introduction to Data Science in Biostatistics: Using R, the Tidyverse Ecosystem, and APIs
Автор: Thomas W. MacFarland
Издательство: Springer
Год: 2024
Страниц: 536
Язык: английский
Формат: pdf (true)
Размер: 21.5 MB

Introduction to Data Science in Biostatistics: Using R, the Tidyverse Ecosystem, and APIs defines and explores the term "Data Science" and discusses the many professional skills and competencies affiliated with the industry. With Data Science being a leading indicator of interest in STEM fields, the text also investigates this ongoing growth of demand in these spaces, with the goal of providing readers who are entering the professional world with foundational knowledge of required skills, job trends, and salary expectations. The text provides a historical overview of computing and the field's progression to R as it exists today, including the multitude of packages and functions associated with both Base R and the tidyverse ecosystem. Readers will learn how to use R to work with real data, as well as how to communicate results to external stakeholders. A distinguishing feature of this text is its emphasis on the emerging use of APIs to obtain data. This text was developed to assist beginning students and early stages researchers in their attempt to make sense of how software can be used in biostatistics, viewing an all-pervasive concept of biostatistics in the large and the many disciplines associated with biostatistics. To meet this challenge, R was selected as the most appropriate programming language, calling on Base R (e.g., the many functions made available when R is first downloaded) and supporting packages (e.g., the thousands of auxiliary R software collections that provide functionality far beyond what is available in Base R, especially packages associated with the Tidyverse ecosystem).
 

Python Tkinter 35 Mini Projects : Practical guide for begineer

Автор: literator от 19-05-2024, 14:51, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: Python Tkinter 35 Mini Projects : Practical guide for begineer
Автор: Vaishali B. Bhagat
Издательство: Independently published
Год: 2024
Страниц: 218
Язык: английский
Формат: pdf, epub
Размер: 10.1 MB

Dive into the world of Python GUI programming with Tkinter through 35 exciting mini projects! Perfect for beginners and those looking to enhance their skills, this book offers a hands-on approach to learning. From creating simple interfaces to building interactive applications, each project is designed to help you grasp Tkinter concepts effortlessly. With clear explanations and practical examples, you'll gain confidence in GUI development while unleashing your creativity. Start your journey today and discover the power of Python Tkinter! Welcome to our Tkinter tutorial! In this program, we'll explore how to make a simple graphical user interface (GUI) using Python Tkinter. Our aim is to build a program that greets users with a welcome message when they click a button. To do this, we'll be using Tkinter, the most popular library for making GUIs in Python. We'll use two widgets: a Button labeled "Click Me" and a Label to display the text. Initially, the label won't show any text. However, when the button is clicked, it will update to show the message "Welcome to Python Programming world!" in a bold font. Let's dive in and create our first Tkinter app! Requirements: Text Editor or IDE: You'll need a text editor to write the code. I've used the Thonny IDE for writing and executing this program. However, you can use any Python IDE or text editor of your choice to run the program.
 

Practical Python Backend Programming: Build Flask and FastAPI applications, asynchronous programming

Автор: literator от 19-05-2024, 05:18, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: Practical Python Backend Programming: Build Flask and FastAPI applications, asynchronous programming, containerization and deploy apps on cloud
Автор: Tim Peters
Издательство: GitforGits
Год: 2024
Страниц: 431
Язык: английский
Формат: pdf, epub (true), mobi
Размер: 10.1 MB

"Practical Python Backend Programming" is a quick pragmatic book that teaches both new and experienced developers the fundamentals of backend development with Python. All sorts of developers, from Python programmers to non-Python programmers, full stack developers, and web developers, will find what they need to know to become experts in backend programming in this entire book. The book covers key topics in backend development, including how to set up stable development environments and how to use virtual environments for better dependency management. With this book, readers will have a firm grasp of Python programming with an emphasis on backend tasks by learning the language's syntax, data structures, and functions. The book teaches you to create and launch dynamic web apps by providing an in-depth look at web frameworks such as Flask and FastAPI. It teaches SQLAlchemy for efficient data handling and advanced database integration, and it shows to improve applications with databases like PostgreSQL, MySQL, and MongoDB. Strategies for managing concurrent operations and improving performance are also covered in the book, along with asynchronous programming in Python. This book delves into various authentication methods, secure communication protocols such as HTTPS, and techniques to secure REST APIs. For efficient management of asynchronous tasks and real-time data processing, it also introduces message brokers such as RabbitMQ and Kafka. The book teaches its readers how to containerize apps and manage them on a large scale by integrating technologies like Docker and Kubernetes.
 

Ethics, Machine Learning, and Python in Geospatial Analysis

Автор: literator от 18-05-2024, 15:44, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: Ethics, Machine Learning, and Python in Geospatial Analysis
Автор: Mohammad Gouse Galety, Arul Kumar Natarajan, Tesfaye Fufa Gedefa, Tsegaye Demsis Lemma
Издательство: IGI Global
Год: 2024
Страниц: 359
Язык: английский
Формат: pdf (true), epub
Размер: 26.8 MB

In geospatial analysis, navigating the complexities of data interpretation and analysis presents a formidable challenge. Traditional methods often need to efficiently handle vast volumes of geospatial data while providing insightful and actionable results. Scholars and practitioners grapple with manual or rule-based approaches, hindering progress in understanding and addressing pressing issues such as climate change, urbanization, and resource management. Ethics, Machine Learning, and Python in Geospatial Analysis offers a solution to the challenges faced by leveraging the extensive library support and user-friendly interface of Python and Machine Learning. The book's meticulously crafted chapters guide readers through the intricacies of Python programming and its application in geospatial analysis, from fundamental concepts to advanced techniques. The chapters within this book span a diverse range of topics, each meticulously crafted to provide readers with a holistic understanding of the subject matter. From examining the ethical dimensions of GIS data privacy to mastering geospatial analysis with Python, each Chapter contributes to a nuanced field exploration. Further, prominent Python libraries for geospatial analysis are explored. GeoPandas is introduced, detailing its capabilities in working with geospatial data, handling geometric data structures, and leveraging spatial operations. Shapely is examined for its role in geometric manipulations. Fiona is explored as a library for handling geospatial data.
 

Fundamental Mathematical Concepts for Machine Learning in Science

Автор: literator от 18-05-2024, 10:51, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: Fundamental Mathematical Concepts for Machine Learning in Science
Автор: Umberto Michelucci
Издательство: Springer
Год: 2024
Страниц: 259
Язык: английский
Формат: pdf (true), epub
Размер: 10.1 MB

This book is for individuals with a scientific background who aspire to apply Machine Learning (ML) within various natural science disciplines—such as physics, chemistry, biology, medicine, psychology and many more. It elucidates core mathematical concepts in an accessible and straightforward manner, maintaining rigorous mathematical integrity. For readers more versed in mathematics, the book includes advanced sections that are not prerequisites for the initial reading. It ensures concepts are clearly defined and theorems are proven where it's pertinent. Machine Learning transcends the mere implementation and training of algorithms; it encompasses the broader challenges of constructing robust datasets, model validation, addressing imbalanced datasets, and fine-tuning hyperparameters. These topics are thoroughly examined within the text, along with the theoretical foundations underlying these methods. Rather than concentrating on particular algorithms this book focuses on the comprehensive concepts and theories essential for their application. It stands as an indispensable resource for any scientist keen on integrating Machine Learning effectively into their research. Numerous texts delve into the technical execution of Machine Learning algorithms, often overlooking the foundational concepts vital for fully grasping these methods. This leads to a gap in using these algorithms effectively across diverse disciplines. Although the book does not delve into programming details, it points out its relevance in Machine Learning, especially considering Python.
 

Data and Process Visualisation for Graphic Communication: A Hands-on Approach with Python

Автор: literator от 18-05-2024, 09:40, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: Data and Process Visualisation for Graphic Communication: A Hands-on Approach with Python
Автор: Francesco Bianconi
Издательство: Springer
Год: 2024
Страниц: 242
Язык: английский
Формат: pdf (true)
Размер: 20.1 MB

This book guides the reader through the process of graphic communication with a particular focus on representing data and processes. It considers a variety of common graphic communication scenarios among those that arise most frequently in practical applications. Graphic communication is a form of visual communication that employs images and graphics to convey information, ideas, and messages. It plays a fundamental role in several aspects of our personal and professional lives including education and learning, science and research, brainstorming, and decision-making as well as marketing and branding. This volume aims at guiding the reader through the process of graphic communication with particular focus on representing data and processes. It considers a variety of common graphic communication scenarios among those that arise most frequently in practical applications, e.g., representing magnitudes, proportions, relations, groups, geographical data, timelines, etc. At the time of writing Python is consistently ranked as the most popular programming language in the world. As for data visualization, there are already a number of packages available: Bokeh, HoloViz, Matplotlib, Plotly and Seaborn are just some examples. In writing this book we therefore had to made a choice about which package(s) to consider for the examples presented herein. Then, for each type of chart presented in the book, we proposed the implementation that we thought was the most clear and concise. When there were substantially equivalent solutions, we favored Matplotlib, both due to personal experience and the historical importance of this library.
 

Introduction to Python: With Applications in Optimization, Image and Video Processing, and Machine Learning

Автор: literator от 18-05-2024, 08:05, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: Introduction to Python: With Applications in Optimization, Image and Video Processing, and Machine Learning
Автор: David Báez-López, David Alfredo Báez Villegas
Издательство: CRC Press
Серия: The Python Series
Год: 2024
Страниц: 453
Язык: английский
Формат: pdf (true), epub
Размер: 11.1 MB

Introduction to Python: with Applications in Optimization, Image and Video Processing, and Machine Learning is intended primarily for advanced undergraduate and graduate students in quantitative sciences such as mathematics, Computer Science, and engineering. In addition to this, the book is written in such a way that it can also serve as a self-contained handbook for professionals working in quantitative fields including finance, IT, and many other industries where programming is a useful or essential tool. The book is written to be accessible and useful to those with no prior experience of Python, but those who are somewhat more adept will also benefit from the more advanced material that comes later in the book. Python is a high-level programming language that supports procedural, imperative, object-oriented, and functional modes. This book covers the first three modes. Python has a simple easy to learn syntax. Python supports modules, libraries, and packages, encouraging program modularity and code reuse. The book may be divided in two parts. The first part, comprised of Chapters 1 to 8, can be used by a person interested in learning Python from scratch; that is, he/she does not have any knowledge of Python. The learning goes from installing Python to implementing functions and generating complex plots. The second part covers advanced topics such as optimization, image and video processing, and Machine Learning using Keras, TensorFlow, and neural networks. Throughout the book, the use of external modules or libraries makes the Python programs very powerful.
 

Machine Learning for Materials Discovery: Numerical Recipes and Practical Applications

Автор: literator от 17-05-2024, 15:22, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: Machine Learning for Materials Discovery: Numerical Recipes and Practical Applications
Автор: N. M. Anoop Krishnan, Hariprasad Kodamana, Ravinder Bhattoo
Издательство: Springer
Год: 2024
Страниц: 287
Язык: английский
Формат: pdf (true)
Размер: 11.5 MB

Focusing on the fundamentals of Machine Learning, this book covers broad areas of data-driven modeling, ranging from simple regression to advanced Machine Learning and optimization methods for applications in materials modeling and discovery. The book explains complex mathematical concepts in a lucid manner to ensure that readers from different materials domains are able to use these techniques successfully. A unique feature of this book is its hands-on aspect―each method presented herein is accompanied by a code that implements the method in open-source platforms such as Python. This book is thus aimed at graduate students, researchers, and engineers to enable the use of data-driven methods for understanding and accelerating the discovery of novel materials. We discuss the transformative impact of Deep Learning compared to classical approaches, which heavily rely on handcrafted features and hyperparameter tuning. To this extent, the chapter explores a range of advanced Deep Learning models, including Convolutional Neural Networks (CNNs) for materials image analysis, Long Short-Term Memory networks (LSTMs) for sequential materials data, Generative Adversarial Networks (GANs) for generating new material structures, Graph Neural Networks (GNNs) for analyzing materials graphs, Variational Autoencoders (VAEs) for materials representation learning, and Reinforcement Learning (RL) which has been widely used in materials domain. Each model is presented with a detailed explanation of its underlying principles, architectures, and training methodologies.