Reactive Learning Agents
-
Upload
jeff-smith -
Category
Software
-
view
436 -
download
0
Transcript of Reactive Learning Agents
Reactive Learning
AgentsJeff Smith
@jeffksmithjr
Bio
Bio
Bio
x.ai @xdotai [email protected] New York, New York
Designing Agents
Agents
Software Agents
Software Agents
Mmmm… Lunch.
Software AgentsSensors
Actuators
Function
Intelligent Agents
Intelligent Agents
Maybe Later
Intelligent Agents
Sensors
Actuators
Knowledge
Function
Learning Agents
Learning Agents
Not that One!
Learning Agents
Sensors
Actuators
Knowledge
Learning
Function
Reactive Machine Learning
Reactive
Reactive Systems
Responsive
Resilient Elastic
Message-Driven
Reactive Strategies
Replication Containment Supervision
Reactive Machine Learning
Reactive Machine Learning
Uncertain DataInfinite Data
Laziness Pure Functions
Immutable Facts
Possible Worlds
Reactive Learning Agents
Learning Agents
Sensors
Actuators
Knowledge
Learning
Function
Reactive Systems
Responsive
Resilient Elastic
Message-Driven
Reactive
+ Learning AgentsReactive
Source of AI Components
Source of AI Components
Yours
Source of AI Components
Other People’s Yours
Sensors
Sensors
•Messaging Platforms
•Phone cameras & sensors
•Wearables
Sensors
•Messaging Platforms
•Phone cameras & sensors
•Wearables
•Your Data Collection Systems
Reactive Data Collection
Reactive Data Collection
Reactive Data Collection
Reactive Data Collection
Reactive Data Collection
Reactive Data Collection
Reactive Data Collection
•Replication via Distributed databases
•Event-sourcing/immutable fact databases
•Uncertainty-aware data models
•AP Databases
https://skillsmatter.com/skillscasts/7038-lightning-talks-2
Actuators
Actuators
•Messaging platforms
•Notifications •External API Calls
Actuators
•Messaging platforms
•Notifications •External API Calls
•Robots •Self-driving Cars •Internal API Calls
Reactive Action
Sensors
Actuators
Knowledge
Learning
Function
Reactive Action
Sensors
Actuators
Knowledge
Learning
Function
Reactive Action
Sensors
Actuators
Knowledge
Learning
Function
Reactive Action
Sensors
Actuators
Knowledge
Learning
Function
Knowledge
Knowledge
•External Datasets
•Knowledge as a Service APIs
Knowledge
•External Datasets
•Knowledge as a Service APIs
•Your Training corpus •Institutional knowledge
Elixir
•Functional Language •Homoiconic Syntax
•Concurrency-oriented •Runs on the bEAM (EVM)
User Data
user2user1 user3
Reactive Knowledge Systems
Adapted from https://github.com/mitchellhenke/circuit_breaker
Reactive Knowledge Systems
Reactive Knowledge Systems
Reactive Knowledge Systems
Reactive Knowledge Systems
Reactive Knowledge Systems
Learning
Learning
•Machine Learning as a Service APIs
•Open Source Libraries
Learning
•Machine Learning as a Service APIs
•Open Source Libraries•Your novel Algorithms
•Organizational Learning
Reactive Learning
Reactive Learning
Reactive Learning
Raw Data Features Model
Reactive Learning
Raw Data Features Model
Reactive Learning
Raw Data Features Model
Raw Data Features Model
Reactive Learning
Raw Data Features Model
Raw Data Features Model
Reactive Learning
Raw Data Features Model
Raw Data Features Model
Reactive Learning
Raw Data Features Model
Agent Function
Agent Function
•???
Agent Function
•??? •Your Whole system
Reactive Agent Functions
Reactive Agent Functions
Reactive Agent Functions
Reactive Agent Functions
Reactive Agent Functions
Reactive Agent Functions
Reactive Agent Functions
Dialyzer in Action
ml_system.ex:3: Function predict/1 has no local returnml_system.ex:6: The call 'Elixir.MLSystem':call_model_b(feature@1::number()) will never return since it differs in the 1st argument from the success typing arguments: (binary())ml_system.ex:22: Invalid type specification for function 'Elixir.MLSystem':call_model_b/1. The success typing is (binary()) -> binary()ml_system.ex:23: Function call_model_b/1 has no local return
Dialyzer in Action
ml_system.ex:24: The call 'Elixir.String':upcase(feature@1::number()) will never return since the success typing is (binary()) -> bitstring() and the contract is (t()) -> t()ml_system.ex:38: Function ensemble/1 will never be called
Testing Agent Functions
Tool Tests
Dialyzer Types
QuickCheck Properties
Concuerror Interleavings
Summary
Learning Agents
Sensors
Actuators
Knowledge
Learning
Function
Reactive Systems
Responsive
Resilient Elastic
Message-Driven
Reactive Machine Learning
Uncertain DataInfinite Data
Laziness Pure Functions
Immutable Facts
Possible Worlds
+ Learning AgentsReactive
Reactive Machine Learning
reactivemachinelearning.com
@jeffksmithjr
Use the code gdgnycmu
for 39% off the book!
x.ai @xdotai [email protected] New York, New York
x.ai @xdotai [email protected] New York, New York
We’re hiring!
Thanks!
Reactive Learning
AgentsJeff Smith
@jeffksmithjr