Using sample_weights with fit_generator()

Fermé Publié le il y a 5 ans Paiement à la livraison
Fermé Paiement à la livraison

Inside an autoregressive continuous problem, when the zeros take too much place, it is possible to treat the situation as an zero-inflated problem (i.e. ZIB). In other words, instead of working to fit `f(x)`, we want to fit `g(x)*f(x)` where `f(x)` is the function we want to approximate `y` and `g(x)` is a function which output a value between 0. and 1. depending if a value is zero or non-zero.

Currently, I have two models. One model which gives me `g(x)` and another model which fits `g(x)*f(x)`.

The first model gives me a set of weights. This is where I need your help. I can use the `sample_weights` arguments with `[login to view URL]()`. As I work with tremendous amount of data, then I need to work with `model.fit_generator()`. However, `fit_generator()` does not have the argument `sample_weights`.

Is there a work around to work with `sample_weights` inside `fit_generator()`? Otherwise, how can I fit `g(x)*f(x)` know that I have already a trained model for `g(x)`?

Machine Learning (ML) Python

Nº du projet : #18252035

À propos du projet

8 propositions Projet à distance Actif il y a 5 ans

8 freelances font une offre moyenne de 154 $ pour ce travail

liveexperts123

typing.. ...................................... ...................

$155 CAD en 3 jours
(16 Commentaires)
6.0
schoudhary1553

Hello Sir, I am the expert freelancer here. I am on the 6th position through out the world to deliver the quality job. I have deliver here more than 400 + projects with 100% client satisfaction. I have more than 5 Plus

$220 CAD en 3 jours
(29 Commentaires)
5.8
davidngo817

Hello, dear! I am interested in your project. I have extensive experience in Python. As a developer with rich experience, I am confident about your project. I will provide perfect results in a short time. If you w Plus

$177 CAD en 3 jours
(16 Commentaires)
5.4
olaideejiwole

I have extensive experience in the domains of Natural Language Processing, Recommender Systems, Machine learning, Deep Learning, Computer Vision, and Reinforcement Learning. While working in the domains mentioned above Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% CAD en 1 jour
(16 Commentaires)
5.1
infoaashu

I am an experienced software engineer with 3+ years in the software engineering sector, working as software. I have a bachelors of engineering degree in Computer Engineering from AITR Indore ,India and I am also a Cert Plus

$94 CAD en 3 jours
(0 Commentaires)
0.0