benhamner / MachineLearning.jl

Julia Machine Learning library
Other
116 stars 28 forks source link

ERROR: unknown package MachineLearning #3

Open paulanalyst opened 10 years ago

paulanalyst commented 10 years ago
           _

() | A fresh approach to technical computing () | () () | Documentation: http://docs.julialang.org | | | Type "help()" to list help topics | | | | | | |/ ` | | | | || | | | (| | | Version 0.3.0-prerelease+3687 (2014-06-16 00:19 UTC) / |_'||_|'_| | Commit 9381e34 (2 days old master) |__/ | x86_64-w64-mingw32

julia> Pkg.update() INFO: Updating METADATA... INFO: Computing changes... INFO: No packages to install, update or remove

julia> using DataFrames

julia> using MachineLearning ERROR: MachineLearning not found in require at loading.jl:47

julia> Pkg.aMachineLearning add available julia> Pkg.add("MachineLearning") ERROR: unknown package MachineLearning in wait at task.jl:51

julia> Pkg.add(MachineLearning) ERROR: MachineLearning not defined

julia> Pkg.build("MachineLearning")

julia> using MachineLearning ERROR: MachineLearning not found in require at loading.jl:47

julia>

Paul

dchudz commented 10 years ago

You need to do Pkg.clone("https://github.com/benhamner/MachineLearning.jl.git")

paulanalyst commented 10 years ago

Thanks, write it in the package description, users will be much more :) Paul W dniu 2014-06-19 03:39, David Chudzicki pisze:

