Displaying 8 results from an estimated 8 matches for "2x3x4".
2003 May 26
4
spinning and flipping arrays
Hello people,
Is there some simple way of spinning and/or flipping arrays in R?
Here's what I mean.
Suppose that foo is a 2x3x4 array with the following contents: (I know
this is different than typing 'foo' at and R prompt, but I'm so used to
row major order from using APL, I have a hard time with R's output)
> foo[1,,]
[,1] [,2] [,3] [,4]
[1,] 1 2 3 4
[2,] 5 6 7 8
[3,]...
2014 Nov 26
2
Duda sobre cómo analizar un experimento factorial con algoritmos de extracción de características, clustering y clasificación como factores
...se comportan con esa
> agrupación. Por tanto, obtendré varios errores asociados a clasificación
> porqué haré cross-validation.
>
> De esta forma, si pruebo 2 algoritmos de extracción de
> características, 3 de clustering y 4 de clasificación, tengo un
> experimento factorial 2x3x4, ¿no?
>
> Lo que me gustaría obtener posteriormente es la mejor combinación
> de técnica de extracción de características, algoritmo de clustering y
> clasificador, teniendo en cuenta los errores de clasificación y cuán
> bien los algoritmos de clustering agrupan.
>
>...
2014 Nov 26
2
Duda sobre cómo analizar un experimento factorial con algoritmos de extracción de características, clustering y clasificación como factores
Hola, Daniel:
Quizá deberías ser más explícito porque de la información que
suministras yo solo te puedo decir que no veo la relación entre los 3
tipos de algoritmos que nombras:
- un análisis de componentes principales puede ser una fase previa de
los otros dos
- hacer un cluster es un tipo de aprendizaje no supervisado, mientras
que un clasificador normalmente es utilizado en aprendizaje
2014 Nov 26
2
Duda sobre cómo analizar un experimento factorial con algoritmos de extracción de características, clustering y clasificación como factores
...obtendré varios errores asociados a
>clasificación
>> > porqué haré cross-validation.
>> >
>> > De esta forma, si pruebo 2 algoritmos de extracción de
>> > características, 3 de clustering y 4 de clasificación, tengo un
>> > experimento factorial 2x3x4, ¿no?
>> >
>> > Lo que me gustaría obtener posteriormente es la mejor
>combinación
>> > de técnica de extracción de características, algoritmo de
>clustering y
>> > clasificador, teniendo en cuenta los errores de clasificación y
>cuán
>> >...
1997 Aug 25
0
R-alpha: R FAQ
...Do My Matrices Lose Dimensions?
When a matrix with a single row or column is created by a subscripting
operation, e.g., row <- mat[2, ], it is by default turned into a
vector. In a similar way if an array with dimension, say, 2x3x1x4 is
created by subscripting it will be coerced into a 2x3x4 array, losing
the unnecessary dimension. After much discussion this has been
determined to be a feature.
To prevent this happening, add the option `drop = FALSE' to the
subscripting. For example,
rowmatrix <- mat[2, , drop = F] # creates a row matrix
colmatrix &...
1997 Dec 09
3
R-beta: R FAQ v0.60
...Do My Matrices Lose Dimensions?
When a matrix with a single row or column is created by a subscripting
operation, e.g., row <- mat[2, ], it is by default turned into a
vector. In a similar way if an array with dimension, say, 2x3x1x4 is
created by subscripting it will be coerced into a 2x3x4 array, losing
the unnecessary dimension. After much discussion this has been
determined to be a feature.
To prevent this happening, add the option `drop = FALSE' to the
subscripting. For example,
rowmatrix <- mat[2, , drop = F] # creates a row matrix
colmatrix &...
1997 Dec 09
3
R-beta: R FAQ v0.60
...Do My Matrices Lose Dimensions?
When a matrix with a single row or column is created by a subscripting
operation, e.g., row <- mat[2, ], it is by default turned into a
vector. In a similar way if an array with dimension, say, 2x3x1x4 is
created by subscripting it will be coerced into a 2x3x4 array, losing
the unnecessary dimension. After much discussion this has been
determined to be a feature.
To prevent this happening, add the option `drop = FALSE' to the
subscripting. For example,
rowmatrix <- mat[2, , drop = F] # creates a row matrix
colmatrix &...
1997 Dec 09
3
R-beta: R FAQ v0.60
...Do My Matrices Lose Dimensions?
When a matrix with a single row or column is created by a subscripting
operation, e.g., row <- mat[2, ], it is by default turned into a
vector. In a similar way if an array with dimension, say, 2x3x1x4 is
created by subscripting it will be coerced into a 2x3x4 array, losing
the unnecessary dimension. After much discussion this has been
determined to be a feature.
To prevent this happening, add the option `drop = FALSE' to the
subscripting. For example,
rowmatrix <- mat[2, , drop = F] # creates a row matrix
colmatrix &...