SlideShare a Scribd company logo
1 of 32
Download to read offline
DATA SATURDAY #10
Sofia, Oct 09th
Another PoV on Data
Autonomous Systems and
Project Bonsai
Ivelin Andreev
Speaker Bio
• Software Architect @
o 19+ years professional experience
• Microsoft Azure MVP
• External Expert Eurostars-Eureka
• External Expert InnoFund Denmark, RIF Cyprus
• Business Interests
o Web Development, SOA, Integration
o IoT, Machine Learning, Computer Intelligence
o Security & Performance Optimization
• Contact
ivelin.andreev@icb.bg
www.linkedin.com/in/ivelin
www.slideshare.net/ivoandreev
Thanks to our Sponsors
Agenda
Agenda
• Evolutionary and Genetic Algorithms
• Autonomous vs Automated System
• Bonsai Project
• Bonsai Platform Components
• Basic Concepts and Technical Overview
• Demo
Optimization and Control
Constrained Optimization
Def: Maximize/Minimize a cost function within constraints (i.e. time, money, fuel)
Evolutionary Algorithms
• Heuristics-based problem solving through mimicking the behavior of living
creatures to avoid exhaustive solution application
Pros
• Solve global optimization problems
• Scalable to higher dimensional problems
• Flexible and adaptable to many problem types
• Multiple “best” solutions
Cons
• Vulnerable to bad initial configuration
• Premature convergence to a local extremum may not reach even close to global extremum
Genetic Algorithms
Def: Тype of EA that uses crossover and mutations to search the solution space.
Key Principle: Mating healthier parents shall lead to healthier offspring.
• Population – set of current solutions
• Individual – a solution
• Fitness – criterion to compare generations/solutions (f(x) = 5x^2)
• Variation – modification of population to generate new solutions
• Chromosome – a set of features describing the individual
• Gene – Each part of the chromosome, encoded by numbers
Simple/Sample Case
Background
• Thousands of heating devices
• Current state, Usage history
• Power price/hour 1 day ahead
Objective
• Cost optimization of heating
Limitations
• Heater has maximum energy @80°C
• Charge has to be >= daily consumption
• Computation scalability
Solution
• Time series forecasting
• Genetic algorithms
Autonomous Systems?
Def: Intelligent systems that operate in highly dynamic PHYSICAL environments
by sense, plan and act based on changing environment variables
• To apply Real World…
o Millions of simulations
o Assessment in real world required
o Simulation needs to resemble physical
world as close as possible.
o A bad reward function = The effect
Reacting starts from gathering
information about the
environment.
Interpreted sensor information
and translated to actionable
information based on reward.
Once the action plan is in
progress, evaluate proximity of
the objective.
• Autonomy is moving ML from bits to atoms
• Levels of Autonomy
L0 Humans
In complete control
L1 Assistance with
subtasks
L2 Occasional,
human specifies intent
L3 Limited,
human fallback
L4 Full control,
human supervises
L5 Full autonomy,
human is absent
Autonomous, not Automated
• Automated Systems
o Execute a (complex) “script”
o Apply long term process changes (i.e. react to wear)
o Apply short-term process changes (clean, diagnose)
o No handling of uncoded decisions
• Autonomous Systems
o Aim at objectives w/o human intervention
o Monitor and sense the environment
o Suits dynamic processes and changing conditions
• Disadvantages
o Human trust and explainability (Consumer acceptance)
o What if the computer breaks (Technology and
infrastructure)
o Security and Responsibility (Policy and legislation)
• Industrial robotics and manufacturing
• Motion control
• Smart buildings
• Process control and automation
• Bonsai emerges as a general-purpose, deep reinforcement learning platform
• Microsoft acquire Bonsai in move to build ‘brains’ for autonomous systems
• Released for public preview in May 2020
• The simplest and richest toolchain for AS
o Machine teaching abstracting
o Automatic model generation
o Host APIs for simulator integration and inference
Some History
https://blogs.microsoft.com/blog/2018/06/20/microsoft-to-acquire-bonsai-in-move-to-build-brains-for-autonomous-systems/
Project Bonsai in the Spotlight
• Low code end-end platform that speeds AI-powered automation development
• Integrate realistic simulation
• Train adaptable brains
• Export and consume brains
• Cost?
o Completely free in preview
• Azure Resources
o Container Registry (brains and simulators)
o Container Instance (running simulations)
o Storage (uploaded ZIPped simulators)
o Monitor (logs of training and assessment)
Accelerators and Setting up
• Solution accelerators designed for specific industrial optimization problems
• Pricing
o Project Bonsai (Free for now)
o Simulator software (AnyLogic, MATLAB)
o Azure Services (VM D2_v4, public IP, 128GiB SSD, ACR) ~90EUR/month
• Supported Use Cases
o Chemical reactor optimization (Simulink - Continuous Stirred Tank Reactor)
o Building energy management (Simulink – House Thermal Model)
o Factory logistics (AnyLogic – Factory Floor)
• Templates did not work ☺, but after report fix is in progress
Autonomous Systems
Use Cases
Horizontal Drilling
Windfarm Energy Output Optimization
Warehouse Optimization
Bonsai
Components
Simulator as Data Source
• Simulator – replicate real world for realistic training environment
• Supported Simulations
o AnyLogic, MATLAB, VP Link or API (REST, Python)
• Minimum requirements
o Initial state (often random)
o Iterates over time
o Responds to external actions
• Good simulation requirements
o Good fidelity to match real world
o Visualization or data output for training assessment
o Well defined environment state (parameters)
o Discrete actions for the brain to affect state
o Clear criteria for failure and success state
Simulators
• Option 1: Off the shelf software
o Pros: Thousands of ready code and samples; Highly graphical
o Cons: Steep learning curve; Resource consuming; Coding still required
o (Small Business, Academia, Free Trial)
o (Enterprise, Academic, Free Matlab Online Trial)
• Option 2: Custom simulators
o API Client SDK in Python, C#, Java, TypeScript
o Build as Docker image
o Push to AZ Container Registry (managed = scalability)
o Consume from Bonsai portal using “Add Simulator”
o Pros: Complete control; no upfront costs
o Cons: A Developer approach; Hard to code some existing simulations
o Sample: https://github.com/microsoft/cartpole-py
AI Agent
Action
Simulator
State
Reward
Bonsai Components – Training Engine
• Architect
o Proposes the configuration of learning algorithms and topologies that have the best chance at learning
o 3 deep learning reinforcement learning algorithms with heuristics params
• Instructor
o Configures the learner in real time to follow the training plan of the architect
• Learner
o Training: train and evaluate response
o Inference: Initiate the trained system and respond to request
• Predictor
o A trained brain stored in prediction mode
o HTTP API endpoint
Bonsai Components - Brain
• AI models that can optimize the systems they have been trained for
• Supports multiple versions
• Versions reflect changes in training curriculum
• Any version is exportable outside the platform
• Goal Objectives
o Encapsulate intention-to-reward function and simplify the work of operator
o Avoid – avoid a region
o Reach - go to target ASAP
o Drive – go to target ASAP and stay near
o Maximize – push target as high as possible
o Minimize – push target as low as possible
Teaching Process
Iteration: Concept Graph View
Agent Action
The brain output on every iteration
Observable State
Passed to brain on every iteration
Simulator State
Output by simulator on every iteration
Concept
What the brain is trying to learn
Concept Goals
What the brain has to achieve
State Transformation
Implicit conversion of sim state
Simulator
Simulator used for concept training
Inkling Language
• Orig: Fictious language spoken by Nintendo Splatoon human-squid inklings
• Now: Proprietary language defines what and how you want to teach the AI
• Statically typed language
o Compiler detects and reports errors
• Starts with Version
• Data Types
o Primitives: Number (integer, float), String with ranges and enumerations
o Collections: Arrays, Structures, User defined types
inkling "2.0“
# Comments like that
type Coordinate {X: number, Y: number}
number<0 .. 6 step 2> # represents {0,2,4,6}
Concept – What to learn
• Concept
o Component of a brain that must be learned, programmed or imported
o Sample: Ensure hot water is available in a boiler while heating in low load hours
• Imported Concept
o Compatible models trained on other platforms (ONNX, TensorFlow)
• Programmed Concept
o Defined using the programmed keyword followed by a function definition or reference.
• Learned Concept
o Specify a curriculum that defines how the AI should be taught
concept ConceptName(Input1, Input2): OutputType {
# Concept definition
}
function doJob() {…}
concept ConceptName (Input): OutputType {
programmed doJob }
Curriculum – How to learn
• Defines how the training engine should train the AI within concept
o Rule: 1 curriculum per concept, each concept with curriculum
• Defines lessons for staged teaching plan and control training episodes run
• Training stops when:
o Stopped manually
o When training is no longer improving
o Limits reached (i.e. training time)
• Source
o Data source for teaching the concept (Simulator)
• Parameters
Parameter Default Description
EpisodeIterationLimit 1000 Iterations per training episode
TotalIterationLimit 50,000,000 Total iterations for the concept
NoProgressIterationLimit 250’000 Iterations allowed w/o improvement
LessonRewardThreshold None Minimum reward value for success
LessonSuccessThreshold 0.9 Min success rate to complete lesson
LessonAssessmentWindow 30 Number of episodes per assessment
Goal Keyword
• High level specification of what we want AI to learn
o The Bonsai engine determines appropriate reward functions
• Objectives
o Avoid
o Reach
o Drive
o Maximize
o Minimize
• Goal Ranges
using Goal # namespace
Curriculum {
…
goal (s:SimState){
avoid Fall: Math.Abs(state.angle) in Goal.RangeAbove(MaxAngle)
drive SmallAngle: Math.Abs(state.angle) in Goal.Range(0, MaxAngle/6)
}}
Parameter Description
Goal.Range(X, Y) Values between X and Y, inclusive
Goal.RangeAbove(X) Values greater than or equal to X
Goal.RangeBelow(X) Values less than or equal to X
Goal.Sphere(X, R) Values within line with radius R
Goal.Sphere([X, Y], R) Values within 2D circle with radius R
Goal.Sphere([X, Y, Z], R) Values within 3D sphere with radius R
Simulator Keyword
• Virtual environment to simulate the behaviour of a real-world physical env.
• Simulator has observable state information - the state at a given moment
o Typically sensor measurements
• Note: Inkling does not contain simulators code but defines interaction with
the simulator to train a concept.
• Simulator statement
o Describes the interface to the simulator program
o ActionType – action input type
o ConfigType – configuration input type
o StateType – state output type
• Packages (optional)
o references a simulator package registered for use in the cloud
simulator MySimulator(action: ActionType, config: ConfigType): StateType {}
Takeaways
o MS Innovation Tech Hub (News, concepts, recent developments)
• https://innovation.microsoft.com/en-us/autonomous-systems
o Bonsai Portal
• https://preview.bons.ai/
o Community Forum
• https://techcommunity.microsoft.com/t5/project-bonsai/ct-p/ProjectBonsai
o Accelerators
• https://docs.microsoft.com/en-us/autonomous-systems/bonsai-accelerators/what-are-bonsai-accelerators
o Fixed Accelerator Sample
• https://techcommunity.microsoft.com/t5/project-bonsai/accelerators-failed-to-deploy-image-is-missing/m-p/2460816
o End-end Walkthrough – Project Bonsai & AnyLogic
• https://www.youtube.com/watch?v=-iTSZaG3lg8
• https://microsoft.github.io/moab/tutorials/2-robustness/index.html
o Simulator Sample & Bonsai SDK
• https://github.com/microsoft/cartpole-py
• https://github.com/microsoft/microsoft-bonsai-api
Upcoming Events
jsTalks (Bulgaria), 2021
November 19-20
http://jstalks.net/
Azure MVP Unplugged, 5th Edition
October 21
Global AI Back Together Bulgaria 2021
October 19
Thanks to our Sponsors

More Related Content

What's hot

Building Deep Reinforcement Learning Applications on Apache Spark with Analyt...
Building Deep Reinforcement Learning Applications on Apache Spark with Analyt...Building Deep Reinforcement Learning Applications on Apache Spark with Analyt...
Building Deep Reinforcement Learning Applications on Apache Spark with Analyt...Databricks
 
Simplify Distributed TensorFlow Training for Fast Image Categorization at Sta...
Simplify Distributed TensorFlow Training for Fast Image Categorization at Sta...Simplify Distributed TensorFlow Training for Fast Image Categorization at Sta...
Simplify Distributed TensorFlow Training for Fast Image Categorization at Sta...Databricks
 
Consolidating MLOps at One of Europe’s Biggest Airports
Consolidating MLOps at One of Europe’s Biggest AirportsConsolidating MLOps at One of Europe’s Biggest Airports
Consolidating MLOps at One of Europe’s Biggest AirportsDatabricks
 
From Pipelines to Refineries: scaling big data applications with Tim Hunter
From Pipelines to Refineries: scaling big data applications with Tim HunterFrom Pipelines to Refineries: scaling big data applications with Tim Hunter
From Pipelines to Refineries: scaling big data applications with Tim HunterDatabricks
 
Changing the Way Viacom Looks at Video Performance with Mark Cohen and Michae...
Changing the Way Viacom Looks at Video Performance with Mark Cohen and Michae...Changing the Way Viacom Looks at Video Performance with Mark Cohen and Michae...
Changing the Way Viacom Looks at Video Performance with Mark Cohen and Michae...Databricks
 
