Skip to content

Instantly share code, notes, and snippets.

@azampagl
Created March 17, 2014 01:25
Show Gist options
  • Save azampagl/9592358 to your computer and use it in GitHub Desktop.
Save azampagl/9592358 to your computer and use it in GitHub Desktop.
"""
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