Skip to content

Commit

Permalink
Update processor.py
Browse files Browse the repository at this point in the history
change test to allow 3 points on the rise, not 4
  • Loading branch information
emilleishida authored Oct 16, 2023
1 parent ec33ba1 commit f755500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fink_science/random_forest_snia/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def rfscore_sigmoid_full(jd, fid, magpsf, sigmapsf, cdsxmatch, ndethist, model=N
>>> df = df.withColumn('pIa', rfscore_sigmoid_full(*args))
>>> df.filter(df['pIa'] > 0.5).count()
6
8
>>> df.agg({"pIa": "max"}).collect()[0][0] < 1.0
True
Expand Down

0 comments on commit f755500

Please sign in to comment.