
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
با الگوریتمهای ژنتیک و پایتون، یادگیری ماشین را بهصورت عملی یاد بگیرید. آموزشهای گامبهگام مهارت شما را از «سلام دنیا!» تا بهینهسازی یک الگوریتم ژنتیک با الگوریتمی دیگر، و در نهایت برنامهنویسی ژنتیک، پیش میبرند؛ و شما را آماده میکنند تا الگوریتمهای ژنتیک را روی مسائل حوزهٔ تخصص خودتان به کار ببرید.
الگوریتمهای ژنتیک یکی از ابزارهایی هستند که با آنها میتوانید یادگیری ماشین را برای یافتن راهحلهای خوب — و گاهی حتی بهینه — برای مسائلی به کار ببرید که میلیاردها راهحل ممکن دارند. این کتاب به شما تجربه میدهد تا الگوریتمهای ژنتیک را به نفع خودتان به کار بگیرید؛ با پروژههای نمونهٔ ساده و قابلدنبالکردن که هنگام یادگیری ابزارها و تکنیکهای دیگر یادگیری ماشین میتوانید به آنها رجوع کنید. هر فصل یک آموزش گامبهگام است که مهارت شما را در حل مسائل با الگوریتمهای ژنتیک و پایتون بالا میبرد.
پایتون زبانی سطحبالا، کمتشریفات و قدرتمند است که حتی برنامهنویسان تازهکار هم کد آن را بهراحتی میفهمند. اگر تجربهٔ کار با زبان برنامهنویسی دیگری را دارید، نباید در یادگیری پایتون بهروش استقرایی مشکلی داشته باشید.
فهرست مطالب
فصل ۱: سلام دنیا! — رمز عبوری را با دانستن تعداد حروف درست در حدس حدس بزنید. یک موتور جهش بسازید.
فصل ۲: مسئلهٔ One Max — آرایهای از بیتها بسازید که همه ۱ باشند. موتور را گسترش دهید تا با هر نوع ژن کار کند.
فصل ۳: اعداد مرتبشده — یک آرایهٔ صحیح مرتبشده تولید کنید. نشان میدهد چطور چند هدف برازندگی و محدودیتهای بین ژنها را مدیریت کنید.
فصل ۴: معمای ۸ وزیر — موقعیتهای امن وزیرها را روی صفحهٔ ۸×۸ پیدا کنید و سپس به N×N گسترش دهید. تفاوت فنوتیپ و ژنوتیپ را نشان میدهد.
فصل ۵: رنگآمیزی گراف — نقشهٔ ایالات متحده را فقط با ۴ رنگ رنگ کنید. مجموعهدادههای استاندارد و کار با فایلها را معرفی میکند. همچنین استفاده از قوانین برای محدودیتهای ژن را معرفی میکند.
فصل ۶: مسئلهٔ کارت — محدودیتهای بیشتر برای ژن. جهش سفارشی، الگوریتمهای ممتیک و تکنیک مجموع اختلافها را معرفی میکند. همچنین کروموزومی را نشان میدهد که نحوهٔ استفاده از ژن به موقعیتش در آرایهٔ ژن بستگی دارد.
فصل ۷: مسئلهٔ اسبها — کمینهٔ تعداد اسبهای لازم برای حمله به همهٔ خانههای صفحه را پیدا کنید. ژنهای سفارشی و ساخت آرایهٔ ژن را معرفی میکند. همچنین کمینهها و بیشینههای محلی را نشان میدهد.
فصل ۸: مربعهای جادویی — مربعهایی پیدا کنید که در ماتریس N×N، همهٔ سطرها، ستونها و هر دو قطر جمع یکسانی داشته باشند. شبیهسازی تبرید را معرفی میکند.
فصل ۹: مسئلهٔ کولهپشتی — محتوای یک ظرف را برای یک یا چند متغیر بهینه کنید. شاخه و کران و کروموزومهای با طول متغیر را معرفی میکند.
فصل ۱۰: حل معادلات خطی — جواب معادلات خطی با ۲، ۳ و ۴ مجهول را پیدا کنید. گونهای از شاخه و کران. انعطافپذیری ژنوتیپ را تقویت میکند.
فصل ۱۱: تولید سودوکو — تمرینی راهنمادار برای تولید پازلهای سودوکو.
فصل ۱۲: مسئلهٔ فروشندهٔ دورهگرد (TSP) — مسیر بهینه برای بازدید از شهرها را پیدا کنید. تقاطع و استخری از والدین را معرفی میکند.
فصل ۱۳: تقریب عدد پی — دو عدد ۱۰بیتی پیدا کنید که خارجقسمتشان نزدیکترین مقدار به پی باشد. استفاده از یک الگوریتم ژنتیک برای تنظیم دیگری را معرفی میکند.
فصل ۱۴: تولید معادله — کوتاهترین معادلهای را پیدا کنید که با جمع، تفریق، ضرب و مانند آن به نتیجهٔ مشخصی برسد. برنامهنویسی ژنتیک نمادین را معرفی میکند.
فصل ۱۵: مسئلهٔ ماشین چمنزنی — دنبالهای از دستورالعملها تولید کنید که ماشین چمنزنی یک چمنزار را بچیند. برنامهنویسی ژنتیک با ساختارهای کنترلی، اشیاء و توابع تعریفشدهٔ خودکار (ADFها).
فصل ۱۶: مدارهای منطقی — مدارهایی بسازید که مثل گیتهای پایه، ترکیب گیتها و در نهایت یک جمعکنندهٔ ۲بیتی رفتار کنند....
Get a hands-on introduction to machine learning with genetic algorithms using Python. Step-by-step tutorials build your skills from Hello World! to optimizing one genetic algorithm with another, and finally genetic programming; thus preparing you to apply genetic algorithms to problems in your own field of expertise.Genetic algorithms are one of the tools you can use to apply machine learning to finding good, sometimes even optimal, solutions to problems that have billions of potential solutions. This book gives you experience making genetic algorithms work for you, using easy-to-follow example projects that you can fall back upon when learning to use other machine learning tools and techniques. Each chapter is a step-by-step tutorial that helps to build your skills at using genetic algorithms to solve problems using Python.Python is a high-level, low ceremony and powerful language whose code can be easily understood even by entry-level programmers. If you have experience with another programming language then you should have no difficulty learning Python by induction.ContentsChapter 1: Hello World! - Guess a password given the number of correct letters in the guess. Build a mutation engine.Chapter 2: One Max Problem - Produce an array of bits where all are 1s. Expands the engine to work with any type of gene.Chapter 3: Sorted Numbers - Produce a sorted integer array. Demonstrates handling multiple fitness goals and constraints between genes.Chapter 4: The 8 Queens Puzzle - Find safe Queen positions on an 8x8 board and then expand to NxN. Demonstrates the difference between phenotype and genotype.Chapter 5: Graph Coloring - Color a map of the United States using only 4 colors. Introduces standard data sets and working with files. Also introduces using rules to work with gene constraints.Chapter 6: Card Problem - More gene constraints. Introduces custom mutation, memetic algorithms, and the sum-of-difference technique. Also demonstrates a chromosome where the way a gene is used depends on its position in the gene array.Chapter 7: Knights Problem - Find the minimum number of knights required to attack all positions on a board. Introduces custom genes and gene-array creation. Also demonstrates local minimums and maximums.Chapter 8: Magic Squares - Find squares where all the rows, columns and both diagonals of an NxN matrix have the same sum. Introduces simulated annealing.Chapter 9: Knapsack Problem - Optimize the content of a container for one or more variables. Introduces branch and bound and variable length chromosomes.Chapter 10: Solving Linear Equations - Find the solutions to linear equations with 2, 3 and 4 unknowns. Branch and bound variation. Reinforces genotype flexibility.Chapter 11: Generating Sudoku - A guided exercise in generating Sudoku puzzles.Chapter 12: Traveling Salesman Problem (TSP) - Find the optimal route to visit cities. Introduces crossover and a pool of parents.Chapter 13: Approximating Pi - Find the two 10-bit numbers whose dividend is closest to Pi. Introduces using one genetic algorithm to tune another.Chapter 14: Equation Generation - Find the shortest equation that produces a specific result using addition, subtraction, multiplication, etc. Introduces symbolic genetic programming.Chapter 15: The Lawnmower Problem - Generate a series of instructions that cause a lawnmower to cut a field of grass. Genetic programming with control structures, objects and automatically defined functions (ADFs).Chapter 16: Logic Circuits - Generate circuits that behave like basic gates, gate combinations and finally a 2-bit adder....