Using sample_weights with fit_generator()

終了済み 投稿 5年前 着払い
終了済み 着払い

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

プロジェクトID: #18252035

プロジェクトについて

8個の提案 リモートプロジェクト アクティブ 5年前

8人のフリーランサーが、平均$154 で、この仕事に入札しています。

liveexperts123

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

$155 CAD 3日以内
(16件のレビュー)
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 もっと

$220 CAD 3日以内
(29件のレビュー)
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 もっと

$177 CAD 3日以内
(16件のレビュー)
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 もっと

$30 CAD 1日以内
(16件のレビュー)
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 もっと

$94 CAD 3日以内
(0件のレビュー)
0.0