Giter VIP home page Giter VIP logo

Comments (7)

neuromage avatar neuromage commented on August 27, 2024

Hi @ianhellstrom

Am I correct in assuming that what you want is not hyperparameters, but that input parameters to a pipeline should be exposed in the Pipelines UI? If so, I definitely agree, and it's on my plate of things to do. Let's keep this as a feature request to track the work.

from tfx.

ianhellstrom avatar ianhellstrom commented on August 27, 2024

Pipeline parameters, yes. Hyperparameters, maybe. What is the suggested approach for hyperparameters if not through the UI?

from tfx.

DurivetMatthias avatar DurivetMatthias commented on August 27, 2024

I'm also looking for a way to define a value once and have it available in every piece of code. This is especially difficult because the *_utils file is completely separated from the pipeline definition. For now the easiest way is to hard-code your values at the top of the *_utils file, and also do the same in the pipeline definition.

In my case I have a one_hot_encoding that influences the query in the pipeline definition and that same number is needed in the transform in the utils file where I actually encode them. The value i'm trying to pass is the vocabulary size

from tfx.

neuromage avatar neuromage commented on August 27, 2024

@DurivetMatthias Ah interesting! Just so I understand correctly, you want an input parameter to a KFP pipeline to be accessible to both the query (which is defined in the pipeline definition file), as well as to some functions defined in the module file that's used as input to Transform?

from tfx.

DurivetMatthias avatar DurivetMatthias commented on August 27, 2024

Exactly

from tfx.

ucdmkt avatar ucdmkt commented on August 27, 2024

\cc @krazyhaas

We are internally discussing to establish a design pattern to define and pass around intra-component parameter (such as num_steps for Trainer), inter-component parameter applicable to more than one component that needed to be kept in sync (such as @DurivetMatthias case) and pipeline-level global parameter.

from tfx.

neuromage avatar neuromage commented on August 27, 2024

Duplicate of #362

from tfx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.