Classes | Functions | Variables
hai_sandbox::success_classifier Namespace Reference

Classes

class  DiffDisplay
class  DisplayDataWithRviz
class  TestOnlineClassification
class  TimeSeriesClassifier
class  TimeSeriesVectorizer

Functions

def average_reading_over_trials
def break_record_matrices_into_chunks
def construct_list_of_segmented_matrices_from_trial_recording
 Create matrices split based on state.
def construct_pressure_marker_message
def create_colored_3d_points_from_matrices
def find_trial_durations
def select_time
def subtract_records
def success_failure_classification_preprocess
 Takes in a folder, outputs a dictionary organized by data by contact segment, topic, list of {'left', 'right', 't'}.
def zero_out_time_in_trials

Variables

tuple classifier = TimeSeriesClassifier()
tuple d = DisplayDataWithRviz()
tuple fail_dict = success_failure_classification_preprocess(sys.argv[3])
tuple succ_dict = success_failure_classification_preprocess(sys.argv[2])
tuple t = TimeSeriesClassifier()

Function Documentation

Definition at line 666 of file success_classifier.py.

def hai_sandbox.success_classifier.break_record_matrices_into_chunks (   data_dict,
  segmented_matrices,
  minimal_trial_lengths,
  chunk_times,
  topic 
)

Definition at line 80 of file success_classifier.py.

Create matrices split based on state.

Parameters:
data_dict[state number] [topic] [trial number] ['t' 'left' 'right']
topicstring
Returns:
segmented_matrices[record_number][state_number]['t'] => 1xN array ['mat'] => 44xN mat

Definition at line 623 of file success_classifier.py.

def hai_sandbox.success_classifier.construct_pressure_marker_message (   data_dict,
  topic,
  base_color = np.matrix([1.,0,
  T 
)

Definition at line 527 of file success_classifier.py.

Definition at line 638 of file success_classifier.py.

def hai_sandbox.success_classifier.find_trial_durations (   data_dict,
  topic 
)

Definition at line 517 of file success_classifier.py.

def hai_sandbox.success_classifier.select_time (   data,
  time_rec,
  time_start,
  time_end 
)

Definition at line 76 of file success_classifier.py.

def hai_sandbox.success_classifier.subtract_records (   recorda,
  recordb,
  topic 
)

Definition at line 688 of file success_classifier.py.

Takes in a folder, outputs a dictionary organized by data by contact segment, topic, list of {'left', 'right', 't'}.

Definition at line 24 of file success_classifier.py.

Definition at line 505 of file success_classifier.py.


Variable Documentation

Definition at line 767 of file success_classifier.py.

Definition at line 778 of file success_classifier.py.

Definition at line 760 of file success_classifier.py.

Definition at line 755 of file success_classifier.py.

Definition at line 792 of file success_classifier.py.



hai_sandbox
Author(s): Hai Nguyen
autogenerated on Wed Nov 27 2013 11:46:56