Created
March 17, 2014 01:25
-
-
Save azampagl/9592358 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
The style guide follows the strict python PEP 8 guidelines. | |
@see http://www.python.org/dev/peps/pep-0008/ | |
""" | |
import numpy as np | |
def main(): | |
"""Main execution for the feature extractor.""" | |
matrix = np.array([ | |
[1, 1, 1, 1, 1, 1], | |
[1, 1, 1, 1, 1, 1], | |
[1, 1, 1, 1, 1, 1] | |
]) | |
matrix[1] = np.array([0] * len(matrix[1])) | |
matrix[:,2] = np.array([0] * len(matrix[:,2])) | |
print(matrix) | |
"""Main execution.""" | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment