Public Member Functions | Public Attributes | Private Member Functions
pr2_overhead_grasping.classifiers.AbstractClassifier Class Reference
Inheritance diagram for pr2_overhead_grasping.classifiers.AbstractClassifier:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def analyze_testing_results
def build
def cross_valid
def load
def plot_testing_results
 Takes the trajectory list from eval_predicts and plots it.
def predict
def train

Public Attributes

 fos

Private Member Functions

def _fold_predictions

Detailed Description

Definition at line 19 of file classifiers.py.


Constructor & Destructor Documentation

Definition at line 21 of file classifiers.py.


Member Function Documentation

def pr2_overhead_grasping.classifiers.AbstractClassifier._fold_predictions (   self,
  compiled_dataset,
  num_folds,
  seed 
) [private]

Definition at line 57 of file classifiers.py.

Definition at line 126 of file classifiers.py.

def pr2_overhead_grasping.classifiers.AbstractClassifier.build (   self,
  compiled_dataset,
  filename 
)

Reimplemented in pr2_overhead_grasping.classifiers.RFBreimanClassifier.

Definition at line 35 of file classifiers.py.

def pr2_overhead_grasping.classifiers.AbstractClassifier.cross_valid (   self,
  compilied_dataset,
  num_folds = 10,
  seed = 1 
)

Definition at line 41 of file classifiers.py.

Reimplemented in pr2_overhead_grasping.classifiers.RFBreimanClassifier.

Definition at line 38 of file classifiers.py.

Takes the trajectory list from eval_predicts and plots it.

each trajectory is stacked in a horizontal lines. Vertical placement indicates predicted result. Color indicates actual result. Collision trajectories are offset so that the colllision occurs at t = 0 Empty grasps are offset so that the end of the trajectory is at t = 0 Green = No collision, Red = External collision, Blue = Table collision

Definition at line 173 of file classifiers.py.

Reimplemented in pr2_overhead_grasping.classifiers.RFBreimanClassifier.

Definition at line 31 of file classifiers.py.

def pr2_overhead_grasping.classifiers.AbstractClassifier.train (   self,
  compiled_dataset 
)

Member Data Documentation

Definition at line 21 of file classifiers.py.


The documentation for this class was generated from the following file:


kelsey_sandbox
Author(s): kelsey
autogenerated on Wed Nov 27 2013 11:52:04