Applied Machine Learning Solutions with Python: Production-ready ML Projects Using Cutting-edge Libraries and Powerful Statistical Techniques by Siddhanta Bhatta
Author:Siddhanta Bhatta [Bhatta, Siddhanta]
Language: eng
Format: epub
Publisher: BPB Publications
Published: 2022-08-15T00:00:00+00:00
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
from sklearn import datasets
from sklearn.decomposition import PCA
from sklearn.linear_model import LogisticRegression
from sklearn.pipeline import Pipeline
# we will take iris from load_dataset as an example
X, y = datasets.load_iris(return_X_y=True)
# dimentionality reduction
pca = PCA(n_components=2)
# Logistic Regression Model
logistic = LogisticRegression(max_iter=10000, tol=0.1)
# creating pipeline
pipe = Pipeline(steps=[('pca', pca), ('logistic', logistic)])
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8293)
Test-Driven Development with Java by Alan Mellor(6669)
Data Augmentation with Python by Duc Haba(6573)
Principles of Data Fabric by Sonia Mezzetta(6335)
Learn Blender Simulations the Right Way by Stephen Pearson(6222)
Microservices with Spring Boot 3 and Spring Cloud by Magnus Larsson(6093)
Hadoop in Practice by Alex Holmes(5958)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5806)
RPA Solution Architect's Handbook by Sachin Sahgal(5488)
Big Data Analysis with Python by Ivan Marin(5333)
The Infinite Retina by Robert Scoble Irena Cronin(5188)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5140)
Pretrain Vision and Large Language Models in Python by Emily Webber(4294)
Infrastructure as Code for Beginners by Russ McKendrick(4055)
Functional Programming in JavaScript by Mantyla Dan(4037)
The Age of Surveillance Capitalism by Shoshana Zuboff(3943)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3769)
Embracing Microservices Design by Ovais Mehboob Ahmed Khan Nabil Siddiqui and Timothy Oleson(3572)
Applied Machine Learning for Healthcare and Life Sciences Using AWS by Ujjwal Ratan(3547)
