万本电子书0元读

万本电子书0元读

Android Sensor Programming By Example
Android Sensor Programming By Example
Varun Nagpal
¥71.93
Take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors About This Book Get a thorough understanding of the fundamentals and framework of Android sensors. Acquire knowledge of advance sensor programming, and learn how to connect and use sensors in external devices such as the Android Watch, Polar heart rate monitors, Adidas speed cells, and so on. Learn from real-world sensor-based applications such as the Pedometer app to detect daily steps, the Driving app to detect driving events, and the Professional Fitness tracker app to track heart rate, weight, daily steps, calories burned, and so on. Who This Book Is For This book is targeted at Android developers who want to get a good understanding of sensors and write sensor-based applications, or who want to enhance their existing applications with additional sensor functionality. A basic knowledge of Android development is required What You Will Learn Learn about sensor fundamentals, different types of sensors, and the sensor co-ordinate system Understand the various classes, callbacks, and APIs of the Android Sensor framework Check all the available sensors on an Android device and know their individual capabilities—for example, their range of values, power consumption, and so on. Implement sensor fusion using two or more sensors together and learn to compensate for the weakness of one sensor by using the strength of another Build a variety of sensor based, real-world applications such as Weather, Pedometer, Compass, Driving Events Detection, Fitness Tracker, and so on. Get to know about wake up and non-wake up sensors, wake locks, and how to use sensor batch processing along with the sensor hardware FIFO queue Develop efficient battery and processor algorithms using raw sensor data to solve real-world problems Connect to a variety of remote sensors such as body weight measurement and body fat percentage measurement using the Google Fit platform from your Android app In Detail Android phones available in today’s market have a wide variety of powerful and highly precise sensors. Interesting applications can be built with them such as a local weather app using weather sensors, analyzing risky driving behavior using motion sensors, a fitness tracker using step-counter sensors, and so on. Sensors in external devices such as Android Watch, Body Analyzer & Weight Machine, Running Speed Cell, and so on can also be connected and used from your Android app running on your phone. Moving further, this book will provide the skills required to use sensors in your Android applications. It will walk you through all the fundamentals of sensors and will provide a thorough understanding of the Android Sensor Framework. You will also get to learn how to write code for the supportive infrastructure such as background services, scheduled and long running background threads, and databases for saving sensor data. Additionally, you will learn how to connect and use sensors in external devices from your Android app using the Google Fit platform. By the end of the book, you will be well versed in the use of Android sensors and programming to build interactive applications. Style and approach A step-by-step and easy-to-follow guide that focuses on utilizing sensors to perform certain tasks. After covering the fundamentals in the first chapter, the book develops the concepts by building a real-world, sensor-based application in subsequent chapters.
Data Analysis with Python
Data Analysis with Python
David Taieb
¥71.93
Learn a modern approach to data analysis using Python to harness the power of programming and AI across your data. Detailed case studies bring this modern approach to life across visual data, social media, graph algorithms, and time series analysis. Key Features *Bridge your data analysis with the power of programming, complex algorithms, and AI *Use Python and its extensive libraries to power your way to new levels of data insight *Work with AI algorithms, TensorFlow, graph algorithms, NLP, and financial time series *Explore this modern approach across with key industry case studies and hands-on projects Book Description Data Analysis with Python offers a modern approach to data analysis so that you can work with the latest and most powerful Python tools, AI techniques, and open source libraries. Industry expert David Taieb shows you how to bridge data science with the power of programming and algorithms in Python. You'll be working with complex algorithms, and cutting-edge AI in your data analysis. Learn how to analyze data with hands-on examples using Python-based tools and Jupyter Notebook. You'll find the right balance of theory and practice, with extensive code files that you can integrate right into your own data projects. Explore the power of this approach to data analysis by then working with it across key industry case studies. Four fascinating and full projects connect you to the most critical data analysis challenges you’re likely to meet in today. The first of these is an image recognition application with TensorFlow – embracing the importance today of AI in your data analysis. The second industry project analyses social media trends, exploring big data issues and AI approaches to natural language processing. The third case study is a financial portfolio analysis application that engages you with time series analysis - pivotal to many data science applications today. The fourth industry use case dives you into graph algorithms and the power of programming in modern data science. You'll wrap up with a thoughtful look at the future of data science and how it will harness the power of algorithms and artificial intelligence. What you will learn *A new toolset that has been carefully crafted to meet for your data analysis challenges *Full and detailed case studies of the toolset across several of today’s key industry contexts *Become super productive with a new toolset across Python and Jupyter Notebook *Look into the future of data science and which directions to develop your skills next Who this book is for This book is for developers wanting to bridge the gap between them and data scientists. Introducing PixieDust from its creator, the book is a great desk companion for the accomplished Data Scientist. Some fluency in data interpretation and visualization is assumed. It will be helpful to have some knowledge of Python, using Python libraries, and some proficiency in web development.
Hands-On Meta Learning with Python
Hands-On Meta Learning with Python
Sudharsan Ravichandiran
¥71.93
Explore a diverse set of meta-learning algorithms and techniques to enable human-like cognition for your machine learning models using various Python frameworks Key Features *Understand the foundations of meta learning algorithms *Explore practical examples to explore various one-shot learning algorithms with its applications in TensorFlow *Master state of the art meta learning algorithms like MAML, reptile, meta SGD Book Description Meta learning is an exciting research trend in machine learning, which enables a model to understand the learning process. Unlike other ML paradigms, with meta learning you can learn from small datasets faster. Hands-On Meta Learning with Python starts by explaining the fundamentals of meta learning and helps you understand the concept of learning to learn. You will delve into various one-shot learning algorithms, like siamese, prototypical, relation and memory-augmented networks by implementing them in TensorFlow and Keras. As you make your way through the book, you will dive into state-of-the-art meta learning algorithms such as MAML, Reptile, and CAML. You will then explore how to learn quickly with Meta-SGD and discover how you can perform unsupervised learning using meta learning with CACTUs. In the concluding chapters, you will work through recent trends in meta learning such as adversarial meta learning, task agnostic meta learning, and meta imitation learning. By the end of this book, you will be familiar with state-of-the-art meta learning algorithms and able to enable human-like cognition for your machine learning models. What you will learn *Understand the basics of meta learning methods, algorithms, and types *Build voice and face recognition models using a siamese network *Learn the prototypical network along with its variants *Build relation networks and matching networks from scratch *Implement MAML and Reptile algorithms from scratch in Python *Work through imitation learning and adversarial meta learning *Explore task agnostic meta learning and deep meta learning Who this book is for Hands-On Meta Learning with Python is for machine learning enthusiasts, AI researchers, and data scientists who want to explore meta learning as an advanced approach for training machine learning models. Working knowledge of machine learning concepts and Python programming is necessary.
Learn Linux Shell Scripting – Fundamentals of Bash 4.4
Learn Linux Shell Scripting – Fundamentals of Bash 4.4
Sebastiaan Tammer
¥71.93
Create and maintain powerful Bash scripts for automation and administration. Key Features *Get up and running with Linux shell scripting using real-world examples *Leverage command-line techniques and methodologies to automate common yet complex administration tasks *A practical guide with exposure to scripting constructs and common scripting patterns Book Description Shell scripts allow us to program commands in chains and have the system execute them as a scripted event, just like batch files. This book will start with an overview of Linux and Bash shell scripting, and then quickly deep dive into helping you set up your local environment, before introducing you to tools that are used to write shell scripts. The next set of chapters will focus on helping you understand Linux under the hood and what Bash provides the user. Soon, you will have embarked on your journey along the command line. You will now begin writing actual scripts instead of commands, and will be introduced to practical applications for scripts. The final set of chapters will deep dive into the more advanced topics in shell scripting. These advanced topics will take you from simple scripts to reusable, valuable programs that exist in the real world. The final chapter will leave you with some handy tips and tricks and, as regards the most frequently used commands, a cheat sheet containing the most interesting flags and options will also be provided. After completing this book, you should feel confident about starting your own shell scripting projects, no matter how simple or complex the task previously seemed. We aim to teach you how to script and what to consider, to complement the clear-cut patterns that you can use in your daily scripting challenges. What you will learn *Understand Linux and Bash basics as well as shell scripting fundamentals *Learn to write simple shell scripts that interact with Linux operating system *Build, maintain, and deploy scripts in a Linux environment *Learn best practices for writing shell scripts *Avoid common pitfalls associated with Bash scripting *Gain experience and the right toolset to write your own complex shell scripts Who this book is for This book targets new and existing Linux system administrators, Windows system administrators or developers who are interested in automating administrative tasks. No prior shell scripting experience is needed but in case you do this book will make a pro quickly. Readers should have a basic understanding of the command line.
Developer, Advocate!
Developer, Advocate!
Geertjan Wielenga
¥71.93
A collection of in-depth conversations with leading developer advocates that reveal the world of developer relations today Key Features * Top developer advocates reveal the work they’re doing at the center of their tech communities and the impact their advocacy is having on the tech industry as a whole * Discover the best practices of developer advocacy and get the inside story on working at some of the world’s largest tech companies * Features contributions from noted developer advocates, including Scott Hanselman, Sally Eaves, Venkat Subramaniam, Jono Bacon, Ted Neward, and more Book Description What exactly is a developer advocate, and how do they connect developers and companies around the world? Why is the area of developer relations set to explode? Can anybody with a passion for tech become a developer advocate? What are the keys to success on a global scale? How does a developer advocate maintain authenticity when balancing the needs of their company and their tech community? What are the hot topics in areas including Java, JavaScript, "tech for good," artificial intelligence, blockchain, the cloud, and open source? These are just a few of the questions addressed by developer advocate and author Geertjan Wielenga in Developer, Advocate!. 32 of the industry's most prominent developer advocates, from companies including Oracle, Microsoft, Google, and Amazon, open up about what it's like to turn a lifelong passion for knowledge sharing about tech into a rewarding career. These advocates run the gamut from working at large software vendors to small start-ups, along with independent developer advocates who work within organizations or for themselves. In Developer, Advocate!, readers will see how developer advocates are actively changing the world, not only for developers, but for individuals and companies navigating the fast-changing tech landscape. More importantly, Developer, Advocate! serves as a rallying cry to inspire and motivate tech enthusiasts and burgeoning developer advocates to get started and take their first steps within their tech community. What you will learn * Discover how developer advocates are putting developer interests at the heart of the software industry in companies including Microsoft and Google * Gain the confidence to use your voice in the tech community * Immerse yourself in developer advocacy techniques * Understand and overcome the challenges and obstacles facing developer advocates today * Hear predictions from the people at the cutting edge of tech * Explore your career options in developer advocacy Who this book is for Anybody interested in developer advocacy, the impact it is having, and how to build developer advocacy capabilities
Getting Started with SpriteKit
Getting Started with SpriteKit
Jorge Jordán
¥71.93
Develop fun and exciting games and create amazing animations for your existing apps with SpriteKit, Apple's 2D game development frameworkAbout This BookLearn the key concepts of game development in iOSTake advantage of SpriteKit to create your own games and improve your appsFollow the step-by-step chapters to create a complete product ready to submit to the App StoreWho This Book Is ForGetting Started with SpriteKit is for beginner-level iOS developers who want to add an extra edge to their apps and create amazing games using SpriteKit. It doesn’t matter whether you have experience in iOS development or not as this book will show you the swift tricks you can use to create games.What You Will LearnCreate and configure a SpriteKit project from scratchLoad and manage the basic elements of games such as sprites, labels, and geometrical primitivesHandle touch events, detect collisions, and play sound audio filesCreate complex elements, animate sprites, and run the parallax effectComplete your games with key components such as a main menu, transitions between scenes, a tutorial, and the ability to load and save dataIncrease the efficiency of your device using the accelerometer or by adding shaders, lights, and shadowsGain complementary techniques such as creating or finding audio resources, applying SpriteKit to apps, or using third-party toolsIn DetailSpriteKit is Apple’s game engine to develop native iOS games. Strongly boosted by the Apple Inc., Cupertino, it has increased in popularity since its first release. This book shows you the solutions provided by SpriteKit to help you create any 2D game you can imagine and apply them to create animations that will highlight your existing apps.This book will give you the knowledge you need to apply SpriteKit to your existing apps or create your own games from scratch.Throughout the book, you will develop a complete game. The beautiful designs implemented in the game in this book will easily lead you to learn the basis of 2D game development, including creating and moving sprites, and adding them to a game scene. You will also discover how to apply advanced techniques such as collision detection, action execution, playing music, or running animations to give a more professional aspect to the game. You will finish your first game by learning how to add a main menu and a tutorial, as well as saving and loading data from and to the player’s device.Finally, you will find out how to apply some mobile games techniques such as accelerometer use or touch detection.Style and approachWritten in an informal way with plenty of illustrative screenshots, this easy-to-follow and practical guide will help you get the most from SpriteKit. The main part of the book provides step-by-step instructions to develop of a complete product, while the last chapters give you some complementary techniques than can be used in mobile 2D game development.
Web Application Development with R Using Shiny - Second Edition
Web Application Development with R Using Shiny - Second Edition
Chris Beeley
¥71.93
Integrate the power of R with the simplicity of Shiny to deliver cutting-edge analytics over the WebAbout This BookUse Shiny's built-in functions to produce engaging user interfaces, and integrate them into your own web pagesImplement powerful user-contributed packages to access graphics from the web, make your own dashboards, use interactive maps, and moreExtend Shiny using JavaScript and jQuery with minimal coding using this handy, step-by-step guideWho This Book Is ForThis book is for anybody who wants to produce interactive data summaries over the web, whether you want to share them with a few colleagues or the whole world. No previous experience with R, Shiny, HTML, or CSS is required to begin using this book, although you should possess some previous experience with programming in a different language.What You Will LearnBuild interactive applications using Shiny's built-in widgetsUse the built-in layout functions in Shiny to produce user-friendly applicationsIntegrate Shiny applications with web pages and customize them using HTML and CSSHarness the power of JavaScript and jQuery to customize your applicationsEngage your users and build better analytics using interactive plotsDebug your applications using Shiny's built-in functionsDeliver simple and powerful analytics across your organization using Shiny dashboardsShare your applications with colleagues or over the Internet using cloud services or your own serverIn DetailR is a highly flexible and powerful tool for analyzing and visualizing data. Most of the applications built using various libraries with R are desktop-based. But what if you want to go on the webHere comes Shiny to your rescue!Shiny allows you to create interactive web applications using the excellent analytical and graphical capabilities of R. This book will guide you through basic data management and analysis with R through your first Shiny application, and then show you how to integrate Shiny applications with your own web pages. Finally, you will learn how to finely control the inputs and outputs of your application, along with using other packages to build state-of-the-art applications, including dashboards.Style and approachLearn by doing! Each chapter includes code and examples to use and adapt for your own applications. As the chapters progress, the code and examples are built upon until you have all the materials required to build a large, complex, real-world analytics application.
Elasticsearch Essentials
Elasticsearch Essentials
Bharvi Dixit
¥71.93
Harness the power of ElasticSearch to build and manage scalable search and analytics solutions with this fast-paced guideAbout This BookNew to ElasticSearchHere’s what you need—a highly practical guide that gives you a quick start with ElasticSearch using easy-to-follow examples; get up and running with ElasticSearch APIs in no timeGet the latest guide on ElasticSearch 2.0.0, which contains concise and adequate information on handling all the issues a developer needs to know while handling data in bulk with search relevancyLearn to create large-scale ElasticSearch clusters using best practicesLearn from our experts—written by Bharvi Dixit who has extensive experience in working with search servers (especially ElasticSearch)Who This Book Is ForAnyone who wants to build efficient search and analytics applications can choose this book. This book is also beneficial for skilled developers, especially ones experienced with Lucene or Solr, who now want to learn Elasticsearch quickly.What You Will LearnGet to know about advanced Elasticsearch concepts and its REST APIsWrite CRUD operations and other search functionalities using the ElasticSearch Python and Java clientsDig into wide range of queries and find out how to use them correctlyDesign schema and mappings with built-in and custom analyzersExcel in data modeling concepts and query optimizationMaster document relationships and geospatial dataBuild analytics using aggregationsSetup and scale Elasticsearch clusters using best practicesLearn to take data backups and secure Elasticsearch clustersIn DetailWith constantly evolving and growing datasets, organizations have the need to find actionable insights for their business. ElasticSearch, which is the world's most advanced search and analytics engine, brings the ability to make massive amounts of data usable in a matter of milliseconds. It not only gives you the power to build blazing fast search solutions over a massive amount of data, but can also serve as a NoSQL data store.This guide will take you on a tour to become a competent developer quickly with a solid knowledge level and understanding of the ElasticSearch core concepts. Starting from the beginning, this book will cover these core concepts, setting up ElasticSearch and various plugins, working with analyzers, and creating mappings. This book provides complete coverage of working with ElasticSearch using Python and performing CRUD operations and aggregation-based analytics, handling document relationships in the NoSQL world, working with geospatial data, and taking data backups. Finally, we’ll show you how to set up and scale ElasticSearch clusters in production environments as well as providing some best practices.Style and approachThis is an easy-to-follow guide with practical examples and clear explanations of the concepts. This fast-paced book believes in providing very rich content focusing majorly on practical implementation. This book will provide you with step-by-step practical examples, letting you know about the common errors and solutions along with ample screenshots and code to ensure your success.
Learning Python Design Patterns - Second Edition
Learning Python Design Patterns - Second Edition
Chetan Giridhar
¥71.93
Leverage the power of Python design patterns to solve real-world problems in software architecture and designAbout This BookUnderstand the structural, creational, and behavioral Python design patternsGet to know the context and application of design patterns to solve real-world problems in software architecture, design, and application developmentGet practical exposure through sample implementations in Python v3.5 for the design patterns featuredWho This Book Is ForThis book is for Software architects and Python application developers who are passionate about software design. It will be very useful to engineers with beginner level proficiency in Python and who love to work with Python 3.5What You Will LearnEnhance your skills to create better software architectureUnderstand proven solutions to commonly occurring design issuesExplore the design principles that form the basis of software design, such as loose coupling, the Hollywood principle and the Open Close principle among othersDelve into the object-oriented programming concepts and find out how they are used in software applicationsDevelop an understanding of Creational Design Patterns and the different object creation methods that help you solve issues in software developmentUse Structural Design Patterns and find out how objects and classes interact to build larger applicationsFocus on the interaction between objects with the command and observer patternsImprove the productivity and code base of your application using Python design patternsIn DetailWith the increasing focus on optimized software architecture and design it is important that software architects think about optimizations in object creation, code structure, and interaction between objects at the architecture or design level. This makes sure that the cost of software maintenance is low and code can be easily reused or is adaptable to change. The key to this is reusability and low maintenance in design patterns.Building on the success of the previous edition, Learning Python Design Patterns, Second Edition will help you implement real-world scenarios with Python’s latest release, Python v3.5.We start by introducing design patterns from the Python perspective. As you progress through the book, you will learn about Singleton patterns, Factory patterns, and Fa?ade patterns in detail. After this, we’ll look at how to control object access with proxy patterns. It also covers observer patterns, command patterns, and compound patterns.By the end of the book, you will have enhanced your professional abilities in software architecture, design, and development.Style and approachThis is an easy-to-follow guide to design patterns with hands-on examples of real-world scenarios and their implementation in Python v3.5. Each topic is explained and placed in context, and for the more inquisitive, there are more details on the concepts used.
Learning Google Apps Script
Learning Google Apps Script
Ramalingam Ganapathy
¥71.93
Customize and automate Google Applications using Apps Script About This Book Gain insight into customizing and automating Google applications with JavaScript Create add-ons for Google Sheets, Docs, or Forms; automate your workflow; integrate with external APIs; and more. A step-by-step guide to building real-world solutions Who This Book Is For Newbies to google apps * but having practical experience in Java*. What You Will Learn Learn about the Google Apps * platform and work with *s to develop Google apps Create custom menus and dialogs Parse and send emails Generate Google calendar events Build Translator and RSS reader applications Develop interactive web pages Design interactive web-forms Form a workflow application In Detail Google Apps Script is a cloud-based *ing language based on JavaScript to customize and automate Google applications. Apps Script makes it easy to create and publish add-ons in an online store for Google Sheets, Docs, and Forms. It serves as one single platform to build, code, and ultimately share your App on the Web store. This book begins by covering the basics of the Google application platform and goes on to empower you to automate most of the Google applications. You will learn the concepts of creating a menu, sending mails, building interactive web pages, and implementing all these techniques to develop an interactive Web page as a form to submit sheets You will be guided through all these tasks with plenty of screenshots and code snippets that will ensure your success in customizing and automating various Google applications This guide is an invaluable tutorial for beginners who intend to develop the skills to automate and customize Google applications Style and approach An easy-to-follow yet comprehensive guide, filled with many code examples and screenshots illustrating various Google Apps *s.
Redis Essentials
Redis Essentials
Maxwell Dayvson Da Silva
¥71.93
Harness the power of Redis to integrate and manage your projects efficiently About This Book Learn how to use Redis's data types efficiently to manage large data sets Scale Redis to multiple servers with Twemproxy, Redis Sentinel, and Redis Cluster A fast-paced guide, full of real-world examples to help you get the best out of the features offered by Redis Who This Book Is For If you are a competent developer with experience of working with data structure servers and want to boost your project's performance by learning about features of Redis, then this book is for you. What You Will Learn Build analytics applications using Bitmaps and Hyperloglogs Enhance scalability with Twemproxy, Redis Sentinel, and Redis Cluster Build a Time Series implementation in Node.js and Redis Create your own Redis commands by extending Redis with Lua Get to know security techniques to protect your data (SSL encryption, firewall rules, basic authorization) Persist data to disk and learn the trade-offs of AOF and RDB Understand how to use Node.js, PHP, Python, and Ruby clients for Redis Avoid common pitfalls when designing your next solution In Detail Redis is the most popular in-memory key-value data store. It’s very lightweight and its data types give it an edge over the other competitors. If you need an in-memory database or a high-performance cache system that is simple to use and highly scalable, Redis is what you need. Redis Essentials is a fast-paced guide that teaches the fundamentals on data types, explains how to manage data through commands, and shares experiences from big players in the industry. We start off by explaining the basics of Redis followed by the various data types such as Strings, hashes, lists, and more. Next, Common pitfalls for various scenarios are described, followed by solutions to ensure you do not fall into common traps. After this, major differences between client implementations in PHP, Python, and Ruby are presented. Next, you will learn how to extend Redis with Lua, get to know security techniques such as basic authorization, firewall rules, and SSL encryption, and discover how to use Twemproxy, Redis Sentinel, and Redis Cluster to scale infrastructures horizontally. At the end of this book, you will be able to utilize all the essential features of Redis to optimize your project's performance. Style and approach A practical guide that offers the foundation upon which you can begin to understand the capabilities of Redis using a step-by-step approach. This book is full of real-world problems and in-depth knowledge of the concepts and features of Redis, with plenty of examples.
Test-Driven Machine Learning
Test-Driven Machine Learning
Justin Bozonier
¥71.93
Control your machine learning algorithms using test-driven development to achieve quantifiable milestones About This Book Build smart extensions to pre-existing features at work that can help maximize their value Quantify your models to drive real improvement Take your knowledge of basic concepts, such as linear regression and Na?ve Bayes classification, to the next level and productionalize their models Play what-if games with your models and techniques by following the test-driven exploration process Who This Book Is For This book is intended for data technologists (scientists, analysts, or developers) with previous machine learning experience who are also comfortable reading code in Python. You may be starting, or have already started, a machine learning project at work and are looking for a way to deliver results quickly to enable rapid iteration and improvement. Those looking for examples of how to isolate issues in models and improve them will find ideas in this book to move forward. What You Will Learn Get started with an introduction to test-driven development and familiarize yourself with how to apply these concepts to machine learning Build and test a neural network deterministically, and learn to look for niche cases that cause odd model behaviour Learn to use the multi-armed bandit algorithm to make optimal choices in the face of an enormous amount of uncertainty Generate complex and simple random data to create a wide variety of test cases that can be codified into tests Develop models iteratively, even when using a third-party library Quantify model quality to enable collaboration and rapid iteration Adopt simpler approaches to common machine learning algorithms Take behaviour-driven development principles to articulate test intent In Detail Machine learning is the process of teaching machines to remember data patterns, using them to predict future outcomes, and offering choices that would appeal to individuals based on their past preferences. Machine learning is applicable to a lot of what you do every day. As a result, you can’t take forever to deliver your first iteration of software. Learning to build machine learning algorithms within a controlled test framework will speed up your time to deliver, quantify quality expectations with your clients, and enable rapid iteration and collaboration. This book will show you how to quantifiably test machine learning algorithms. The very different, foundational approach of this book starts every example algorithm with the simplest thing that could possibly work. With this approach, seasoned veterans will find simpler approaches to beginning a machine learning algorithm. You will learn how to iterate on these algorithms to enable rapid delivery and improve performance expectations. The book begins with an introduction to test driving machine learning and quantifying model quality. From there, you will test a neural network, predict values with regression, and build upon regression techniques with logistic regression. You will discover how to test different approaches to na?ve bayes and compare them quantitatively, along with how to apply OOP (Object-Oriented Programming) and OOP patterns to test-driven code, leveraging SciKit-Learn. Finally, you will walk through the development of an algorithm which maximizes the expected value of profit for a marketing campaign by combining one of the classifiers covered with the multiple regression example in the book. Style and approach An example-driven guide that builds a deeper knowledge and understanding of iterative machine learning development, test by test. Each topic develops solutions using failing tests to illustrate problems; these are followed by steps to pass the tests, simply and straightforwardly. Topics which use generated data explore how the data was generated, alongside explanations of the assumptions behind different machine learning techniques.
AngularJS Directives Cookbook
AngularJS Directives Cookbook
Fernando Monteiro
¥71.93
Extend the capabilities of AngularJS and build dynamic web applications by creating customized directives with this selection of more than 30 recipes About This Book Learn how to extend HTML templates in new ways to build even better web applications with exceptional interface components Build reusable directives for large-scale AngularJS applications Create even sophisticated and impressive modern web apps with ease Who This Book Is For This book is for developers with AngularJS experience who want to extend their knowledge to create or customize directives in any type of AngularJS application. Some experience of modern tools such as Yeoman and Bower would be helpful, but is not a requirement. What You Will Learn Build and customize external HTML templates, and create simple, effective directives for common interface components Learn how to use Controller function and any Bootstrap UI directives to manipulate the DOM and how to transform any UI library into AngularJS directives Construct an AngularJS application to use shared components and validate your HTML5 Discover how to use jQuery events and manipulate the DOM using jQuery UI inside AngularJS applications Create custom directives for ongoing projects using Yeoman generators, and find out how to implement standalone directives Build reusable directives for Large AngularJS applications and extend directives to use dynamic templates Write unit test for directives using the Karma runner and Jasmine’s behavior-driven development framework In Detail AngularJS directives are at the center of what makes it such an exciting – and important - web development framework. With directives, you can take greater control over HTML elements on your web pages – they ‘direct’ Angular’s HTML compiler to behave in the way you want it to. It makes building modern web applications a much more expressive experience, and allows you to focus more closely on improving the way that user interaction impacts the DOM and the way your app manages data. If you’re already using Angular, you probably recognize the power of directives to transform the way you understand and build your projects – but customizing and creating your own directives to harness AngularJS to its full potential can be more challenging. This cookbook shows you how to do just that – it’s a valuable resource that demonstrates how to use directives at every stage in the workflow. Packed with an extensive range of solutions and tips that AngularJS developers shouldn’t do without, you’ll find out how to make the most of directives. You’ll find recipes demonstrating how to build a number of different user interface components with directives, so you can take complete control over how users interact with your application. You’ll also learn how directives can simplify the way you work by creating reusable directives – by customizing them with Yeoman you can be confident that you’re application has the robust architecture that forms the bedrock of the best user experiences. You’ll also find recipes that will help you learn how to unit test directives, so you can be confident in the reliability and performance of your application. Whether you’re looking for guidance to dive deeper into AngularJS directives, or you want a reliable resource, relevant to today’s web development challenges, AngularJS Directives Cookbook delivers everything you need in an easily accessible way. Style and approach This book easy-to-follow guide is packed with hands-on recipes to help you build modular AngularJS applications with custom directives. It presents tips on using the best tools and various ways to use these tools for front-end development.
Test-Driven JavaScript Development
Test-Driven JavaScript Development
Ravi Kumar Gupta
¥71.93
Learn JavaScript test-driven development using popular frameworks and tools About This Book Learn the life cycle of TDD and its importance in real-world application Gain knowledge about popular tools and analyze features, syntax, and how they help in JavaScript testing Implement test-driven programming exercises using the practical code examples Who This Book Is For If you have an intermediate knowledge of HTML, CSS, and JavaScript and want to learn how and why the test-driven development approach is better for your assignments, then this book is for you. What You Will Learn Basic TDD fundamentals, life cycle, and benefits Become acquainted with the concepts and elements of unit testing and writing basic unit tests for JavaScript Understand the way JsUnit, Qunit, Karma and DalekJs work Use the Jasmine framework Interpret feature detection and devise tests specific to cross-browser compatibility Integrate jsTestDriver with Eclipse and run tests with jsTestDriver Explore re-factoring, adding and notifying observers Understand test-driven development in case of server-side JS In Detail Initially, all processing used to happen on the server-side and simple output was the response to web browsers. Nowadays, there are so many JavaScript frameworks and libraries created that help readers to create charts, animations, simulations, and so on. By the time a project finishes or reaches a stable state, so much JavaScript code has already been written that changing and maintaining it further is tedious. Here comes the importance of automated testing and more specifically, developing all that code in a test-driven environment. Test-driven development is a methodology that makes testing the central part of the design process – before writing code developers decide upon the conditions that code must meet to pass a test. The end goal is to help the readers understand the importance and process of using TDD as a part of development. This book starts with the details about test-driven development, its importance, need, and benefits. Later the book introduces popular tools and frameworks like YUI, Karma, QUnit, DalekJS, JsUnit and goes on to utilize Jasmine, Mocha, Karma for advanced concepts like feature detection, server-side testing, and patterns. We are going to understand, write, and run tests, and further debug our programs. The book concludes with best practices in JavaScript testing. By the end of the book, the readers will know why they should test, how to do it most efficiently, and will have a number of versatile tests (and methods for devising new tests) to get to work immediately. Style and approach Easy-to-follow guide with suitable examples for developing JavaScript code in the test-Driven environment, with popular tools and frameworks. User experience and statements are also included to help readers make a better choice of tool for real-world projects.
Python Business Intelligence Cookbook
Python Business Intelligence Cookbook
Robert Dempsey
¥71.93
Leverage the computational power of Python with more than 60 recipes that arm you with the required skills to make informed business decisions About This Book Want to minimize risk and optimize profits of your businessLearn to create efficient analytical reports with ease using this highly practical, easy-to-follow guide Learn to apply Python for business intelligence tasks—preparing, exploring, analyzing, visualizing and reporting—in order to make more informed business decisions using data at hand Learn to explore and analyze business data, and build business intelligence dashboards with the help of various insightful recipes Who This Book Is For This book is intended for data analysts, managers, and executives with a basic knowledge of Python, who now want to use Python for their BI tasks. If you have a good knowledge and understanding of BI applications and have a “working” system in place, this book will enhance your toolbox. What You Will Learn Install Anaconda, MongoDB, and everything you need to get started with your data analysis Prepare data for analysis by querying cleaning and standardizing data Explore your data by creating a Pandas data frame from MongoDB Gain powerful insights, both statistical and predictive, to make informed business decisions Visualize your data by building dashboards and generating reports Create a complete data processing and business intelligence system In Detail The amount of data produced by businesses and devices is going nowhere but up. In this scenario, the major advantage of Python is that it's a general-purpose language and gives you a lot of flexibility in data structures. Python is an excellent tool for more specialized analysis tasks, and is powered with related libraries to process data streams, to visualize datasets, and to carry out scientific calculations. Using Python for business intelligence (BI) can help you solve tricky problems in one go. Rather than spending day after day scouring Internet forums for “how-to” information, here you’ll find more than 60 recipes that take you through the entire process of creating actionable intelligence from your raw data, no matter what shape or form it’s in. Within the first 30 minutes of opening this book, you’ll learn how to use the latest in Python and NoSQL databases to glean insights from data just waiting to be exploited.< We’ll begin with a quick-fire introduction to Python for BI and show you what problems Python solves. From there, we move on to working with a predefined data set to extract data as per business requirements, using the Pandas library and MongoDB as our storage engine. Next, we will analyze data and perform transformations for BI with Python. Through this, you will gather insightful data that will help you make informed decisions for your business. The final part of the book will show you the most important task of BI—visualizing data by building stunning dashboards using Matplotlib, PyTables, and iPython Notebook. Style and approach This is a step-by-step guide to help you prepare, explore, analyze and report data, written in a conversational tone to make it easy to grasp. Whether you’re new to BI or are looking for a better way to work, you’ll find the knowledge and skills here to get your job done efficiently.
Python Unlocked
Python Unlocked
Arun Tigeraniya
¥71.93
Become more fluent in Python—learn strategies and techniques for smart and high-performance Python programming About This Book Write smarter, bug-free, high performance code with minimal effort Uncover the best tools and options available to Python developers today Deploy decorators, design patters, and various optimization techniques to use Python 3.5 effectively Who This Book Is For If you are a Python developer and you think that you don’t know everything about the language yet, then this is the book for you. We will unlock the mysteries and re-introduce you to the hidden features of Python to write efficient programs, making optimal use of the language. What You Will Learn Manipulate object creation processes for instances, classes, and functions Use the best possible language constructs to write data structures with super speed and maintainability Make efficient use of design patterns to decrease development time and make your code more maintainable Write better test cases with an improved understanding of the testing framework of Python and unittests, and discover how to develop new functionalities in it Write fully-optimized code with the Python language by profiling, compiling C modules, and more Unlock asynchronous programming to build efficient and scalable applications In Detail Python is a versatile programming language that can be used for a wide range of technical tasks—computation, statistics, data analysis, game development, and more. Though Python is easy to learn, it’s range of features means there are many aspects of it that even experienced Python developers don’t know about. Even if you’re confident with the basics, its logic and syntax, by digging deeper you can work much more effectively with Python – and get more from the language. Python Unlocked walks you through the most effective techniques and best practices for high performance Python programming - showing you how to make the most of the Python language. You’ll get to know objects and functions inside and out, and will learn how to use them to your advantage in your programming projects. You will also find out how to work with a range of design patterns including abstract factory, singleton, strategy pattern, all of which will help make programming with Python much more efficient. Finally, as the process of writing a program is never complete without testing it, you will learn to test threaded applications and run parallel tests. If you want the edge when it comes to Python, use this book to unlock the secrets of smarter Python programming. Style and approach This is book had been created to help you to “unlock” the best ways to tackle the challenges and performance bottlenecks that many Python developers face today. The keys are supported with program examples to help you understand the concepts better and see them in action.
Learning Bootstrap 4 - Second Edition
Learning Bootstrap 4 - Second Edition
Matt Lambert
¥71.93
Unearth the potential of Bootstrap 4 to create highly responsive and beautiful websites using modern web techniques About This Book This book shows how to take advantage of the all new features introduced in Bootstrap Learn responsive web design and discover how to build mobile-ready websites with ease Find out how to extend the capabilities of Bootstrap with a huge range of tools and plugins, including jQuery, Do more with JavaScript and learn how to create an enhanced user experience Who This Book Is For If you want to learn to build enterprise-level websites efficiently with Bootstrap, this book is for you. You must have a basic and fundamental understanding of HTML, CSS, and JavaScript; however, there is no need to have prior Bootstrap experience. What You Will Learn Fire up Bootstrap and set up the required build tools to get started See how and when to use Flexbox with the Bootstrap layouts Find out how to make your websites responsive, keeping in mind Mobile First design Work with content such as tables and figures Play around with the huge variety of components that Bootstrap offers Extend your build using plugins developed from JavaScript Use Sass to customize your existing themes In Detail Bootstrap, the most popular front-end framework built to design elegant, powerful, and responsive interfaces for professional-level web pages has undergone a major overhaul. Bootstrap 4 introduces a wide range of new features that make front-end web design even simpler and exciting. In this gentle and comprehensive book, we'll teach you everything that you need to know to start building websites with Bootstrap 4 in a practical way. You'll learn about build tools such as Node, Grunt, and many others. You'll also discover the principles of mobile-first design in order to ensure your pages can fit any screen size and meet the responsive requirements. Learn to play with Bootstrap's grid system and base CSS to ensure your designs are robust and that your development process is speedy and efficient. Then, you'll find out how you can extend your current build with some cool JavaScript Plugins, and throw in some Sass to spice things up and customize your themes. This book will make sure you're geared up and ready to build amazingly beautiful and responsive websites in a jiffy. Style and approach With the help of several real-world examples and code, this book will teach you to build a full-featured responsive website in Bootstrap, which is mobile-ready.
Learning Splunk Web Framework
Learning Splunk Web Framework
Vincent Sesto
¥71.93
Take your analytics online with the ease and power of the Splunk Web Framework About This Book Want to build rich applications on the Web using SplunkThis book will be your ultimate guide! Learn to use web framework components with the help of this highly practical, example-rich guide Perform excellent Splunk analytics on the Web and bring that knowledge to your own projects Who This Book Is For This book will cater to Splunk developers and administrators who now wish to further their knowledge with Splunk Web Framework and learn to improve the way they present and visualize data in Splunk. A basic knowledge of JavaScript will be beneficial but is not a prerequisite. What You Will Learn Master the fundamentals of Splunk Web Framework Start thinking of Splunk as a complete development platform to build user-friendly apps Extend the functionality of your apps using SimpleXML techniques Set up dashboard layouts, navigation, and menus in your apps Create simple dashboard elements including charts and tables Master the art of interacting with searches and dashboards Integrate SplunkJS to add visual appeal to your website In Detail Building rich applications on the Web using Splunk is now simpler than ever before with the Splunk Web Framework. It empowers developers to build their own web applications with custom dashboards, tables, charts, form searches, and other functionalities in the datasets at their disposal. The book will start with the fundamentals of the Splunk Web Framework, teaching you the secrets of building interesting and user-friendly applications. In the first application, you will learn to analyze and monitor traffic hitting the NASA website and learn to create dashboards for it. You will then learn additional, and more detailed, techniques to enhance the functionalities of the app such as dashboards and forms, editing simple XML, using simple XML extensions, tokens, post-process searches, dynamic drill-downs, the Splunk Web Framework and REST API, and much more. The second app will use historical stock market data and will create custom dashboards using Splunk Web Framework; the book will now cover important topics such as creating HTML dashboards, enhancing the visual appeal of the app using CSS, and moving your app with SplunkJS. The book will provide different and interesting examples instead of the usual “Log, Index, Search, and Graph” so that Splunk will be the first tool readers think of to resolve a problem. Style and approach This book will follow a step-by-step approach whereby every new concept is built on top of the previous chapter, and will be highly practical in nature; the reader will learn to build apps while reading about the Splunk Web framework.
Julia Cookbook
Julia Cookbook
Jalem Raj Rohit
¥71.93
Over 40 recipes to get you up and running with programming using Julia About This Book Follow a practical approach to learn Julia programming the easy way Get an extensive coverage of Julia’s packages for statistical analysis This recipe-based approach will help you get familiar with the key concepts in Juli Who This Book Is For This book is for data scientists and data analysts who are familiar with the basics of the Julia language. Prior experience of working with high-level languages such as MATLAB, Python, R, or Ruby is expected. What You Will Learn Extract and handle your data with Julia Uncover the concepts of metaprogramming in Julia Conduct statistical analysis with StatsBase.jl and Distributions.jl Build your data science models Find out how to visualize your data with Gadfly Explore big data concepts in Julia In Detail Want to handle everything that Julia can throw at you and get the most of it every dayThis practical guide to programming with Julia for performing numerical computation will make you more productive and able work with data more efficiently. The book starts with the main features of Julia to help you quickly refresh your knowledge of functions, modules, and arrays. We’ll also show you how to utilize the Julia language to identify, retrieve, and transform data sets so you can perform data analysis and data manipulation. Later on, you’ll see how to optimize data science programs with parallel computing and memory allocation. You’ll get familiar with the concepts of package development and networking to solve numerical problems using the Julia platform. This book includes recipes on identifying and classifying data science problems, data modelling, data analysis, data manipulation, meta-programming, multidimensional arrays, and parallel computing. By the end of the book, you will acquire the skills to work more effectively with your data. Style and approach This book has a recipe-based approach to help you grasp the concepts of Julia programming.
RSpec Essentials
RSpec Essentials
Mani Tadayon
¥71.93
Develop testable, modular, and maintainable Ruby software for the real world using RSpec About This Book Explore the concept of testability and how to implement tests that deliver the most value Maximize the quality of your Ruby code through a wide variety of tests Master the real-world tradeoffs of testing through detailed examples supported by in-depth discussion Who This Book Is For This book is aimed at the software engineer who wants to make their code more reliable and their development process easier. It is also aimed at test engineers who need to automate the testing of complex systems. Knowledge of Ruby is helpful, but even someone new to the language should find it easy to follow the code and tests. What You Will Learn Identify a unit of software for the purposes of testing Manage test states with hooks, fixtures, and mocks Handle external web services in tests using various techniques Configure RSpec flexibly and cleanly using support code and environment variables Interact with rich web apps in tests using Capybara Build the right feature with behavior-driven development Customize matchers and failure messages Verify correct development and production environments In Detail This book will teach you how to use RSpec to write high-value tests for real-world code. We start with the key concepts of the unit and testability, followed by hands-on exploration of key features. From the beginning, we learn how to integrate tests into the overall development process to help create high-quality code, avoiding the dangers of testing for its own sake. We build up sample applications and their corresponding tests step by step, from simple beginnings to more sophisticated versions that include databases and external web services. We devote three chapters to web applications with rich JavaScript user interfaces, building one from the ground up using behavior-driven development (BDD) and test-driven development (TDD). The code examples are detailed enough to be realistic while simple enough to be easily understood. Testing concepts, development methodologies, and engineering tradeoffs are discussed in detail as they arise. This approach is designed to foster the reader’s ability to make well-informed decisions on their own. Style and approach This comprehensive tutorial is packed with real-world examples of testing with RSpec. The most important features of RSpec are introduced in the early chapters and are used in examples of growing complexity in the following chapters. Concepts and methodologies are discussed in detail.
OpenStack Sahara Essentials
OpenStack Sahara Essentials
Omar Khedher
¥71.93
Integrate, deploy, rapidly configure, and successfully manage your own big data-intensive clusters in the cloud using OpenStack Sahara About This Book A fast paced guide to help you utilize the benefits of Sahara in OpenStack to meet the Big Data world of Hadoop. A step by step approach to simplify the complexity of Hadoop configuration, deployment and maintenance. Who This Book Is For This book targets data scientists, cloud developers and Devops Engineers who would like to become proficient with OpenStack Sahara. Ideally, this book is well suitable for readers who are familiars with databases, Hadoop and Spark solutions. Additionally, a basic prior knowledge of OpenStack is expected. The readers should also be familiar with different Linux boxes, distributions and virtualization technology. What You Will Learn Integrate and Install Sahara with OpenStack environment Learn Sahara architecture under the hood Rapidly configure and scale Hadoop clusters on top of OpenStack Explore the Sahara REST API to create, deploy and manage a Hadoop cluster Learn the Elastic Processing Data (EDP) facility to execute jobs in clusters from Sahara Cover other Hadoop stable plugins existing supported by Sahara Discover different features provided by Sahara for Hadoop provisioning and deployment Learn how to troubleshoot OpenStack Sahara issues In Detail The Sahara project is a module that aims to simplify the building of data processing capabilities on OpenStack. The goal of this book is to provide a focused, fast paced guide to installing, configuring, and getting started with integrating Hadoop with OpenStack, using Sahara. The book should explain to users how to deploy their data-intensive Hadoop and Spark clusters on top of OpenStack. It will also cover how to use the Sahara REST API, how to develop applications for Elastic Data Processing on Openstack, and setting up hadoop or spark clusters on Openstack. Style and approach This book takes a step by step approach teaching how to integrate, deploy and manage data using OpenStack Sahara. It will teach how the OpenStack Sahara is beneficial by simplifying the complexity of Hadoop configuration, deployment and maintenance.