Closed drcxcruz closed 4 years ago
PCA is going to require a table of continuous features. You have your one-hot encoder after PCA in the pipeline. So your non-continuous features are going to crash the PCA.
I expect you meant to apply PCA after one hot encoding, no?
hi
Yes, you are right, thank you. the following worked fine.
@pipeline SPCA(std = Standardizer(), hot = OneHotEncoder(), pca = PCA(), km = KMeans(k=4))
Some observations.
the previous version of the pipe where the one hot encoder was after the PCA worked in my old lab, Perhaps, things work differently in the newest version of MLJ. For example, assignments = report(Kmeans).reports[1].assignments used to work in the past but not anymore. No worries, I will modify my code accordingly
Is there any way to make the error message more clear so we bother you less? :)
report(Kmeans).report_given_machine OrderedCollections.LittleDict{Any,Any,Array{Any,1},Array{Any,1}} with 4 entries: NodalMachine{KMeans}… => (assignments = [2, 1, 3, 2, 1, 2, 2, 1, 3, 1 … … NodalMachine{PCA} @ … => (indim = 108, outdim = 1, mean = [38.6436, 0.057… NodalMachine{OneHotE… => (features_to_be_encoded = [:education, :race, :s… NodalMachine{Standar… => (features_fit = Symbol[],)
how do we read the assignments now? I am having trouble understanding the above data structure :)
Thanks for the feedback - appreciate it!
Not sure I can explain without more detail
Yeah, this is a good point but trickier than you might think, but I've opened this: https://github.com/alan-turing-institute/MLJBase.jl/issues/358
MLJBase 0.12.0, to be released in the next few hours, is going to make accessing nested reports and fitted parameters easier. The syntax for @pipeline is also being changed (the old one will give deprecation warnings). Here's an example of how access will look:
@load LogisticClassifier pkg=MLJLinearModels
X, y = @load_crabs;
pipe = @pipeline Standardizer LogisticClassifier
mach = machine(pipe, X, y) |> fit!
julia> fitted_params(mach).logistic_classifier
(classes = CategoricalArrays.CategoricalValue{String,UInt32}["B", "O"],
coefs = Pair{Symbol,Float64}[:FL => 3.7095037897680405, :RW => 0.1135739140854546, :CL => -1.6036892745322038, :CW => -4.415667573486482, :BD => 3.238476051092471],
intercept = 0.0883301599726305,)
Similar for nested reports.
hi,
was the new version of MLJ released to the public?
(@v1.4) pkg> update MLJ
Updating registry at C:\Users\BCP\.julia\registries\General
Updating git-repo https://github.com/JuliaRegistries/General.git
Updating C:\Users\BCP\.julia\environments\v1.4\Project.toml
[no changes]
Updating C:\Users\BCP\.julia\environments\v1.4\Manifest.toml
[no changes]
(@v1.4) pkg>
Yes, MLJ 0.12.0 is released. Perhaps you have conflict with other stuff in your environment. You could first try installing in a fresh environment. Or you could try update MLJ@0.12
and see what conflicts there are.
hi,
(@v1.4) pkg> update MLJ@0.12
Updating registry at C:\Users\BCP\.julia\registries\General
Updating git-repo https://github.com/JuliaRegistries/General.git
Updating C:\Users\BCP\.julia\environments\v1.4\Project.toml
[no changes]
Updating C:\Users\BCP\.julia\environments\v1.4\Manifest.toml
[no changes]
I do not have a lot in my Project.toml file. I do not think i would have a dependency conflict.
[deps] CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597" Clustering = "aaaa29a8-35af-508c-8bc3-b662a17a0fe5" Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa" DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" DecisionTree = "7806a523-6efd-50cb-b5f6-3fa6f1930dbb" Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" GLM = "38e38edf-8417-5370-95a0-9cbb8c7f171a" Hwloc = "0e44f5e4-bd66-52a0-8798-143a42290a1d" HypothesisTests = "09f84164-cd44-5f33-b23f-e6b0d136a0d5" IJulia = "7073ff75-c697-5162-941a-fcdaad2a7d2a" LIBSVM = "b1bec4e5-fd48-53fe-b0cb-9723c09d164b" MLJ = "add582a8-e3ab-11e8-2d5e-e98b27df1bc7" MLJBase = "a7f614a8-145f-11e9-1d2a-a57a1082229d" MLJModelInterface = "e80e1ace-859a-464e-9ed9-23947d8ae3ea" MLJModels = "d491faf4-2d78-11e9-2867-c94bc002c0b7" Missings = "e1d29d7a-bbdc-5cf2-9ac0-f12de2c33e28" MultivariateStats = "6f286f6a-111f-5878-ab1e-185364afe411" OhMyREPL = "5fb14364-9ced-5910-84b2-373655c76a03" PkgTemplates = "14b8a8f1-9102-5b29-a752-f990bacb7fe1" PrettyPrinting = "54e16d92-306c-5ea0-a30b-337be88ac337" Query = "1a8c2f83-1ff3-5112-b086-8aa67b057ba1" Queryverse = "612083be-0b0f-5412-89c1-4e7c75506a58" RDatasets = "ce6b1742-4840-55fa-b093-852dadbb1d8b" ShapML = "8523bd24-6f66-414b-9e1e-b02db3916d64" StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" VegaLite = "112f6efa-9a02-5b7d-90c0-432ed331239a" XGBoost = "009559a3-9522-5dbb-924b-0b6ed2b22bb9"
my manifest.toml file is:
[[Arpack]] deps = ["Arpack_jll", "Libdl", "LinearAlgebra"] git-tree-sha1 = "2ff92b71ba1747c5fdd541f8fc87736d82f40ec9" uuid = "7d9fca2a-8960-54d3-9f78-7d1dccf2cb97" version = "0.4.0"
[[Arpack_jll]] deps = ["Libdl", "OpenBLAS_jll", "Pkg"] git-tree-sha1 = "e214a9b9bd1b4e1b4f15b22c0994862b66af7ff7" uuid = "68821587-b530-5797-8361-c406ea357684" version = "3.5.0+3"
[[Arrow]] deps = ["CategoricalArrays", "Dates"] git-tree-sha1 = "c86df6ed41b3bd192d663e5e0e7cac0d11fd4375" uuid = "69666777-d1a9-59fb-9406-91d4454c9d45" version = "0.2.4"
[[BSON]] git-tree-sha1 = "dd36d7cf3d185eeaaf64db902c15174b22f5dafb" uuid = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0" version = "0.2.6"
[[Base64]] uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
[[BinaryProvider]] deps = ["Libdl", "Logging", "SHA"] git-tree-sha1 = "ecdec412a9abc8db54c0efc5548c64dfce072058" uuid = "b99e7846-7c00-51b0-8f62-c81ae34c0232" version = "0.5.10"
[[CSV]] deps = ["CategoricalArrays", "DataFrames", "Dates", "FilePathsBase", "Mmap", "Parsers", "PooledArrays", "Tables", "Unicode", "WeakRefStrings"] git-tree-sha1 = "8fe77a5478781d59a9ba17f0ac47dda2be5f8ae7" uuid = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" version = "0.6.1"
[[CSVFiles]] deps = ["CodecZlib", "DataValues", "FileIO", "HTTP", "IterableTables", "IteratorInterfaceExtensions", "TableShowUtils", "TableTraits", "TableTraitsUtils", "TextParse"] git-tree-sha1 = "96e5ca744988563da0b4dac199287e2790fdb5dd" uuid = "5d742f6a-9f54-50ce-8119-2520741973ca" version = "1.0.0"
[[CategoricalArrays]] deps = ["Compat", "DataAPI", "Future", "JSON", "Missings", "Printf", "Reexport", "Statistics", "Unicode"] git-tree-sha1 = "23d7324164c89638c18f6d7f90d972fa9c4fa9fb" uuid = "324d7699-5711-5eae-9e2f-1d82baa6b597" version = "0.7.7"
[[Clustering]] deps = ["Distances", "LinearAlgebra", "NearestNeighbors", "Printf", "SparseArrays", "Statistics", "StatsBase"] git-tree-sha1 = "b11c8d607af357776a046889a7c32567d05f1319" uuid = "aaaa29a8-35af-508c-8bc3-b662a17a0fe5" version = "0.14.1"
[[CodecZlib]] deps = ["BinaryProvider", "Libdl", "TranscodingStreams"] git-tree-sha1 = "05916673a2627dd91b4969ff8ba6941bc85a960e" uuid = "944b1d66-785c-5afd-91f1-9de20f533193" version = "0.6.0"
[[ColorTypes]] deps = ["FixedPointNumbers", "Random"] git-tree-sha1 = "6e7aa35d0294f647bb9c985ccc34d4f5d371a533" uuid = "3da002f7-5984-5a60-b8a6-cbb66c0b333f" version = "0.10.6"
[[Combinatorics]] git-tree-sha1 = "08c8b6831dc00bfea825826be0bc8336fc369860" uuid = "861a8166-3701-5b0c-9a16-15d98fcdc6aa" version = "1.0.2"
[[Compat]] deps = ["Base64", "Dates", "DelimitedFiles", "Distributed", "InteractiveUtils", "LibGit2", "Libdl", "LinearAlgebra", "Markdown", "Mmap", "Pkg", "Printf", "REPL", "Random", "SHA", "Serialization", "SharedArrays", "Sockets", "SparseArrays", "Statistics", "Test", "UUIDs", "Unicode"] git-tree-sha1 = "a6a8197ae253f2c1a22b2ae17c2dfaf5812c03aa" uuid = "34da2185-b29b-5c13-b0c7-acf172513d20" version = "3.13.0"
[[CompilerSupportLibraries_jll]] deps = ["Libdl", "Pkg"] git-tree-sha1 = "7c4f882c41faa72118841185afc58a2eb00ef612" uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae" version = "0.3.3+0"
[[ComputationalResources]] git-tree-sha1 = "52cb3ec90e8a8bea0e62e275ba577ad0f74821f7" uuid = "ed09eef8-17a6-5b46-8889-db040fac31e3" version = "0.3.2"
[[Conda]] deps = ["JSON", "VersionParsing"] git-tree-sha1 = "7a58bb32ce5d85f8bf7559aa7c2842f9aecf52fc" uuid = "8f4d0f93-b110-5947-807f-2305c1781a2d" version = "1.4.1"
[[ConstructionBase]] git-tree-sha1 = "a2a6a5fea4d6f730ec4c18a76d27ec10e8ec1c50" uuid = "187b0558-2788-49d3-abe0-74a17ed4e7c9" version = "1.0.0"
[[Crayons]] git-tree-sha1 = "c437a9c2114c7ba19322712e58942b383ffbd6c0" uuid = "a8cc5b0e-0ffa-5ad4-8c14-923d3ee1735f" version = "4.0.3"
[[DataAPI]] git-tree-sha1 = "176e23402d80e7743fc26c19c681bfb11246af32" uuid = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a" version = "1.3.0"
[[DataFrames]] deps = ["CategoricalArrays", "Compat", "DataAPI", "Future", "InvertedIndices", "IteratorInterfaceExtensions", "Missings", "PooledArrays", "Printf", "REPL", "Reexport", "SortingAlgorithms", "Statistics", "TableTraits", "Tables", "Unicode"] git-tree-sha1 = "7d5bf815cc0b30253e3486e8ce2b93bf9d0faff6" uuid = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" version = "0.20.2"
[[DataStructures]] deps = ["InteractiveUtils", "OrderedCollections"] git-tree-sha1 = "edad9434967fdc0a2631a65d902228400642120c" uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" version = "0.17.19"
[[DataTables]] deps = ["DataValues", "ReadOnlyArrays", "TableShowUtils", "TableTraitsUtils"] git-tree-sha1 = "9b069372a767fc6142feecc8e6d737d1b1de4711" uuid = "743a1d0a-8ebc-4f23-814b-50d006366bc6" version = "0.1.0"
[[DataValueInterfaces]] git-tree-sha1 = "bfc1187b79289637fa0ef6d4436ebdfe6905cbd6" uuid = "e2d170a0-9d28-54be-80f0-106bbe20a464" version = "1.0.0"
[[DataValues]] deps = ["DataValueInterfaces", "Dates"] git-tree-sha1 = "d88a19299eba280a6d062e135a43f00323ae70bf" uuid = "e7dc6d0d-1eca-5fa6-8ad6-5aecde8b7ea5" version = "0.4.13"
[[DataVoyager]] deps = ["DataValues", "Electron", "IterableTables", "IteratorInterfaceExtensions", "JSON", "TableTraits", "Test", "URIParser", "VegaLite"] git-tree-sha1 = "1236eefd73d969de06f5141a194318a1dc890797" uuid = "5721bf48-af8e-5845-8445-c9e18126e773" version = "1.0.0"
[[Dates]] deps = ["Printf"] uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
[[DecisionTree]] deps = ["DelimitedFiles", "Distributed", "LinearAlgebra", "Random", "ScikitLearnBase", "Statistics", "Test"] git-tree-sha1 = "9c2125bc1b4aa8bfe9a8654bf0b814acd725f9c8" uuid = "7806a523-6efd-50cb-b5f6-3fa6f1930dbb" version = "0.10.5"
[[DelimitedFiles]] deps = ["Mmap"] uuid = "8bb1440f-4735-579b-a4ab-409b98df4dab"
[[Distances]] deps = ["LinearAlgebra", "Statistics"] git-tree-sha1 = "23717536c81b63e250f682b0e0933769eecd1411" uuid = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7" version = "0.8.2"
[[Distributed]] deps = ["Random", "Serialization", "Sockets"] uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b"
[[Distributions]] deps = ["FillArrays", "LinearAlgebra", "PDMats", "Printf", "QuadGK", "Random", "SpecialFunctions", "Statistics", "StatsBase", "StatsFuns"] git-tree-sha1 = "78c4c32a2357a00a0a7d614880f02c2c6e1ec73c" uuid = "31c24e10-a181-5473-b8eb-7969acd0382f" version = "0.23.4"
[[DoubleFloats]] deps = ["GenericSVD", "GenericSchur", "LinearAlgebra", "Polynomials", "Printf", "Quadmath", "Random", "Requires", "SpecialFunctions"] git-tree-sha1 = "a73770c1418f8a7c4c127328e0cd34fdcf0a1d29" uuid = "497a8b3b-efae-58df-a0af-a86822472b78" version = "1.1.12"
[[Electron]] deps = ["Base64", "FilePaths", "JSON", "Pkg", "Sockets", "URIParser", "UUIDs"] git-tree-sha1 = "4ae140449257856fd5bf23eb20ffbf94b0ab8cf9" uuid = "a1bb12fb-d4d1-54b4-b10a-ee7951ef7ad3" version = "2.0.1"
[[ExcelFiles]] deps = ["DataValues", "Dates", "ExcelReaders", "FileIO", "IterableTables", "IteratorInterfaceExtensions", "Printf", "PyCall", "TableShowUtils", "TableTraits", "TableTraitsUtils", "XLSX"] git-tree-sha1 = "f3e5f4279d77b74bf6aef2b53562f771cc5a0474" uuid = "89b67f3b-d1aa-5f6f-9ca4-282e8d98620d" version = "1.0.0"
[[ExcelReaders]] deps = ["DataValues", "Dates", "PyCall", "Test"] git-tree-sha1 = "6f9db420dd362bd5bcea3a0f6dabf8bda587fec3" uuid = "c04bee98-12a5-510c-87df-2a230cb6e075" version = "0.11.0"
[[ExprTools]] git-tree-sha1 = "6f0517056812fd6aa3af23d4b70d5325a2ae4e95" uuid = "e2ba6199-217a-4e67-a87a-7c52f15ade04" version = "0.1.1"
[[EzXML]] deps = ["Printf", "XML2_jll"] git-tree-sha1 = "0fa3b52a04a4e210aeb1626def9c90df3ae65268" uuid = "8f5d6c58-4d21-5cfd-889c-e3ad7ee6a615" version = "1.1.0"
[[FeatherFiles]] deps = ["Arrow", "DataValues", "FeatherLib", "FileIO", "IterableTables", "IteratorInterfaceExtensions", "TableShowUtils", "TableTraits", "TableTraitsUtils", "Test"] git-tree-sha1 = "a2f2b57b23be259d7839bebae2b8f7bba4851a9b" uuid = "b675d258-116a-5741-b937-b79f054b0542" version = "0.8.1"
[[FeatherLib]] deps = ["Arrow", "CategoricalArrays", "Dates", "FlatBuffers", "Mmap", "Random"] git-tree-sha1 = "a3d0c5ca2f08bc8fae4394775f371f8e032149ab" uuid = "409f5150-fb84-534f-94db-80d1e10f57e1" version = "0.2.0"
[[FileIO]] deps = ["Pkg"] git-tree-sha1 = "202335fd24c2776493e198d6c66a6d910400a895" uuid = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549" version = "1.3.0"
[[FilePaths]] deps = ["FilePathsBase", "MacroTools", "Reexport", "URIParser"] git-tree-sha1 = "191796576b7f69cfe66d63b3d66a2741783204eb" uuid = "8fc22ac5-c921-52a6-82fd-178b2807b824" version = "0.8.0"
[[FilePathsBase]] deps = ["Dates", "LinearAlgebra", "Printf", "Test", "UUIDs"] git-tree-sha1 = "2ee1d999c462425e2f848524f732ed51bc1ab63a" uuid = "48062228-2e41-5def-b9a4-89aafe57970f" version = "0.6.2"
[[FileWatching]] uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"
[[FillArrays]] deps = ["LinearAlgebra", "Random", "SparseArrays"] git-tree-sha1 = "4783bbbeade37f2a8bd82af6c112510fde78e532" uuid = "1a297f60-69ca-5386-bcde-b61e274b549b" version = "0.8.12"
[[FixedPointNumbers]] git-tree-sha1 = "8fb797c37a3b7ced4327a05ac4ca0dd6a4f1ba92" uuid = "53c48c17-4a7d-5ca2-90c5-79b7896eea93" version = "0.8.1"
[[FlatBuffers]] deps = ["Parameters", "Test"] git-tree-sha1 = "8582924ac52011d08da9cf1e67f13a71dbbc2594" uuid = "53afe959-3a16-52fa-a8da-cf864710bae9" version = "0.5.4"
[[Formatting]] deps = ["Printf"] git-tree-sha1 = "a0c901c29c0e7c763342751c0a94211d56c0de5c" uuid = "59287772-0a20-5a39-b81b-1366585eb4c0" version = "0.4.1"
[[Future]] deps = ["Random"] uuid = "9fa8497b-333b-5362-9e8d-4d0656e87820"
[[GLM]] deps = ["Distributions", "LinearAlgebra", "Printf", "Random", "Reexport", "SparseArrays", "SpecialFunctions", "Statistics", "StatsBase", "StatsFuns", "StatsModels"] git-tree-sha1 = "db0ace36f9dbe7b6a7a08434c5921377e9df2c72" uuid = "38e38edf-8417-5370-95a0-9cbb8c7f171a" version = "1.3.9"
[[GenericSVD]] deps = ["LinearAlgebra"] git-tree-sha1 = "62909c3eda8a25b5673a367d1ad2392ebb265211" uuid = "01680d73-4ee2-5a08-a1aa-533608c188bb" version = "0.3.0"
[[GenericSchur]] deps = ["LinearAlgebra", "Printf"] git-tree-sha1 = "43b4dc5648028be2c6e96201aa3653903bd1af21" uuid = "c145ed77-6b09-5dd9-b285-bf645a82121e" version = "0.4.0"
[[HTTP]] deps = ["Base64", "Dates", "IniFile", "MbedTLS", "Sockets"] git-tree-sha1 = "eca61b35cdd8cd2fcc5eec1eda766424a995b02f" uuid = "cd3eb016-35fb-5094-929b-558a96fad6f3" version = "0.8.16"
[[Hwloc]] deps = ["BinaryProvider", "Libdl"] git-tree-sha1 = "bb23d264d76b82d1da80733cbb01bad8a11ae489" uuid = "0e44f5e4-bd66-52a0-8798-143a42290a1d" version = "1.0.3"
[[HypothesisTests]] deps = ["Combinatorics", "Distributions", "LinearAlgebra", "Random", "Rmath", "Roots", "Statistics", "StatsBase"] git-tree-sha1 = "be162cf7f657ec92ca02010c82f6323c4dbd2d14" uuid = "09f84164-cd44-5f33-b23f-e6b0d136a0d5" version = "0.10.0"
[[IJulia]] deps = ["Base64", "Conda", "Dates", "InteractiveUtils", "JSON", "Markdown", "MbedTLS", "Pkg", "Printf", "REPL", "Random", "SoftGlobalScope", "Test", "UUIDs", "ZMQ"] git-tree-sha1 = "ce336ee8224143d053bf053680bf9182adfd8638" uuid = "7073ff75-c697-5162-941a-fcdaad2a7d2a" version = "1.21.2"
[[IniFile]] deps = ["Test"] git-tree-sha1 = "098e4d2c533924c921f9f9847274f2ad89e018b8" uuid = "83e8ac13-25f8-5344-8a64-a9f2b223428f" version = "0.5.0"
[[InteractiveUtils]] deps = ["Markdown"] uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
[[Intervals]] deps = ["Dates", "Printf", "RecipesBase", "TimeZones"] git-tree-sha1 = "6cb8eeae36aa58b35d5e41d71be5cd67bc6fca87" uuid = "d8418881-c3e1-53bb-8760-2df7ec849ed5" version = "1.3.4"
[[InvertedIndices]] deps = ["Test"] git-tree-sha1 = "15732c475062348b0165684ffe28e85ea8396afc" uuid = "41ab1584-1d38-5bbf-9106-f11c6c58b48f" version = "1.0.0"
[[IterableTables]] deps = ["DataValues", "IteratorInterfaceExtensions", "Requires", "TableTraits", "TableTraitsUtils"] git-tree-sha1 = "70300b876b2cebde43ebc0df42bc8c94a144e1b4" uuid = "1c8ee90f-4401-5389-894e-7a04a3dc0f4d" version = "1.0.0"
[[IteratorInterfaceExtensions]] git-tree-sha1 = "a3f24677c21f5bbe9d2a714f95dcd58337fb2856" uuid = "82899510-4779-5014-852e-03e436cf321d" version = "1.0.0"
[[JLSO]] deps = ["BSON", "CodecZlib", "Memento", "Pkg", "Serialization"] git-tree-sha1 = "74a940247c7af33455f73d416be0f6199875a0c0" uuid = "9da8a3cd-07a3-59c0-a743-3fdc52c30d11" version = "2.1.0"
[[JSON]] deps = ["Dates", "Mmap", "Parsers", "Unicode"] git-tree-sha1 = "b34d7cef7b337321e97d22242c3c2b91f476748e" uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" version = "0.21.0"
[[JSONSchema]] deps = ["BinaryProvider", "HTTP", "JSON"] git-tree-sha1 = "b0a7f9328967df5213691d318a03cf70ea8c76b1" uuid = "7d188eb4-7ad8-530c-ae41-71a32a6d4692" version = "0.2.0"
[[LIBLINEAR]] deps = ["DelimitedFiles", "Libdl", "SparseArrays", "Test"] git-tree-sha1 = "42cacc29d9b4ae77b6702c181bbfa58f14d8ef7a" uuid = "2d691ee1-e668-5016-a719-b2531b85e0f5" version = "0.5.1"
[[LIBSVM]] deps = ["Compat", "LIBLINEAR", "Libdl", "ScikitLearnBase", "SparseArrays"] git-tree-sha1 = "05d574c6598bce023ba6f2d2aa99ffd4f8e00789" uuid = "b1bec4e5-fd48-53fe-b0cb-9723c09d164b" version = "0.4.0"
[[LearnBase]] git-tree-sha1 = "a0d90569edd490b82fdc4dc078ea54a5a800d30a" uuid = "7f8f8fb0-2700-5f03-b4bd-41f8cfc144b6" version = "0.4.1"
[[LibGit2]] deps = ["Printf"] uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
[[Libdl]] uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
[[Libiconv_jll]] deps = ["Libdl", "Pkg"] git-tree-sha1 = "c9d4035d7481bcdff2babf5a55525a818ef8ed8f" uuid = "94ce4f54-9a6c-5748-9c1c-f9c7231a4531" version = "1.16.0+5"
[[LinearAlgebra]] deps = ["Libdl"] uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
[[Logging]] uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
[[LossFunctions]] deps = ["LearnBase", "Markdown", "RecipesBase", "SparseArrays", "StatsBase"] git-tree-sha1 = "3cd347266e394a066ca7f17bd8ff589ff5ce1d35" uuid = "30fc2ffe-d236-52d8-8643-a9d8f7c094a7" version = "0.6.2"
[[MLJ]] deps = ["CategoricalArrays", "ComputationalResources", "Distributed", "Distributions", "LinearAlgebra", "MLJBase", "MLJModels", "MLJScientificTypes", "MLJTuning", "Pkg", "ProgressMeter", "Random", "Statistics", "StatsBase", "Tables"] git-tree-sha1 = "1e611c42e6d7edf9fe14fd72a9a882d10f1dcd81" uuid = "add582a8-e3ab-11e8-2d5e-e98b27df1bc7" version = "0.11.2"
[[MLJBase]] deps = ["CategoricalArrays", "ComputationalResources", "Dates", "DelimitedFiles", "Distributed", "Distributions", "HTTP", "InteractiveUtils", "InvertedIndices", "JLSO", "JSON", "LinearAlgebra", "LossFunctions", "MLJModelInterface", "MLJScientificTypes", "Missings", "OrderedCollections", "Parameters", "PrettyTables", "ProgressMeter", "Random", "ScientificTypes", "Statistics", "StatsBase", "Tables"] git-tree-sha1 = "80cf971e619872c33f9486eacbcbd5b6b9068d2b" uuid = "a7f614a8-145f-11e9-1d2a-a57a1082229d" version = "0.13.5"
[[MLJModelInterface]] deps = ["Random", "ScientificTypes"] git-tree-sha1 = "3cc9bd71e52d3114f3a17cb71119ec3f69a0cf10" uuid = "e80e1ace-859a-464e-9ed9-23947d8ae3ea" version = "0.2.7"
[[MLJModels]] deps = ["CategoricalArrays", "Dates", "Distances", "Distributions", "InteractiveUtils", "LinearAlgebra", "MLJBase", "MLJModelInterface", "MultivariateStats", "OrderedCollections", "Parameters", "Pkg", "Random", "Requires", "ScientificTypes", "Statistics", "StatsBase", "Tables"] git-tree-sha1 = "799e9dc9bb5ba96729142713ce314edbbd072c7c" uuid = "d491faf4-2d78-11e9-2867-c94bc002c0b7" version = "0.9.10"
[[MLJScientificTypes]] deps = ["CategoricalArrays", "ColorTypes", "Dates", "PrettyTables", "ScientificTypes", "Tables"] git-tree-sha1 = "582d08e1a6853b748fecb9817120346dd01d52e1" uuid = "2e2323e0-db8b-457b-ae0d-bdfb3bc63afd" version = "0.2.5"
[[MLJTuning]] deps = ["ComputationalResources", "Distributed", "Distributions", "MLJBase", "MLJModelInterface", "ProgressMeter", "Random", "RecipesBase"] git-tree-sha1 = "f9aa8dafd3dc4b8d195aa1b5518188cfd3e181e1" uuid = "03970b2e-30c4-11ea-3135-d1576263f10f" version = "0.3.6"
[[MacroTools]] deps = ["Markdown", "Random"] git-tree-sha1 = "f7d2e3f654af75f01ec49be82c231c382214223a" uuid = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09" version = "0.5.5"
[[Markdown]] deps = ["Base64"] uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
[[MbedTLS]] deps = ["Dates", "MbedTLS_jll", "Random", "Sockets"] git-tree-sha1 = "426a6978b03a97ceb7ead77775a1da066343ec6e" uuid = "739be429-bea8-5141-9913-cc70e7f3736d" version = "1.0.2"
[[MbedTLS_jll]] deps = ["Libdl", "Pkg"] git-tree-sha1 = "a0cb0d489819fa7ea5f9fa84c7e7eba19d8073af" uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1" version = "2.16.6+1"
[[MemPool]] deps = ["DataStructures", "Distributed", "Mmap", "Random", "Serialization", "Sockets"] git-tree-sha1 = "043d64da1c228e53bf5c2c70ec9a78feb43771be" uuid = "f9f48841-c794-520a-933b-121f7ba6ed94" version = "0.3.1"
[[Memento]] deps = ["Dates", "Distributed", "JSON", "Serialization", "Sockets", "Syslogs", "Test", "TimeZones", "UUIDs"] git-tree-sha1 = "090463b13da88689e5eae6468a6f531a21392175" uuid = "f28f55f0-a522-5efc-85c2-fe41dfb9b2d9" version = "0.12.1"
[[Missings]] deps = ["DataAPI"] git-tree-sha1 = "de0a5ce9e5289f27df672ffabef4d1e5861247d5" uuid = "e1d29d7a-bbdc-5cf2-9ac0-f12de2c33e28" version = "0.4.3"
[[Mmap]] uuid = "a63ad114-7e13-5084-954f-fe012c677804"
[[Mocking]] deps = ["ExprTools"] git-tree-sha1 = "916b850daad0d46b8c71f65f719c49957e9513ed" uuid = "78c3b35d-d492-501b-9361-3d52fe80e533" version = "0.7.1"
[[MultivariateStats]] deps = ["Arpack", "LinearAlgebra", "SparseArrays", "Statistics", "StatsBase"] git-tree-sha1 = "352fae519b447bf52e6de627b89f448bcd469e4e" uuid = "6f286f6a-111f-5878-ab1e-185364afe411" version = "0.7.0"
[[Mustache]] deps = ["Printf", "Tables"] git-tree-sha1 = "fcfc8266461f2905534aa00c0fc59b8751b1026e" uuid = "ffc61752-8dc7-55ee-8c37-f3e9cdd09e70" version = "1.0.3"
[[NearestNeighbors]] deps = ["Distances", "StaticArrays"] git-tree-sha1 = "8bc6180f328f3c0ea2663935db880d34c57d6eae" uuid = "b8a86587-4115-5ab1-83bc-aa920d37bbce" version = "0.4.4"
[[NodeJS]] deps = ["Pkg"] git-tree-sha1 = "350ac618f41958e6e0f6b0d2005ae4547eb1b503" uuid = "2bd173c7-0d6d-553b-b6af-13a54713934c" version = "1.1.1"
[[Nullables]] git-tree-sha1 = "8f87854cc8f3685a60689d8edecaa29d2251979b" uuid = "4d1e1d77-625e-5b40-9113-a560ec7a8ecd" version = "1.0.0"
[[OhMyREPL]] deps = ["Crayons", "Markdown", "Pkg", "Printf", "REPL", "Tokenize"] git-tree-sha1 = "24d9d3978708245979dddb0c7b382ff345f2ee55" uuid = "5fb14364-9ced-5910-84b2-373655c76a03" version = "0.5.5"
[[OpenBLAS_jll]] deps = ["CompilerSupportLibraries_jll", "Libdl", "Pkg"] git-tree-sha1 = "0c922fd9634e358622e333fc58de61f05a048492" uuid = "4536629a-c528-5b80-bd46-f80d51c5b363" version = "0.3.9+5"
[[OpenSpecFun_jll]] deps = ["CompilerSupportLibraries_jll", "Libdl", "Pkg"] git-tree-sha1 = "d51c416559217d974a1113522d5919235ae67a87" uuid = "efe28fd5-8261-553b-a9e1-b2916fc3738e" version = "0.5.3+3"
[[OrderedCollections]] git-tree-sha1 = "293b70ac1780f9584c89268a6e2a560d938a7065" uuid = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" version = "1.3.0"
[[PDMats]] deps = ["Arpack", "LinearAlgebra", "SparseArrays", "SuiteSparse", "Test"] git-tree-sha1 = "2fc6f50ddd959e462f0a2dbc802ddf2a539c6e35" uuid = "90014a1f-27ba-587c-ab20-58faa44d9150" version = "0.9.12"
[[Parameters]] deps = ["OrderedCollections", "UnPack"] git-tree-sha1 = "38b2e970043613c187bd56a995fe2e551821eb4a" uuid = "d96e819e-fc66-5662-9728-84c9c7592b0a" version = "0.12.1"
[[Parquet]] deps = ["CodecZlib", "MemPool", "ProtoBuf", "Snappy", "Thrift"] git-tree-sha1 = "1d4535df2be334e15248a5dbc9ae4f182787b848" uuid = "626c502c-15b0-58ad-a749-f091afb673ae" version = "0.3.0"
[[ParquetFiles]] deps = ["DataValues", "FileIO", "IterableTables", "IteratorInterfaceExtensions", "Parquet", "TableShowUtils", "TableTraits", "Test"] git-tree-sha1 = "7b4414214f41e2ae7844ea827bfd4ec7ae71e749" uuid = "46a55296-af5a-53b0-aaa0-97023b66127f" version = "0.2.0"
[[Parsers]] deps = ["Dates", "Test"] git-tree-sha1 = "20ef902ea02f7000756a4bc19f7b9c24867c6211" uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0" version = "1.0.6"
[[Pkg]] deps = ["Dates", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"] uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
[[PkgTemplates]] deps = ["Dates", "InteractiveUtils", "LibGit2", "Mustache", "Parameters", "Pkg", "REPL", "UUIDs"] git-tree-sha1 = "c5f9432034b413d5addfb97c7066991718b032a4" uuid = "14b8a8f1-9102-5b29-a752-f990bacb7fe1" version = "0.7.6"
[[Polynomials]] deps = ["Intervals", "LinearAlgebra", "RecipesBase"] git-tree-sha1 = "192d7561c72579e9dd3a6c845ef911b139c78ba6" uuid = "f27b6e38-b328-58d1-80ce-0feddd5e7a45" version = "1.1.2"
[[PooledArrays]] deps = ["DataAPI"] git-tree-sha1 = "b1333d4eced1826e15adbdf01a4ecaccca9d353c" uuid = "2dfb63ee-cc39-5dd5-95bd-886bf059d720" version = "0.5.3"
[[PrettyPrinting]] git-tree-sha1 = "cb3bd68c8e0fabf6e13c10bdf11713068e748a79" uuid = "54e16d92-306c-5ea0-a30b-337be88ac337" version = "0.2.0"
[[PrettyTables]] deps = ["Crayons", "Formatting", "Parameters", "Reexport", "Tables"] git-tree-sha1 = "8458dc04a493ae5c2fed3796c1d3117972c69694" uuid = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d" version = "0.9.1"
[[Printf]] deps = ["Unicode"] uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
[[ProgressMeter]] deps = ["Distributed", "Printf"] git-tree-sha1 = "3e1784c27847bba115815d4d4e668b99873985e5" uuid = "92933f4c-e287-5a05-a399-4b506db050ca" version = "1.3.1"
[[ProtoBuf]] git-tree-sha1 = "51b74991da46594fb411a715e7e092bef50b99ff" uuid = "3349acd9-ac6a-5e09-bcdb-63829b23a429" version = "0.8.0"
[[PyCall]] deps = ["Conda", "Dates", "Libdl", "LinearAlgebra", "MacroTools", "Serialization", "VersionParsing"] git-tree-sha1 = "3a3fdb9000d35958c9ba2323ca7c4958901f115d" uuid = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0" version = "1.91.4"
[[QuadGK]] deps = ["DataStructures", "LinearAlgebra"] git-tree-sha1 = "0ab8a09d4478ebeb99a706ecbf8634a65077ccdc" uuid = "1fd47b50-473d-5c70-9696-f719f8f3bcdc" version = "2.4.0"
[[Quadmath]] deps = ["Printf", "Random", "Requires"] git-tree-sha1 = "cd993c45147a8432bf24358f14bf2cfd4aeb14df" uuid = "be4d8f0f-7fa4-5f49-b795-2f01399ab2dd" version = "0.5.4"
[[Query]] deps = ["DataValues", "IterableTables", "MacroTools", "QueryOperators", "Statistics"] git-tree-sha1 = "fd506b7101702daa4fb13cdffca771180d16c19c" uuid = "1a8c2f83-1ff3-5112-b086-8aa67b057ba1" version = "0.12.2"
[[QueryOperators]] deps = ["DataStructures", "DataValues", "IteratorInterfaceExtensions", "TableShowUtils"] git-tree-sha1 = "7ffa41275edd6e0374a9ae8e3b048840867a06d9" uuid = "2aef5ad7-51ca-5a8f-8e88-e75cf067b44b" version = "0.9.1"
[[Queryverse]] deps = ["CSVFiles", "DataFrames", "DataTables", "DataValues", "DataVoyager", "ExcelFiles", "FeatherFiles", "FileIO", "IterableTables", "ParquetFiles", "Query", "Reexport", "StatFiles", "VegaLite"] git-tree-sha1 = "c1823af6b8362bb6539067b8b792bdfb4a182e07" uuid = "612083be-0b0f-5412-89c1-4e7c75506a58" version = "0.6.1"
[[RData]] deps = ["CategoricalArrays", "CodecZlib", "DataFrames", "Dates", "FileIO", "Requires", "TimeZones"] git-tree-sha1 = "820d9bf1ce85f99292656941482faa1e277e7247" uuid = "df47a6cb-8c03-5eed-afd8-b6050d6c41da" version = "0.7.1"
[[RDatasets]] deps = ["CSV", "CodecZlib", "DataFrames", "FileIO", "Printf", "RData", "Reexport"] git-tree-sha1 = "511854268c47438216a7640341ad4ce14b3463bb" uuid = "ce6b1742-4840-55fa-b093-852dadbb1d8b" version = "0.6.9"
[[REPL]] deps = ["InteractiveUtils", "Markdown", "Sockets"] uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
[[Random]] deps = ["Serialization"] uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
[[ReadOnlyArrays]] deps = ["SparseArrays", "Test"] git-tree-sha1 = "65f17072a35c2be7ac8941aeeae489013212e71f" uuid = "988b38a3-91fc-5605-94a2-ee2116b3bd83" version = "0.1.1"
[[ReadStat]] deps = ["DataValues", "Dates", "ReadStat_jll"] git-tree-sha1 = "9d79d20c21333631b72846d0722cfee9398c6a82" uuid = "d71aba96-b539-5138-91ee-935c3ee1374c" version = "1.0.2"
[[ReadStat_jll]] deps = ["Libdl", "Libiconv_jll", "Pkg", "Zlib_jll"] git-tree-sha1 = "3f3eb8ff28924309935adf900f65bb6b96b3d03f" uuid = "a4dc8951-f1cc-5499-9034-9ec1c3e64557" version = "1.1.1+0"
[[RecipesBase]] git-tree-sha1 = "54f8ceb165a0f6d083f0d12cb4996f5367c6edbc" uuid = "3cdcf5f2-1ef4-517c-9805-6587b60abb01" version = "1.0.1"
[[Reexport]] deps = ["Pkg"] git-tree-sha1 = "7b1d07f411bc8ddb7977ec7f377b97b158514fe0" uuid = "189a3867-3050-52da-a836-e630ba90ab69" version = "0.2.0"
[[Requires]] deps = ["UUIDs"] git-tree-sha1 = "d37400976e98018ee840e0ca4f9d20baa231dc6b" uuid = "ae029012-a4dd-5104-9daa-d747884805df" version = "1.0.1"
[[Rmath]] deps = ["Random", "Rmath_jll"] git-tree-sha1 = "86c5647b565873641538d8f812c04e4c9dbeb370" uuid = "79098fc4-a85e-5d69-aa6a-4863f24498fa" version = "0.6.1"
[[Rmath_jll]] deps = ["Libdl", "Pkg"] git-tree-sha1 = "d76185aa1f421306dec73c057aa384bad74188f0" uuid = "f50d1b31-88e8-58de-be2c-1cc44531875f" version = "0.2.2+1"
[[Roots]] deps = ["Printf"] git-tree-sha1 = "c2f7348c55d1433d1cab0159b4d2c6d27af36fc4" uuid = "f2b01f46-fcfa-551c-844a-d8ac1e96c665" version = "1.0.2"
[[SHA]] uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
[[ScientificTypes]] git-tree-sha1 = "1a9f881c800ea009fb7f8b5274f04e4e8a5faef8" uuid = "321657f4-b219-11e9-178b-2701a2544e81" version = "0.8.0"
[[ScikitLearnBase]] deps = ["LinearAlgebra", "Random", "Statistics"] git-tree-sha1 = "7877e55c1523a4b336b433da39c8e8c08d2f221f" uuid = "6e75b9c4-186b-50bd-896f-2d2496a4843e" version = "0.5.0"
[[Serialization]] uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
[[Setfield]] deps = ["ConstructionBase", "Future", "MacroTools", "Requires"] git-tree-sha1 = "7a151f918819326a6003dba451dabe65f8c0f6fb" uuid = "efcf1570-3423-57d1-acb7-fd33fddbac46" version = "0.6.0"
[[ShapML]] deps = ["DataFrames", "Distributed", "Random", "Statistics"] git-tree-sha1 = "4acfd4e2abd4cc419bfbead0a9a1fb5270a57f56" uuid = "8523bd24-6f66-414b-9e1e-b02db3916d64" version = "0.3.0"
[[SharedArrays]] deps = ["Distributed", "Mmap", "Random", "Serialization"] uuid = "1a1011a3-84de-559e-8e89-a11a2f7dc383"
[[ShiftedArrays]] git-tree-sha1 = "22395afdcf37d6709a5a0766cc4a5ca52cb85ea0" uuid = "1277b4bf-5013-50f5-be3d-901d8477a67a" version = "1.0.0"
[[Snappy]] deps = ["BinaryProvider", "Libdl", "Random", "Test"] git-tree-sha1 = "25620a91907972a05863941d6028791c2613888e" uuid = "59d4ed8c-697a-5b28-a4c7-fe95c22820f9" version = "0.3.0"
[[Sockets]] uuid = "6462fe0b-24de-5631-8697-dd941f90decc"
[[SoftGlobalScope]] deps = ["Test"] git-tree-sha1 = "012661b70364840fcd380912d878d96f7bf95ff3" uuid = "b85f4697-e234-5449-a836-ec8e2f98b302" version = "1.0.10"
[[SortingAlgorithms]] deps = ["DataStructures", "Random", "Test"] git-tree-sha1 = "03f5898c9959f8115e30bc7226ada7d0df554ddd" uuid = "a2af1166-a08f-5f64-846c-94a0d3cef48c" version = "0.3.1"
[[SparseArrays]] deps = ["LinearAlgebra", "Random"] uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
[[SpecialFunctions]] deps = ["OpenSpecFun_jll"] git-tree-sha1 = "d8d8b8a9f4119829410ecd706da4cc8594a1e020" uuid = "276daf66-3868-5448-9aa4-cd146d93841b" version = "0.10.3"
[[StatFiles]] deps = ["DataValues", "FileIO", "IterableTables", "IteratorInterfaceExtensions", "ReadStat", "TableShowUtils", "TableTraits", "TableTraitsUtils", "Test"] git-tree-sha1 = "28466ea10caec61c476a262172319d2edf248187" uuid = "1463e38c-9381-5320-bcd4-4134955f093a" version = "0.8.0"
[[StaticArrays]] deps = ["LinearAlgebra", "Random", "Statistics"] git-tree-sha1 = "5c06c0aeb81bef54aed4b3f446847905eb6cbda0" uuid = "90137ffa-7385-5640-81b9-e52037218182" version = "0.12.3"
[[Statistics]] deps = ["LinearAlgebra", "SparseArrays"] uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
[[StatsBase]] deps = ["DataAPI", "DataStructures", "LinearAlgebra", "Missings", "Printf", "Random", "SortingAlgorithms", "SparseArrays", "Statistics"] git-tree-sha1 = "a6102b1f364befdb05746f386b67c6b7e3262c45" uuid = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" version = "0.33.0"
[[StatsFuns]] deps = ["Rmath", "SpecialFunctions"] git-tree-sha1 = "04a5a8e6ab87966b43f247920eab053fd5fdc925" uuid = "4c63d2b9-4356-54db-8cca-17b64c39e42c" version = "0.9.5"
[[StatsModels]] deps = ["DataAPI", "DataStructures", "LinearAlgebra", "ShiftedArrays", "SparseArrays", "StatsBase", "Tables"] git-tree-sha1 = "5a140e0bf5d92b2c5c0daa0dcefdadbb57c8a7fb" uuid = "3eaba693-59b7-5ba5-a881-562e759f1c8d" version = "0.6.11"
[[SuiteSparse]] deps = ["Libdl", "LinearAlgebra", "Serialization", "SparseArrays"] uuid = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9"
[[Syslogs]] deps = ["Printf", "Sockets"] git-tree-sha1 = "46badfcc7c6e74535cc7d833a91f4ac4f805f86d" uuid = "cea106d9-e007-5e6c-ad93-58fe2094e9c4" version = "0.3.0"
[[TableShowUtils]] deps = ["DataValues", "Dates", "JSON", "Markdown", "Test"] git-tree-sha1 = "14c54e1e96431fb87f0d2f5983f090f1b9d06457" uuid = "5e66a065-1f0a-5976-b372-e0b8c017ca10" version = "0.2.5"
[[TableTraits]] deps = ["IteratorInterfaceExtensions"] git-tree-sha1 = "b1ad568ba658d8cbb3b892ed5380a6f3e781a81e" uuid = "3783bdb8-4a98-5b6b-af9a-565f29a5fe9c" version = "1.0.0"
[[TableTraitsUtils]] deps = ["DataValues", "IteratorInterfaceExtensions", "Missings", "TableTraits"] git-tree-sha1 = "8fc12ae66deac83e44454e61b02c37b326493233" uuid = "382cd787-c1b6-5bf2-a167-d5b971a19bda" version = "1.0.1"
[[Tables]] deps = ["DataAPI", "DataValueInterfaces", "IteratorInterfaceExtensions", "LinearAlgebra", "TableTraits", "Test"] git-tree-sha1 = "c45dcc27331febabc20d86cb3974ef095257dcf3" uuid = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" version = "1.0.4"
[[Test]] deps = ["Distributed", "InteractiveUtils", "Logging", "Random"] uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
[[TextParse]] deps = ["CodecZlib", "DataStructures", "Dates", "DoubleFloats", "Mmap", "Nullables", "WeakRefStrings"] git-tree-sha1 = "df02daeb8b9402d3eada898f43423797bb1f84b0" uuid = "e0df1984-e451-5cb5-8b61-797a481e67e3" version = "1.0.0"
[[Thrift]] deps = ["Distributed", "Sockets", "ThriftJuliaCompiler_jll"] git-tree-sha1 = "e54ac3726bec5038bc8b1324444fe21f1de76d90" uuid = "8d9c9c80-f77e-5080-9541-c6f69d204e22" version = "0.7.0"
[[ThriftJuliaCompiler_jll]] deps = ["Libdl", "Pkg"] git-tree-sha1 = "d144be217b8194d8242e354ae4400696d95b94ef" uuid = "815b9798-8dd0-5549-95cc-3cf7d01bce66" version = "0.11.0+0"
[[TimeZones]] deps = ["Dates", "EzXML", "Mocking", "Printf", "RecipesBase", "Serialization", "Unicode"] git-tree-sha1 = "db7bc2051d4c2e5f336409224df81485c00de6cb" uuid = "f269a46b-ccf7-5d73-abea-4c690281aa53" version = "1.2.0"
[[Tokenize]] git-tree-sha1 = "73c00ad506d88a7e8e4f90f48a70943101728227" uuid = "0796e94c-ce3b-5d07-9a54-7f471281c624" version = "0.5.8"
[[TranscodingStreams]] deps = ["Random", "Test"] git-tree-sha1 = "7c53c35547de1c5b9d46a4797cf6d8253807108c" uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" version = "0.9.5"
[[URIParser]] deps = ["Unicode"] git-tree-sha1 = "53a9f49546b8d2dd2e688d216421d050c9a31d0d" uuid = "30578b45-9adc-5946-b283-645ec420af67" version = "0.4.1"
[[UUIDs]] deps = ["Random", "SHA"] uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
[[UnPack]] git-tree-sha1 = "d4bfa022cd30df012700cf380af2141961bb3bfb" uuid = "3a884ed6-31ef-47d7-9d2a-63182c4928ed" version = "1.0.1"
[[Unicode]] uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
[[Vega]] deps = ["DataStructures", "DataValues", "Dates", "FileIO", "FilePaths", "IteratorInterfaceExtensions", "JSON", "JSONSchema", "MacroTools", "NodeJS", "Pkg", "REPL", "Random", "Setfield", "TableTraits", "TableTraitsUtils", "URIParser"] git-tree-sha1 = "3456f64280eece31e30ef38b4bf42d69e2f654a5" uuid = "239c3e63-733f-47ad-beb7-a12fde22c578" version = "1.0.0"
[[VegaLite]] deps = ["DataStructures", "DataValues", "Dates", "FileIO", "FilePaths", "IteratorInterfaceExtensions", "JSON", "JSONSchema", "MacroTools", "NodeJS", "Pkg", "REPL", "Random", "Setfield", "TableTraits", "TableTraitsUtils", "URIParser", "Vega"] git-tree-sha1 = "96bbaa70e8f60b836c2dee451ca936a9b15f8e86" uuid = "112f6efa-9a02-5b7d-90c0-432ed331239a" version = "2.2.0"
[[VersionParsing]] git-tree-sha1 = "80229be1f670524750d905f8fc8148e5a8c4537f" uuid = "81def892-9a0e-5fdd-b105-ffc91e053289" version = "1.2.0"
[[WeakRefStrings]] deps = ["DataAPI", "Random", "Test"] git-tree-sha1 = "28807f85197eaad3cbd2330386fac1dcb9e7e11d" uuid = "ea10d353-3f73-51f8-a26c-33c1cb351aa5" version = "0.6.2"
[[XGBoost]] deps = ["Libdl", "Printf", "Random", "SparseArrays", "Statistics", "Test", "XGBoost_jll"] git-tree-sha1 = "8a692f817f1a6c15ef4913a0ffefa6163117f43d" uuid = "009559a3-9522-5dbb-924b-0b6ed2b22bb9" version = "1.1.1"
[[XGBoost_jll]] deps = ["CompilerSupportLibraries_jll", "Libdl", "Pkg"] git-tree-sha1 = "72c0d8bfbb56856c5f25668b72247ec18bbf5579" uuid = "a5c6f535-4255-5ca2-a466-0e519f119c46" version = "1.1.1+0"
[[XLSX]] deps = ["Dates", "EzXML", "Printf", "Tables", "ZipFile"] git-tree-sha1 = "9ec08085825cf7a03103daffda9ce3220957abef" uuid = "fdbf4ff8-1666-58a4-91e7-1b58723a45e0" version = "0.7.2"
[[XML2_jll]] deps = ["Libdl", "Libiconv_jll", "Pkg", "Zlib_jll"] git-tree-sha1 = "432d91f45e950f2f2bda5c0f4e2b938c14493af9" uuid = "02c8fc9c-b97f-50b9-bbe4-9be30ff0a78a" version = "2.9.10+1"
[[ZMQ]] deps = ["FileWatching", "Sockets", "ZeroMQ_jll"] git-tree-sha1 = "fc68e8a3719166950a0f3e390a14c7302c48f8de" uuid = "c2297ded-f4af-51ae-bb23-16f91089e4e1" version = "1.2.1"
[[ZeroMQ_jll]] deps = ["Libdl", "Pkg"] git-tree-sha1 = "733352667c60ce39dfd3017db9b798b288c87417" uuid = "8f1865be-045e-5c20-9c9f-bfbfb0764568" version = "4.3.2+4"
[[ZipFile]] deps = ["Libdl", "Printf", "Zlib_jll"] git-tree-sha1 = "254975fef2fc526583bb9b7c9420fe66ffe09f2f" uuid = "a5390f91-8eb1-5f08-bee0-b1d1ffed6cea" version = "0.9.2"
[[Zlib_jll]] deps = ["Libdl", "Pkg"] git-tree-sha1 = "622d8b6dc0c7e8029f17127703de9819134d1b71" uuid = "83775a58-1f1d-513f-b197-d71354ab007a" version = "1.2.11+14"
Sorry, I guess you should do add MLJ@0.12.0
not update MLJ@0.12.0
to reveal a conflict.
You may also want to try ]instantiate -p
.
hi,
I am surprise! DataFrames?!? I do __pkg>update_ almost every day :)
(@v1.4) pkg> update DataFrames
Updating registry at C:\Users\BCP\.julia\registries\General
Updating git-repo https://github.com/JuliaRegistries/General.git
Installed Polynomials ─ v1.1.3
Updating C:\Users\BCP\.julia\environments\v1.4\Project.toml
[no changes]
Updating C:\Users\BCP\.julia\environments\v1.4\Manifest.toml
[f27b6e38] ↑ Polynomials v1.1.2 ⇒ v1.1.3
*(@v1.4) pkg> add MLJ@0.12.0 Resolving package versions... ERROR: Unsatisfiable requirements detected for package DataFrames [a93c6f00]: DataFrames [a93c6f00] log: ├─possible versions are: [0.11.7, 0.12.0, 0.13.0-0.13.1, 0.14.0-0.14.1, 0.15.0-0.15.2, 0.16.0, 0.17.0-0.17.1, 0.18.0-0.18.4, 0.19.0-0.19.4, 0.20.0-0.20.2, 0.21.0-0.21.4] or uninstalled ├─restricted to versions by an explicit requirement, leaving only versions [0.11.7, 0.12.0, 0.13.0-0.13.1, 0.14.0-0.14.1, 0.15.0-0.15.2, 0.16.0, 0.17.0-0.17.1, 0.18.0-0.18.4, 0.19.0-0.19.4, 0.20.0-0.20.2, 0.21.0-0.21.4] ├─restricted by compatibility requirements with RDatasets [ce6b1742] to versions: [0.13.0-0.13.1, 0.14.0-0.14.1, 0.15.0-0.15.2, 0.16.0, 0.17.0-0.17.1, 0.18.0-0.18.4, 0.19.0-0.19.4, 0.20.0-0.20.2, 0.21.0-0.21.4] │ └─RDatasets [ce6b1742] log: │ ├─possible versions are: [0.5.0, 0.6.0-0.6.9] or uninstalled │ └─restricted to versions by an explicit requirement, leaving only versions [0.5.0, 0.6.0-0.6.9] ├─restricted by compatibility requirements with CategoricalArrays [324d7699] to versions: 0.21.0-0.21.4 or uninstalled, leaving only versions: 0.21.0-0.21.4 │ └─CategoricalArrays [324d7699] log: │ ├─possible versions are: [0.3.11, 0.3.13-0.3.14, 0.4.0, 0.5.0-0.5.5, 0.6.0, 0.7.0-0.7.7, 0.8.0-0.8.1] or uninstalled │ ├─restricted to versions by an explicit requirement, leaving only versions [0.3.11, 0.3.13-0.3.14, 0.4.0, 0.5.0-0.5.5, 0.6.0, 0.7.0-0.7.7, 0.8.0-0.8.1] │ ├─restricted by compatibility requirements with MLJ [add582a8] to versions: 0.8.0-0.8.1 │ │ └─MLJ [add582a8] log: │ │ ├─possible versions are: [0.1.0-0.1.1, 0.2.0-0.2.5, 0.3.0, 0.4.0, 0.5.0-0.5.9, 0.6.0-0.6.1, 0.7.0, 0.8.0, 0.9.0-0.9.3, 0.10.0-0.10.3, 0.11.0-0.11.5, 0.12.0] or uninstalled │ │ └─restricted to versions 0.12.0 by an explicit requirement, leaving only versions 0.12.0 │ └─restricted by compatibility requirements with MLJBase [a7f614a8] to versions: 0.8.1 │ └─MLJBase [a7f614a8] log: │ ├─possible versions are: [0.1.0-0.1.1, 0.2.0-0.2.6, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0-0.7.5, 0.8.0-0.8.4, 0.9.0-0.9.2, 0.10.0-0.10.1, 0.11.0-0.11.10, 0.12.0-0.12.8, 0.13.0-0.13.10, 0.14.0-0.14.1] or uninstalled │ ├─restricted to versions by an explicit requirement, leaving only versions [0.1.0-0.1.1, 0.2.0-0.2.6, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0-0.7.5, 0.8.0-0.8.4, 0.9.0-0.9.2, 0.10.0-0.10.1, 0.11.0-0.11.10, 0.12.0-0.12.8, 0.13.0-0.13.10, 0.14.0-0.14.1] │ └─restricted by compatibility requirements with MLJ [add582a8] to versions: 0.14.0-0.14.1 │ └─MLJ [add582a8] log: see above └─restricted by compatibility requirements with ShapML [8523bd24] to versions: 0.20.0-0.20.2 — no versions left └─ShapML [8523bd24] log: ├─possible versions are: [0.1.0, 0.2.0, 0.3.0] or uninstalled └─restricted to versions by an explicit requirement, leaving only versions [0.1.0, 0.2.0, 0.3.0]**
(@v1.4) pkg>
Here the problem is ShapML which has not lifted their DataFrames [compat]:
https://github.com/nredell/ShapML.jl/blob/56f37f672704d0016cf97fe665a6856ff895dffc/Project.toml#L15
Try removing ShapML. (You could also post an issue at ShapML.jl requesting they extend their DataFrames [compat] to "^0.21").
More generally, when having problems like this, you can install MLJ in a fresh environment, pin it to the new version, and then add packages you want to use one at a time until you get a conflict.
you are the best! thanks
the ShapML issue is a bit concerning. One must be careful selecting and using package from GitHub. Only select packages that are actively maintained by their creators.
I found ShapML from an answer you you have to somebody else months ago. that is why I selected it :) i will report the DataFrame version upgrade to ShapML team.
I am still working on the second MLJ tutorial for you guys.
thank you
Describe the bug The fit!(Kmeans) is generating an error. Please see code and error below.
To Reproduce using MLJ, DataFrames, Queryverse, CategoricalArrays, PrettyPrinting @load KMeans pkg = Clustering @load PCA pkg = MultivariateStats @load SVC pkg = LIBSVM @load RandomForestClassifier pkg=DecisionTree
rowtable = OpenML.load(1590) dfAdult = DataFrame(rowtable)
dfAdultScientific = copy(dfAdult) coerce!(dfAdultScientific, autotype(dfAdultScientific, :string_to_multiclass))
@pipeline SPCA(std = Standardizer(), pca = PCA(), hot = OneHotEncoder(), km = KMeans(k=4))
X = select(dfAdultScientific, Not([:class])) pipe = SPCA() Kmeans = machine(pipe, X) fit!(Kmeans)
┌ Info: Training Machine{SPCA} @ 1…40. └ @ MLJBase C:\Users\BCP.julia\packages\MLJBase\O5b6j\src\machines.jl:187 ┌ Info: Training NodalMachine{Standardizer} @ 2…73. └ @ MLJBase C:\Users\BCP.julia\packages\MLJBase\O5b6j\src\machines.jl:187 ┌ Warning: No features left to standarize. └ @ MLJModels C:\Users\BCP.julia\packages\MLJModels\i4XcU\src\builtins\Transformers.jl:464 ┌ Info: Training NodalMachine{PCA} @ 7…04. └ @ MLJBase C:\Users\BCP.julia\packages\MLJBase\O5b6j\src\machines.jl:187 MethodError: no method matching fit(::Type{MultivariateStats.PCA}, ::Array{Any,2}; method=:auto, pratio=0.99, maxoutdim=15, mean=nothing) Closest candidates are: fit(!Matched::Type{StatsBase.Histogram}, ::Any...; kwargs...) at C:\Users\BCP.julia\packages\StatsBase\unDUx\src\hist.jl:383 fit(!Matched::StatsBase.StatisticalModel, ::Any...) at C:\Users\BCP.julia\packages\StatsBase\unDUx\src\statmodels.jl:152 got unsupported keyword arguments "method", "pratio", "maxoutdim", "mean" fit(!Matched::Type{D}, ::Any) where D<:Distributions.Distribution at C:\Users\BCP.julia\packages\Distributions\RAeyY\src\genericfit.jl:33 got unsupported keyword arguments "method", "pratio", "maxoutdim", "mean" ...
Stacktrace: [1] fit(::PCA, ::Int64, ::DataFrame) at C:\Users\BCP.julia\packages\MLJModels\i4XcU\src\MultivariateStats.jl:112 [2] fit!(::NodalMachine{PCA}; rows::Function, verbosity::Int64, force::Bool) at C:\Users\BCP.julia\packages\MLJBase\O5b6j\src\machines.jl:188 [3] fit!(::Node{NodalMachine{KMeans}}; rows::Nothing, verbosity::Int64, force::Bool) at C:\Users\BCP.julia\packages\MLJBase\O5b6j\src\composition\networks.jl:339 [4] (::MLJBase.var"#_fit#138"{Node{NodalMachine{KMeans}},Tuple{Standardizer,PCA,OneHotEncoder,KMeans},MLJBase.Source{:input}})(::SPCA, ::Int64, ::DataFrame) at C:\Users\BCP.julia\packages\MLJBase\O5b6j\src\composition\composites.jl:264 [5] fit(::SPCA, ::Int64, ::DataFrame) at C:\Users\BCP.julia\packages\MLJBase\O5b6j\src\composition\composites.jl:409 [6] fit!(::Machine{SPCA}; rows::Nothing, verbosity::Int64, force::Bool) at C:\Users\BCP.julia\packages\MLJBase\O5b6j\src\machines.jl:188 [7] fit!(::Machine{SPCA}) at C:\Users\BCP.julia\packages\MLJBase\O5b6j\src\machines.jl:151
Expected behavior
Additional context Thanks for your time.
Versions Julia 1.4.2
(@v1.4) pkg> status Status
C:\Users\BCP\.julia\environments\v1.4\Project.toml
[336ed68f] CSV v0.6.1 [324d7699] CategoricalArrays v0.7.7 [aaaa29a8] Clustering v0.14.1 [861a8166] Combinatorics v1.0.2 [d58978e5] Dagger v0.8.0 [a93c6f00] DataFrames v0.20.2 [7806a523] DecisionTree v0.10.5 [31c24e10] Distributions v0.23.4 [38e38edf] GLM v1.3.9 [0e44f5e4] Hwloc v1.0.3 [09f84164] HypothesisTests v0.10.0 [7073ff75] IJulia v1.21.2 [b1bec4e5] LIBSVM v0.4.0 [add582a8] MLJ v0.11.2 [a7f614a8] MLJBase v0.13.5 [e80e1ace] MLJModelInterface v0.2.7 [d491faf4] MLJModels v0.9.10 [e1d29d7a] Missings v0.4.3 [6f286f6a] MultivariateStats v0.7.0 [5fb14364] OhMyREPL v0.5.5 [54e16d92] PrettyPrinting v0.2.0 [1a8c2f83] Query v0.12.2 [612083be] Queryverse v0.6.1 [8523bd24] ShapML v0.3.0 [2913bbd2] StatsBase v0.33.0 [bd369af6] Tables v1.0.4 [112f6efa] VegaLite v2.2.0 [009559a3] XGBoost v1.1.1