Using Crowdsourced Images to Create Image Recognition Models with Analytics Z...
Using Crowdsourced Images to Create Image Recognition Models with Analytics Z...Using Crowdsourced Images to Create Image Recognition Models with Analytics Z...
Using Crowdsourced Images to Create Image Recognition Models with Analytics Z...Databricks
 
Bulletproof Jobs: Patterns for Large-Scale Spark Processing: Spark Summit Eas...
Bulletproof Jobs: Patterns for Large-Scale Spark Processing: Spark Summit Eas...Bulletproof Jobs: Patterns for Large-Scale Spark Processing: Spark Summit Eas...
Bulletproof Jobs: Patterns for Large-Scale Spark Processing: Spark Summit Eas...Spark Summit
 
Distributed processing of large graphs in python
Distributed processing of large graphs in pythonDistributed processing of large graphs in python
Distributed processing of large graphs in pythonJose Quesada (hiring)
 
Predicting Optimal Parallelism for Data Analytics
Predicting Optimal Parallelism for Data AnalyticsPredicting Optimal Parallelism for Data Analytics
Predicting Optimal Parallelism for Data AnalyticsDatabricks
 
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on ...
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on ...Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on ...
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on ...DataWorks Summit/Hadoop Summit
 
Deploying MLlib for Scoring in Structured Streaming with Joseph Bradley
Deploying MLlib for Scoring in Structured Streaming with Joseph BradleyDeploying MLlib for Scoring in Structured Streaming with Joseph Bradley
Deploying MLlib for Scoring in Structured Streaming with Joseph BradleyDatabricks
 
Apache Spark for Cyber Security in an Enterprise Company
Apache Spark for Cyber Security in an Enterprise CompanyApache Spark for Cyber Security in an Enterprise Company
Apache Spark for Cyber Security in an Enterprise CompanyDatabricks
 
Anomaly Detection at Scale!
Anomaly Detection at Scale!Anomaly Detection at Scale!
Anomaly Detection at Scale!Databricks
 
Bringing Deep Learning into production
Bringing Deep Learning into production Bringing Deep Learning into production
Bringing Deep Learning into production Paolo Platter
 
Bootstrapping of PySpark Models for Factorial A/B Tests
Bootstrapping of PySpark Models for Factorial A/B TestsBootstrapping of PySpark Models for Factorial A/B Tests
Bootstrapping of PySpark Models for Factorial A/B TestsDatabricks
 
Extending Machine Learning Algorithms with PySpark
Extending Machine Learning Algorithms with PySparkExtending Machine Learning Algorithms with PySpark
Extending Machine Learning Algorithms with PySparkDatabricks
 
CyberMLToolkit: Anomaly Detection as a Scalable Generic Service Over Apache S...
CyberMLToolkit: Anomaly Detection as a Scalable Generic Service Over Apache S...CyberMLToolkit: Anomaly Detection as a Scalable Generic Service Over Apache S...
CyberMLToolkit: Anomaly Detection as a Scalable Generic Service Over Apache S...Databricks
 
A Tale of Three Deep Learning Frameworks: TensorFlow, Keras, & Deep Learning ...
A Tale of Three Deep Learning Frameworks: TensorFlow, Keras, & Deep Learning ...A Tale of Three Deep Learning Frameworks: TensorFlow, Keras, & Deep Learning ...
A Tale of Three Deep Learning Frameworks: TensorFlow, Keras, & Deep Learning ...Databricks
 
Experimental Design for Distributed Machine Learning with Myles Baker
Experimental Design for Distributed Machine Learning with Myles BakerExperimental Design for Distributed Machine Learning with Myles Baker
Experimental Design for Distributed Machine Learning with Myles BakerDatabricks
 
ModelDB: A System to Manage Machine Learning Models: Spark Summit East talk b...
ModelDB: A System to Manage Machine Learning Models: Spark Summit East talk b...ModelDB: A System to Manage Machine Learning Models: Spark Summit East talk b...
ModelDB: A System to Manage Machine Learning Models: Spark Summit East talk b...Spark Summit
 

What's hot (20)

Building Deep Reinforcement Learning Applications on Apache Spark with Analyt...
Building Deep Reinforcement Learning Applications on Apache Spark with Analyt...Building Deep Reinforcement Learning Applications on Apache Spark with Analyt...
Building Deep Reinforcement Learning Applications on Apache Spark with Analyt...
 
Simplify Distributed TensorFlow Training for Fast Image Categorization at Sta...
Simplify Distributed TensorFlow Training for Fast Image Categorization at Sta...Simplify Distributed TensorFlow Training for Fast Image Categorization at Sta...
Simplify Distributed TensorFlow Training for Fast Image Categorization at Sta...
 
Consolidating MLOps at One of Europe’s Biggest Airports
Consolidating MLOps at One of Europe’s Biggest AirportsConsolidating MLOps at One of Europe’s Biggest Airports
Consolidating MLOps at One of Europe’s Biggest Airports
 
From Pipelines to Refineries: scaling big data applications with Tim Hunter
From Pipelines to Refineries: scaling big data applications with Tim HunterFrom Pipelines to Refineries: scaling big data applications with Tim Hunter
From Pipelines to Refineries: scaling big data applications with Tim Hunter
 
Changing the Way Viacom Looks at Video Performance with Mark Cohen and Michae...
Changing the Way Viacom Looks at Video Performance with Mark Cohen and Michae...Changing the Way Viacom Looks at Video Performance with Mark Cohen and Michae...
Changing the Way Viacom Looks at Video Performance with Mark Cohen and Michae...
 
Using Crowdsourced Images to Create Image Recognition Models with Analytics Z...
Using Crowdsourced Images to Create Image Recognition Models with Analytics Z...Using Crowdsourced Images to Create Image Recognition Models with Analytics Z...
Using Crowdsourced Images to Create Image Recognition Models with Analytics Z...
 
Bulletproof Jobs: Patterns for Large-Scale Spark Processing: Spark Summit Eas...
Bulletproof Jobs: Patterns for Large-Scale Spark Processing: Spark Summit Eas...Bulletproof Jobs: Patterns for Large-Scale Spark Processing: Spark Summit Eas...
Bulletproof Jobs: Patterns for Large-Scale Spark Processing: Spark Summit Eas...
 
Distributed processing of large graphs in python
Distributed processing of large graphs in pythonDistributed processing of large graphs in python
Distributed processing of large graphs in python
 
Predicting Optimal Parallelism for Data Analytics
Predicting Optimal Parallelism for Data AnalyticsPredicting Optimal Parallelism for Data Analytics
Predicting Optimal Parallelism for Data Analytics
 
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on ...
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on ...Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on ...
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on ...
 
Deploying MLlib for Scoring in Structured Streaming with Joseph Bradley
Deploying MLlib for Scoring in Structured Streaming with Joseph BradleyDeploying MLlib for Scoring in Structured Streaming with Joseph Bradley
Deploying MLlib for Scoring in Structured Streaming with Joseph Bradley
 
Apache Spark for Cyber Security in an Enterprise Company
Apache Spark for Cyber Security in an Enterprise CompanyApache Spark for Cyber Security in an Enterprise Company
Apache Spark for Cyber Security in an Enterprise Company
 
Anomaly Detection at Scale!
Anomaly Detection at Scale!Anomaly Detection at Scale!
Anomaly Detection at Scale!
 
Bringing Deep Learning into production
Bringing Deep Learning into production Bringing Deep Learning into production
Bringing Deep Learning into production
 
Bootstrapping of PySpark Models for Factorial A/B Tests
Bootstrapping of PySpark Models for Factorial A/B TestsBootstrapping of PySpark Models for Factorial A/B Tests
Bootstrapping of PySpark Models for Factorial A/B Tests
 
Extending Machine Learning Algorithms with PySpark
Extending Machine Learning Algorithms with PySparkExtending Machine Learning Algorithms with PySpark
Extending Machine Learning Algorithms with PySpark
 
CyberMLToolkit: Anomaly Detection as a Scalable Generic Service Over Apache S...
CyberMLToolkit: Anomaly Detection as a Scalable Generic Service Over Apache S...CyberMLToolkit: Anomaly Detection as a Scalable Generic Service Over Apache S...
CyberMLToolkit: Anomaly Detection as a Scalable Generic Service Over Apache S...
 
A Tale of Three Deep Learning Frameworks: TensorFlow, Keras, & Deep Learning ...
A Tale of Three Deep Learning Frameworks: TensorFlow, Keras, & Deep Learning ...A Tale of Three Deep Learning Frameworks: TensorFlow, Keras, & Deep Learning ...
A Tale of Three Deep Learning Frameworks: TensorFlow, Keras, & Deep Learning ...
 
Experimental Design for Distributed Machine Learning with Myles Baker
Experimental Design for Distributed Machine Learning with Myles BakerExperimental Design for Distributed Machine Learning with Myles Baker
Experimental Design for Distributed Machine Learning with Myles Baker
 
ModelDB: A System to Manage Machine Learning Models: Spark Summit East talk b...
ModelDB: A System to Manage Machine Learning Models: Spark Summit East talk b...ModelDB: A System to Manage Machine Learning Models: Spark Summit East talk b...
ModelDB: A System to Manage Machine Learning Models: Spark Summit East talk b...
 

Similar to Constrained Optimization with Genetic Algorithms and Project Bonsai

The Data Science Process - Do we need it and how to apply?
The Data Science Process - Do we need it and how to apply?The Data Science Process - Do we need it and how to apply?
The Data Science Process - Do we need it and how to apply?Ivo Andreev
 
Big Data in the Cloud: How the RISElab Enables Computers to Make Intelligent ...
Big Data in the Cloud: How the RISElab Enables Computers to Make Intelligent ...Big Data in the Cloud: How the RISElab Enables Computers to Make Intelligent ...
Big Data in the Cloud: How the RISElab Enables Computers to Make Intelligent ...Amazon Web Services
 
The Machine Learning Workflow with Azure
The Machine Learning Workflow with AzureThe Machine Learning Workflow with Azure
The Machine Learning Workflow with AzureIvo Andreev
 
Cutting Edge Computer Vision for Everyone
Cutting Edge Computer Vision for EveryoneCutting Edge Computer Vision for Everyone
Cutting Edge Computer Vision for EveryoneIvo Andreev
 
Scalable and Cost-Effective Model-Based Software Verification and Testing
Scalable and Cost-Effective Model-Based Software Verification and TestingScalable and Cost-Effective Model-Based Software Verification and Testing
Scalable and Cost-Effective Model-Based Software Verification and TestingLionel Briand
 
Model-based programming and AI-assisted software development
Model-based programming and AI-assisted software developmentModel-based programming and AI-assisted software development
Model-based programming and AI-assisted software developmentEficode
 
The Power of Auto ML and How Does it Work
The Power of Auto ML and How Does it WorkThe Power of Auto ML and How Does it Work
The Power of Auto ML and How Does it WorkIvo Andreev
 
Machine Learning Infrastructure
Machine Learning InfrastructureMachine Learning Infrastructure
Machine Learning InfrastructureSigOpt
 
Ml based detection of users anomaly activities (20th OWASP Night Tokyo, English)
Ml based detection of users anomaly activities (20th OWASP Night Tokyo, English)Ml based detection of users anomaly activities (20th OWASP Night Tokyo, English)
Ml based detection of users anomaly activities (20th OWASP Night Tokyo, English)Yury Leonychev
 
Machine Learning & Predictive Maintenance
Machine Learning &  Predictive MaintenanceMachine Learning &  Predictive Maintenance
Machine Learning & Predictive MaintenanceArnab Biswas
 
01 introduction to cpp
01   introduction to cpp01   introduction to cpp
01 introduction to cppManzoor ALam
 
(SPOT205) 5 Lessons for Managing Massive IT Transformation Projects
(SPOT205) 5 Lessons for Managing Massive IT Transformation Projects(SPOT205) 5 Lessons for Managing Massive IT Transformation Projects
(SPOT205) 5 Lessons for Managing Massive IT Transformation ProjectsAmazon Web Services
 
Concurrency Programming in Java - 01 - Introduction to Concurrency Programming
Concurrency Programming in Java - 01 - Introduction to Concurrency ProgrammingConcurrency Programming in Java - 01 - Introduction to Concurrency Programming
Concurrency Programming in Java - 01 - Introduction to Concurrency ProgrammingSachintha Gunasena
 
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science Lab
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science LabScalable Ensemble Machine Learning @ Harvard Health Policy Data Science Lab
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science LabSri Ambati
 
AnalyticOps: Lessons Learned Moving Machine-Learning Algorithms to Production...
AnalyticOps: Lessons Learned Moving Machine-Learning Algorithms to Production...AnalyticOps: Lessons Learned Moving Machine-Learning Algorithms to Production...
AnalyticOps: Lessons Learned Moving Machine-Learning Algorithms to Production...Robert Grossman
 
IncQuery-D: Distributed Incremental Model Queries over the Cloud: Engineerin...
IncQuery-D: Distributed Incremental Model Queries over the Cloud: Engineerin...IncQuery-D: Distributed Incremental Model Queries over the Cloud: Engineerin...
IncQuery-D: Distributed Incremental Model Queries over the Cloud: Engineerin...Daniel Varro
 
Getting Started with Innoslate
Getting Started with InnoslateGetting Started with Innoslate
Getting Started with InnoslateElizabeth Steiner
 
From the Monolith to Microservices - CraftConf 2015
From the Monolith to Microservices - CraftConf 2015From the Monolith to Microservices - CraftConf 2015
From the Monolith to Microservices - CraftConf 2015Randy Shoup
 

Similar to Constrained Optimization with Genetic Algorithms and Project Bonsai (20)

The Data Science Process - Do we need it and how to apply?
The Data Science Process - Do we need it and how to apply?The Data Science Process - Do we need it and how to apply?
The Data Science Process - Do we need it and how to apply?
 
Big Data in the Cloud: How the RISElab Enables Computers to Make Intelligent ...
Big Data in the Cloud: How the RISElab Enables Computers to Make Intelligent ...Big Data in the Cloud: How the RISElab Enables Computers to Make Intelligent ...
Big Data in the Cloud: How the RISElab Enables Computers to Make Intelligent ...
 
The Machine Learning Workflow with Azure
The Machine Learning Workflow with AzureThe Machine Learning Workflow with Azure
The Machine Learning Workflow with Azure
 
Cutting Edge Computer Vision for Everyone
Cutting Edge Computer Vision for EveryoneCutting Edge Computer Vision for Everyone
Cutting Edge Computer Vision for Everyone
 
Scalable and Cost-Effective Model-Based Software Verification and Testing
Scalable and Cost-Effective Model-Based Software Verification and TestingScalable and Cost-Effective Model-Based Software Verification and Testing
Scalable and Cost-Effective Model-Based Software Verification and Testing
 
Machine learning specialist ver#4
Machine learning specialist ver#4Machine learning specialist ver#4
Machine learning specialist ver#4
 
Model-based programming and AI-assisted software development
Model-based programming and AI-assisted software developmentModel-based programming and AI-assisted software development
Model-based programming and AI-assisted software development
 
The Power of Auto ML and How Does it Work
The Power of Auto ML and How Does it WorkThe Power of Auto ML and How Does it Work
The Power of Auto ML and How Does it Work
 
Machine Learning Infrastructure
Machine Learning InfrastructureMachine Learning Infrastructure
Machine Learning Infrastructure
 
Ml based detection of users anomaly activities (20th OWASP Night Tokyo, English)
Ml based detection of users anomaly activities (20th OWASP Night Tokyo, English)Ml based detection of users anomaly activities (20th OWASP Night Tokyo, English)
Ml based detection of users anomaly activities (20th OWASP Night Tokyo, English)
 
Machine Learning & Predictive Maintenance
Machine Learning &  Predictive MaintenanceMachine Learning &  Predictive Maintenance
Machine Learning & Predictive Maintenance
 
01 introduction to cpp
01   introduction to cpp01   introduction to cpp
01 introduction to cpp
 
(SPOT205) 5 Lessons for Managing Massive IT Transformation Projects
(SPOT205) 5 Lessons for Managing Massive IT Transformation Projects(SPOT205) 5 Lessons for Managing Massive IT Transformation Projects
(SPOT205) 5 Lessons for Managing Massive IT Transformation Projects
 
Concurrency Programming in Java - 01 - Introduction to Concurrency Programming
Concurrency Programming in Java - 01 - Introduction to Concurrency ProgrammingConcurrency Programming in Java - 01 - Introduction to Concurrency Programming
Concurrency Programming in Java - 01 - Introduction to Concurrency Programming
 
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science Lab
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science LabScalable Ensemble Machine Learning @ Harvard Health Policy Data Science Lab
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science Lab
 
AnalyticOps: Lessons Learned Moving Machine-Learning Algorithms to Production...
AnalyticOps: Lessons Learned Moving Machine-Learning Algorithms to Production...AnalyticOps: Lessons Learned Moving Machine-Learning Algorithms to Production...
AnalyticOps: Lessons Learned Moving Machine-Learning Algorithms to Production...
 
Design p atterns
Design p atternsDesign p atterns
Design p atterns
 
IncQuery-D: Distributed Incremental Model Queries over the Cloud: Engineerin...
IncQuery-D: Distributed Incremental Model Queries over the Cloud: Engineerin...IncQuery-D: Distributed Incremental Model Queries over the Cloud: Engineerin...
IncQuery-D: Distributed Incremental Model Queries over the Cloud: Engineerin...
 
Getting Started with Innoslate
Getting Started with InnoslateGetting Started with Innoslate
Getting Started with Innoslate
 
From the Monolith to Microservices - CraftConf 2015
From the Monolith to Microservices - CraftConf 2015From the Monolith to Microservices - CraftConf 2015
From the Monolith to Microservices - CraftConf 2015
 

More from Ivo Andreev

Cybersecurity and Generative AI - for Good and Bad vol.2
Cybersecurity and Generative AI - for Good and Bad vol.2Cybersecurity and Generative AI - for Good and Bad vol.2
Cybersecurity and Generative AI - for Good and Bad vol.2Ivo Andreev
 
Architecting AI Solutions in Azure for Business
Architecting AI Solutions in Azure for BusinessArchitecting AI Solutions in Azure for Business
Architecting AI Solutions in Azure for BusinessIvo Andreev
 
Cybersecurity Challenges with Generative AI - for Good and Bad
Cybersecurity Challenges with Generative AI - for Good and BadCybersecurity Challenges with Generative AI - for Good and Bad
Cybersecurity Challenges with Generative AI - for Good and BadIvo Andreev
 