You need to do |Pkg.clone(https://github.com/benhamner/MachineLearning.jl.git)|

— Reply to this email directly or view it on GitHub https://github.com/benhamner/MachineLearning.jl/issues/3#issuecomment-46515049.

paulanalyst commented 10 years ago
            _
_       _ _(_)_     |  A fresh approach to technical computing

() | () () | Documentation: http://docs.julialang.org | |_ | Type "help()" to list help topics | | | | | | |/ ` | | | | || | | | (| | | Version 0.3.0-prerelease+3687 (2014-06-16 00:19 UTC) / |_'||_|'_| | Commit 9381e34 (3 days old master) |__/ | x86_64-w64-mingw32

julia> using MachineLearning Warning: using StatsBase.midpoints in module Main conflicts with an existing identifier. Warning: using StatsBase.histrange in module Main conflicts with an existing identifier. ERROR: type: Sampleable: in F, expected F<:VariateForm, got Type{Univariate} in include at boot.jl:244 in include_from_node1 at loading.jl:128 while loading C:\Users\SAMSUNG2.julia\v0.3\Distributions\src\Distributions.jl, in expression starti ng on line 192 while loading C:\Users\SAMSUNG2.julia\v0.3\MachineLearning\src\MachineLearning.jl, in expression st arting on line 2

julia> model = [2.0,1.0,-1.0] 3-element Array{Float64,1}: 2.0 1.0 -1.0

julia> x_train = randn(1_000, 3) 1000x3 Array{Float64,2}: 0.591129 -0.447625 -2.48768 1.07265 1.24642 -0.261511 -1.10667 0.965598 -2.4262 1.57578 -0.0111966 0.573844 0.218378 -0.667445 -1.54801 0.930832 0.689698 -1.18469 1.58393 -0.453227 0.492701 -2.10405 1.49537 0.272449 0.707411 -0.228796 -2.54061 -1.26995 -0.734442 -0.193842 ? -0.568385 0.234393 0.930709 1.06951 1.3054 -0.940656 0.311348 -3.04235 -0.365743 1.29216 -0.842159 0.0189346 1.02122 -0.426977 -0.213781 0.420352 1.02272 0.26613 -0.175316 -1.28157 -0.458175 -0.114316 -0.578115 1.19247 0.708891 -0.0164254 -0.738654 2.75619 0.375712 0.585351

julia> y_train = int(map(x->x>0, x_train*model)) 1000-element Array{Int64,1}: 1 1 1 1 1 1 1 0 1 0 ? 0 1 0 1 1 1 0 0 1 1

julia> net = fit(x_train, y_train, neural_net_options()) ERROR: neural_net_options not defined

julia>

paulanalyst commented 10 years ago
            _
_       _ _(_)_     |  A fresh approach to technical computing

() | () () | Documentation: http://docs.julialang.org | |_ | Type "help()" to list help topics | | | | | | |/ ` | | | | || | | | (| | | Version 0.3.0-prerelease+3687 (2014-06-16 00:19 UTC) / |_'||_|'_| | Commit 9381e34 (3 days old master) |__/ | x86_64-w64-mingw32

julia> You need to do Pkg.clone("https://github.com/benhamner/MachineLearning.jl.git") ERROR: syntax: extra token "need" after end of expression

julia> Pkg.clone("https://github.com/benhamner/MachineLearning.jl.git") INFO: Cloning MachineLearning from https://github.com/benhamner/MachineLearning.jl.git INFO: Computing changes... INFO: Cloning cache of Calculus from git://github.com/johnmyleswhite/Calculus.jl.git INFO: Cloning cache of Codecs from git://github.com/dcjones/Codecs.jl.git INFO: Cloning cache of Compose from git://github.com/dcjones/Compose.jl.git INFO: Cloning cache of DataArrays from git://github.com/JuliaStats/DataArrays.jl.git INFO: Cloning cache of DataFrames from git://github.com/JuliaStats/DataFrames.jl.git INFO: Cloning cache of DataStructures from git://github.com/JuliaLang/DataStructures.jl.git INFO: Cloning cache of Datetime from git://github.com/quinnj/Datetime.jl.git INFO: Cloning cache of Devectorize from git://github.com/lindahua/Devectorize.jl.git INFO: Cloning cache of Distributions from git://github.com/JuliaStats/Distributions.jl.git INFO: Cloning cache of DualNumbers from git://github.com/JuliaDiff/DualNumbers.jl.git INFO: Cloning cache of GZip from git://github.com/kmsquire/GZip.jl.git INFO: Cloning cache of Gadfly from git://github.com/dcjones/Gadfly.jl.git INFO: Cloning cache of Hexagons from git://github.com/dcjones/Hexagons.jl.git INFO: Cloning cache of Iterators from git://github.com/JuliaLang/Iterators.jl.git INFO: Cloning cache of JSON from git://github.com/JuliaLang/JSON.jl.git INFO: Cloning cache of Loess from git://github.com/dcjones/Loess.jl.git INFO: Cloning cache of Optim from git://github.com/JuliaOpt/Optim.jl.git INFO: Cloning cache of Options from git://github.com/JuliaLang/Options.jl.git INFO: Cloning cache of PDMats from git://github.com/JuliaStats/PDMats.jl.git INFO: Cloning cache of RDatasets from git://github.com/johnmyleswhite/RDatasets.jl.git INFO: Cloning cache of Reexport from git://github.com/simonster/Reexport.jl.git INFO: Cloning cache of SortingAlgorithms from git://github.com/JuliaLang/SortingAlgorithms.jl.git INFO: Cloning cache of StatsBase from git://github.com/JuliaStats/StatsBase.jl.git INFO: Installing Calculus v0.1.4 INFO: Installing Codecs v0.1.0 INFO: Installing Compose v0.1.29 INFO: Installing DataArrays v0.1.10 INFO: Installing DataFrames v0.5.5 INFO: Installing DataStructures v0.3.0 INFO: Installing Datetime v0.1.6 INFO: Installing Devectorize v0.4.0 INFO: Installing Distributions v0.4.7 INFO: Installing DualNumbers v0.1.0 INFO: Installing GZip v0.2.12 INFO: Installing Gadfly v0.2.9 INFO: Installing Hexagons v0.0.1 INFO: Installing Iterators v0.1.3 INFO: Installing JSON v0.3.6 INFO: Installing Loess v0.0.2 INFO: Installing Optim v0.3.0 INFO: Installing Options v0.2.2 INFO: Installing PDMats v0.2.0 INFO: Installing RDatasets v0.1.1 INFO: Installing Reexport v0.0.1 INFO: Installing SortingAlgorithms v0.0.1 INFO: Installing StatsBase v0.5.0 INFO: Building Datetime

julia> Pkg.update() INFO: Updating METADATA... INFO: Updating MachineLearning... INFO: Computing changes... INFO: Cloning cache of Sampling from git://github.com/JuliaStats/Sampling.jl.git INFO: Upgrading DataArrays: v0.1.10 => v0.1.11 INFO: Upgrading DataFrames: v0.5.5 => v0.5.6 INFO: Upgrading Distributions: v0.4.7 => v0.4.9 INFO: Installing Sampling v0.0.8

julia> using MachineLearning Warning: using StatsBase.midpoints in module Main conflicts with an existing identifier. Warning: using StatsBase.histrange in module Main conflicts with an existing identifier. ERROR: type: Sampleable: in F, expected F<:VariateForm, got Type{Univariate} in include at boot.jl:244 in include_from_node1 at loading.jl:128 while loading C:\Users\SAMSUNG2.julia\v0.3\Distributions\src\Distributions.jl, in expression starti ng on line 192 while loading C:\Users\SAMSUNG2.julia\v0.3\MachineLearning\src\MachineLearning.jl, in expression st arting on line 2

julia> using MachineLearning

julia> W dniu 2014-06-19 03:39, David Chudzicki pisze:

You need to do |Pkg.clone(https://github.com/benhamner/MachineLearning.jl.git)|

— Reply to this email directly or view it on GitHub https://github.com/benhamner/MachineLearning.jl/issues/3#issuecomment-46515049.