Basic Python Programming

Self Organizing Map

from future import division import numpy as np import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec from sklearn import datasets from neupy import algorithms, environment !pip install neupy environment.reproducible() GRID_HEIGHT…

Continue ReadingSelf Organizing Map

Python Program

word_list = ['Emma','Woodhouse','father','Taylor','Miss','been','she','her']      #i'm using this example text in place of the file you are using  text = 'This is an example text. It will contain words you are…

Continue ReadingPython Program

Matplotlib –

Matplotlib is probably the single most used python package for 2D Graphs. It provides vary quick way to visualize data from python and publication-quality figures in many formats. import matplotlib.pyplot…

Continue ReadingMatplotlib –

Pandas

Pandas is a library in python that is used for data manipulation and data analysis. You can install pandas in your jupyter terminal by writing:- conda install pandasOnce you install…

Continue ReadingPandas

Numpy In Python

from numpy import exp, array, random, dot training_set_inputs = array([[0, 0, 1], [1, 1, 1], [1, 0, 1], [0, 1, 1]]) training_set_outputs = array([[0, 1, 1, 0]]).T random.seed(1) synaptic_weights =…

Continue ReadingNumpy In Python