Acquisition of Trucking Company

  

World's first team based Daily Fantasy Sports site. Huge Potential

  

Investors sought for Zesse Power Systems

  

Canadian Energy Company

  

Profitable company seeking $750,000 for working capital

  

Growing Infrastructure business $ 3 Mil sales

  

BBQ in the Park

  

Elegant Best Deals Coming Near You!

  

iOS and Android video game. Gameplay video + Pitch deck available

  

Subprime Auto Financing

  

Fintrade - crypto currency trading

  

Revolution in energy production

  

Calgary Inland Surfing Facility - Location Based Entertainment

  

SlipGames Video Game Company

  

Financial Services Company looking to scale up

  

Eco Friendly Village

  

Xpandifi: A Gateway to data freedom!

  

HomeBees.com - New Investor Deck

  

Opportunity to Partner with a unique kind of Analytics Powered Marketing-as-a-Service Company

  

Capitalize on the RideSharing Economy - Renting Cars to Uber Drivers!

  

Mexico Resort Joint Venture

  

"KINGDOM" the next generation of Sports Betting (Startup Venture).

  

Experienced Team Developing Waste-to-Energy Power Plant. Fast Payback. Excellent ROE.

  

Fast Growth Telecom Company Great ROI

  

Shorty's Jerk - A Revolution of Ethnic Cuisine. Chic, Modern, Jamaican

  

Revolutionizing the way people buy used cars

  

Pc and Virtual Reality Competition Gaming Center by E-sport Enthusiasts

  

Company Start-Up!!

  

Investing in a Better Way to Treat Obesity, Heart Disease and Type-2 Diabetes

  

Property Development

  

National Drone Racing League

  

Water Security

  

Supreme Samosa

  

TixiT Ticket Company - Professional Consulting & Ticketing Operations Management

  

Caribbean Land Plots for Sale

  

25% Ownership B.C. Precious Opal Gemstone Mine

  

Chekkit GeoLocation Services

  

Don't miss out on a start-up business with huge potential for growth

  

Spa Wizard, Technology that will Revolutionize the Spa Industry

  

Need Funding

  

 

Canadian Investment Network


Recent Blogs


Pitching Help Desk


Testimonials

"This is to inform you that I have already obtained all the investment funds that I need to launch my project. I thank you for doing all you have done for me. I am thrilled beyond measure. Apparently I have a better idea than even I knew."
Jerry Johnston - Mega Clean

 BLOG >> Recent

Representing Decisions with Graphviz [Decision Trees
Posted on July 29, 2013 @ 07:14:00 AM by Paul Meagher

Previously I discussed a simple risk management framework that involves precisely specifying the actions, events, and outcomes involved in a decision problem.

One aspect of "precisely specifying" a decision is representing the overall decision making problem in the form of a graph. We can use a pad of paper to draw lines representing possible actions, which lead to events, which lead to outcomes. Or, we can use a tool like Graphviz to construct much prettier graphs and make us feel more professional.

GraphViz was developed by AT&T Research and is considered a top-tier tool for creating/visualizing graph structures.

In today's blog, I want to give you a basic idea of how Graphviz works so you can judge for yourself whether you want to invest time into learning it.

To generate a graph using Graphviz you need to write some commands into a "dot" file that ends with the extension ".dot". The term "dot" is also used to denote one of the main Graphviz programs used to generate graphs from dot files. Also, the term "DOT" is used to refer to the command langauge you enter into your dot files.

Without further ado, here is dot file called DecisionTree.dot that depicts a decision in terms of an action, event, outcome framework for managing risk.

digraph DecisionTree {

  Decision -> Action1;
  Decision -> Action2;

  Action1 -> Event1;
  Event1 -> Outcome1;
  Event1 -> Outcome2;

  Action2 -> Event2;
  Event2 -> Outcome3;
  Event2 -> Outcome4;

}

If I run this command from my Linux command prompt:

dot -Tpng DecisionTree.dot > DecisionTree.png

The dot interpreter will read the file and generate the graph in png format. This is what that output looks like.

As you can see, it is not difficult to go from entering commands into a dot file and generating a decent looking graph. The DOT language has much more powerful features for drawing graphs than what I am showing you here; however, in the initial stages of sketching out the actions, events, and outcomes involved in your decision problem, you may want to keep things simple and just focus on drawing out all the nodes and the lines between them.

The graph below visualizes a nitrogren application decision. Do I apply 90 lbs per acre of Nitrogren or 110 lbs? The effect of each action on the crop I want to grow is jointly determined by the amount of rainfall I'm likely to recieve over the growing season. The action forks (i.e., application amounts) lead to the event forks (i.e., rainfall amounts) which lead to the terminal outcomes (i.e., expected number of bushels).

Permalink 

 Archive 
 

Categories


 Agriculture [54]
 Bayesian Inference [14]
 Books [6]
 Business Models [24]
 Causal Inference [2]
 Creativity [7]
 Decision Making [14]
 Decision Trees [8]
 Design [30]
 Eco-Green [3]
 Economics [10]
 Education [9]
 Energy [1]
 Entrepreneurship [50]
 Events [2]
 Farming [17]
 Finance [23]
 Future [13]
 Growth [13]
 Investing [21]
 Lean Startup [8]
 Leisure [5]
 Lens Model [9]
 Making [1]
 Management [8]
 Motivation [3]
 Nature [15]
 Patents & Trademarks [1]
 Permaculture [33]
 Psychology [0]
 Real Estate [1]
 Robots [1]
 Selling [11]
 Site News [14]
 Startups [12]
 Statistics [3]
 Systems Thinking [2]
 Trends [3]
 Useful Links [2]
 Valuation [1]
 Venture Capital [5]
 Video [2]
 Writing [2]