How to use PCA in logistic regression?

March 23, 2020 admin 0

230320200907 Principal component analysis (PCA) https://jakevdp.github.io/PythonDataScienceHandbook/05.08-random-forests.html https://www.geeksforgeeks.org/principal-component-analysis-with-python/ In [1]: import pandas as pd import numpy as np import seaborn as sns import matplotlib.pyplot as plt %matplotlib […]

Part_6 Stroke_Prediction_Pytorch

March 6, 2020 admin 0

http://sigmaquality.pl/models/classification/part_5-stroke_prediction-tensorflow/ In [1]: import torch from torch.autograd import Variable import torch.nn.functional as F import torch.utils.data as Data import matplotlib.pyplot as plt %matplotlib inline import numpy as […]

Procedura 1 RandomForestClassifier

February 13, 2020 admin 0

In [1]: from sklearn.datasets import load_breast_cancer from sklearn.feature_selection import RFECV from sklearn.model_selection import GridSearchCV from sklearn.model_selection import train_test_split from sklearn.ensemble import RandomForestClassifier import pandas as […]

Procedura 2 RandomForestClassifier

February 13, 2020 admin 0

Procedura 2: RandomForestClassifier¶ In [1]: from sklearn.datasets import load_breast_cancer from sklearn.feature_selection import RFECV from sklearn.model_selection import GridSearchCV from sklearn.model_selection import train_test_split from sklearn.ensemble import RandomForestClassifier import […]