text
stringlengths
83
79.5k
H: Finding new props that will fit I have an old wifi drone with 2-blade props that I would like to upgrade to 3-blade props, but I'm having a hard time finding any that will fit my drone and I'm not familiar with the different methods that props are attached. Are there some attachments that are more common/standardiz...
H: How does the Switchblade 300 drone maneuver? I was wondering how the Switchblade 300 drone (https://www.avinc.com/tms/switchblade) is able to maneuver? On all photos I can find, there is no sign of any ailerons - so does it wiggle the wings at the hinge point, does it use thrust vectoring or are the ailerons simply...
H: Drone recommended for quality shooting but for non-experts I would need to buy a serious drone to make quality videos and footage. However, searching online there is a lot of stuff that is passed off as "better than others". Could someone recommend a drone that is simple to use and is able to: Shoot at a quality o...
H: Can additional meta information be automatically stored with DJI-mini-2 images When a dji-mini-2 drone makes a photo, is it possible to automatically store the information that the drone clearly knows at the time of snapshot. For example: lat/lng of the location height of the drone angle of the camera AI: The Mavi...
H: How to know current image bands? I work with sets of images from sensors such as: DJI P4 Multispectral DJI P4 PRO MicaSense RedEdge-MX MicaSense RedEdge-P Then I extract attributes from the images. For this, I need to know the current band configuration for each orthomosaic I am working on. Is there a way to know...
H: RC Airplane Fuel Tank Issue I am using a RC Fuel tank which looks like: Is there anything special about the cap? The problem is I opened the cap. Should it never be opened? There are a few drops that leak in intervals when I put it back from the circled region. Should I buy a new one? Or should I just tighten t...
H: FPV System recommendations Here are my desired specs for an FPV camera - let me know if they are impossible: 5.8 Ghz Digital rather than Analog, for less interference/artifacts? CCD instead of CMOS, because a global shutter would be better. This can be flexible if not possible. Could anyone point me in the right di...
H: PhaseOne iXM-100 IIQ to JPG I was given some PhaseOne iXM-100 .IIQ photos and I need to convert them into .jpg format. The iXM-100 was used with a DJI drone, though I am unsure if it was the M300 or M600. Due to have thousands of them, I'd like the conversion to happen programmatically (Python). I've tried a couple...
H: Rewiring 2S2P as 4S I have LiPo battery that is in 2S2P configuration, however I need higher voltage (4S) battery for my project. From my understanding 2S2P battery has 4 cells same as 4S (2 in series and 2 in parallel). Would I be able to rewire cells like shown in the image below to achieve this assuming all the ...
H: Amperage of FC, ESC There is something I totally don't understand about an amperage. According to spec. AIO FC has 5 A and 6 A ( 5 seconds). However, sometimes I see in OCD far beyond 5A and 6A. And FC, ESC are OK. Shouldn't they burn down? More about my ignorance. As I understand, more C is better in LiPo. Let's t...
H: What is this pad on the HappyModel EP2 2.4G ExpressLRS Receiver? I have soldered wires to "HappyModel EP2 2.4G ExpressLRS Receiver". There is one pad I don't know and can't find what it is for. See the pic "EP2 RX connection diagram". The problem is it was my first time I soldered something real (let alone test b...
H: Can poor soldering of ESC wires lead to low voltage draw from a Lipo battery? Question: Would improper soldering of the power wires of my electronic speed controller limit the amount of voltage that my ESC draws from the Lipo battery? My situation: I have to solder an XT60 male connector onto the power terminals of...
H: What kind of drone could be remote controlled over 4km of open water? Aparently Taiwan shot down a civilian drone near the Lion islet of the coast of Xiamen (source). The island is 4km away from the Chinese city of Xiamen. Question, what kind of drone would be able to fly 4km over the open ocean while being remote ...
H: ESC wiring to FC for wing - 2 or 3 pins? I'm new to the wing builds and I'm a bit confused. I ordered the kit for the AR Wing Pro, which includes BLDC motor and ESC. The ESC comes with the mandatory 2 power lines and 3 thick lines for the motor. Also it provides the common 3 pin servo plug and a additional two wire...
H: Software recommendations to combine aerial images I am taking aerial images which look like this: As all of them are taken from approximately the same height and have GPS coordinates (but can overlap a little), I would like to combine all of them in one big image. This seems like a standard procedure and I assume ...
H: How to account for propeller (fixed pitch) in model aircraft performance calculations? I'm working on performance calculations for a plane I'm building. By setting the sum of my drag formulas (one for the wing, one for the fuselage, both with predicted drag coefficients) equal to the thrust at a given power settin...
H: Can I use a reversable drone BL_Heli ESC directly from a PWM receiver? If I wanted reversable brushless motors in a boat or robotics project, where I don't have a flight controller to handle DSHOT communications, could I use BL_Heli ESCs? Do they still understand PWM signals? Do they need configuration? This is lar...
H: Do mounting motors at different height each other has any impact on performances? Multirotor motors are typically mounted on same height. I'm wondering what should I expect if they are mounted at different eights each other. Model will work exactly in the same way as if they are on same level or there is some signi...
H: Could plane models propellers be used effectively for quadcopters? There are CW & CCW propellers specific for moltirotor and other propellers as the following APC E style, distributed as propeller specific for planes. I'm wondering if such plane propellers mounted on quadcopter: a) works correctly; b) works corre...
H: How much torque do I need for the servomotor which turns my canard? I don't know that my question is belong to here or physics community. I desire to make a supersonic micro-jet model plane also powered by model rocket engine to reaches less than Mach 3 and it has a pair of canard for pitch angle THERE IS TWO CANAR...
H: Would the dle 55RA be enough to power my paramotor(ducted)? I plan on using the dle 55ra engine to produce 5hp at 8,500 rpm. I am using it in a paramotor, and to save space I am considering using a ducted propeller similar to the Fulcrum power pod. The duct intake would have to be directly behind my back, so I plan...
H: How to choose a flight controller for my DIY drone? I am assembling a drone. So far, I have learned that it is 450mm. I'm using 8 to 12 21700 Li-Ion batteries. When I search for AIO flight controllers, I believe I have to search for "30A" and "450mm" but I'm not sure. Is there an app or online service for winnowin...
H: Error in the explanation of Ingenuity: The Mars Helicopter by NASA members? I was watching this video by Veritasium on Youtube, where he talks with NASA engineers about the Mars helicopter. At the attached timestamp they talk about how a completely overlapping rotor configuration is actually more efficient than non...
H: Can I put lipo and li-ion batteries in series I have two 3.7 volt 900 mAh LiPo battery, which I connected in series to provide 7.4 volts. But now I want 11.1 volts. Instead of buying another LiPo battery, am I able to put these two LiPo batteries and a 3.7 volt 900 LI-ON in series to achieve 11.1 volts? Is it safe ...
H: How can I calculate the weight needed in the nose? I have built this plane: But the nose cone is too light. I have tried adding different objects in the front but each thing was either too light or too heavy. How can I calculate the weight needed in the front? Wingspan: 30cm (front wings) Wingspan: 18cm (back wing...
H: What type of charts are on the Remote Pilot exam? What type of aeronautical charts are on the remote pilot certificate exam? Are they VFR charts? AI: If you are referring to he USA FAA Part 107 exam then yes, VFR charts. You can download them here: https://www.faa.gov/air_traffic/flight_info/aeronav/digital_produ...
H: Can you still fly under the exemption for recreational flyers after obtaining a remote pilot certificate? I have two drones. One has a camera, and I might use it commercially at some point. It could carry a Remote ID transmitter. The other does not have a camera, and has no use other than recreational flight. It's ...
H: Do FAA regulations apply indoors? If I fly my drone around inside my house, do FAA regulations apply? (Ignore the fact that they will almost certainly not care.) AI: No, FAA Rules do not include indoor spaces. See this link for clarity: https://www.faa.gov/faq?combine&field_faq_category_target_id=1491&page=1
H: Does VLOS under Part 107 allow for glasses? I'm studying for the Part 107 exam, and one of the sample questions is "What vision aids can a Remote PIC or a Visual Observer use to help them maintain Visual Line-Of-Sight (VLOS) while flying an sUAS?" The answer is "None. VLOS must be maintained with no visual aids." I...
H: How do I store a Li-ion pouch battery without any discharger or balancer? I have a single-cell 3.7V 900 mAh Li-ion pouch battery and a 7.4V 30c 2s 850Mah Li-ion pouch battery. I want to store these two batteries (the manufacturer suggests I should store the 2s pack at 3.8V). The problem is I do not have a discharge...
H: Is my FC for regular rc planes or for drones with multiple props? recently I decided to build a drone. While I'm learning everything I picked a FC. While researching about the FC I'm not sure if I picked the right one. https://www.alibaba.com/product-detail/2023-New-20X20mm-MATEK-H743-WLITE_1600761573416.html?spm=a...
H: Does all BLHELI_32 ESC supports bi-directional rotation? Hello im new to drone stuff, im just wondering if any BLHELI_32 is compatible with bidirectional rotation? since blheli 32 software supports bidirectional rotation is it safe to assume that all blheli32 boards can do it? Was planning to use an ESC as a motor ...
H: Difficulty with purchasing drone frames Recently I purchased the following five inch frame to house my BR2212 2200KV brushless motors from racestar: The arms of this frame contain slits that are too small for the screws used on the base of my motor. I was under the assumption that drone frames had standards for th...
H: Should I use a tandem wing for my RC aircraft? I am designing an RC airplane. My goal weight is under 10 lbs so I'm designing parameters based off of a 10 lb weight to allow for some overshoot. I also would like the wingspan to be around 4.5 ft for convenience purposes. I want it to be a high endurance flyer so I'm...
H: To which device should the fpv camera be connected: flight controller or video transmitter? I have FC Matek F405-WMN and 5.8GHz transmitter TBS UNIFY PRO32 HV. The F405 wiring diagram (http://www.mateksys.com/?portfolio=f405-wmn#tab-id-4) shows that two cameras can be connected to it. But I also see camera pins on ...
H: How to connect TBS Crossfire nano rx to Matek F405-WMN? How to connect crossfire nano rx to FC Matek F405-WMN? I don't see commands receiver connection on the wiring diagram http://www.mateksys.com/?portfolio=f405-wmn#tab-id-4 Is it possible to connect two receivers (2.4GHz and 868/915MHz) to one FC and switch them...
H: How to plan Mavic Mini flight using ios/android app? I want to create plan (automate) for my Mavic Mini (1) drone using phone app. I want to move my drone in both x and y axis. So, it should gain some height, then move ahead and then again getting low again and some forward/backward movement. This is my requirement...
H: Should I physically solder the components to the flight controller, or should I solder the quick disassemble connectors? How is the community do it? Should I physically solder the components to the flight controller, or should I solder the connectors so I can disassemble the model? Which type of connectors can I us...
H: Smooth landing with Betaflight? With Betaflight I often find myself crashing the drone while landing. It gets better with practice, but in general there seems to be no throttle command for constant speed descent. Any throttle value below stable hovering means the craft will go down with ever-increasing speed. With ...
H: Using a raspberry pi 4 for motor control I am fairly new to electronics and am trying to build a drone from scratch as a hobby project. I want a setup where I can control all the motors individually through the software. Through some research I found that ESCs are the way to go for BLDC motors, and I am planning on...
H: QGIS KML to DJI Pilot 2 for Flight Route I am unable to import KML polygon layers I generated in QGIS in DJI Pilot 2 on my DJI remote. I get the following error: Attempt to invoke interface method java.util.iterator java.util.List.iterator() AI: Based on this post, this solution works great: <?xml version="1.0" enc...
H: iOS DJI Pilot App no option to connect to device I just got a DJI Mavic 3 Enterprise Multispectral (M3M) for work and am learning how to use it. I download all of the DJI apps on the iPhone App Store, and the only one compatible with my drone supposedly is the "DJI Pilot" app. (I notice that there is no "DJI Pilot ...
H: How do i make 2 Cetus X Drones use different frequencies, so I can fly them at the same time? Me and my friend both have a Cetus X Drone. We want to fly them at the same time, however both the video and the controller signal interfere. As a controller I use the BetaFPV LiteRadio that came with the Cetus X starter k...
H: MINI F7 (HD +OSD +VTX SWITCH) How does the switch in the MINI F7 (HD +OSD +VTX SWITCH) flight controller works? I know that you have to connect to pads, but then how can you change, for example, from DJI system to a SBUS input? Thanks! AI: I think 'VTX switch' means that you can switch the power to the VTX on and o...
H: Why is Random Forest feature importance biased towards high cadinality features? I understand how a random forest algorithm works but could someone tell me the rationale behind Random Forest feature selection being biased towards high cardinality features? AI: Random forest (as almost any other algorithm) is prone ...
H: Applying Hold-out and CV technique I have a methodology question: are hold-out and CV generalization-optimization techniques mutually exclusive? It gets really confusing to me at times, because in the most recent project I have been doing something as follows: I have split the dataset into TRAIN and TEST sets (wit...
H: Clustering, Mixed Data Set with Ordinal and Nominal Scale Data After reading a bit how categorical data can be considered in clustering, I came to the conclusion that most of the post do not make distinction between nominal scale data e.g. colour: red, green, blue, and ordinal scale data e.g. size: small, medium, l...
H: Estimating effort of building machine learning model I know it depends on the problem and various other factors like data availability, the complexity of the use case, the workload of developer ..etc, but can someone suggest effort estimation of building a minimum viable product. I have taken the following paramete...
H: What is the difference between semantic segmentation, object detection and instance segmentation? I'm fairly new at computer vision and I've read an explanation at a medium post, however it still isn't clear for me how they truly differ. AI: Object Detection : is the technology that is related to computer vision an...
H: clustering before or after PCA? I'm newbie into data science, and I had some problems dealing with my project. I'm trying to visualize multidimensional data into 2D after clustering with using a lot of methods. (kmeans, DBSCAN, OPTICS, agglomerative, spectral...) I have multidimensional data. (11 columns - attribut...
H: Is the F1 Score sensitive to the threshold? Is the F1 score sensitive or indifferent to the threshold (for defining positive or negative)? AI: Yes, it is. The formula: $$F_1 = \frac{2TP}{2TP + FP + FN}$$ There is no symmetry. You have only $TP$ in the nominator which means that $F_1=0$ if $threshold=1$.
H: xgboostclassifier prediction error after saving the model and restoring it I have trained a xgboost model and during training, the prediction works fine. But if I stop the script and start a restoring script to restore and predict, then for the same test dataset I get every data classified into one class. The weird...
H: Prerequisites for openCV I am looking to start learning openCV to perform a car detection program. Should I know data science and/or machine learning stuff before going for openCV? If not, where can I start learning openCV with Python? AI: OpenCV has a module to detect faces, eyes etc. With pretrained models you ma...
H: Improving the results of CNN Edit 2 I solved my problem. The issue was caused by the validation_generator. I used the method flow_from_directory with shuffle = true. By changing the value to false and calling the method validation_generator.reset() before model.predict_generator() for computing the confusion matrix...
H: Churn Prediction Model based on Customer Activities I am new to data science, so forgive me if i have not done my research well. I want to build a system that calculates the churn scores for each customer and hence try to prevent it. I just want to test the concept, so result is not really important. The business w...
H: Problem reconstructing Keras's IMDB reviews Keras's sample IMDB reviews are represented as a sequence of word indexes. However, a dictionary is provided that matches the index to the word I'm trying to use this to reconstruct the text of a review, but I'm getting gibberish. Here's my code: from keras.datasets impo...
H: About sklearn.metrics.average_precision_score documentation There is a example in sklearn.metrics.average_precision_score documentation. import numpy as np from sklearn.metrics import average_precision_score y_true = np.array([0, 0, 1, 1]) y_scores = np.array([0.1, 0.4, 0.35, 0.8]) average_precision_score(y_true, ...
H: Use machine learning to predict next schedule meeting for sales officers I have a project with data of sales field officers who visit their customers and enter the progress details. Visit can be an order or any kind of customer interaction. Let's say one sales guy has around 1000 customers, It's only natural that ...
H: k-means classifies one data point as a group I have 1000 sets of one dimensional data (360 each in length), and I want k means to classify what is a small/medium/large value (n_clusters=3) for each set of data, but I'm getting a lot of instances where the large group only has 1 data point because that value is so f...
H: Why do we have to divide by 2 in the ML squared error cost function? I'm not sure why you need to multiply by $\frac1{2m}$ in the beginning. I understand that you would have to divide the whole sum by $\frac1{m}$, but why do we have to multiply $m$ by two? Is it because we have two $\theta$ here in the example? AI...
H: What is the point of getting rid of overfitting? I'm having trouble understanding why I would use dropout, regularization, data augmentation, etc to get rid of overfitting in the first place. I get that if your model is too large or data is too sparse then your model may start to memorize data and not perform well ...
H: Neural network for linear regression? In this example on tensorflow website, I was surprised to see a neural network's predicted values graph as a straight line. Isn't the purpose of neural networks to approximate non-linearities of data into it? Please let me know what I am missing here. AI: Neural networks are ve...
H: What is the correct procedure when "joining" data takes ~6 hours? I am dealing with bike-share data. I have 2 DataFrames: trips_df (subset shown), total entries = 1,048,568 weather_df (subset shown), total entries = 2,654 I am trying to calculate and attach the total_precipitation for each trip, as a column. ...
H: Which animal has similar brain complexity to VGGNet I know that it sounds weird, but I read somewhere that VGGnet has roughly 14.5k neurons and 138/144M parameters depending on the exact architecture as it's one of the biggest. Also I read here, that the biggest neural networks trained on super computers have roug...
H: Applying mean encoding before or after splitting into train and test set I have a dataset of 50000 observations with columns of high cardinality. The best way to encode them is with mean encoding, then to use regularization. I will use CV rather than smoothing. But when I see people use it, they use it on train and...
H: Abstraction in Neural Networks In my nonlinear dynamics class in college, we discussed a simple perceptron with two input neurons and one output neuron that is trained on the patterns pattern | Input | Output 1 | 1,0 | 2 2 | 3,1 | 6 3 | 0,0 | 0 Solving the system of equations to deter...
H: TDIDT Decision Trees algorithm What is the Difference between TDIDT, ID3, CART, and C4.5? My main concern is about TDIDT, Is it first ever algorithm that came with Decision trees? Is it predecessor or successor of ID3, CART, and C4.5? What are the differences to others(ID3, CART, and C4.5?)? AI: TDIDT stands for...
H: Training LSTM with different sequence lengths in Keras functional api I am trying to train an LSTM model using Keras functional API. My training data is of shape: >>> data.shape() (100000,variable_sequence_lengths,295) where 100000 corresponds to the number of instances (the whole number of sequences) and 295 deno...
H: What are some good machine learning techniques for developing rules that govern changes in data? Say I read a set of data in and it looks like so: [ 1, 2, 3, 4, 5 ] Now, there's an unknown rule set by my data's source that says if the 3rd element in my list is set to 5, the fifth element must be greater than 10. So...
H: Splitting train and test in multilabel classification to avoid missing data in the train set I have a dataset (600 rows) composed of two columns: -Summary: which contains the text of a document -Keywords: which contains the keywords that identify that document. Summary ...
H: Terminology: "flat geometry" in the context of clustering Sklearn's documentation refers to "flat" or "non-flat" geometry of clusters to describe the use-cases of their implemented clustering algorithms. Those terms are not directly defined. However, the following quote states: Non-flat geometry clustering is usef...
H: Selection of base model for transfer learning Is there a golden rule which gives intuition on which base model needs to be used for a give image classification problem. Most of the articles gives the below details which says how to train the model based on the dataset. However I was not able to find good refere...
H: Neural network or other algorithms? I have a regression problem, with a million rows or so, around 10-15 features. What should work better on that particular setting? Neural network or regular regressors? AI: This is more of question how to select the correct machine learning algorithm, I would refer you to the fol...
H: Plot misclassfied values in matplotlib I have two lists. One is target and another is predicted values in a binary classification. The target is always zero. And I have to plot the results of the prediction against target in such a way, that when I get a value of 1 in prediction, then i need to plot it with a black...
H: Manually creating plants images dataset for machine learning plant type classification and leaf segmentation A group I work with wants to create its own plants data set that will be used for multiple projects like plant type classification and leaf segmentation for starters. They are willing to provide all the mean...
H: k means clustering when k = n I want to find the minimum value of the objective function if we set K equal to the number of samples. I know the objective function is $J=\Sigma_{n=1}^{N}\Sigma_{k=1}^{K}r_{nk}||x_n-\mu_k||^2$ And we take the derivative to get $\mu_k=\frac{\Sigma_{n=1}^{N}r_{nk}x_n}{\Sigma_{n=1}^{N}r_...
H: How can I measure if a population has the same distribution as other? Is there a population similarity index of some kind which could help me determine if two populations in two different datasets are the same or at least similar? The datasets have the exact same number of variables. I would like a measure which as...
H: Understanding softmax layer in Deep Neural Network In a DNN, once the logits vector is produced say $[y_0,y_1]$ where the number of neuron in the logits layer is 2, the condition holds where $y_0 >= 0$ and $y_1<= 1$. This vector is then passed into the softmax layer where it squeezes the value to be within the ra...
H: Using sigmoid in binary DNN output layer instead of softmax? For a binary DNN, the output is $y_0 + y_1 = 1$ since they are the probability distribution, hence the sum must equate to 1. However, I've been told that $y_1$ is sufficient to represent the output of the DNN where: $y_1 = \frac{e^{h_1}}{{e^{h_0} + e^{h_1...
H: training neural nets for OCR we are trying to build an in house OCR system to extract alphanumeric strings from images (kindly note, most of our clients cant afford to send their data onto the cloud so it rules out any API from the googles and microsofts..and also tesseract is way too slow for our purpose ..we are ...
H: What should I check if model accuracy is no better than baseline level(random guess) I have a data with only 8 columns: id created_time employee_id rank position hourly price num_work_completed work_category hired Hired is the target variable with 1 representing hired and 0 representing not hired, and it is imbal...
H: Softmax function result for already normalized probabilities Isn't the aim of softmax function normalizing the probabilities such that they all sum to 1? So when we apply this method to the already normalized numbers, it would change them. what do these new outcomes depict? Since they are changed, are they reliable...
H: Random Forest application with 40+ Predictor Variables I am using R package randomForest to build a Random Forest model for classification. Ultimately, I need to choose one of five programs for a group of individuals based on historical data. The final variable that is being predicted is a categorical "1, 2, 3, 4, ...
H: Hand-crafted decision tree inspired from learned decision tree Goal of this question: As I am the only 'machine learning guy' in our group, I wanted to get an outsiders view, that is a sanity check if what I am doing adheres at least to 'decent practices' in machine learning (I know its not best practices :) ). Pro...
H: Is there a way (like planning algorithms) to draw a successive polyline to fill a specific shape (like triangle)? there is a specific shape (like triangle) area, i am trying to develop an program to draw a successive polyline inside the triangle to fill the triangle, one line 3 layers this post demonstrates some a...
H: Is it a good idea to use tensorflow instead of numpy for numerical approximations? I intend on perfroming some numerical approximations for a problem in physics. The main gist of the program will be to perform a svd on large sparse matrices and also calculating the trace of a large matrix. I used numpy/scipy and ...
H: Why does my linear regression model converge to a non-zero gradient value? I have a basic 2D Linear Regression model coded out (using gradient descent), yet it doesn't seem to work as well as it should. What I expect is that m and c should approach 4 and 3 respectively, and m's slope or c's slope should tend to 0;...
H: When I try to predict with my model I get an Attribute error After I've created my model using keras sequential, I tried to start predicting on a small sample to see if it would work however I get this error and I have no idea why. error : AttributeError Traceback (most recent call last) in () ----> 1 example_r...
H: Normalized metric for comparing regression models performance I was recently trying to explain to someone whether performance of my estimation approach is good or bad. For instance, whether a model with Mean Absolute Error (MAE) of 17000 is a bad solution. It was also hard for me to explain whether performance loss...
H: Installing skmca python package I can't figure out how to install the python package named skmca ( MCA for sickit-learn ) : https://github.com/TomAugspurger/skmca There is no pip or conda command available. Thanks for your help. AI: Check their reference to the following page for PIP install: https://github.com/Max...
H: How can I train a many-to-one RNN with an array of 2D matrices? I have eye tracking data for every word of a novel. Features for every word is given separately. I want to take groups of 100 words to make a sample and then use each of these samples as a single training instance (instead of a single word). My samples...
H: Keras MLP Classifer Model not converging I'm trying to make MLP based classifier based on numerical and categorical data The train_X (Input) data that I'm working with is look like that each data type is 20 numerical and 1 categorical data ,categorical here I've converted that using cat.codes My train_Y (predicti...
H: What is the standard model for CNN to compare against other classifier technique? I have created a new method to do binary image classification. I think it would be interesting to compare it to the convolutional neural network that would do the same binary classification given the same data sets. The question I hav...
H: K-Fold and Random Subsampling (RSS) Dataset generation? Let say if I have a large dataset of 300k instances with 200 features, I want to reduce its size. Can I apply K-Fold technique to the 200 features then the trimmed dataset are applied with RSS to trim the instances? Its like K-Fold to reduce Features then RSS ...
H: Transfer learning for a regression problem if my understanding is correct, in case of image classification and NLP, if I have a pre-trained model, to train on new data, I can reshape the data according to the pre-trained model. So there is no problem even if the new data is slightly different from the previous data...
H: What does pandas describe() percentiles values tell about our data? Let say this is my dataframe x=[0.09, 0.95, 0.93, 0.93, 0.34, 0.29, 0.14, 0.23, 0.91, 0.31, 0.62, 0.29, 0.71, 0.26, 0.79, 0.3 , 0.1 , 0.73, 0.63, 0.61] x=pd.DataFrame(x) When we x.describe() this dataframe we get result as this >>> x.descr...
H: How to import statsmodels module to use OLS class? I am trying multiple Regression import numpy as np import pandas as pd import matplotlib.pyplot as plt # Importing Dataset dataset = pd.read_csv( 'C:/Users/Rupali Singh/Desktop/ML A-Z/Machine Learning A-Z Template Folder/Part 2 - Regression/Section 5 - Multipl...
H: Is there any advantage in using Particle Swarm Optimization for clustering than K-Means? I have read some paper about using particle swarm optimization. It doesn't look give much different result than K-Means. I tried to use PSO for clustering but the result is pretty much the same with K-Means with some drawbacks ...
H: .h5 file format does not close properly import h5py #added hf = h5py.File('../images.h5', 'w') #added hf.close() #added h5_file = tables.open_file("images.h5", mode="w") I also tried: h5py.File.close(hf) the error that pops up in both cases is: ValueError: The file 'restricted_images.h5' is already opened. Ple...
H: Cross validation Vs. Train Validate Test I have a doubt regarding the cross validation approach and train-validation-test approach. I was told that I can split a dataset into 3 parts: Train: we train the model. Validation: we validate and adjust model parameters. Test: never seen before data. We get an unbiased f...