JS-Experts - Cybersecurity for Generative AI
JS-Experts - Cybersecurity for Generative AIJS-Experts - Cybersecurity for Generative AI
JS-Experts - Cybersecurity for Generative AIIvo Andreev
 
How do OpenAI GPT Models Work - Misconceptions and Tips for Developers
How do OpenAI GPT Models Work - Misconceptions and Tips for DevelopersHow do OpenAI GPT Models Work - Misconceptions and Tips for Developers
How do OpenAI GPT Models Work - Misconceptions and Tips for DevelopersIvo Andreev
 
OpenAI GPT in Depth - Questions and Misconceptions
OpenAI GPT in Depth - Questions and MisconceptionsOpenAI GPT in Depth - Questions and Misconceptions
OpenAI GPT in Depth - Questions and MisconceptionsIvo Andreev
 
Collecting and Analysing Spaceborn Data
Collecting and Analysing Spaceborn DataCollecting and Analysing Spaceborn Data
Collecting and Analysing Spaceborn DataIvo Andreev
 
Collecting and Analysing Satellite Data with Azure Orbital
Collecting and Analysing Satellite Data with Azure OrbitalCollecting and Analysing Satellite Data with Azure Orbital
Collecting and Analysing Satellite Data with Azure OrbitalIvo Andreev
 
Language Studio and Custom Models
Language Studio and Custom ModelsLanguage Studio and Custom Models
Language Studio and Custom ModelsIvo Andreev
 
CosmosDB for IoT Scenarios
CosmosDB for IoT ScenariosCosmosDB for IoT Scenarios
CosmosDB for IoT ScenariosIvo Andreev
 
Azure security guidelines for developers
Azure security guidelines for developers Azure security guidelines for developers
Azure security guidelines for developers Ivo Andreev
 
Global azure virtual 2021 - Azure Lighthouse
Global azure virtual 2021 - Azure LighthouseGlobal azure virtual 2021 - Azure Lighthouse
Global azure virtual 2021 - Azure LighthouseIvo Andreev
 
Flux QL - Nexgen Management of Time Series Inspired by JS
Flux QL - Nexgen Management of Time Series Inspired by JSFlux QL - Nexgen Management of Time Series Inspired by JS
Flux QL - Nexgen Management of Time Series Inspired by JSIvo Andreev
 
Azure architecture design patterns - proven solutions to common challenges
Azure architecture design patterns - proven solutions to common challengesAzure architecture design patterns - proven solutions to common challenges
Azure architecture design patterns - proven solutions to common challengesIvo Andreev
 
Industrial IoT on Azure
Industrial IoT on AzureIndustrial IoT on Azure
Industrial IoT on AzureIvo Andreev
 
Flying a Drone with JavaScript and Computer Vision
Flying a Drone with JavaScript and Computer VisionFlying a Drone with JavaScript and Computer Vision
Flying a Drone with JavaScript and Computer VisionIvo Andreev
 
ML with Power BI for Business and Pros
ML with Power BI for Business and ProsML with Power BI for Business and Pros
ML with Power BI for Business and ProsIvo Andreev
 
Industrial IoT with Azure and Open Source
Industrial IoT with Azure and Open SourceIndustrial IoT with Azure and Open Source
Industrial IoT with Azure and Open SourceIvo Andreev
 
Machine Learning at Hand with Power BI
Machine Learning at Hand with Power BIMachine Learning at Hand with Power BI
Machine Learning at Hand with Power BIIvo Andreev
 
Smart Web Apps with Azure and AI as a Service
Smart Web Apps with Azure and AI as a ServiceSmart Web Apps with Azure and AI as a Service
Smart Web Apps with Azure and AI as a ServiceIvo Andreev
 

More from Ivo Andreev (20)

Cybersecurity and Generative AI - for Good and Bad vol.2
Cybersecurity and Generative AI - for Good and Bad vol.2Cybersecurity and Generative AI - for Good and Bad vol.2
Cybersecurity and Generative AI - for Good and Bad vol.2
 
Architecting AI Solutions in Azure for Business
Architecting AI Solutions in Azure for BusinessArchitecting AI Solutions in Azure for Business
Architecting AI Solutions in Azure for Business
 
Cybersecurity Challenges with Generative AI - for Good and Bad
Cybersecurity Challenges with Generative AI - for Good and BadCybersecurity Challenges with Generative AI - for Good and Bad
Cybersecurity Challenges with Generative AI - for Good and Bad
 
JS-Experts - Cybersecurity for Generative AI
JS-Experts - Cybersecurity for Generative AIJS-Experts - Cybersecurity for Generative AI
JS-Experts - Cybersecurity for Generative AI
 
How do OpenAI GPT Models Work - Misconceptions and Tips for Developers
How do OpenAI GPT Models Work - Misconceptions and Tips for DevelopersHow do OpenAI GPT Models Work - Misconceptions and Tips for Developers
How do OpenAI GPT Models Work - Misconceptions and Tips for Developers
 
OpenAI GPT in Depth - Questions and Misconceptions
OpenAI GPT in Depth - Questions and MisconceptionsOpenAI GPT in Depth - Questions and Misconceptions
OpenAI GPT in Depth - Questions and Misconceptions
 
Collecting and Analysing Spaceborn Data
Collecting and Analysing Spaceborn DataCollecting and Analysing Spaceborn Data
Collecting and Analysing Spaceborn Data
 
Collecting and Analysing Satellite Data with Azure Orbital
Collecting and Analysing Satellite Data with Azure OrbitalCollecting and Analysing Satellite Data with Azure Orbital
Collecting and Analysing Satellite Data with Azure Orbital
 
Language Studio and Custom Models
Language Studio and Custom ModelsLanguage Studio and Custom Models
Language Studio and Custom Models
 
CosmosDB for IoT Scenarios
CosmosDB for IoT ScenariosCosmosDB for IoT Scenarios
CosmosDB for IoT Scenarios
 
Azure security guidelines for developers
Azure security guidelines for developers Azure security guidelines for developers
Azure security guidelines for developers
 
Global azure virtual 2021 - Azure Lighthouse
Global azure virtual 2021 - Azure LighthouseGlobal azure virtual 2021 - Azure Lighthouse
Global azure virtual 2021 - Azure Lighthouse
 
