File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
nucleus/validate/data_transfer_objects Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ All notable changes to the [Nucleus Python Client](https://github.com/scaleapi/n
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6
6
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7
7
8
+ ## [ 0.15.3] ( https://github.com/scaleapi/nucleus-python-client/releases/tag/v0.15.3 ) - 2023-03-02
9
+
10
+ ### Changed
11
+ - Allow denormalized scores in ` EvaluationResult ` s
12
+
8
13
## [ 0.15.2] ( https://github.com/scaleapi/nucleus-python-client/releases/tag/v0.15.2 ) - 2023-02-10
9
14
10
15
### Changed
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ def is_item_or_scene_provided(
27
27
)
28
28
return values
29
29
30
- @validator ("score" , " weight" )
30
+ @validator ("weight" )
31
31
def is_normalized (cls , v ): # pylint: disable=no-self-argument
32
32
if 0 <= v <= 1 :
33
33
return v
34
34
raise ValueError (
35
- f"Expected evaluation score and weights to be normalized between 0 and 1, but got: { v } "
35
+ f"Expected evaluation weights to be normalized between 0 and 1, but got: { v } "
36
36
)
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ exclude = '''
21
21
22
22
[tool .poetry ]
23
23
name = " scale-nucleus"
24
- version = " 0.15.2 "
24
+ version = " 0.15.3 "
25
25
description = " The official Python client library for Nucleus, the Data Platform for AI"
26
26
license = " MIT"
27
27
authors = [" Scale AI Nucleus Team <nucleusapi@scaleapi.com>" ]
You can’t perform that action at this time.
0 commit comments