Skip to content
This repository was archived by the owner on May 21, 2022. It is now read-only.

fix broken tests and fix v0.6 deprecations#3

Merged
Evizero merged 5 commits intoJuliaML:masterfrom
rdeits:fix-tests
May 5, 2017
Merged

fix broken tests and fix v0.6 deprecations#3
Evizero merged 5 commits intoJuliaML:masterfrom
rdeits:fix-tests

Conversation

@rdeits
Copy link
Contributor

@rdeits rdeits commented May 5, 2017

No description provided.

# input and target are pre-populated... compute the output value as: ∑ loss(targetᵢ, inputᵢ)
function transform!(lt::LossTransform)
lt.output.val[1] = sumvalue(lt.loss, value(lt.target), input_value(lt))
lt.output.val[1] = value(lt.loss, value(lt.target), input_value(lt), AvgMode.Sum())
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rdeits
Copy link
Contributor Author

rdeits commented May 5, 2017

I also updated Travis to add v0.6 and remove osx testing (OSX testing is slow and, IMO, not super useful for pure-julia packages like this).

Copy link
Member

@Evizero Evizero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. We can reactive OSX when the package is more stable.

@Evizero
Copy link
Member

Evizero commented May 5, 2017

I'll merge once CI passes. Thanks!

REQUIRE Outdated
LearnBase
LossFunctions
PenaltyFunctions
Transformations
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Transformations in METADATA? I doubt it. We may need to put a Pkg.clone in .travis.yml here https://github.com/JuliaML/ObjectiveFunctions.jl/blob/master/.travis.yml#L14 instead

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you beat me to it. nice!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, just realized that.

@rdeits
Copy link
Contributor Author

rdeits commented May 5, 2017

I am trapped in a nightmare world of cyclic dependencies between this package, StochasticOptimization, and Transformations 😦

@rdeits
Copy link
Contributor Author

rdeits commented May 5, 2017

Also, PenaltyFunctions is 0.6-only, so I'm bumping up the REQUIRE and travis versions

@rdeits
Copy link
Contributor Author

rdeits commented May 5, 2017

Next blocker: JuliaML/Transformations.jl#5

@Evizero
Copy link
Member

Evizero commented May 5, 2017

Sorry that this is frustrating. Know that your effort is appreciated

@rdeits
Copy link
Contributor Author

rdeits commented May 5, 2017

Hey, it's still better than my research code 😉

@rdeits
Copy link
Contributor Author

rdeits commented May 5, 2017

I also have high hopes that Pkg3 will make managing this kind of distributed ecosystem much easier, since a lot of this trouble could be avoided if it were easier for us to clearly specify which versions of each of these packages worked well together. As it is, I've had to use some hack-y tools to manage packages pointing to specific git SHAs in my own work.

@rdeits
Copy link
Contributor Author

rdeits commented May 5, 2017

Woohoo! One down!

@Evizero Evizero merged commit 2869b1b into JuliaML:master May 5, 2017
@rdeits rdeits deleted the fix-tests branch May 5, 2017 20:30
@Evizero
Copy link
Member

Evizero commented May 5, 2017

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants