Python : Data Structure to hold transition probabilities HMM -


currently have designed 2d matrix :- transitionprobabilities = [[0 x in range(w)] y in range(h)] store probabilities. updating values of each , every row,col in matrix after encountering state transition. ex :- if encounter noun @ start of sentence change initial probability new probability. efficient data structure example performing such computations , create transition matrix in python ?

the fastest , used library matrix computations in python numpy (as far concerned).

http://www.numpy.org/


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -