Find Jobs
Hire Freelancers

Python script for subset approximation

€8-30 EUR

Terminado
Publicado hace alrededor de 6 años

€8-30 EUR

Pagado a la entrega
Hello! I have a big array with one of two values (0 or 1) for each index. The length of the array can get to 100k elements or more. Given the big array as input I want the output to be constructed by subsets of consecutive 0's or 1's. I am interested in the pair (start_index, end_index) for each subset. Subsets should have a minimum length of 50 (this should be a parameter). So if there is a shorter subset of 1's, the script has to add more surplus 0's to reach the minimum length when creating the subsets. Very important. I want the approximation of these subsets, meaning, I would want to not look at every consecutive value and use a jump smaller than the minimum length of the subsets so no 1's subsets are lost during the process. Parameters should be : step size = 1,2,3 ... 25 ... 50 ... 100 variable and min_length = 50 ... 100 ... etc I don't want to read every value from the indexes so I want also to print the length of the input array and a count of the used values in doing the approximation. The stepsize can also go down in some cases for accurate index findings. We can discuss more in private if you are interested in this easy project.
ID del proyecto: 16386874

Información sobre el proyecto

5 propuestas
Proyecto remoto
Activo hace 6 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
I am an expert in Python, and a final year CS undergrad at IIT Bombay (Best College in India). I can help in this.
€29 EUR en 1 día
5,0 (9 comentarios)
3,3
3,3
5 freelancers están ofertando un promedio de €43 EUR por este trabajo
Avatar del usuario
A proposal has not yet been provided
€120 EUR en 3 días
4,9 (251 comentarios)
7,0
7,0
Avatar del usuario
Though I'm new to this site, you'll be more than satisfied with my efficiency, attentiveness, and quality of work!! :-D I promise!
€19 EUR en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de ROMANIA
Bucharest, Romania
5,0
4
Forma de pago verificada
Miembro desde ago 27, 2017

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.