I'm dealing with an image classification problem in which I have different types of labels for every observation. I'm trying to do multitask learning using R keras. The only problem is that I have to use the keras 'Data Loader' because the dataset is huge and I don't know how to use the flow_images_from_directory function for multi-output models. Please someone help me.
Related
I used Caret to create a regression model of a dataset in R, and I wish to find this equation for usage in other websites (e.g. Desmos). I am unable to find info anywhere on how to do this, so if anyone has answers, that would be much appreciated! :D
I'm working on spatio-temporal anomaly analysis using R.
I found a lot tutorials talking about converting data into STFDF( space-time full data frame) and use variogram method and then use stkrige function for prediction. And so I did. However, I found some research papers talking about STARIMA model , which is basically, ARIMA model but for space time data.
Couldn't find any example how to implement it using R.
Does anyone have an idea how to implement it?
Also, how does STARIMA is related to variogram?
The reason why I'm asking is because when I used variogram and pull the plot for the time series of my data, I see outliers, and I couldn't find tutorials explains how to detect outliers with variogram. Anyone went through this topic before?
Thanks
I have a dataset, downloaded from link.
I know about coremltool (created by Apple).
The question is:
is it possible to convert Stanford dataset to CoreML ?
If yes - can somebody give me instructions ?
Thanks in advance !
This question is asked so often, that finally I've decided to draw a diagram.
Explanation:
Dataset is a "fuel" that you put into your model to make it work.
Model is a machine learning algorithm: neural network, decision tree etc.
Supported ML frameworks and models are listed here together with the instructions for conversion.
You can make your own .mlmodel file using your own data set with a python script and a python library called coremltools. You can train your model using sklearn, keras, etc. and can customize what is uses to train like SVM, kNN, regression, and so on. Then you save it as a .mlmodelfile and drop that into your project. This video is helpful:
https://youtu.be/T4t73CXB7CU
I am new to using R as I usually use Stata. I want to estimate a state space model on some time series data with time varying coefficients. From what I have gathered this is not possible to do in Stata.
I have downloaded the dlm package in R and I am trying to run the dlmModReg command to regress my dependent variable on a single explanatory variable. I would like to allow the intercept and beta coefficient to vary over time.
If anyone could show me an example of the code I want to run I think that would be enough for me to work out how to do this. The examples I have found online are vague or use terminology that I am not familiar with as a new R user. Any help or comments are greatly appreciated.
I'm trying to replicate this paper but using different time period
https://www.dropbox.com/s/edwdpgwsbli93f1/SM35%282%29-09-modelling.pdf?dl=0.
This paper is about detecting regime shifts in Malaysian currency i.e the ringgit. From what I understand it uses Markov Switching-Autoregressive method (MS-AR). I've been trying to replicate this method in R, but to no success. There has been some question asking about it lately which can be found here
Error when using msmFit in R
Basically I'm having the same problem. When I tried to do the MS-AR the error came out. I'm not sure what the exact calculation for the msmFit, but from some examples online they use this to get the fit for MS-AR. So my question is, is it actually possible to do MS-AR(p) in R? Is there any other software besides R or Eviews 8 (since I don't have this at the moment) that can actually do this?
Thank you. Really appreciate your insight.
link msmFit: http://cran.r-project.org/web/packages/msm/msm.pdf
There is a package for MATLAB called MS_Regress, it should do the job:
https://sites.google.com/site/marceloperlin/matlab-code/ms_regress---a-package-for-markov-regime-switching-models-in-matlab
I was trying to fit the MS-AR model in R, but I get the same error message. Could you provide us with a link to the examples you found about getting the fit in R?