Flux QL - Nexgen Management of Time Series Inspired by JS
Flux QL - Nexgen Management of Time Series Inspired by JSFlux QL - Nexgen Management of Time Series Inspired by JS
Flux QL - Nexgen Management of Time Series Inspired by JS
 
Azure architecture design patterns - proven solutions to common challenges
Azure architecture design patterns - proven solutions to common challengesAzure architecture design patterns - proven solutions to common challenges
Azure architecture design patterns - proven solutions to common challenges
 
Industrial IoT on Azure
Industrial IoT on AzureIndustrial IoT on Azure
Industrial IoT on Azure
 
Flying a Drone with JavaScript and Computer Vision
Flying a Drone with JavaScript and Computer VisionFlying a Drone with JavaScript and Computer Vision
Flying a Drone with JavaScript and Computer Vision
 
ML with Power BI for Business and Pros
ML with Power BI for Business and ProsML with Power BI for Business and Pros
ML with Power BI for Business and Pros
 
Industrial IoT with Azure and Open Source
Industrial IoT with Azure and Open SourceIndustrial IoT with Azure and Open Source
Industrial IoT with Azure and Open Source
 
Machine Learning at Hand with Power BI
Machine Learning at Hand with Power BIMachine Learning at Hand with Power BI
Machine Learning at Hand with Power BI
 
Smart Web Apps with Azure and AI as a Service
Smart Web Apps with Azure and AI as a ServiceSmart Web Apps with Azure and AI as a Service
Smart Web Apps with Azure and AI as a Service
 

Recently uploaded

%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...chiefasafspells
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 

Recently uploaded (20)

Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 

