Đang Thực Hiện

python Keras Deep NN code tabular categorical features: how to predict unseen in training data

1

use embedding layer for input layers : one hot for categorical values

2

provide code how to ignore new categorical values from data for prediction

for example new values should be encoded in one hot as all zeros

for example for used in train samples

abc -> 00001

cfr -> 00010

trvbn -> 00100

etc

not used in train

kljghkjlh -> 00000

ygtfrd-> 00000

u7y8uu -> 00000

3

deliver working example: data and Keras python code

data table should be big : millions of rows and more than 30 features

and each feature have at least 300 categories

4

for example use this idea

[login to view URL]

onehot_encoder = OneHotEncoder(sparse=False, handle_unknown='ignore')

or

[login to view URL]

BUT

1

and do not use slow solution like this (working with dataframes instead of arrays, not optimized for speed)

like in

[login to view URL]

2

do not use memory not efficient solution

meaning not dense data representation but spars data representation

since I do have big data - bid data table which takes a lot place in memory when hot encoded

Kĩ năng: Python, Machine Learning (ML), Deep Learning

Xem nhiều hơn: python tkinter programming source code, python graphical user interface code, freelance python programming deep learning, python programming web page code, Convert Python Script to PHP code , run deep learning code, deep learning code, python parse java source code, python projects with source code, python web crawler source code, google deep dream code, deep learning code fragments for code clone detection, simple python projects with source code, free python projects with source code, deep learning code generation, create a python package with matlab code, python search engine source code, python projects with source code for beginners, deep learning with python keras

Về Bên Thuê:
( 5 nhận xét ) Toronto, Canada

ID dự án: #29464438

Được trao cho:

sasidhar1321

I have all the skills you need i can develop the model you want . I am proficient in tensorflow and keras

$10 USD trong 2 ngày
(0 Đánh Giá)
0.0

2 freelancer chào giá trung bình$15 cho công việc này

(87 Nhận xét)
5.8