Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 494 for predict (0.81 sec)

  1. common-protos/k8s.io/api/core/v1/generated.proto

    //     Those cannot be well described when embedded.
    //  3. Inconsistent validation.  Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen.
    //  4. The fields are both imprecise and overly precise.  Kind is not a precise mapping to a URL. This can produce ambiguity
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

        yield
        # Clean up the ML models and release the resources
        ml_models.clear()
    
    
    app = FastAPI(lifespan=lifespan)
    
    
    @app.get("/predict")
    async def predict(x: float):
        result = ml_models["answer_to_everything"](x)
        return {"result": result}
    ```
    
    **Note**: This is the recommended way going forward, instead of using `startup` and `shutdown` events.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

        checkState(count() > 1);
        return sumOfProductsOfDeltas / (count() - 1);
      }
    
      /**
       * Returns the <a href="http://mathworld.wolfram.com/CorrelationCoefficient.html">Pearson's or
       * product-moment correlation coefficient</a> of the values. The count must greater than one, and
       * the {@code x} and {@code y} values must both have non-zero population variance (i.e. {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/PairedStats.java

        checkState(count() > 1);
        return sumOfProductsOfDeltas / (count() - 1);
      }
    
      /**
       * Returns the <a href="http://mathworld.wolfram.com/CorrelationCoefficient.html">Pearson's or
       * product-moment correlation coefficient</a> of the values. The count must greater than one, and
       * the {@code x} and {@code y} values must both have non-zero population variance (i.e. {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

        unfiltered.put("foo", 55556);
        unfiltered.put("badkey", 1);
        return Multimaps.filterEntries(unfiltered, ENTRY_PREDICATE);
      }
    
      private static final Predicate<String> KEY_PREDICATE =
          new Predicate<String>() {
            @Override
            public boolean apply(String key) {
              return !"badkey".equals(key);
            }
          };
    
      public void testFilterKeys() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  6. tests/test_request_body_parameters_media_type.py

    
    # NOTE: These are not valid JSON:API resources
    # but they are fine for testing requestBody with custom media_type
    class Product(BaseModel):
        name: str
        price: float
    
    
    class Shop(BaseModel):
        name: str
    
    
    @app.post("/products")
    async def create_product(data: Product = Body(media_type=media_type, embed=True)):
        pass  # pragma: no cover
    
    
    @app.post("/shops")
    async def create_shop(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

             * The result will contain only the paths of types for which the predicate returned {@code true}.
             * It is recommended to apply a filter for retaining only the types of paths of interest,
             * because it can resolve ambiguities when a path could be of many types.
             *
             * @param pathTypeFilter predicate evaluating whether a path type should be included in the result
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        unfiltered.put("horse", 5);
        Predicate<Entry<?, ?>> predicate =
            new Predicate<Entry<?, ?>>() {
              @Override
              public boolean apply(Entry<?, ?> input) {
                return "cat".equals(input.getKey()) || Integer.valueOf(2) == input.getValue();
              }
            };
        Map<String, Integer> filtered = Maps.filterEntries(unfiltered, predicate);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        unfiltered.put("horse", 5);
        Predicate<Entry<?, ?>> predicate =
            new Predicate<Entry<?, ?>>() {
              @Override
              public boolean apply(Entry<?, ?> input) {
                return "cat".equals(input.getKey()) || Integer.valueOf(2) == input.getValue();
              }
            };
        Map<String, Integer> filtered = Maps.filterEntries(unfiltered, predicate);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Functions.java

          Predicate<T> predicate) {
        return new PredicateFunction<>(predicate);
      }
    
      /** @see Functions#forPredicate */
      private static class PredicateFunction<T extends @Nullable Object>
          implements Function<T, Boolean>, Serializable {
        private final Predicate<T> predicate;
    
        private PredicateFunction(Predicate<T> predicate) {
          this.predicate = checkNotNull(predicate);
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top