Académique Documents
Professionnel Documents
Culture Documents
EDA
Google Colab
Les eude statique se forme de ficher cvs
Import numpy as np
Import tensorflow as tf
Load dataset
Import panda as pd
Dftrain=pd.read_cvs(“ficher.cvs”)//read th file
Dftrain.describe()// donner des information comme premier cartile 25% deuxieme cartile 50% troiseme
75% si mean 9riba 50% katkon chi interpretation
Dftrain[“age” ] .value_counts().plot(kind=’barh’)
Pd.concat()
([dftrain ,train],axis=1).groupby(‘sex’).survived.mean().plot(kind=’barh’).set_xlabel(‘%survive’)//number
of survive by sex
//drop the colum that have a relation between why?the model became more efficient
Usin cor()\
Dftrain.isnull.sum()//calculer les colum null si on trouve que la maouriter est null on fait drop null
Python_ spiter.split_from_folder(“data”,train=0,9,test=0,1)
Neural networks
Type de l’intellegence artificielle
Category_data=[“sex”,”ville”]
Numer_data=[‘”age”]
Training process
Input function
https://www.tensorflow.org/api_docs/python/tf/keras/Input
lnear_est=tf.estimator.linearclassifer(feauter_coloms= feauter_coloms)
Prediction:
Probabilite de survive