Using sample_weights with fit_generator()

Chiuso Pubblicato 5 anni fa Pagato alla consegna
Chiuso Pagato alla consegna

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

Rif. progetto: #18252035

Info sul progetto

8 proposte Progetto a distanza Attivo 5 anni fa

8 freelance hanno fatto un'offerta media di $154 per questo lavoro

liveexperts123

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

$155 CAD in 3 giorni
(16 valutazioni)
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 Altro

$220 CAD in 3 giorni
(29 valutazioni)
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 Altro

$177 CAD in 3 giorni
(16 valutazioni)
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 Altro

$30 CAD in 1 giorno
(16 valutazioni)
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 Altro

$94 CAD in 3 giorni
(0 valutazioni)
0.0