[R] DeepNet package - how to add hidden layers?

2015-01-16 Thread davide.chi...@gmail.com
Hi
I just started to study the "deepnet" package:
http://cran.r-project.org/web/packages/deepnet/index.html

It is about "deep leaning", so about the usage of multi-layer neural networks.
I've started to use the train() functions available in the package,
but I really cannot understand how to add more hidden layers in the
neural networks.
Does some of you have an idea?

I am using the sae.dnn.train() function but I cannot understand which
parameter controls the number of hidden layers.

Thanks a lot,

 -- Davide Chicco

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R/Ubuntu, “package ‘stats’ in options(”defaultPackages“) was not found”

2014-09-18 Thread davide.chi...@gmail.com
I tried with a different mirror, but nothing changed...

Any other idea?

Thanks anyway

-- Davide

2014-09-17 10:39 GMT-04:00 Jeff Newmiller :
> Try a different mirror? Precise is getting kind of old... they may not be 
> keeping all of the old files on that mirror.
>
> ---
> Jeff NewmillerThe .   .  Go Live...
> DCN:Basics: ##.#.   ##.#.  Live Go...
>   Live:   OO#.. Dead: OO#..  Playing
> Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
> /Software/Embedded Controllers)   .OO#.   .OO#.  rocks...1k
> ---
> Sent from my phone. Please excuse my brevity.
>
> On September 17, 2014 5:51:08 AM PDT, "davide.chi...@gmail.com" 
>  wrote:
>>Yes, I've followed the instructions described here:
>>http://cran.r-project.org/bin/linux/ubuntu/README
>>
>>I've added
>>deb http:///bin/linux/ubuntu precise/
>>to the /etc/apt/sources.list file.
>>
>>Any idea?
>>
>>Thanks a lot!
>>
>>-- Davide
>>
>>2014-09-17 2:42 GMT-04:00 Jeff Newmiller :
>>> Are you using the apt sources described on CRAN for Ubuntu? I don't
>>expect stock 12.04 would give you R3.1.1, yet I have not seen this
>>problem on machines using the CRAN apt repositories.
>>>
>>---
>>> Jeff NewmillerThe .   .  Go
>>Live...
>>> DCN:Basics: ##.#.   ##.#.  Live
>>Go...
>>>   Live:   OO#.. Dead: OO#..
>>Playing
>>> Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
>>> /Software/Embedded Controllers)   .OO#.   .OO#.
>>rocks...1k
>>>
>>---
>>> Sent from my phone. Please excuse my brevity.
>>>
>>> On September 16, 2014 6:40:31 PM PDT, "davide.chi...@gmail.com"
>> wrote:
>>>>Sorry guys for the errors in my behavior. I apologize.
>>>>
>>>>I installed R by using commands:
>>>>apt-get install r-base
>>>>apt-get install r-base-dev
>>>>
>>>>Here's the output of sessioninfo();
>>>>
>>>>> sessionInfo()
>>>>R version 3.1.1 (2014-07-10)
>>>>Platform: i686-pc-linux-gnu (32-bit)
>>>>
>>>>locale:
>>>> [1] LC_CTYPE=it_IT.UTF-8   LC_NUMERIC=C
>>>> [3] LC_TIME=en_US.UTF-8LC_COLLATE=it_IT.UTF-8
>>>> [5] LC_MONETARY=en_US.UTF-8LC_MESSAGES=it_IT.UTF-8
>>>> [7] LC_PAPER=en_US.UTF-8   LC_NAME=C
>>>> [9] LC_ADDRESS=C   LC_TELEPHONE=C
>>>>[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>>>>
>>>>attached base packages:
>>>>[1] graphics  grDevices utils datasets  methods   base
>>>>
>>>>loaded via a namespace (and not attached):
>>>>[1] tcltk_3.1.1 tools_3.1.1
>>>>
>>>>
>>>>Any idea? Thanks!
>>>>
>>>>-- Davide
>>>>
>>>>2014-09-16 17:15 GMT-04:00 David Winsemius :
>>>>>
>>>>> On Sep 16, 2014, at 12:19 PM, davide.chi...@gmail.com wrote:
>>>>>
>>>>>> Hi guys
>>>>>> I'm having some troubles in installing the "topicmodels" package
>>in
>>>>my
>>>>>> R system on a Linux Ubuntu machine.
>>>>>> I also described the problem here: http://bit.ly/1m8Ah6Z
>>>>>
>>>>> (You were asked in the Posting Guide to not crosspost. And when you
>>>>post to Stack Overflow you should respond to requests for
>>clarification
>>>>which you have not done either. You will never get useful answers if
>>>>you don't respond to requests for clarification.)
>>>>>
>>>>>>
>>>>>> I have just installed R 3.1.1 on my Linux Ubuntu 12.04.5 LTS.
>>>>>
>>>>> More details are needed. How did you do this?
>>>>>
>>>>>
>>>>>> Then Iwanted to install the topicmodels package, and so I type
>>>>>> install.packages("topicmodels"), but the installation did not
>>work.
>>>>>
&g