How to export all posts from one single day. I've tried Tools > Export > Post. But problem is that there's only monthly backup, not date-wise as in "only 5th July 2015". How can I achieve this?
I would like to overwrite some content which is located in (inc/) template-tags.php file on parent theme. Content need to be changed is in function footer_content_widget_area in template-tags.php file and that function is called on functions.php: add_action( 'page_widgets', 'footer_content_widget_area' );
Context: I am trying to find the top 10 highest values of count in my data frame conditional on them falling within the years 1970-1979. My data frame looks as below: id lemma year count 1 word1 1970 737 2 word2 1971 767 3 word3 1972 988 etc... Attempt: #1970s df_n_maxcount_1970s <- df_n %>% filter(year < 1980) %>% slice_max(count, n=40) #1990s df_n_maxcount_1980s <- df_n %>% filter(year == 1980:1989) %>% slice_max(count, n=40) This has worked pretty well, but there's a level …
I created a shortcode for visual composer to get terms of a custom taxonomy. But when I get them (for a category dropdown on visual composer's backend editor) it's not working. My code: $args1= array( ‘taxonomy’ => ‘danh_muc’, **// my custom taxonomy** ‘hide_empty’ => 0, ); $inra=array(); $danhmucs= get_terms($args1); foreach ($danhmucs as $danhmuc) { $tendm=$danhmuc-> name; $iddm=$danhmuc-> term_id; $inra[$tendm]=$iddm; } vc_map( array( “name” => __(“News”, ‘understrap’), “base” => “tintuc”, “class” => “”, “category” => ‘Content’, “icon” => “icon-wpb-application-icon-large”, “params” => …
I'm encountering some trouble moving a Wordpress installation from a development to a production server. The development server works just fine, but when moving to production the blog page suddenly stops working. Homepage: http://www.elireview.com Blog: http://www.elireview.com/blog/ The homepage and the sub-pages of the site work fine, but when in Settings > Reading I set posts to display on the homepage, it them stops working and /blog/ works like expected. The page produces absolutely no HTML or error messages, and nothing …
I have two recommendation systems for musical preference that make a list of predictions for a particular user based on the songs they have saved in their library. The user then rates how good each recommendation was out of 6. I will be evaluating the performance of the recommendation systems based on the average rating given to songs recommended by system A and system B. Let us use A to denote a song recommended by system A and B to …
I have about 120 users with a total of 4500 data points. The minimum user has about 5 data points and the maximum has about 100 data points. I would like to build a model that will make predictions for each user. What is the optimal approach? Do I create a single model for each user or do I create a single model with a categorical variable to specify the user? I would imagine the single model approach would leverage …
I have a custom post type of "show" and within that custom post type I have set up a taxonomy / category called "venue" which has two options "venue-one" and "venue-two" (slugs). On the two archive pages I have set up, where each shows all posts from "venue-one" or "venue-two", pagination is not working past page 3. I am using numbered pagination and visually it does display what the correct number of pages should be (given what I set posts …
Lets say I have 100 values in my dataset and split it 80% train 20% test. When predicting the last value, is the prediction based on previous 99 (80 test + 19 already predicted values) or only the original 80 train values? For example: if kd-tree is used, is every data point inserted into the tree during the prediction? Is it possible to use knn for the following scenario? I have 20 train values, when I add new observation I …
Was called incorrectly. The seventh parameter passed to an add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in /home3/prombooking/listandlink.com/wp-includes/functions.php on line 4986
I would like to use Unsupervised Deep Learning approaches to cluster analyze of matrix of roughly 200 objects and 400 binary attributes. Are you able to point me to any R packages that can do this? I've been looking into TensorFlow/Keras but this combination appears to use supervised approaches (as far as I can tell with my limited experience).
Here's my corpus { 0: "dogs are nice", # canines are friendly 1: "mutts are kind", # canines are friendly 2: "pooches are lovely", # canines are friendly ..., 3: "cats are mean", # felines are unfriendly 4: "moggies are nasty", # felines are unfriendly 5: "pussycats are unkind", # felines are unfriendly } As a human, the general topics I get from these documents are that: canines are friendly (0, 1, 2) felines are not friendly (3, 4, 5) …
I'm trying to change the cache-control header of a specific post (1234). I tried adding the following to the end of my functions.php: add_filter('wp_headers', 'wp_test_headers'); function wp_test_headers($headers) { if ( is_single ( 1234) ) { $headers['Cache-Control']="no-store, no-cache, must-revalidate, max-age=0"; } return $headers; } However when I open the page of the post in my browser, the condition is never met. Should I be adding the filter elsewhere, or is there another issue?
I have a binary response variable (label) in a dataset with around 50,000 observations. The training set is somewhat imbalanced with, =1 making up about 33% of the observation's and =0 making up about 67% of the observations. Right now with XGBoost I'm getting a ROC-AUC score of around 0.67. The response variable is binary so the baseline is 50% in term of chance, but at the same time the data is imbalanced, so if the model just guessed =0 …
I am new to data science & working on a segmentation model, Basically I need to deploy this segmentation model in android devices using TensorFlow-Lite for real time camera frame segmentation. I used unet model to do that but could not get the accuracy I wanted. After exploring so much I found something about video segmentation but I am bit confuse How video segmentation is different from normal image segmentation? Can somebody explain the differences between these two?
Per wordpress best practices, I created a child theme for an existing theme I have. Everything works fine until I try to add a template file which follows WP's template hierarchy conventions. For example, if I add category.php or archive.php, I get a white screen of death, and this is the error I get in Apache: [:error] [pid 2919] [client 98.24.106.38:64974] PHP Warning: include(): Failed opening '/home/www-dev/beokinawa/wp-content/themes/x-child/index.php' for inclusion (include_path='.:/usr/share/php') in /home/www-dev/beokinawa/wp- includes/template-loader.php on line 74, referer: http://dev.bluepresley.com/beokinawa/wp-admin/edit-tags.php?taxonomy=category Whenever I …
I'm working with a dataset $X$ (of length $N$) of count data, which looks like: I developed a statistical model which can be improved, so I'm asking for any suggestions, for instance, differnet likelihoods or prior selection, different approach, anything... My model I'm trying to get the parameters of the likelihood of the data, so thaht I can get a posterior predictive density function, credible intervals and so on. Let's say, I want to model the generative process of the …
The idea is that I will query an API endpoint which will return me an array consisting of a price value and a quantity value [price, quantity]. In this dataset there is high possibility that there are structure of values where there is a sudden increase in quantity for a given price range compared to the rest of its surroundings, basically a wall like structure. Example below shows a range of price values and a quantity value as a heatmap. …
As the title, after I performed a Feature Selection, is it mandatory to respect the same ratio (between development set and test set) in Model Selection?
Context I'm making a big plugin with a complex architecture. I would like in my plugin architecture split pages and menus building on admin side. So I have these classes : Menu.php, Submenu.php and Page.php, SubPage.php I would like, when the administrator clik on menu/submenu links, it runs a common function callback inside Menu.php and Submenu.php which load only the right page or subpage thanks $_GET['page']. Problem Each submenu link does not bind a subpage anymore. All href of submenu …
I have very high dimensional data. Almost 20% of the columns has different value in less than 1% of rows. All of these are binary columns and many columns has 0s filled in more than almost 98% of rows. Some more info: Target variable is an imbalanced(91.9%:8.1%) binary variable. Every variable I have, except 3, are binary. I would like some ideas on how to deal with columns like this? drop them or smote to have more data? Thanks in …
My corpus contains several posts having text for several companies i.e. each post contains information about several companies. I want to cluster the information based on few company names that I can specify. Clustering should be based on some similarity matrix such as euclidean or cosine similarity. Which algorithm to use based on company name that I can specify and which similarity method to use?
I'm having an input data with 100k rows, 8 input features, I'm trying to predict y (binary 1/0). But all the X are categorical variables(strictly nominal variables, not ordinal). Some with 8 levels, some with 20 levels. The data is highly imbalanced. 0.5% of y is 1. I have cleaned up the data and applied one-hot-encoding to all 8 input variables. Looked up some paper and saw some examples using MCA, but since the input dimensions are small, I don't …
I have a wordpress install where I want to serve a static page/template for anyone arriving at a child of a certain page, e.g. https://example.com/products/* Would all serve a php template from within Wordpress (or even just a static file) without changing the slug, so the following: https://example.com/products/some-product-slug https://example.com/products/another-product-slug Would both serve the same file without changing/redirecting the URL. This template would also handle 404s internally, so a slug like: https://example.com/products/does-not-exist Would still serve the same static template. Is this …
I have been using PCA dimensionality reduction on datasets that are quite linear and now I am tasked with the same on datasets that are largely curved in space. Imagine a noisy sine wave for simplicity. Is PCA still useful in this scenario? If not, what is a more appropriate dimensionality reduction method?
I have a data frame with a Audio Transcript column from customer care phone conversation. I have created one list with words and sentences words = ["rain", "buy new house", "tornado"] What I need to do is create a column in the data frame which checks these words in the text column row by row and if it presents then update the column with word and it's frequency. For example first row text "I was going to buy new house …
I divided the website i am making in diferent template files for example: Category for blog -> category-blog.php Category for projects -> category-projects.php But now I am using the POLYLANG plug in to make the translations. I've noticed that while i am creating the respective category in other languages the template does not apply for example category-blog.php file does not apply to the category-blog.php in other languages. Is any way that i can use the same category template file to …
I am working on fraud detection on blockchains. To be more specific, I fetched a big number of transactions that took place on the blockchain, labeled them to spam / non spam using an appropriate API and now I will train a model to detect fraud using SVM, etc ... My question is about the preparation of the data. The fields I have are : hash, nonce transaction_index, from_address, to_address,... The fields "from/to_address" are hexadecimal fields like 0x5e14d30d2155c0cdd65044d7e0f296373f3e92f65ebd My question …
I have been working on this task for a few hours now and have been unsuccessful with getting the target result. I have tried using multiple methods of trying to split the dataset using different clustering methods and logistical regression with no luck. I thought noncontinuous piecewise linear regression may work however found no good resources on how to implement it. The taks is given a 2D NumPy array of x, y data points determine the gradient and y-intercept for …
While approximating gradients, using actual epsilon to shift the weights results in wildly big gradient approximations, as the "width" of the used approximation triangle is disporportionately small. In Andrew NG-s course, he is using 0.01, but I suppose it's for example purposes only. This makes me wonder, is there a method to chose the appropriate epsilon value for gradient approximation based on e.g. the current error value of the network?
I have data for sales on monthly basis, but a few months' information is not in the CSV file or data file. Can I forecast or fill that missing month with other calculated values from present records? Part of the code I am using: AIC = [] SARIMAX_model = [] for param in pdq: for param_seasonal in seasonal_pdq: try: mod = sm.tsa.statespace.SARIMAX(train_data, order=param, seasonal_order=param_seasonal, enforce_stationarity=False, enforce_invertibility=False) results = mod.fit() print('SARIMAX{}x{} - AIC:{}'.format(param, param_seasonal, results.aic), end='\r') AIC.append(results.aic) SARIMAX_model.append([param, param_seasonal]) except: continue …
I have a html bootstrap slider which works fine with captions and everything.I would like to integrate it into my Wp theme (my forst one, so total newbie).I found a code, which seems to helo, but it only shows the three pictures and nothing slides...if I hard code the slider, it works.I understand I can just leave it hard coded, but then it's not really WP ;) THANKS. Here is the code: functions.php - now complete file. function load_stylesheets() { …
I am performing anomaly detection on different datasets and thought to first cluster the dataset and submit each of the clusters to different AD models. I am using HDBSCAN, and in my test dataset I get anywhere between 10 and 20 clusters, but when I ran the first test in production I get 3500. How can I repeat the AD models dynamically amongst all the clusters?
I would really appreciate some suggestions about what plugin to use in WP with DIVI editor, to translate my web site and following these specs: do not duplicate pages (that's really important) translate page URLs, translate page visible text, as well as hidden text (meta tag values), keep in place existing page layouts and elements built with DIVI, Actually I am not sure that is possible, having pages designed with DIVI. I am playing with Polylang, but looks like is …
I have a question regarding "Predictive Maintenance": in this tutorial here: https://docs.microsoft.com/en-us/learn/modules/predictive-maintenance-model-builder/3-choose-scenario-data It says: "Choosing a scenario for predictive maintenance Depending on what your data looks like, the predictive maintenance problem can be modeled through different tasks. For your use case, because the label is a binary value (0 or 1) that describes whether a machine is broken or not, the data classification scenario is appropriate" Now, how can this be used to predict machine failure BEFORE it gets broken? …
I'm building a very tiny web app based on Wordpress. For this, I have created a custom post type for the items users will be able to manage in the app. I have created a very pretty, optimized overview page as a frontend page. However, to save development time, editing each item still takes place in the backend. Some operations in the backend - namely, deleting an item - take the user to the items overview page in the backend …