Constrained Optimization with Genetic Algorithms and Project Bonsai

  • 1. DATA SATURDAY #10 Sofia, Oct 09th Another PoV on Data Autonomous Systems and Project Bonsai Ivelin Andreev
  • 2. Speaker Bio • Software Architect @ o 19+ years professional experience • Microsoft Azure MVP • External Expert Eurostars-Eureka • External Expert InnoFund Denmark, RIF Cyprus • Business Interests o Web Development, SOA, Integration o IoT, Machine Learning, Computer Intelligence o Security & Performance Optimization • Contact ivelin.andreev@icb.bg www.linkedin.com/in/ivelin www.slideshare.net/ivoandreev
  • 3. Thanks to our Sponsors
  • 4. Agenda Agenda • Evolutionary and Genetic Algorithms • Autonomous vs Automated System • Bonsai Project • Bonsai Platform Components • Basic Concepts and Technical Overview • Demo
  • 6. Constrained Optimization Def: Maximize/Minimize a cost function within constraints (i.e. time, money, fuel) Evolutionary Algorithms • Heuristics-based problem solving through mimicking the behavior of living creatures to avoid exhaustive solution application Pros • Solve global optimization problems • Scalable to higher dimensional problems • Flexible and adaptable to many problem types • Multiple “best” solutions Cons • Vulnerable to bad initial configuration • Premature convergence to a local extremum may not reach even close to global extremum
  • 7. Genetic Algorithms Def: Тype of EA that uses crossover and mutations to search the solution space. Key Principle: Mating healthier parents shall lead to healthier offspring. • Population – set of current solutions • Individual – a solution • Fitness – criterion to compare generations/solutions (f(x) = 5x^2) • Variation – modification of population to generate new solutions • Chromosome – a set of features describing the individual • Gene – Each part of the chromosome, encoded by numbers
  • 8. Simple/Sample Case Background • Thousands of heating devices • Current state, Usage history • Power price/hour 1 day ahead Objective • Cost optimization of heating Limitations • Heater has maximum energy @80°C • Charge has to be >= daily consumption • Computation scalability Solution • Time series forecasting • Genetic algorithms
  • 9. Autonomous Systems? Def: Intelligent systems that operate in highly dynamic PHYSICAL environments by sense, plan and act based on changing environment variables • To apply Real World… o Millions of simulations o Assessment in real world required o Simulation needs to resemble physical world as close as possible. o A bad reward function = The effect Reacting starts from gathering information about the environment. Interpreted sensor information and translated to actionable information based on reward. Once the action plan is in progress, evaluate proximity of the objective.
  • 10. • Autonomy is moving ML from bits to atoms • Levels of Autonomy L0 Humans In complete control L1 Assistance with subtasks L2 Occasional, human specifies intent L3 Limited, human fallback L4 Full control, human supervises L5 Full autonomy, human is absent Autonomous, not Automated • Automated Systems o Execute a (complex) “script” o Apply long term process changes (i.e. react to wear) o Apply short-term process changes (clean, diagnose) o No handling of uncoded decisions • Autonomous Systems o Aim at objectives w/o human intervention o Monitor and sense the environment o Suits dynamic processes and changing conditions • Disadvantages o Human trust and explainability (Consumer acceptance) o What if the computer breaks (Technology and infrastructure) o Security and Responsibility (Policy and legislation)
  • 11. • Industrial robotics and manufacturing • Motion control • Smart buildings • Process control and automation • Bonsai emerges as a general-purpose, deep reinforcement learning platform • Microsoft acquire Bonsai in move to build ‘brains’ for autonomous systems • Released for public preview in May 2020 • The simplest and richest toolchain for AS o Machine teaching abstracting o Automatic model generation o Host APIs for simulator integration and inference Some History https://blogs.microsoft.com/blog/2018/06/20/microsoft-to-acquire-bonsai-in-move-to-build-brains-for-autonomous-systems/
  • 12. Project Bonsai in the Spotlight • Low code end-end platform that speeds AI-powered automation development • Integrate realistic simulation • Train adaptable brains • Export and consume brains • Cost? o Completely free in preview • Azure Resources o Container Registry (brains and simulators) o Container Instance (running simulations) o Storage (uploaded ZIPped simulators) o Monitor (logs of training and assessment)
  • 13. Accelerators and Setting up • Solution accelerators designed for specific industrial optimization problems • Pricing o Project Bonsai (Free for now) o Simulator software (AnyLogic, MATLAB) o Azure Services (VM D2_v4, public IP, 128GiB SSD, ACR) ~90EUR/month • Supported Use Cases o Chemical reactor optimization (Simulink - Continuous Stirred Tank Reactor) o Building energy management (Simulink – House Thermal Model) o Factory logistics (AnyLogic – Factory Floor) • Templates did not work ☺, but after report fix is in progress
  • 16. Windfarm Energy Output Optimization
  • 19. Simulator as Data Source • Simulator – replicate real world for realistic training environment • Supported Simulations o AnyLogic, MATLAB, VP Link or API (REST, Python) • Minimum requirements o Initial state (often random) o Iterates over time o Responds to external actions • Good simulation requirements o Good fidelity to match real world o Visualization or data output for training assessment o Well defined environment state (parameters) o Discrete actions for the brain to affect state o Clear criteria for failure and success state
  • 20. Simulators • Option 1: Off the shelf software o Pros: Thousands of ready code and samples; Highly graphical o Cons: Steep learning curve; Resource consuming; Coding still required o (Small Business, Academia, Free Trial) o (Enterprise, Academic, Free Matlab Online Trial) • Option 2: Custom simulators o API Client SDK in Python, C#, Java, TypeScript o Build as Docker image o Push to AZ Container Registry (managed = scalability) o Consume from Bonsai portal using “Add Simulator” o Pros: Complete control; no upfront costs o Cons: A Developer approach; Hard to code some existing simulations o Sample: https://github.com/microsoft/cartpole-py AI Agent Action Simulator State Reward
  • 21. Bonsai Components – Training Engine • Architect o Proposes the configuration of learning algorithms and topologies that have the best chance at learning o 3 deep learning reinforcement learning algorithms with heuristics params • Instructor o Configures the learner in real time to follow the training plan of the architect • Learner o Training: train and evaluate response o Inference: Initiate the trained system and respond to request • Predictor o A trained brain stored in prediction mode o HTTP API endpoint
  • 22. Bonsai Components - Brain • AI models that can optimize the systems they have been trained for • Supports multiple versions • Versions reflect changes in training curriculum • Any version is exportable outside the platform • Goal Objectives o Encapsulate intention-to-reward function and simplify the work of operator o Avoid – avoid a region o Reach - go to target ASAP o Drive – go to target ASAP and stay near o Maximize – push target as high as possible o Minimize – push target as low as possible
  • 24. Iteration: Concept Graph View Agent Action The brain output on every iteration Observable State Passed to brain on every iteration Simulator State Output by simulator on every iteration Concept What the brain is trying to learn Concept Goals What the brain has to achieve State Transformation Implicit conversion of sim state Simulator Simulator used for concept training
  • 25. Inkling Language • Orig: Fictious language spoken by Nintendo Splatoon human-squid inklings • Now: Proprietary language defines what and how you want to teach the AI • Statically typed language o Compiler detects and reports errors • Starts with Version • Data Types o Primitives: Number (integer, float), String with ranges and enumerations o Collections: Arrays, Structures, User defined types inkling "2.0“ # Comments like that type Coordinate {X: number, Y: number} number<0 .. 6 step 2> # represents {0,2,4,6}
  • 26. Concept – What to learn • Concept o Component of a brain that must be learned, programmed or imported o Sample: Ensure hot water is available in a boiler while heating in low load hours • Imported Concept o Compatible models trained on other platforms (ONNX, TensorFlow) • Programmed Concept o Defined using the programmed keyword followed by a function definition or reference. • Learned Concept o Specify a curriculum that defines how the AI should be taught concept ConceptName(Input1, Input2): OutputType { # Concept definition } function doJob() {…} concept ConceptName (Input): OutputType { programmed doJob }
  • 27. Curriculum – How to learn • Defines how the training engine should train the AI within concept o Rule: 1 curriculum per concept, each concept with curriculum • Defines lessons for staged teaching plan and control training episodes run • Training stops when: o Stopped manually o When training is no longer improving o Limits reached (i.e. training time) • Source o Data source for teaching the concept (Simulator) • Parameters Parameter Default Description EpisodeIterationLimit 1000 Iterations per training episode TotalIterationLimit 50,000,000 Total iterations for the concept NoProgressIterationLimit 250’000 Iterations allowed w/o improvement LessonRewardThreshold None Minimum reward value for success LessonSuccessThreshold 0.9 Min success rate to complete lesson LessonAssessmentWindow 30 Number of episodes per assessment
  • 28. Goal Keyword • High level specification of what we want AI to learn o The Bonsai engine determines appropriate reward functions • Objectives o Avoid o Reach o Drive o Maximize o Minimize • Goal Ranges using Goal # namespace Curriculum { … goal (s:SimState){ avoid Fall: Math.Abs(state.angle) in Goal.RangeAbove(MaxAngle) drive SmallAngle: Math.Abs(state.angle) in Goal.Range(0, MaxAngle/6) }} Parameter Description Goal.Range(X, Y) Values between X and Y, inclusive Goal.RangeAbove(X) Values greater than or equal to X Goal.RangeBelow(X) Values less than or equal to X Goal.Sphere(X, R) Values within line with radius R Goal.Sphere([X, Y], R) Values within 2D circle with radius R Goal.Sphere([X, Y, Z], R) Values within 3D sphere with radius R
  • 29. Simulator Keyword • Virtual environment to simulate the behaviour of a real-world physical env. • Simulator has observable state information - the state at a given moment o Typically sensor measurements • Note: Inkling does not contain simulators code but defines interaction with the simulator to train a concept. • Simulator statement o Describes the interface to the simulator program o ActionType – action input type o ConfigType – configuration input type o StateType – state output type • Packages (optional) o references a simulator package registered for use in the cloud simulator MySimulator(action: ActionType, config: ConfigType): StateType {}
  • 30. Takeaways o MS Innovation Tech Hub (News, concepts, recent developments) • https://innovation.microsoft.com/en-us/autonomous-systems o Bonsai Portal • https://preview.bons.ai/ o Community Forum • https://techcommunity.microsoft.com/t5/project-bonsai/ct-p/ProjectBonsai o Accelerators • https://docs.microsoft.com/en-us/autonomous-systems/bonsai-accelerators/what-are-bonsai-accelerators o Fixed Accelerator Sample • https://techcommunity.microsoft.com/t5/project-bonsai/accelerators-failed-to-deploy-image-is-missing/m-p/2460816 o End-end Walkthrough – Project Bonsai & AnyLogic • https://www.youtube.com/watch?v=-iTSZaG3lg8 • https://microsoft.github.io/moab/tutorials/2-robustness/index.html o Simulator Sample & Bonsai SDK • https://github.com/microsoft/cartpole-py • https://github.com/microsoft/microsoft-bonsai-api
  • 31. Upcoming Events jsTalks (Bulgaria), 2021 November 19-20 http://jstalks.net/ Azure MVP Unplugged, 5th Edition October 21 Global AI Back Together Bulgaria 2021 October 19
  • 32. Thanks to our Sponsors