Kobe Bryant pitching Forecast-python example

Source: Internet
Author: User
Tags square root

Curve fitting
Multi-collinearity
Does the virtual variable "cause multiple collinearity to have a big impact on machine learning?
Teacher, my kaggle on the internet has failed to extract the data.

The teacher focused on random forest and SVM
and AdaBoost TensorFlow.

Chen Jie
Link: http://pan.baidu.com/s/1i4PNJlr Password: fz7e

Describe the effect of multiple collinearity on machine learning?


The data came up with a feature.
Polar coordinates
Euclidean distance: The square root of each characteristic subtraction, WOC is a mathematical
Later in the method of adding data?

Data: Training Set (demo), Test set (test demo is correct)
Single heat code: One-hot get-dummed has a value of 1, no change to 0 string value converted to an int value
Three attributes form three columns
Stitching
Building a model
Use of the Sklearn library
Import NumPy as NP
Logspace (0,2,num=5) made geometric series


Parameters for visual presentation

Training data with models

Prediction results Evaluate the model
Accuracy Recall Rate
Which parameters fit the model


Sparke and TensorFlow, that's a lot of use.
Doesn't spark have mlib to do machine learning?

Li Yuhua
Would you tell me about AdaBoost?
Recently in research on CNN
Sklearn not be able to do neural network?

Import Matplotlib.pyplot as Plt
Fig = Plt.figure ()
Ax1 = Fig.add_subplot (3,2,1) #当前几行几列, location

AX2 = Fig.add_subplot (3,2,2)


Import Matplotlib.pyplot as Plt
Plt.plot ()
Plot.show ()
Import Matplotlib.pyplot as Plt

First_second =unrate[0:12]
#把点化出来, connect to the line again
Plt.plot (first_twelve[' DATE ', first_twelve[' VALUE ')
Plt.show ()

Http://pandas.pydata.org/pandas-docs/stable/io.html
Chinese speed Check List

Ipython is interactive python, interactive Pyhton, enhanced by many REPL features

Nan missing values need to be populated

Import Pandas from PD
Age = titanic_survival["Age"]
Print (Age.local[0:10])

New-"Python3
Import Pandas
Food_info = Pandas.read_csv ("Food_info.csv")
Print (Type (food_info))
Print (Food_info.dtypes)
Print (Help (Pandas.read_csv))

Print Food_info.shape
Print (food_info) defined to sample number 0th


The Shift+huiche program will be able to run.


int float object (String type)

Kobe Bryant pitching Forecast-python example

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.