官术网_书友最值得收藏!

What this book covers

Chapter 1, Breast Cancer Detection, will show you how to import data from the UCI repository. In this chapter, we will name the columns (or features) and put them into a pandas DataFrame. We will learn how to preprocess our data and remove the ID column. We will also explore the data so that we know more about it. We will also see how to create histograms (so that we can understand the distributions of the different features) and a scatterplot matrix (so that we can look for linear relationships between the variables). We will learn how to implement some testing parameters, build a KNN classifier and an SVC, and compare their results using a classification report. Finally, we will build our own cell and explore what it would take to actually get a malignant or benign classification.

Chapter 2, Diabetes Onset Detection, covers the building of a deep neural network in Keras. We will explore the optimal hyperparameters using the scikit-learn grid search. We will also learn how to optimize a network by tuning the hyperparameters. In this chapter, we will explore how to apply the network to predict the onset of diabetes in a huge dataset of patients.

Chapter 3, DNA Classification, will show how to predict the functional outcome—or a promoter/non-promoter —for a DNA sequence from E. coli bacteria with 96% accuracy. We will look at how to import data from a repository and how to convert textual inputs to numerical data. We will then learn to build and train classification algorithms and compare and contrast them using the classification report.

Chapter 4, Diagnosing Coronary Artery Disease, will show how to use sklearn and Keras, how to import data from a UCI repository using the pandas read_csv function, and how to preprocess that data. We will then learn how to describe the data and print out histograms so we know what we're working with, followed by executing a train/test split with the model_selection function from sklearn.

Furthermore, we will also learn how to convert one-hot encoded vectors for a categorical classification, defining simple neural networks using Keras. We will look at activation functions, such as softmax, for categorical classifications with categorical_crossentropyWe will also look at training the data and how we fit our model to our training data for both categorical and binary problems. Ultimately, we will look at how to do a classification report and an accuracy score for our results.

Chapter 5, Autism Screening with Machine Learning, will show how to predict autism in patients with approximately 90% accuracy. We will also learn how to deal with categorical data; a lot of health applications are going to have categorical data and one way to address them is by using one-hot encoded vectors. Furthermore, we will learn how to reduce overfitting using dropout regularization.

主站蜘蛛池模板: 古田县| 桓仁| 黄龙县| 江城| 沂水县| 辛集市| 岗巴县| 芒康县| 庄浪县| 右玉县| 安顺市| 高密市| 武平县| 汉源县| 昌都县| 龙胜| 扶余县| 临西县| 通山县| 延庆县| 明星| 方山县| 肇州县| 筠连县| 隆安县| 开江县| 清涧县| 灵川县| 霍邱县| 德令哈市| 昆明市| 宁明县| 皮山县| 晴隆县| 建湖县| 金昌市| 中宁县| 丰县| 焉耆| 河东区| 韶山市|