<p>ANNs can do the trick. Check out <a href="https://scikit-learn.org/stable/auto_examples/neural_networks/plot_mnist_filters.html#sphx-glr-auto-examples-neural-networks-plot-mnist-filters-py" rel="nofollow noreferrer">sklearn's ANN</a> example with the Digits dataset, which consists of 28x28 pixel input data.</p>

CC BY-SA 4.0
2021-06-14T03:47:42.430Z
2021-07-14T10:56:23.430Z
2021-07-14T10:56:23.430Z
A_Arnold
<p>I am pretty new to the machine learning field. I want to use an <span class="math-container">$n \times m$</span> matrix as the input of a model, in order to predict a vector <span class="math-container">$1 \times m$</span>, both of real numbers. Input data are quite clean, with statistics of about 10000 items. </p>

<p>Do you know a method that can handle that?</p>

CC BY-SA 4.0
2020-05-16T16:28:07.033Z
*Hint*: Start by flattening the $n\times m$ matrix to a $nm\times 1$ vector.
user26872
<machine-learning><ai-design><reference-request>
Which machine learning method can take a matrix as input?
Xavier Prudent
# Which machine learning method can take a matrix as input?

(Asked by: username_0 on 2020-05-16)

I am pretty new to the machine learning field. I want to use an $n \times m$ matrix as the input of a model, in order to predict a vector $1 \times m$, both of real numbers. Input data are quite clean, with statistics of about 10000 items.

Do you know a method that can handle that?

**Tags:** machine-learning, ai-design, reference-request

> **Comments:**
> **username_1**: *Hint*: Start by flattening the $n\times m$ matrix to a $nm\times 1$ vector.  

---

## 1 answers

### Answer by username_2 on 2021-06-14. Score: 1

ANNs can do the trick. Check out [sklearn's ANN](https://scikit-learn.org/stable/auto_examples/neural_networks/plot_mnist_filters.html#sphx-glr-auto-examples-neural-networks-plot-mnist-filters-py) example with the Digits dataset, which consists of 28x28 pixel input data.


---

