Let's classify DNA sequences by performing the following steps:
- Let's start a new Python Jupyter Notebook and name it DNA Classification. As always, one of the first steps that we want to take is to import the libraries and the modules that we need, and check the versions, in order to make sure that we're on the same page and that we don't make any errors while importing the modules. If we do, we can go back and install them again.
Take a look at the following code snippet:
import sys
import numpy
import sklearn
import pandas
print('Python: {}'.format(sys.version))
print('Numpy: {}'.format(numpy.__version__))
print('Sklearn: {}'.format(sklearn.__version__))
print('Pandas: {}'.format(pandas.__version__))
The preceding code snippet will import all of the necessary libraries, and will indicate which...