最新 | 最热门 | 最高评价

+0  Prediction of Red Wine Quality

Tag: machine learning | Kaggle | scikit-learn
Robin Dong 发于 2018年08月10日 14:22 | 点击: 269 | 展开摘要
In Kaggle platform, there is an example dataset about Quality of Red Wine. I wrote some code for it by using scikit-learn and pandas:

import pandas as pd

from sklearn.preprocessing import StandardScaler
from sklearn.ensemble import ExtraT

查看全文: http://www.udpwork.com/item/17015.html

+0  Use PCA (Principal Component Analysis) to blur color image

Tag: machine learning | PCA | scikit-learn
Robin Dong 发于 2018年08月03日 11:33 | 点击: 194 | 展开摘要
I wrote an example of blurring color picture by using PCA from scikit-learn:

import cv2
import numpy as np

from sklearn.decomposition import PCA

pca = PCA(n_components = 0.96)

img = cv2.imread("input.jpg")
reduced = pca.fit_tr

查看全文: http://www.udpwork.com/item/17016.html
|<<<1>>>| 一共1页, 2条记录